/* =========================================================
   Nexora — Main Stylesheet
   Sections:
     1. Tokens & Reset
     2. Typography & Utilities
     3. Layout (container, sections)
     4. Buttons, Links, Forms
     5. Header & Navigation
     6. Hero
     7. Sections: split / why / tech / stats / cta-band / contact-strip
     8. Cards: service, project, testimonial, team
     9. About-specific: mv, values, timeline
    10. Services-specific: benefits, faq
    11. Contact-specific: form, info, map
    12. Single & Archive pages
    13. Blog, 404, Pagination
    14. Footer, Newsletter, Back-to-top
    15. Block editor / Prose
    16. Responsive
   ========================================================= */

/* =========================================================
   1. Tokens & Reset
   ========================================================= */
:root {
	--nx-color-primary:    #4F46E5;
	--nx-color-secondary:  #8B5CF6;
	--nx-color-accent:     #06B6D4;
	--nx-color-text:       #0F172A;
	--nx-color-bg:         #FFFFFF;

	--nx-color-muted:      #64748B;
	--nx-color-soft:       #F8FAFC;
	--nx-color-soft-2:     #F1F5F9;
	--nx-color-border:     #E2E8F0;
	--nx-color-border-2:   #CBD5E1;
	--nx-color-overlay:    rgba(15, 23, 42, 0.55);

	--nx-shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
	--nx-shadow-md: 0 4px 8px -2px rgba(15,23,42,.08), 0 6px 22px -8px rgba(15,23,42,.10);
	--nx-shadow-lg: 0 14px 40px -12px rgba(15,23,42,.18), 0 8px 16px -8px rgba(15,23,42,.10);

	--nx-radius-sm: 8px;
	--nx-radius:    14px;
	--nx-radius-lg: 22px;
	--nx-radius-xl: 32px;

	--nx-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--nx-font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

	--nx-container:    1240px;
	--nx-container-px: clamp(20px, 4vw, 40px);

	--nx-text-base: 16px;
	--nx-line:      1.65;

	--nx-trans:        180ms cubic-bezier(.4,0,.2,1);
	--nx-trans-slow:   320ms cubic-bezier(.4,0,.2,1);

	color-scheme: light;
}

[data-theme="dark"] {
	--nx-color-text:       #E5E7EB;
	--nx-color-bg:         #0A0E1A;

	--nx-color-muted:      #94A3B8;
	--nx-color-soft:       #0F172A;
	--nx-color-soft-2:     #131829;
	--nx-color-border:     rgba(255,255,255,0.08);
	--nx-color-border-2:   rgba(255,255,255,0.16);
	--nx-color-overlay:    rgba(0,0,0,0.55);

	--nx-shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.3);
	--nx-shadow-md: 0 4px 8px -2px rgba(0,0,0,.4), 0 6px 22px -8px rgba(0,0,0,.4);
	--nx-shadow-lg: 0 14px 40px -12px rgba(0,0,0,.5), 0 8px 16px -8px rgba(0,0,0,.4);

	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body.nx-body {
	margin: 0;
	font-family: var(--nx-font-body);
	font-size: var(--nx-text-base);
	line-height: var(--nx-line);
	color: var(--nx-color-text);
	background-color: var(--nx-color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color var(--nx-trans-slow), color var(--nx-trans-slow);
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
img { font-style: italic; }

a {
	color: var(--nx-color-primary);
	text-decoration: none;
	transition: color var(--nx-trans);
}
a:hover { color: var(--nx-color-secondary); }
a:focus-visible {
	outline: 2px solid var(--nx-color-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

button { font-family: inherit; cursor: pointer; }

/* Accessibility */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px);
	-webkit-clip-path: inset(50%); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	background: var(--nx-color-bg); color: var(--nx-color-text);
	padding: 12px 16px; clip: auto !important; clip-path: none;
	height: auto; left: 16px; top: 16px; width: auto; z-index: 100000;
	border-radius: var(--nx-radius-sm); box-shadow: var(--nx-shadow-md);
}

/* =========================================================
   2. Typography & Utilities
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--nx-font-display);
	color: var(--nx-color-text);
	margin: 0 0 0.5em;
	line-height: 1.15;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.nx-h2 { font-family: var(--nx-font-display); font-size: clamp(1.875rem, 3vw, 2.625rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5em; }
.nx-lede { font-size: 1.0625rem; color: var(--nx-color-muted); margin-bottom: 1.5em; max-width: 60ch; }
.nx-text-center { text-align: center; }

.nx-eyebrow {
	display: inline-block;
	font-family: var(--nx-font-display);
	font-size: 0.8125rem; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--nx-color-primary);
	margin-bottom: 0.85em;
}
.nx-eyebrow--pill {
	background: color-mix(in srgb, var(--nx-color-primary) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--nx-color-primary) 25%, transparent);
	padding: 6px 14px 6px 12px;
	border-radius: 100px;
	display: inline-flex; align-items: center; gap: 8px;
	text-transform: none;
	letter-spacing: 0.01em;
	font-weight: 500;
	font-size: 0.8125rem;
}
.nx-eyebrow__dot {
	width: 6px; height: 6px; border-radius: 999px;
	background: var(--nx-color-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-color-accent) 20%, transparent);
	animation: nx-pulse 2s ease-out infinite;
}
@keyframes nx-pulse {
	0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--nx-color-accent) 40%, transparent); }
	70%  { box-shadow: 0 0 0 8px color-mix(in srgb, var(--nx-color-accent) 0%,  transparent); }
	100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--nx-color-accent) 0%,  transparent); }
}

.nexora-icon { display: inline-block; vertical-align: middle; flex: 0 0 auto; }

/* =========================================================
   3. Layout
   ========================================================= */
.nx-container {
	max-width: var(--nx-container);
	margin-inline: auto;
	padding-inline: var(--nx-container-px);
	width: 100%;
}
.nx-container--narrow { max-width: 820px; }
.nx-container--wide   { max-width: 1480px; }

.nx-section          { padding: clamp(64px, 8vw, 120px) 0; }
.nx-section--sm      { padding: clamp(40px, 5vw, 80px) 0; }
.nx-section--muted   { background: var(--nx-color-soft); }
.nx-section--flush   { padding: 0; }
.nx-section--split   { /* same padding, used semantically */ }

.nx-section-head {
	max-width: 720px;
	margin-bottom: clamp(32px, 5vw, 56px);
}
.nx-section-head--center { margin-inline: auto; text-align: center; }
.nx-section-head--right  { margin-left: auto; text-align: right; }
.nx-section-head--row {
	max-width: none;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.nx-section-head--row .nx-section-head__text { max-width: 360px; color: var(--nx-color-muted); }
.nx-section-head__title { margin: 0; font-family: var(--nx-font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.nx-section-head__text  { color: var(--nx-color-muted); margin: 12px 0 0; }
.nx-section__cta        { margin-top: 40px; text-align: center; }

/* =========================================================
   4. Buttons, Links, Forms
   ========================================================= */
.nx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--nx-font-body);
	font-size: 0.9375rem; font-weight: 600;
	padding: 12px 22px;
	border-radius: 100px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: transform var(--nx-trans), box-shadow var(--nx-trans), background var(--nx-trans), color var(--nx-trans), border-color var(--nx-trans);
	line-height: 1;
}
.nx-btn--sm { padding: 9px 16px; font-size: 0.875rem; }
.nx-btn--lg { padding: 16px 28px; font-size: 1rem; }
.nx-btn .nexora-icon { transition: transform var(--nx-trans); }
.nx-btn:hover .nexora-icon { transform: translateX(2px); }
.nx-btn:active { transform: translateY(1px); }

.nx-btn--primary {
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	box-shadow: var(--nx-shadow-md), inset 0 1px 0 rgba(255,255,255,0.15);
}
.nx-btn--primary:hover { color: #fff; box-shadow: var(--nx-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.2); transform: translateY(-1px); }

.nx-btn--ghost {
	background: transparent;
	color: var(--nx-color-text);
	border-color: var(--nx-color-border-2);
}
.nx-btn--ghost:hover { color: var(--nx-color-text); background: var(--nx-color-soft); border-color: var(--nx-color-text); }

.nx-btn--white {
	background: #fff; color: #0F172A;
	box-shadow: var(--nx-shadow-md);
}
.nx-btn--white:hover { color: #0F172A; transform: translateY(-1px); box-shadow: var(--nx-shadow-lg); }

.nx-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; color: var(--nx-color-primary);
}
.nx-link .nexora-icon { transition: transform var(--nx-trans); }
.nx-link:hover .nexora-icon { transform: translateX(3px); }

.nx-check-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.nx-check-list li { display: flex; align-items: flex-start; gap: 10px; }
.nx-check-list__icon {
	width: 22px; height: 22px; border-radius: 999px;
	background: color-mix(in srgb, var(--nx-color-accent) 18%, transparent);
	color: var(--nx-color-accent);
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
}
.nx-check-list--lg li { font-size: 1.0625rem; }

/* =========================================================
   5. Header & Navigation
   ========================================================= */
.nx-topbar {
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	font-size: 0.875rem;
	padding: 10px 0;
	text-align: center;
}
.nx-topbar p { margin: 0; }
.nx-topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.nx-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--nx-color-bg) 85%, transparent);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--nx-trans), background var(--nx-trans), padding var(--nx-trans);
}
.nx-header.is-scrolled {
	border-bottom-color: var(--nx-color-border);
	background: color-mix(in srgb, var(--nx-color-bg) 92%, transparent);
}
.nx-header__inner {
	display: flex; align-items: center; gap: 32px;
	padding: 18px 0;
}
.nx-header.is-scrolled .nx-header__inner { padding: 12px 0; }

.nx-brand {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--nx-color-text);
	font-family: var(--nx-font-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}
.nx-brand:hover { color: var(--nx-color-text); }
.nx-brand__mark {
	width: 36px; height: 36px; border-radius: 10px;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--nx-color-primary) 35%, transparent);
}
.nx-brand__mark svg { width: 22px; height: 22px; }
.nx-brand__tag {
	font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--nx-color-muted);
	padding-left: 10px; margin-left: 6px;
	border-left: 1px solid var(--nx-color-border);
	font-family: var(--nx-font-body);
}

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img { max-height: 40px; width: auto; }

.nx-nav { flex: 1; }
.nx-nav__menu {
	list-style: none; padding: 0; margin: 0;
	display: flex; align-items: center; gap: 6px;
}
.nx-nav__menu > li > a {
	display: inline-block;
	padding: 10px 14px;
	color: var(--nx-color-text);
	font-weight: 500;
	font-size: 0.9375rem;
	border-radius: 8px;
	position: relative;
	transition: color var(--nx-trans), background var(--nx-trans);
}
.nx-nav__menu > li > a:hover,
.nx-nav__menu > li.current-menu-item > a,
.nx-nav__menu > li.current_page_item > a {
	color: var(--nx-color-primary);
	background: color-mix(in srgb, var(--nx-color-primary) 8%, transparent);
}

/* Submenu */
.nx-nav__menu .sub-menu {
	list-style: none; padding: 8px; margin: 0;
	position: absolute;
	top: calc(100% + 6px);
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius);
	box-shadow: var(--nx-shadow-lg);
	min-width: 220px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--nx-trans), transform var(--nx-trans), visibility var(--nx-trans);
	z-index: 5;
}
.nx-nav__menu > li { position: relative; }
.nx-nav__menu li:hover > .sub-menu,
.nx-nav__menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nx-nav__menu .sub-menu a {
	display: block; padding: 8px 12px; border-radius: 8px;
	color: var(--nx-color-text); font-size: 0.9375rem;
}
.nx-nav__menu .sub-menu a:hover { background: var(--nx-color-soft); color: var(--nx-color-primary); }

.nx-header__actions {
	display: flex; align-items: center; gap: 10px;
	margin-left: auto;
}

/* Theme toggle */
.nx-theme-toggle {
	position: relative;
	width: 42px; height: 42px;
	border-radius: 999px;
	border: 1px solid var(--nx-color-border);
	background: transparent;
	color: var(--nx-color-text);
	display: inline-flex; align-items: center; justify-content: center;
	overflow: hidden;
	transition: background var(--nx-trans), border-color var(--nx-trans), color var(--nx-trans);
}
.nx-theme-toggle:hover { background: var(--nx-color-soft); border-color: var(--nx-color-border-2); }
.nx-theme-toggle__sun, .nx-theme-toggle__moon {
	position: absolute; inset: 0;
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform var(--nx-trans-slow), opacity var(--nx-trans);
}
[data-theme="light"] .nx-theme-toggle__sun,
:root:not([data-theme="dark"]) .nx-theme-toggle__sun { transform: translateY(0) rotate(0); opacity: 1; }
[data-theme="light"] .nx-theme-toggle__moon,
:root:not([data-theme="dark"]) .nx-theme-toggle__moon { transform: translateY(120%) rotate(45deg); opacity: 0; }
[data-theme="dark"] .nx-theme-toggle__sun { transform: translateY(-120%) rotate(-45deg); opacity: 0; }
[data-theme="dark"] .nx-theme-toggle__moon { transform: translateY(0) rotate(0); opacity: 1; }

/* Mobile toggle */
.nx-mobile-toggle {
	display: none;
	width: 42px; height: 42px;
	border-radius: 999px;
	border: 1px solid var(--nx-color-border);
	background: transparent;
	color: var(--nx-color-text);
	align-items: center; justify-content: center;
}
.nx-mobile-toggle .is-open,
.nx-mobile-toggle .is-close { display: inline-flex; align-items: center; justify-content: center; }
.nx-mobile-toggle .is-close { display: none; }
.nx-mobile-toggle[aria-expanded="true"] .is-open  { display: none; }
.nx-mobile-toggle[aria-expanded="true"] .is-close { display: inline-flex; }

/* Submenu chevron toggle (injected by JS) — hidden on desktop, hover/focus opens submenus there. */
.nx-submenu-toggle { display: none; }

/* =========================================================
   6. Hero
   ========================================================= */
.nx-hero {
	position: relative;
	padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 9vw, 120px);
	overflow: hidden;
	isolation: isolate;
}
.nx-hero__bg {
	position: absolute; inset: 0; z-index: -1;
	overflow: hidden;
}
.nx-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
	pointer-events: none;
}
.nx-hero__orb--1 {
	width: 520px; height: 520px;
	background: var(--nx-color-primary);
	top: -120px; left: -120px;
}
.nx-hero__orb--2 {
	width: 460px; height: 460px;
	background: var(--nx-color-accent);
	bottom: -160px; right: -100px;
	opacity: 0.4;
}
[data-theme="dark"] .nx-hero__orb { opacity: 0.45; }
.nx-hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--nx-color-text) 6%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--nx-color-text) 6%, transparent) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}

.nx-hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}

.nx-hero__copy { max-width: 620px; }
.nx-hero__title {
	font-family: var(--nx-font-display);
	font-size: clamp(2.5rem, 5.2vw, 4.25rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 24px;
}
.nx-hero__subtitle {
	color: var(--nx-color-muted);
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	margin: 0 0 36px;
	max-width: 52ch;
}
.nx-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.nx-hero__badges {
	display: flex; gap: 36px; flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1px solid var(--nx-color-border);
}
.nx-hero__badge-value {
	display: block;
	font-family: var(--nx-font-display);
	font-size: 1.875rem; font-weight: 700;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-accent));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1.1;
}
.nx-hero__badge-label { display: block; font-size: 0.875rem; color: var(--nx-color-muted); margin-top: 2px; }

.nx-hero__visual { position: relative; min-height: 420px; }
.nx-hero__image-wrap {
	position: relative;
	border-radius: var(--nx-radius-lg);
	overflow: hidden;
	box-shadow: var(--nx-shadow-lg);
	background: var(--nx-color-soft);
	aspect-ratio: 5 / 4;
}
.nx-hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Mock cards when no hero image set */
.nx-hero__mock { position: relative; height: 480px; }
.nx-hero__mock-card {
	position: absolute;
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius);
	padding: 18px 20px;
	width: 280px;
	box-shadow: var(--nx-shadow-md);
	display: flex; align-items: center; gap: 14px;
	animation: nx-float 6s ease-in-out infinite;
}
.nx-hero__mock-card--1 { top: 30px;  right: 0;  animation-delay: 0s; }
.nx-hero__mock-card--2 { top: 180px; left: 40px; animation-delay: -2s; background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary)); color: #fff; border-color: transparent; }
.nx-hero__mock-card--3 { top: 320px; right: 20px; animation-delay: -4s; }
.nx-hero__mock-icon {
	width: 44px; height: 44px; border-radius: 12px;
	background: color-mix(in srgb, var(--nx-color-primary) 12%, transparent);
	color: var(--nx-color-primary);
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
}
.nx-hero__mock-card--2 .nx-hero__mock-icon { background: rgba(255,255,255,.18); color: #fff; }
.nx-hero__mock-title { font-weight: 600; font-size: 0.9375rem; line-height: 1.25; }
.nx-hero__mock-meta  { font-size: 0.8125rem; color: var(--nx-color-muted); margin-top: 2px; }
.nx-hero__mock-card--2 .nx-hero__mock-meta { color: rgba(255,255,255,.85); }
@keyframes nx-float {
	0%, 100% { transform: translateY(0) rotate(-0.5deg); }
	50%      { transform: translateY(-10px) rotate(0.5deg); }
}

/* =========================================================
   7. Sections (split / why / tech / stats / cta-band / contact-strip)
   ========================================================= */
.nx-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.nx-split--reverse > .nx-split__media { order: 2; }
.nx-split--reverse > .nx-split__copy  { order: 1; }
.nx-split__media { position: relative; }
.nx-split__media img {
	width: 100%;
	border-radius: var(--nx-radius-lg);
	box-shadow: var(--nx-shadow-md);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.nx-split__placeholder {
	aspect-ratio: 4 / 3;
	border-radius: var(--nx-radius-lg);
	background: linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 10%, var(--nx-color-soft)), color-mix(in srgb, var(--nx-color-accent) 8%, var(--nx-color-soft)));
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	color: color-mix(in srgb, var(--nx-color-primary) 70%, transparent);
}
.nx-split__placeholder-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--nx-color-text) 6%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--nx-color-text) 6%, transparent) 1px, transparent 1px);
	background-size: 40px 40px;
}
.nx-split__placeholder-icon { position: relative; }

/* Why grid */
.nx-why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.nx-why-card {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 28px 24px;
	position: relative;
	transition: transform var(--nx-trans), border-color var(--nx-trans), box-shadow var(--nx-trans);
}
.nx-why-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--nx-color-primary) 30%, transparent);
	box-shadow: var(--nx-shadow-md);
}
.nx-why-card__num {
	position: absolute; top: 20px; right: 24px;
	font-family: var(--nx-font-display);
	font-size: 0.875rem; font-weight: 600;
	color: var(--nx-color-muted);
	letter-spacing: 0.05em;
}
.nx-why-card__icon {
	width: 46px; height: 46px; border-radius: 12px;
	display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--nx-color-primary) 12%, transparent);
	color: var(--nx-color-primary);
	margin-bottom: 18px;
}
.nx-why-card__title { font-size: 1.125rem; margin: 0 0 6px; }
.nx-why-card__text  { color: var(--nx-color-muted); margin: 0; font-size: 0.9375rem; }

/* Tech marquee */
.nx-tech-marquee {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	margin-top: 16px;
}
.nx-tech-marquee__track {
	display: flex; gap: 14px;
	list-style: none; padding: 0; margin: 0;
	width: max-content;
	animation: nx-marquee 35s linear infinite;
}
@keyframes nx-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
.nx-tech-marquee:hover .nx-tech-marquee__track { animation-play-state: paused; }
.nx-tech-chip {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: 100px;
	padding: 10px 20px;
	font-weight: 500;
	font-size: 0.9375rem;
	color: var(--nx-color-text);
	white-space: nowrap;
}
.nx-tech-chip span { background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }

/* Stats */
.nx-stats {
	padding: clamp(60px, 8vw, 100px) 0;
	background: linear-gradient(135deg, #0F172A, #1E1B4B);
	background-size: cover; background-position: center;
	color: #fff;
}
.nx-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
	text-align: center;
}
.nx-stats__item { padding: 8px; }
.nx-stats__num {
	font-family: var(--nx-font-display);
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	background: linear-gradient(135deg, #fff, #C7D2FE);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.nx-stats__suffix { -webkit-text-fill-color: var(--nx-color-accent); background: none; color: var(--nx-color-accent); }
.nx-stats__label { margin-top: 6px; font-size: 0.9375rem; color: rgba(255,255,255,.7); }

/* CTA band */
.nx-cta-band {
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	background-size: cover; background-position: center;
	color: #fff;
	padding: clamp(48px, 7vw, 80px) 0;
	position: relative; isolation: isolate; overflow: hidden;
}
.nx-cta-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(circle at 80% 20%, rgba(255,255,255,.15), transparent 40%),
		radial-gradient(circle at 20% 80%, rgba(255,255,255,.1),  transparent 40%);
}
.nx-cta-band__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	flex-wrap: wrap;
}
.nx-cta-band__copy { max-width: 640px; }
.nx-cta-band__title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 8px; color: #fff; }
.nx-cta-band__text  { margin: 0; color: rgba(255,255,255,.85); font-size: 1.0625rem; }

/* Contact strip */
.nx-contact-strip {
	background: var(--nx-color-soft);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 28px 36px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	flex-wrap: wrap;
}
.nx-contact-strip__title { margin: 0 0 4px; font-size: 1.25rem; }
.nx-contact-strip__text { margin: 0; color: var(--nx-color-muted); }

/* =========================================================
   8. Cards (service, project, testimonial, team)
   ========================================================= */
.nx-services-grid,
.nx-projects-grid,
.nx-testimonials-grid,
.nx-team-grid,
.nx-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

/* Service card */
.nx-service-card {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 32px 28px;
	display: flex; flex-direction: column;
	position: relative;
	overflow: hidden;
	transition: transform var(--nx-trans), border-color var(--nx-trans), box-shadow var(--nx-trans);
}
.nx-service-card::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--nx-color-primary) 10%, transparent), transparent 60%);
	opacity: 0; transition: opacity var(--nx-trans);
}
.nx-service-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--nx-color-primary) 35%, transparent);
	box-shadow: var(--nx-shadow-lg);
}
.nx-service-card:hover::after { opacity: 1; }
.nx-service-card__icon {
	width: 54px; height: 54px; border-radius: 14px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 18%, transparent), color-mix(in srgb, var(--nx-color-accent) 18%, transparent));
	color: var(--nx-color-primary);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 22px;
}
.nx-service-card__title { font-size: 1.25rem; margin: 0 0 10px; }
.nx-service-card__title a { color: var(--nx-color-text); }
.nx-service-card__title a:hover { color: var(--nx-color-primary); }
.nx-service-card__text { color: var(--nx-color-muted); margin: 0 0 20px; flex: 1; font-size: 0.9375rem; }
.nx-service-card__link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 0.9375rem;
	color: var(--nx-color-primary);
	margin-top: auto;
}
.nx-service-card__link .nexora-icon { transition: transform var(--nx-trans); }
.nx-service-card__link:hover .nexora-icon { transform: translateX(4px); }

/* Project card */
.nx-project-card {
	border-radius: var(--nx-radius-lg);
	overflow: hidden;
	border: 1px solid var(--nx-color-border);
	background: var(--nx-color-bg);
	transition: transform var(--nx-trans), box-shadow var(--nx-trans), border-color var(--nx-trans);
}
.nx-project-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--nx-shadow-lg);
	border-color: var(--nx-color-border-2);
}
.nx-project-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--nx-color-soft);
}
.nx-project-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 600ms cubic-bezier(.2,.6,.2,1);
}
.nx-project-card:hover .nx-project-card__media img { transform: scale(1.05); }
.nx-project-card__placeholder {
	width: 100%; height: 100%;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 16%, var(--nx-color-soft)), color-mix(in srgb, var(--nx-color-accent) 16%, var(--nx-color-soft)));
}
.nx-project-card__hover {
	position: absolute; right: 14px; top: 14px;
	width: 44px; height: 44px; border-radius: 999px;
	background: var(--nx-color-bg); color: var(--nx-color-primary);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: var(--nx-shadow-md);
	transform: translateY(-6px) rotate(-12deg); opacity: 0;
	transition: transform var(--nx-trans), opacity var(--nx-trans);
}
.nx-project-card:hover .nx-project-card__hover { transform: translateY(0) rotate(0); opacity: 1; }
.nx-project-card__body { padding: 22px 24px 24px; }
.nx-project-card__client { font-size: 0.8125rem; color: var(--nx-color-muted); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.nx-project-card__title { font-size: 1.125rem; margin: 0 0 12px; }
.nx-project-card__title a { color: var(--nx-color-text); }
.nx-project-card__title a:hover { color: var(--nx-color-primary); }
.nx-project-card__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nx-project-card__tags li {
	font-size: 0.75rem; padding: 4px 10px;
	border-radius: 999px;
	background: var(--nx-color-soft);
	color: var(--nx-color-muted);
	font-weight: 500;
}

/* Testimonial */
.nx-testimonial {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 32px 28px;
	position: relative;
	display: flex; flex-direction: column;
}
.nx-testimonial__quote-icon {
	color: color-mix(in srgb, var(--nx-color-primary) 35%, transparent);
	margin-bottom: 12px;
}
.nx-testimonial__rating { display: flex; gap: 2px; color: #F59E0B; margin-bottom: 12px; }
.nx-testimonial__rating .nexora-icon.is-filled { fill: currentColor; stroke: currentColor; }
.nx-testimonial__text { color: var(--nx-color-text); font-size: 1rem; margin-bottom: 22px; flex: 1; }
.nx-testimonial__text p { margin: 0 0 0.5em; }
.nx-testimonial__person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--nx-color-border); }
.nx-testimonial__avatar { width: 46px; height: 46px; border-radius: 999px; overflow: hidden; flex: 0 0 auto; background: var(--nx-color-soft); }
.nx-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nx-testimonial__name { font-weight: 600; line-height: 1.2; }
.nx-testimonial__meta { font-size: 0.8125rem; color: var(--nx-color-muted); margin-top: 2px; }

/* Team card */
.nx-team-card {
	background: var(--nx-color-bg);
	border-radius: var(--nx-radius-lg);
	overflow: hidden;
	border: 1px solid var(--nx-color-border);
	transition: transform var(--nx-trans), box-shadow var(--nx-trans);
}
.nx-team-card:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow-md); }
.nx-team-card__photo {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--nx-color-soft);
}
.nx-team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.nx-team-card:hover .nx-team-card__photo img { transform: scale(1.04); }
.nx-team-card__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 20%, transparent), color-mix(in srgb, var(--nx-color-accent) 20%, transparent));
	color: var(--nx-color-primary);
	font-family: var(--nx-font-display); font-size: 3rem; font-weight: 700;
}
.nx-team-card__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(15,23,42,.92), rgba(15,23,42,.4) 60%, transparent);
	color: #fff;
	padding: 22px;
	display: flex; flex-direction: column; justify-content: flex-end;
	opacity: 0; transition: opacity var(--nx-trans);
}
.nx-team-card:hover .nx-team-card__overlay { opacity: 1; }
.nx-team-card__bio { font-size: 0.875rem; line-height: 1.55; margin-bottom: 12px; }
.nx-team-card__bio p { margin: 0; }
.nx-team-card__socials { display: flex; gap: 8px; }
.nx-team-card__socials a {
	width: 34px; height: 34px;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background var(--nx-trans);
}
.nx-team-card__socials a:hover { background: rgba(255,255,255,.22); color: #fff; }
.nx-team-card__info { padding: 18px 20px 20px; }
.nx-team-card__name { font-size: 1.0625rem; margin: 0 0 2px; }
.nx-team-card__role { font-size: 0.875rem; color: var(--nx-color-muted); }

/* =========================================================
   9. About-specific (mv, values, timeline)
   ========================================================= */
.nx-mv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}
.nx-mv-card {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 36px 32px;
}
.nx-mv-card__icon {
	width: 54px; height: 54px; border-radius: 14px;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 22px;
}
.nx-mv-card__title { font-size: 1.5rem; margin: 0 0 10px; }
.nx-mv-card__text  { color: var(--nx-color-muted); margin: 0; }

.nx-values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.nx-value-card {
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 28px 24px;
	background: var(--nx-color-bg);
	transition: transform var(--nx-trans), border-color var(--nx-trans);
}
.nx-value-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--nx-color-accent) 35%, transparent); }
.nx-value-card__icon {
	width: 48px; height: 48px; border-radius: 12px;
	background: color-mix(in srgb, var(--nx-color-accent) 14%, transparent);
	color: var(--nx-color-accent);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 18px;
}
.nx-value-card__title { font-size: 1.0625rem; margin: 0 0 6px; }
.nx-value-card__text  { color: var(--nx-color-muted); margin: 0; font-size: 0.9375rem; }

/* Timeline */
.nx-timeline { list-style: none; padding: 0; margin: 0; max-width: 760px; margin-inline: auto; position: relative; }
.nx-timeline::before {
	content: ""; position: absolute;
	left: 90px; top: 8px; bottom: 8px;
	width: 2px;
	background: linear-gradient(to bottom, var(--nx-color-border), transparent);
}
.nx-timeline__item {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 36px;
	position: relative;
	padding: 18px 0;
}
.nx-timeline__year {
	font-family: var(--nx-font-display); font-weight: 700; font-size: 1.125rem;
	color: var(--nx-color-primary);
	text-align: right;
}
.nx-timeline__dot {
	position: absolute;
	left: 85px; top: 28px;
	width: 12px; height: 12px;
	border-radius: 999px;
	background: var(--nx-color-bg);
	border: 2px solid var(--nx-color-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-color-primary) 14%, transparent);
}
.nx-timeline__title { margin: 0 0 4px; font-size: 1.125rem; }
.nx-timeline__text  { color: var(--nx-color-muted); margin: 0; }

/* =========================================================
   10. Services-specific (benefits, faq)
   ========================================================= */
.nx-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}
.nx-benefit {
	display: flex; gap: 18px; align-items: flex-start;
	padding: 24px;
	border-radius: var(--nx-radius-lg);
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
}
.nx-benefit__icon {
	width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-accent));
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}
.nx-benefit__title { margin: 0 0 4px; font-size: 1.0625rem; }
.nx-benefit__text  { color: var(--nx-color-muted); margin: 0; font-size: 0.9375rem; }

/* FAQ */
.nx-faq { display: flex; flex-direction: column; gap: 12px; }
.nx-faq__item {
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius);
	background: var(--nx-color-bg);
	overflow: hidden;
	transition: border-color var(--nx-trans), background var(--nx-trans);
}
.nx-faq__item[open] {
	border-color: color-mix(in srgb, var(--nx-color-primary) 30%, transparent);
	background: color-mix(in srgb, var(--nx-color-primary) 3%, var(--nx-color-bg));
}
.nx-faq__q {
	cursor: pointer;
	list-style: none;
	padding: 20px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	font-weight: 600; font-family: var(--nx-font-display); font-size: 1.0625rem;
}
.nx-faq__q::-webkit-details-marker { display: none; }
.nx-faq__icon {
	width: 28px; height: 28px; border-radius: 999px;
	background: var(--nx-color-soft);
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
	position: relative;
	transition: background var(--nx-trans);
}
.nx-faq__icon::before, .nx-faq__icon::after {
	content: ""; position: absolute;
	background: var(--nx-color-text);
	transition: transform var(--nx-trans);
}
.nx-faq__icon::before { width: 12px; height: 2px; }
.nx-faq__icon::after  { width: 2px; height: 12px; }
.nx-faq__item[open] .nx-faq__icon { background: color-mix(in srgb, var(--nx-color-primary) 14%, transparent); }
.nx-faq__item[open] .nx-faq__icon::after { transform: scaleY(0); }
.nx-faq__a { padding: 0 24px 22px; color: var(--nx-color-muted); }
.nx-faq__a p { margin: 0; }

/* =========================================================
   11. Contact-specific (info, form, map)
   ========================================================= */
.nx-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: clamp(28px, 5vw, 56px);
	align-items: start;
}
.nx-contact-info {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 36px 32px;
	position: sticky; top: 100px;
}
.nx-contact-info__title { font-size: 1.25rem; margin: 0 0 24px; }
.nx-contact-info__item {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid var(--nx-color-border);
}
.nx-contact-info__item:first-of-type { border-top: 0; padding-top: 0; }
.nx-contact-info__icon {
	width: 38px; height: 38px; border-radius: 10px;
	background: color-mix(in srgb, var(--nx-color-primary) 12%, transparent);
	color: var(--nx-color-primary);
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
}
.nx-contact-info__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--nx-color-muted); font-weight: 600; }
a.nx-contact-info__value { color: var(--nx-color-text); }
a.nx-contact-info__value:hover { color: var(--nx-color-primary); }
.nx-contact-info__value { font-size: 0.9375rem; line-height: 1.5; }
.nx-contact-info__socials { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--nx-color-border); }

.nx-contact-form { }
.nx-contact-form__title { font-family: var(--nx-font-display); font-size: 1.5rem; margin: 0 0 6px; }
.nx-contact-form__subtitle { color: var(--nx-color-muted); margin: 0 0 28px; }

.nx-form { display: flex; flex-direction: column; gap: 18px; }
.nx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nx-form__field { display: flex; flex-direction: column; gap: 6px; }
.nx-form__field label { font-size: 0.875rem; font-weight: 600; }
.nx-form__field input,
.nx-form__field textarea {
	font-family: inherit; font-size: 1rem;
	padding: 12px 14px;
	border-radius: var(--nx-radius-sm);
	border: 1px solid var(--nx-color-border-2);
	background: var(--nx-color-bg);
	color: var(--nx-color-text);
	transition: border-color var(--nx-trans), box-shadow var(--nx-trans);
}
.nx-form__field input:focus,
.nx-form__field textarea:focus {
	outline: none;
	border-color: var(--nx-color-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-color-primary) 14%, transparent);
}
.nx-form__field textarea { min-height: 140px; resize: vertical; }
.nx-form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.nx-form__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nx-form__status { font-size: 0.9375rem; }
.nx-form__status.is-success { color: #059669; }
.nx-form__status.is-error   { color: #DC2626; }

.nx-map iframe { width: 100%; height: 480px; border: 0; display: block; filter: saturate(0.9); }
[data-theme="dark"] .nx-map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.8); }

/* =========================================================
   12. Single & Archive (service, project)
   ========================================================= */
.nx-page-hero {
	padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 64px);
	border-bottom: 1px solid var(--nx-color-border);
	position: relative; overflow: hidden;
}
.nx-page-hero--compact { padding-block: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 48px); }
.nx-page-hero__title { font-family: var(--nx-font-display); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; }
.nx-page-hero__title--sm { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.nx-page-hero__text { color: var(--nx-color-muted); font-size: 1.0625rem; max-width: 60ch; margin: 0; }
.nx-text-center .nx-page-hero__text { margin-inline: auto; }
.nx-page-hero__inner {
	display: grid; grid-template-columns: 1.2fr 1fr;
	gap: clamp(32px, 5vw, 64px); align-items: center;
}
.nx-page-hero__media img { border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.nx-page-hero__search { margin-top: 24px; max-width: 460px; }

/* Service single */
.nx-service-single__head { display: flex; align-items: center; gap: 18px; }
.nx-service-single__icon {
	width: 64px; height: 64px; border-radius: 16px;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	flex: 0 0 auto;
	box-shadow: var(--nx-shadow-md);
}
.nx-service-single__grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: clamp(28px, 5vw, 56px);
	align-items: start;
}
.nx-service-single__aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.nx-service-single__thumb img { border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md); }

.nx-aside-card {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	padding: 22px 24px;
}
.nx-aside-card h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--nx-color-muted); font-weight: 700; margin: 0 0 12px; }
.nx-aside-card--cta {
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff; border-color: transparent;
}
.nx-aside-card--cta h4 { color: rgba(255,255,255,.7); }
.nx-aside-card--cta p { color: rgba(255,255,255,.85); margin: 0 0 16px; font-size: 0.9375rem; }
.nx-aside-card--cta .nx-btn--primary { background: #fff; color: #0F172A; }
.nx-aside-card--cta .nx-btn--primary:hover { color: #0F172A; }

.nx-tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nx-tag-list li {
	font-size: 0.8125rem; padding: 5px 12px;
	border-radius: 999px;
	background: var(--nx-color-soft);
	color: var(--nx-color-text);
	font-weight: 500;
}

/* Project single */
.nx-project-single__meta {
	display: flex; gap: 28px; flex-wrap: wrap;
	color: var(--nx-color-muted);
	font-size: 0.9375rem;
	margin-top: 10px;
}
.nx-project-single__cover img { border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-lg); width: 100%; }
.nx-project-single__tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--nx-color-border); }
.nx-project-single__tags h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--nx-color-muted); font-weight: 700; margin: 0 0 12px; }
.nx-project-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}
.nx-project-gallery__item { margin: 0; }
.nx-project-gallery__item img { border-radius: var(--nx-radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* =========================================================
   13. Blog, 404, Pagination, Search
   ========================================================= */
.nx-blog-grid { gap: 28px; }
.nx-post-card {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: var(--nx-radius-lg);
	overflow: hidden;
	transition: transform var(--nx-trans), box-shadow var(--nx-trans);
}
.nx-post-card:hover { transform: translateY(-3px); box-shadow: var(--nx-shadow-md); }
.nx-post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nx-color-soft); }
.nx-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.nx-post-card:hover .nx-post-card__media img { transform: scale(1.04); }
.nx-post-card__body { padding: 20px 22px 22px; }
.nx-post-card__meta { font-size: 0.8125rem; color: var(--nx-color-muted); margin-bottom: 8px; letter-spacing: 0.02em; }
.nx-post-card__title { font-size: 1.125rem; margin: 0 0 8px; line-height: 1.3; }
.nx-post-card__title a { color: var(--nx-color-text); }
.nx-post-card__title a:hover { color: var(--nx-color-primary); }
.nx-post-card__excerpt { color: var(--nx-color-muted); margin: 0 0 14px; font-size: 0.9375rem; }

.nx-pagination { margin-top: 48px; display: flex; justify-content: center; }
.nx-pagination ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.nx-pagination a, .nx-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--nx-color-border);
	color: var(--nx-color-text);
	font-weight: 600;
	transition: border-color var(--nx-trans), background var(--nx-trans), color var(--nx-trans);
}
.nx-pagination a:hover { border-color: var(--nx-color-primary); color: var(--nx-color-primary); }
.nx-pagination .current { background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary)); color: #fff; border-color: transparent; }

.nx-empty {
	text-align: center; max-width: 560px; margin-inline: auto;
	padding: 60px 20px;
}
.nx-empty h2 { font-size: 1.5rem; margin: 0 0 8px; }
.nx-empty p  { color: var(--nx-color-muted); margin: 0 0 20px; }

.nx-404 { padding: clamp(80px, 12vw, 160px) 0; }
.nx-404__code {
	font-family: var(--nx-font-display);
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-accent));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1;
	margin-bottom: 8px;
}
.nx-404__title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 8px; }
.nx-404__text  { color: var(--nx-color-muted); margin: 0 0 28px; }
.nx-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.nx-404__search { max-width: 460px; margin-inline: auto; }

.nx-search-form { display: flex; gap: 8px; }
.nx-search-form__input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid var(--nx-color-border-2);
	background: var(--nx-color-bg);
	color: var(--nx-color-text);
	font: inherit;
}
.nx-search-form__input:focus { outline: none; border-color: var(--nx-color-primary); }
.nx-search-form__btn {
	width: 44px; height: 44px; border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================
   14. Footer, Newsletter, Back-to-top
   ========================================================= */
.nx-newsletter {
	background: linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 8%, var(--nx-color-soft)), var(--nx-color-soft));
	padding: clamp(48px, 6vw, 72px) 0;
	border-top: 1px solid var(--nx-color-border);
}
.nx-newsletter__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 36px;
	flex-wrap: wrap;
}
.nx-newsletter__copy h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 6px; }
.nx-newsletter__copy p  { color: var(--nx-color-muted); margin: 0; max-width: 46ch; }
.nx-newsletter__form {
	display: flex; gap: 8px; align-items: center;
	background: var(--nx-color-bg);
	padding: 6px;
	border-radius: 999px;
	box-shadow: var(--nx-shadow-md);
	border: 1px solid var(--nx-color-border);
	max-width: 480px; flex: 1;
}
.nx-newsletter__form input {
	flex: 1; min-width: 0;
	border: 0;
	padding: 10px 16px;
	background: transparent;
	color: var(--nx-color-text);
	font: inherit;
}
.nx-newsletter__form input:focus { outline: none; }

.nx-footer {
	background: var(--nx-color-soft);
	border-top: 1px solid var(--nx-color-border);
	padding: clamp(60px, 7vw, 96px) 0 0;
}
[data-theme="dark"] .nx-footer { background: #07091A; }
.nx-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: clamp(28px, 4vw, 48px);
	padding-bottom: 56px;
	border-bottom: 1px solid var(--nx-color-border);
}
.nx-footer__col .footer-widget-title,
.nx-footer__col h4 {
	font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em;
	font-weight: 700; color: var(--nx-color-text);
	margin: 0 0 18px;
	font-family: var(--nx-font-body);
}
.nx-footer__col--brand .nx-brand { margin-bottom: 18px; }
.nx-footer__about { color: var(--nx-color-muted); font-size: 0.9375rem; margin-bottom: 20px; max-width: 36ch; }
.nx-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.nx-footer__list a { color: var(--nx-color-muted); font-size: 0.9375rem; }
.nx-footer__list a:hover { color: var(--nx-color-primary); }
.nx-footer__list--icons li { display: flex; align-items: flex-start; gap: 10px; color: var(--nx-color-muted); font-size: 0.9375rem; }
.nx-footer__list--icons .nexora-icon { margin-top: 2px; color: var(--nx-color-primary); flex: 0 0 auto; }
.nx-footer__list--icons a { color: var(--nx-color-muted); }

.nx-footer__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 24px 0; flex-wrap: wrap;
	color: var(--nx-color-muted); font-size: 0.875rem;
}
.nx-footer__nav-menu {
	list-style: none; padding: 0; margin: 0;
	display: flex; gap: 22px; flex-wrap: wrap;
}
.nx-footer__nav-menu a { color: var(--nx-color-muted); font-size: 0.875rem; }
.nx-footer__nav-menu a:hover { color: var(--nx-color-primary); }

/* Socials */
.nx-socials { display: flex; gap: 8px; }
.nx-socials a {
	width: 38px; height: 38px;
	border-radius: 999px;
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	color: var(--nx-color-text);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background var(--nx-trans), color var(--nx-trans), border-color var(--nx-trans), transform var(--nx-trans);
}
.nx-socials a:hover { background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary)); color: #fff; border-color: transparent; transform: translateY(-2px); }
.nx-socials--footer a { background: transparent; }
.nx-socials--inline { margin: 0; }

/* Back to top */
.nx-back-to-top {
	position: fixed;
	right: 24px; bottom: 24px;
	width: 48px; height: 48px;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: var(--nx-shadow-lg);
	opacity: 0; visibility: hidden;
	transform: translateY(12px) rotate(-90deg);
	transition: opacity var(--nx-trans), transform var(--nx-trans), visibility var(--nx-trans);
	z-index: 60;
}
.nx-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) rotate(-90deg); }
.nx-back-to-top:hover { transform: translateY(-2px) rotate(-90deg); }

/* =========================================================
   15. Block editor / Prose
   ========================================================= */
.nx-prose__content { font-size: 1.0625rem; line-height: 1.75; color: var(--nx-color-text); }
.nx-prose__content > * + * { margin-top: 1em; }
.nx-prose__content h2 { font-size: 1.75rem; margin-top: 1.6em; margin-bottom: .4em; }
.nx-prose__content h3 { font-size: 1.375rem; margin-top: 1.4em; margin-bottom: .3em; }
.nx-prose__content ul, .nx-prose__content ol { padding-left: 1.5em; }
.nx-prose__content blockquote {
	border-left: 4px solid var(--nx-color-primary);
	padding: 8px 20px;
	margin: 24px 0;
	color: var(--nx-color-muted);
	font-style: italic;
	background: var(--nx-color-soft);
	border-radius: 0 var(--nx-radius) var(--nx-radius) 0;
}
.nx-prose__content code {
	background: var(--nx-color-soft);
	padding: 2px 8px;
	border-radius: 6px;
	font-family: ui-monospace, "SF Mono", Menlo, Monaco, "Cascadia Mono", monospace;
	font-size: 0.92em;
}
.nx-prose__content pre {
	background: var(--nx-color-soft-2);
	padding: 18px 20px;
	border-radius: var(--nx-radius);
	overflow-x: auto;
}
.nx-prose__content pre code { background: transparent; padding: 0; }
.nx-prose__content img { border-radius: var(--nx-radius); margin: 24px 0; }
.nx-prose__thumb { margin: 0 0 28px; }
.nx-prose__thumb img { border-radius: var(--nx-radius-lg); }

.nx-single__meta { color: var(--nx-color-muted); font-size: 0.9375rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nx-single__thumb { margin: 0 0 36px; }
.nx-single__thumb img { border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-lg); width: 100%; }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.nx-hero__inner { grid-template-columns: 1fr; }
	.nx-hero__visual { display: none; }
	.nx-page-hero__inner { grid-template-columns: 1fr; }
	.nx-service-single__grid { grid-template-columns: 1fr; }
	.nx-service-single__aside { position: static; flex-direction: row; flex-wrap: wrap; }
	.nx-service-single__aside > * { flex: 1 1 280px; }
	.nx-contact-grid { grid-template-columns: 1fr; }
	.nx-contact-info { position: static; }
}

@media (max-width: 860px) {
	.nx-split { grid-template-columns: 1fr; }
	.nx-split--reverse > .nx-split__media,
	.nx-split--reverse > .nx-split__copy { order: initial; }
	.nx-section-head--row { flex-direction: column; align-items: flex-start; }
	.nx-section-head--row .nx-section-head__text { max-width: none; }
	.nx-newsletter__form { width: 100%; max-width: none; }

	/* Mobile nav — actual drawer styles live in the Responsive
	   Header Overhaul section below. Here we just expose the toggle
	   and neutralize the header's backdrop-filter, because it
	   creates a containing block for position:fixed descendants and
	   would trap the drawer inside the header (78px tall) instead
	   of the viewport. */
	.nx-mobile-toggle { display: inline-flex; }
	.nx-header__cta { display: none; }
	.nx-header,
	.nx-header.is-scrolled {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: var(--nx-color-bg);
	}

	/* Timeline */
	.nx-timeline::before { left: 16px; }
	.nx-timeline__item { grid-template-columns: 1fr; gap: 8px; padding-left: 40px; }
	.nx-timeline__year { text-align: left; }
	.nx-timeline__dot { left: 10px; top: 22px; }

	/* Footer */
	.nx-footer__grid { grid-template-columns: 1fr 1fr; }

	.nx-cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
	.nx-form__row { grid-template-columns: 1fr; }
	.nx-hero__badges { gap: 24px; }
	.nx-footer__grid { grid-template-columns: 1fr; }
	.nx-contact-strip { padding: 22px; }
	.nx-back-to-top { right: 16px; bottom: 16px; }
}

/* Body class state when mobile nav is open */
body.nx-nav-open { overflow: hidden; }

/* =========================================================
   17. LAYOUT B — Vibrant
   Prefix: .nxb-
   ========================================================= */

/* Tokens specific to Layout B */
:root {
	--nxb-pink:   #EC4899;
	--nxb-orange: #F97316;
	--nxb-cyan:   #06B6D4;
	--nxb-emerald:#10B981;
	--nxb-violet: #8B5CF6;
	--nxb-amber:  #F59E0B;
}

/* Layout B — Buttons */
.nxb-btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--nx-font-body); font-weight: 600; font-size: 0.9375rem;
	padding: 14px 24px; border-radius: 100px; border: 1px solid transparent;
	cursor: pointer; text-decoration: none; line-height: 1; white-space: nowrap;
	transition: transform var(--nx-trans), box-shadow var(--nx-trans), background var(--nx-trans), color var(--nx-trans);
}
.nxb-btn--lg { padding: 18px 32px; font-size: 1.0625rem; }
.nxb-btn--gradient {
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nxb-pink), var(--nxb-orange));
	background-size: 200% 100%;
	color: #fff;
	box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--nx-color-primary) 50%, transparent);
	animation: nxb-shift 6s ease-in-out infinite;
}
.nxb-btn--gradient:hover { color: #fff; transform: translateY(-2px); }
.nxb-btn--clear {
	background: var(--nx-color-bg);
	color: var(--nx-color-text);
	border-color: var(--nx-color-border);
	box-shadow: var(--nx-shadow-sm);
}
.nxb-btn--clear:hover { color: var(--nx-color-text); border-color: var(--nx-color-text); }
.nxb-btn--outline {
	background: transparent; color: var(--nx-color-text);
	border: 2px solid var(--nx-color-text);
}
.nxb-btn--outline:hover { color: var(--nx-color-bg); background: var(--nx-color-text); }
.nxb-btn--white {
	background: #fff; color: #0F172A;
	box-shadow: var(--nx-shadow-lg);
}
.nxb-btn--white:hover { color: #0F172A; transform: translateY(-2px); }
.nxb-btn__play {
	width: 26px; height: 26px; border-radius: 999px;
	background: color-mix(in srgb, var(--nx-color-primary) 16%, transparent);
	color: var(--nx-color-primary);
	display: inline-flex; align-items: center; justify-content: center;
}
@keyframes nxb-shift {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}

/* Layout B — Headings & eyebrow */
.nxb-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--nx-font-body);
	font-size: 0.75rem; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--nx-color-primary);
	margin-bottom: 16px;
}
.nxb-eyebrow::before {
	content: ""; width: 24px; height: 2px;
	background: linear-gradient(90deg, var(--nx-color-primary), var(--nxb-pink));
	border-radius: 2px;
}
.nxb-eyebrow--light { color: #FCD34D; }
.nxb-eyebrow--light::before { background: linear-gradient(90deg, #FCD34D, var(--nxb-orange)); }

.nxb-h2 {
	font-family: var(--nx-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
	margin: 0 0 12px;
}
.nxb-h2--light { color: #fff; }

.nxb-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.nxb-section-head__text { color: var(--nx-color-muted); max-width: 420px; margin: 8px 0 0; }

/* Layout B — HERO */
.nxb-hero {
	position: relative;
	padding: clamp(80px, 11vw, 160px) 0 clamp(60px, 8vw, 120px);
	overflow: hidden;
	isolation: isolate;
}
.nxb-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.nxb-hero__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	animation: nxb-blob 18s ease-in-out infinite;
}
.nxb-hero__blob--1 { width: 540px; height: 540px; background: var(--nx-color-primary); top: -160px; left: -120px; }
.nxb-hero__blob--2 { width: 440px; height: 440px; background: var(--nxb-pink); bottom: -120px; left: 35%; animation-delay: -6s; opacity: 0.4; }
.nxb-hero__blob--3 { width: 480px; height: 480px; background: var(--nxb-cyan); top: 20%; right: -160px; animation-delay: -12s; opacity: 0.45; }
[data-theme="dark"] .nxb-hero__blob { opacity: 0.4; }
@keyframes nxb-blob {
	0%, 100% { transform: translate(0,0) scale(1); }
	33%      { transform: translate(40px,-30px) scale(1.05); }
	66%      { transform: translate(-30px,40px) scale(.95); }
}
.nxb-hero__noise {
	position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--nx-color-text) 4%, transparent) 1px, transparent 2px),
		radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--nx-color-text) 4%, transparent) 1px, transparent 2px),
		radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--nx-color-text) 3%, transparent) 1px, transparent 2px);
	background-size: 32px 32px, 28px 28px, 36px 36px;
	opacity: 0.6;
	mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
}

.nxb-hero__inner {
	display: grid; grid-template-columns: 1.2fr 1fr;
	gap: clamp(40px, 7vw, 80px); align-items: center;
}
.nxb-hero__eyebrow {
	display: inline-flex; align-items: center;
	padding: 8px 16px; border-radius: 999px;
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	font-size: 0.8125rem; font-weight: 600;
	color: var(--nx-color-text);
	margin-bottom: 24px;
	box-shadow: var(--nx-shadow-sm);
}
.nxb-hero__title {
	font-family: var(--nx-font-display);
	font-size: clamp(2.5rem, 5.8vw, 5rem);
	font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
	margin: 0 0 24px;
}
.nxb-hero__subtitle {
	font-size: clamp(1rem, 1.3vw, 1.1875rem);
	color: var(--nx-color-muted);
	max-width: 56ch; margin: 0 0 36px;
}
.nxb-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.nxb-hero__badges { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--nx-color-border); }
.nxb-hero__badge-value {
	display: block;
	font-family: var(--nx-font-display); font-size: 2rem; font-weight: 700;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nxb-pink));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1;
}
.nxb-hero__badge-label { display: block; font-size: 0.875rem; color: var(--nx-color-muted); margin-top: 4px; }

/* Rotator — shows one service title at a time on its own line.
   --nxb-rot-h drives both the visible window height and the slide
   distance, so they can never drift out of sync. */
.nxb-rotator {
	--nxb-rot-h: 1.25em;
	display: block;
	height: var(--nxb-rot-h);
	overflow: hidden;
	position: relative;
	font-size: clamp(1.5rem, 4vw, 2.75rem);
	max-width: 100%;
}
.nxb-rotator__inner {
	display: flex; flex-direction: column;
	animation: nxb-rotate 12s steps(1) infinite;
}
.nxb-rotator__word {
	height: var(--nxb-rot-h); line-height: var(--nxb-rot-h);
	display: block;
	white-space: nowrap;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nxb-pink), var(--nxb-orange));
	background-size: 200% 200%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: nxb-shift 4s linear infinite;
}
@keyframes nxb-rotate {
	0%, 18%  { transform: translateY(0); }
	20%, 38% { transform: translateY(calc(var(--nxb-rot-h) * -1)); }
	40%, 58% { transform: translateY(calc(var(--nxb-rot-h) * -2)); }
	60%, 78% { transform: translateY(calc(var(--nxb-rot-h) * -3)); }
	80%,100% { transform: translateY(calc(var(--nxb-rot-h) * -4)); }
}

/* Hero visual sphere */
.nxb-hero__visual { position: relative; height: 480px; }
.nxb-hero__sphere {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
}
.nxb-hero__ring {
	position: absolute;
	border-radius: 50%;
	border: 2px solid transparent;
	background: conic-gradient(from 0deg, var(--nx-color-primary), var(--nxb-pink), var(--nxb-cyan), var(--nx-color-primary)) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	animation: nxb-spin 22s linear infinite;
	opacity: 0.85;
}
.nxb-hero__ring--1 { width: 360px; height: 360px; }
.nxb-hero__ring--2 { width: 280px; height: 280px; animation-duration: 14s; animation-direction: reverse; }
.nxb-hero__ring--3 { width: 200px; height: 200px; animation-duration: 18s; }
.nxb-hero__core {
	position: absolute;
	width: 120px; height: 120px; border-radius: 50%;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nxb-pink));
	box-shadow: 0 0 60px color-mix(in srgb, var(--nxb-pink) 50%, transparent), inset 0 0 40px rgba(255,255,255,0.3);
	animation: nxb-pulse 4s ease-in-out infinite;
}
@keyframes nxb-spin  { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes nxb-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.08); }
}
.nxb-hero__sticker {
	position: absolute;
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	padding: 10px 16px;
	border-radius: 100px;
	font-size: 0.875rem; font-weight: 600;
	display: inline-flex; align-items: center; gap: 8px;
	box-shadow: var(--nx-shadow-md);
	animation: nx-float 6s ease-in-out infinite;
}
.nxb-hero__sticker--1 { top: 30px; right: 10px; color: var(--nx-color-primary); }
.nxb-hero__sticker--2 { bottom: 30px; left: 0; animation-delay: -3s; }
.nxb-hero__sticker-dot {
	width: 8px; height: 8px; border-radius: 999px;
	background: #10B981;
	box-shadow: 0 0 0 4px color-mix(in srgb, #10B981 20%, transparent);
	animation: nx-pulse 2s ease-out infinite;
}

/* Hero scroll cue */
.nxb-hero__scroll {
	position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	color: var(--nx-color-muted);
	font-size: 0.75rem; font-weight: 600;
	letter-spacing: 0.15em; text-transform: uppercase;
}
.nxb-hero__scroll:hover { color: var(--nx-color-primary); }
.nxb-hero__scroll-line {
	width: 1px; height: 40px;
	background: linear-gradient(to bottom, transparent, currentColor);
	position: relative; overflow: hidden;
}
.nxb-hero__scroll-line::after {
	content: ""; position: absolute; top: 0; left: 0; right: 0;
	height: 30%;
	background: currentColor;
	animation: nxb-scroll-cue 2s ease-in-out infinite;
}
@keyframes nxb-scroll-cue {
	0%   { transform: translateY(-100%); }
	100% { transform: translateY(300%); }
}

/* Layout B — Services Rail */
.nxb-services { padding: clamp(60px, 8vw, 110px) 0; overflow: hidden; }
.nxb-rail-controls { display: flex; gap: 8px; }
.nxb-rail-btn {
	width: 48px; height: 48px; border-radius: 999px;
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	color: var(--nx-color-text);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background var(--nx-trans), border-color var(--nx-trans), color var(--nx-trans);
}
.nxb-rail-btn:hover { background: var(--nx-color-text); color: var(--nx-color-bg); border-color: var(--nx-color-text); }
.nxb-rail-btn[data-nxb-rail-prev] svg { transform: rotate(180deg); }

.nxb-rail {
	display: flex; gap: 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--nx-container-px);
	padding: 12px 0 32px;
	scrollbar-width: none;
}
.nxb-rail::-webkit-scrollbar { display: none; }
.nxb-rail__spacer { flex: 0 0 var(--nx-container-px); }
.nxb-rail::before, .nxb-rail::after { content: none; }
.nxb-rail__cta { display: flex; justify-content: center; margin-top: 8px; }

.nxb-svc-card {
	position: relative;
	flex: 0 0 320px;
	min-height: 380px;
	border-radius: 28px;
	padding: 28px;
	color: #fff;
	overflow: hidden;
	scroll-snap-align: start;
	display: flex; flex-direction: column;
	text-decoration: none;
	transition: transform var(--nx-trans-slow), box-shadow var(--nx-trans);
	isolation: isolate;
}
.nxb-svc-card__bg {
	position: absolute; inset: 0; z-index: -1;
	background: var(--nxb-grad, linear-gradient(135deg, #4F46E5, #06B6D4));
	transition: transform 600ms cubic-bezier(.2,.6,.2,1);
}
.nxb-svc-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(circle at 20% 10%, rgba(255,255,255,0.18), transparent 50%),
		radial-gradient(circle at 80% 90%, rgba(0,0,0,0.18), transparent 50%);
	pointer-events: none;
}
.nxb-svc-card:hover { color: #fff; transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(15,23,42,0.45); }
.nxb-svc-card:hover .nxb-svc-card__bg { transform: scale(1.05); }
.nxb-svc-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.nxb-svc-card__icon {
	width: 56px; height: 56px; border-radius: 16px;
	background: rgba(255,255,255,0.18);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
}
.nxb-svc-card__num { font-family: var(--nx-font-display); font-size: 1rem; font-weight: 700; opacity: 0.6; letter-spacing: 0.05em; }
.nxb-svc-card__body { margin-top: auto; }
.nxb-svc-card__title { font-family: var(--nx-font-display); font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; color: #fff; }
.nxb-svc-card__text { font-size: 0.9375rem; color: rgba(255,255,255,0.88); margin: 0; }
.nxb-svc-card__arrow {
	position: absolute; right: 28px; bottom: 28px;
	width: 42px; height: 42px;
	border-radius: 999px;
	background: rgba(255,255,255,0.18);
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform var(--nx-trans), background var(--nx-trans);
}
.nxb-svc-card:hover .nxb-svc-card__arrow { background: #fff; color: #0F172A; transform: rotate(-20deg); }

/* Layout B — Process */
.nxb-process { padding: clamp(60px, 8vw, 100px) 0; background: var(--nx-color-soft); }
.nxb-process__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.nxb-process__head .nxb-eyebrow { justify-content: center; }
.nxb-process__head .nxb-eyebrow::before { display: none; }
.nxb-process__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	position: relative;
}
.nxb-step {
	background: var(--nx-color-bg);
	border: 1px solid var(--nx-color-border);
	border-radius: 24px;
	padding: 28px 24px;
	position: relative;
	transition: transform var(--nx-trans), border-color var(--nx-trans);
	animation: nxb-step-in 0.6s cubic-bezier(.2,.6,.2,1) backwards;
	animation-delay: var(--nxb-step-delay, 0s);
}
.nxb-step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--nx-color-primary) 35%, transparent); }
.nxb-step__num {
	font-family: var(--nx-font-display);
	font-size: 1.25rem; font-weight: 700;
	color: var(--nx-color-primary);
	letter-spacing: 0.05em;
	margin-bottom: 18px;
}
.nxb-step__line {
	display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.nxb-step__dot {
	width: 10px; height: 10px; border-radius: 999px;
	background: var(--nx-color-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-color-primary) 15%, transparent);
	flex: 0 0 auto;
}
.nxb-step__dash {
	flex: 1; height: 2px;
	background: linear-gradient(90deg, var(--nx-color-primary), transparent);
	border-radius: 2px;
}
.nxb-step__arrow { color: var(--nx-color-primary); flex: 0 0 auto; }
.nxb-step__title { font-size: 1.125rem; margin: 0 0 6px; }
.nxb-step__text  { color: var(--nx-color-muted); font-size: 0.9375rem; margin: 0; }
@keyframes nxb-step-in {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Layout B — Stats bars */
.nxb-stats {
	position: relative;
	padding: clamp(60px, 8vw, 120px) 0;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.nxb-stats__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse at 30% 30%, var(--nx-color-primary), transparent 50%),
		radial-gradient(ellipse at 70% 70%, var(--nxb-pink), transparent 50%),
		linear-gradient(135deg, #0F172A, #1E1B4B);
}
.nxb-stats__head { max-width: 640px; margin-bottom: 56px; }
.nxb-stats__grid { display: flex; flex-direction: column; gap: 28px; }
.nxb-stat-row {
	display: grid;
	grid-template-columns: 200px 1fr auto;
	gap: 24px; align-items: center;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nxb-stat-row__label {
	font-family: var(--nx-font-display);
	font-size: 1.0625rem; font-weight: 600;
	color: rgba(255,255,255,0.85);
}
.nxb-stat-row__bar {
	height: 14px;
	background: rgba(255,255,255,0.08);
	border-radius: 999px;
	overflow: hidden;
}
.nxb-stat-row__fill {
	height: 100%; width: 0;
	background: linear-gradient(90deg, var(--nxb-cyan), var(--nxb-pink), var(--nxb-orange));
	border-radius: 999px;
	box-shadow: 0 0 20px color-mix(in srgb, var(--nxb-pink) 50%, transparent);
	transition: width 1.6s cubic-bezier(.2,.6,.2,1);
	transition-delay: var(--nxb-delay, 0s);
}
.nxb-stat-row.is-active .nxb-stat-row__fill { width: var(--nxb-pct, 60%); }
.nxb-stat-row__value {
	font-family: var(--nx-font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
	background: linear-gradient(135deg, #fff, #FCD34D);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1; min-width: 140px; text-align: right;
}
.nxb-stat-row__suffix { -webkit-text-fill-color: var(--nxb-orange); background: none; color: var(--nxb-orange); }

/* Layout B — Showcase */
.nxb-showcase { padding: clamp(60px, 8vw, 110px) 0; }
.nxb-showcase__head { max-width: 640px; margin: 0 0 40px; }
.nxb-showcase__card {
	position: relative;
	border-radius: 32px;
	padding: clamp(40px, 6vw, 72px);
	color: #fff;
	background-size: cover; background-position: center;
	background-color: #1E1B4B;
	overflow: hidden;
	isolation: isolate;
	min-height: 460px;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.nxb-showcase__pattern {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(135deg, var(--nx-color-primary), var(--nxb-pink) 50%, var(--nxb-orange));
}
.nxb-showcase__pattern::after {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
	background-size: 60px 60px;
}
.nxb-showcase__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.nxb-showcase__chip {
	padding: 6px 14px; border-radius: 100px;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(6px);
	font-size: 0.8125rem; font-weight: 600;
	color: #fff;
}
.nxb-showcase__chip--ghost { background: transparent; border: 1px solid rgba(255,255,255,0.3); }
.nxb-showcase__title {
	font-family: var(--nx-font-display);
	font-size: clamp(1.875rem, 4vw, 3rem);
	font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
	margin: 0 0 16px; color: #fff;
	max-width: 18ch;
}
.nxb-showcase__excerpt { color: rgba(255,255,255,0.85); font-size: 1.0625rem; max-width: 56ch; margin: 0 0 28px; }
.nxb-showcase__corner {
	position: absolute; top: 24px; right: 24px;
	display: flex; gap: 4px;
}
.nxb-showcase__corner span {
	width: 10px; height: 10px; border-radius: 999px;
	background: rgba(255,255,255,0.3);
}
.nxb-showcase__corner span:first-child { background: var(--nxb-emerald); }

/* Layout B — Testimonial spotlight */
.nxb-spotlight { padding: clamp(60px, 8vw, 110px) 0; background: var(--nx-color-soft); }
.nxb-spotlight__slider { position: relative; min-height: 280px; max-width: 920px; margin: 32px 0 24px; }
.nxb-spotlight__slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity 500ms ease, transform 500ms ease;
	transform: translateY(10px);
}
.nxb-spotlight__slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.nxb-spotlight__rating { display: flex; gap: 4px; color: #CBD5E1; margin-bottom: 24px; }
.nxb-spotlight__star.is-filled { color: var(--nxb-amber); }
.nxb-spotlight__star.is-filled svg { fill: currentColor; }
.nxb-spotlight__quote {
	font-family: var(--nx-font-display);
	font-size: clamp(1.5rem, 2.6vw, 2.125rem);
	font-weight: 500; letter-spacing: -0.015em;
	line-height: 1.35; color: var(--nx-color-text);
	margin: 0 0 32px; quotes: '"' '"';
}
.nxb-spotlight__quote::before { content: open-quote; color: var(--nx-color-primary); margin-right: 4px; }
.nxb-spotlight__quote::after  { content: close-quote; color: var(--nx-color-primary); margin-left: 4px; }
.nxb-spotlight__person { display: flex; align-items: center; gap: 16px; }
.nxb-spotlight__avatar {
	width: 56px; height: 56px;
	border-radius: 999px; overflow: hidden;
	background: linear-gradient(135deg, var(--nx-color-primary), var(--nxb-pink));
	flex: 0 0 auto;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-weight: 700; font-size: 1.25rem;
}
.nxb-spotlight__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nxb-spotlight__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.nxb-spotlight__meta { color: var(--nx-color-muted); font-size: 0.875rem; margin-top: 2px; }
.nxb-spotlight__dots { display: flex; gap: 8px; }
.nxb-spotlight__dot {
	width: 32px; height: 6px; border-radius: 999px;
	border: 0; background: var(--nx-color-border-2); cursor: pointer;
	transition: background var(--nx-trans), width var(--nx-trans);
}
.nxb-spotlight__dot.is-active { background: linear-gradient(90deg, var(--nx-color-primary), var(--nxb-pink)); width: 52px; }

/* Layout B — CTA */
.nxb-cta {
	position: relative;
	padding: clamp(80px, 11vw, 140px) 0;
	background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #4C1D95 100%);
	color: #fff;
	overflow: hidden; isolation: isolate;
	text-align: center;
}
.nxb-cta__shapes { position: absolute; inset: 0; z-index: -1; }
.nxb-cta__shape {
	position: absolute; border-radius: 50%;
	filter: blur(80px); opacity: 0.6;
}
.nxb-cta__shape--1 { width: 480px; height: 480px; background: var(--nx-color-primary); top: -160px; left: -120px; }
.nxb-cta__shape--2 { width: 420px; height: 420px; background: var(--nxb-pink); bottom: -160px; right: -100px; }
.nxb-cta__shape--3 { width: 360px; height: 360px; background: var(--nxb-cyan); top: 30%; left: 40%; opacity: 0.35; }
.nxb-cta__title {
	font-family: var(--nx-font-display);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
	margin: 0 auto 20px; color: #fff; max-width: 18ch;
}
.nxb-cta__text { font-size: 1.125rem; color: rgba(255,255,255,0.78); margin: 0 auto 36px; max-width: 56ch; }

/* Layout B responsive */
@media (max-width: 1024px) {
	.nxb-hero__inner { grid-template-columns: 1fr; }
	.nxb-hero__visual { height: 360px; }
	.nxb-stat-row { grid-template-columns: 1fr; gap: 12px; }
	.nxb-stat-row__value { text-align: left; }
}
@media (max-width: 640px) {
	.nxb-svc-card { flex: 0 0 86%; min-height: 340px; }
	.nxb-hero__scroll { display: none; }
	.nxb-section-head { flex-direction: column; align-items: flex-start; }
	.nxb-rail-controls { display: none; }
}

/* =========================================================
   18. LAYOUT C — Editorial
   Prefix: .nxc-
   ========================================================= */

.nxc-eyebrow {
	display: inline-block;
	font-family: var(--nx-font-body);
	font-size: 0.6875rem; font-weight: 700;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--nx-color-text);
	margin-bottom: 14px;
}
.nxc-h2 {
	font-family: var(--nx-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
	margin: 0 0 12px;
}
.nxc-section-head { max-width: 720px; margin: 0 0 56px; }
.nxc-section-head__text { color: var(--nx-color-muted); max-width: 56ch; margin: 12px 0 0; }
.nxc-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	color: var(--nx-color-text);
	font-size: 0.9375rem;
}
.nxc-link:hover { color: var(--nx-color-primary); }
.nxc-link .nexora-icon { transition: transform var(--nx-trans); }
.nxc-link:hover .nexora-icon { transform: translateX(4px); }

/* Layout C buttons */
.nxc-btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--nx-font-body); font-weight: 600; font-size: 0.9375rem;
	padding: 14px 24px; border: 1px solid transparent; border-radius: 6px;
	text-decoration: none; line-height: 1;
	transition: background var(--nx-trans), color var(--nx-trans), transform var(--nx-trans);
}
.nxc-btn--lg { padding: 18px 32px; font-size: 1rem; }
.nxc-btn--dark {
	background: var(--nx-color-text); color: var(--nx-color-bg);
}
.nxc-btn--dark:hover { background: var(--nx-color-primary); color: #fff; transform: translateY(-1px); }
.nxc-btn--text {
	background: transparent;
	color: var(--nx-color-text);
	border-bottom: 1px solid var(--nx-color-text);
	border-radius: 0;
	padding: 14px 4px;
}
.nxc-btn--text:hover { color: var(--nx-color-primary); border-bottom-color: var(--nx-color-primary); }
.nxc-btn__arrow {
	width: 28px; height: 28px; border-radius: 999px;
	background: color-mix(in srgb, var(--nx-color-bg) 12%, transparent);
	display: inline-flex; align-items: center; justify-content: center;
}
.nxc-btn--dark .nxc-btn__arrow { background: color-mix(in srgb, var(--nx-color-bg) 22%, transparent); color: var(--nx-color-bg); }

/* Layout C — Hero */
.nxc-hero {
	padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 64px);
	border-bottom: 1px solid var(--nx-color-border);
}
.nxc-hero__top {
	display: flex; justify-content: space-between; align-items: center;
	padding-bottom: 24px; margin-bottom: 40px;
	border-bottom: 1px solid var(--nx-color-border);
	font-size: 0.8125rem; color: var(--nx-color-muted);
}
.nxc-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--nx-color-text); font-size: 0.6875rem;
}
.nxc-hero__eyebrow-line { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.nxc-hero__date { letter-spacing: 0.06em; }
.nxc-hero__title {
	font-family: var(--nx-font-display);
	font-size: clamp(3rem, 7vw, 6rem);
	font-weight: 700; letter-spacing: -0.035em; line-height: 0.98;
	margin: 0 0 40px;
	position: relative;
}
.nxc-hero__asterisk {
	display: inline-block;
	background: linear-gradient(135deg, var(--nx-color-primary), #EC4899, #F97316);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 0.7em; vertical-align: top; line-height: 1; margin-left: 0.05em;
	animation: nx-pulse 3s ease-in-out infinite, nxb-shift 6s linear infinite;
	background-size: 200% 200%;
}
.nxc-hero__bar {
	display: grid; grid-template-columns: 1.4fr 1fr;
	gap: 48px; align-items: end;
	padding-top: 24px; padding-bottom: 40px;
	border-top: 1px solid var(--nx-color-border);
}
.nxc-hero__lede { font-size: 1.125rem; color: var(--nx-color-muted); max-width: 56ch; margin: 0; }
.nxc-hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nxc-hero__strip {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 24px 0 40px;
}
.nxc-hero__strip-item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	overflow: hidden;
	background: var(--nx-color-soft);
}
.nxc-hero__strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.nxc-hero__strip-item:hover img { transform: scale(1.05); }
.nxc-hero__strip-item--decor {
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.4);
}
.nxc-hero__strip-num {
	font-family: var(--nx-font-display);
	font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.85);
	letter-spacing: -0.02em;
}
.nxc-hero__strip-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 14%, var(--nx-color-soft)), color-mix(in srgb, var(--nx-color-accent) 14%, var(--nx-color-soft)));
	color: var(--nx-color-primary);
}
.nxc-hero__strip-label {
	position: absolute; left: 14px; bottom: 14px; right: 14px;
	font-size: 0.8125rem; font-weight: 600; color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.nxc-hero__badges {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 24px;
	padding-top: 32px; border-top: 1px solid var(--nx-color-border);
}
.nxc-hero__badge-value { font-family: var(--nx-font-display); font-size: 2rem; font-weight: 700; display: block; letter-spacing: -0.02em; }
.nxc-hero__badge-label { font-size: 0.8125rem; color: var(--nx-color-muted); margin-top: 4px; display: block; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

/* Layout C — Numbered services list */
.nxc-services { padding: clamp(60px, 8vw, 110px) 0; }
.nxc-svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--nx-color-border); }
.nxc-svc-item { border-bottom: 1px solid var(--nx-color-border); }
.nxc-svc-link {
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 32px; align-items: center;
	padding: 28px 0;
	color: var(--nx-color-text);
	position: relative;
	transition: padding var(--nx-trans);
}
.nxc-svc-link::before {
	content: ""; position: absolute; left: -100%; right: 100%; top: 0; bottom: 0;
	background: var(--nx-color-soft);
	z-index: -1;
	transition: left 400ms cubic-bezier(.2,.6,.2,1), right 400ms cubic-bezier(.2,.6,.2,1);
}
.nxc-svc-link:not(.nxc-svc-link--static):hover { color: var(--nx-color-text); padding-left: 20px; padding-right: 20px; }
.nxc-svc-link:not(.nxc-svc-link--static):hover::before { left: 0; right: 0; }
.nxc-svc-num {
	font-family: var(--nx-font-display); font-size: 1.0625rem; font-weight: 600;
	color: var(--nx-color-muted); letter-spacing: 0.04em;
}
.nxc-svc-title {
	font-family: var(--nx-font-display);
	font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700;
	letter-spacing: -0.02em; line-height: 1.05;
}
.nxc-svc-meta { display: flex; align-items: center; gap: 20px; color: var(--nx-color-muted); }
.nxc-svc-text { font-size: 0.9375rem; max-width: 32ch; text-align: right; }
.nxc-svc-icon {
	width: 44px; height: 44px; border-radius: 12px;
	background: var(--nx-color-soft);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--nx-color-primary);
	transition: background var(--nx-trans), color var(--nx-trans);
}
.nxc-svc-link:not(.nxc-svc-link--static):hover .nxc-svc-icon { background: var(--nx-color-text); color: var(--nx-color-bg); }
.nxc-svc-arrow {
	color: var(--nx-color-text); opacity: 0;
	transform: translateX(-8px);
	transition: opacity var(--nx-trans), transform var(--nx-trans);
}
.nxc-svc-link:not(.nxc-svc-link--static):hover .nxc-svc-arrow { opacity: 1; transform: translateX(0); }

/* Layout C — Featured project */
.nxc-feature { padding: clamp(60px, 8vw, 110px) 0; background: var(--nx-color-soft); }
.nxc-feature__grid {
	display: grid; grid-template-columns: 1fr 1.2fr;
	gap: clamp(40px, 6vw, 80px); align-items: center;
}
.nxc-feature__label {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 0.6875rem; font-weight: 700;
	letter-spacing: 0.18em; text-transform: uppercase;
	margin-bottom: 24px;
}
.nxc-feature__bullet {
	width: 8px; height: 8px; border-radius: 999px;
	background: var(--nx-color-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-color-primary) 20%, transparent);
}
.nxc-feature__title {
	font-family: var(--nx-font-display);
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 700; letter-spacing: -0.025em; line-height: 1.05;
	margin: 0 0 20px;
}
.nxc-feature__excerpt { color: var(--nx-color-muted); font-size: 1.0625rem; margin: 0 0 28px; }
.nxc-feature__data {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 24px; margin: 0 0 36px;
	padding: 24px 0; border-top: 1px solid var(--nx-color-border); border-bottom: 1px solid var(--nx-color-border);
}
.nxc-feature__data div { display: flex; flex-direction: column; gap: 4px; }
.nxc-feature__data dt {
	font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--nx-color-muted);
}
.nxc-feature__data dd { margin: 0; font-weight: 600; }
.nxc-feature__media { position: relative; }
.nxc-feature__cover {
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 6px; overflow: hidden;
	background: var(--nx-color-soft);
	position: relative;
}
.nxc-feature__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms; }
.nxc-feature__cover:hover img { transform: scale(1.04); }
.nxc-feature__cover--decor { background: linear-gradient(135deg, var(--nx-color-primary), #EC4899); }
.nxc-feature__decor-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
	background-size: 40px 40px;
}
.nxc-feature__decor-blob {
	position: absolute;
	width: 220px; height: 220px;
	background: rgba(255,255,255,0.2);
	border-radius: 50%;
	filter: blur(40px);
	top: 30%; left: 30%;
	animation: nxb-pulse 5s ease-in-out infinite;
}
.nxc-feature__decor-icon {
	position: absolute;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
	color: rgba(255,255,255,0.5);
}
.nxc-feature__corner {
	position: absolute; top: 16px; left: 16px;
	background: rgba(255,255,255,0.95);
	color: #0F172A;
	font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 3px;
}

/* Layout C — Mosaic */
.nxc-mosaic { padding: clamp(60px, 8vw, 100px) 0; }
.nxc-mosaic__head {
	display: flex; justify-content: space-between; align-items: end;
	padding-bottom: 24px; border-bottom: 1px solid var(--nx-color-border);
	margin-bottom: 32px;
}
.nxc-mosaic__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: 180px;
	gap: 12px;
}
.nxc-tile {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	background: var(--nx-color-soft);
	display: block;
}
.nxc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms; }
.nxc-tile:hover img { transform: scale(1.05); }
.nxc-tile__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--nx-color-primary) 14%, var(--nx-color-soft)), color-mix(in srgb, var(--nx-color-accent) 14%, var(--nx-color-soft)));
	color: var(--nx-color-primary);
}
.nxc-tile__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, transparent 50%);
	padding: 18px;
	display: flex; flex-direction: column; justify-content: flex-end;
	color: #fff;
	opacity: 0; transition: opacity var(--nx-trans);
}
.nxc-tile:hover .nxc-tile__overlay { opacity: 1; }
.nxc-tile__client { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.nxc-tile__title { font-family: var(--nx-font-display); font-size: 1.125rem; font-weight: 700; margin-top: 4px; }
/* Mosaic variants — varying tile spans (5-tile layout) */
.nxc-mosaic__grid[data-count="5"] .nxc-tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.nxc-mosaic__grid[data-count="5"] .nxc-tile:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.nxc-mosaic__grid[data-count="5"] .nxc-tile:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.nxc-mosaic__grid[data-count="5"] .nxc-tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.nxc-mosaic__grid[data-count="5"] .nxc-tile:nth-child(5) { grid-column: span 3; grid-row: span 1; }

/* 4-tile fallback */
.nxc-mosaic__grid[data-count="4"] .nxc-tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.nxc-mosaic__grid[data-count="4"] .nxc-tile:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.nxc-mosaic__grid[data-count="4"] .nxc-tile:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.nxc-mosaic__grid[data-count="4"] .nxc-tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }

/* 3-tile fallback */
.nxc-mosaic__grid[data-count="3"] .nxc-tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.nxc-mosaic__grid[data-count="3"] .nxc-tile:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.nxc-mosaic__grid[data-count="3"] .nxc-tile:nth-child(3) { grid-column: span 2; grid-row: span 1; }

/* 2-tile fallback */
.nxc-mosaic__grid[data-count="2"] .nxc-tile { grid-column: span 3; grid-row: span 2; }

/* Layout C — Editorial Stats */
.nxc-stats { padding: clamp(60px, 8vw, 110px) 0; background: var(--nx-color-text); color: var(--nx-color-bg); }
.nxc-stats .nxc-eyebrow { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .nxc-stats { background: #fff; color: #0F172A; }
[data-theme="dark"] .nxc-stats .nxc-eyebrow { color: rgba(0,0,0,0.5); }
.nxc-stats__intro { max-width: 640px; margin: 0 0 56px; }
.nxc-stats__intro .nxc-h2 { color: inherit; }
.nxc-stats__list {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0;
	border-top: 1px solid rgba(255,255,255,0.15);
}
[data-theme="dark"] .nxc-stats__list { border-top-color: rgba(0,0,0,0.1); }
.nxc-stat {
	padding: 36px 24px 36px 0;
	border-right: 1px solid rgba(255,255,255,0.15);
}
[data-theme="dark"] .nxc-stat { border-right-color: rgba(0,0,0,0.1); }
.nxc-stat:last-child { border-right: 0; }
.nxc-stat__num {
	font-family: var(--nx-font-display);
	font-size: clamp(2.5rem, 4.5vw, 4rem);
	font-weight: 700; letter-spacing: -0.03em; line-height: 1;
	margin-bottom: 8px;
}
.nxc-stat__suffix { color: #F59E0B; }
.nxc-stat__label { font-size: 0.875rem; opacity: 0.75; }

/* Layout C — Pull quote */
.nxc-quote { padding: clamp(80px, 11vw, 140px) 0; text-align: center; }
.nxc-quote__mark {
	font-family: var(--nx-font-display);
	font-size: clamp(6rem, 14vw, 12rem);
	font-weight: 700; line-height: 0.8;
	background: linear-gradient(135deg, var(--nx-color-primary), #EC4899);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 24px;
}
.nxc-quote__text {
	font-family: var(--nx-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 500; letter-spacing: -0.015em;
	line-height: 1.3;
	margin: 0 0 32px; quotes: none;
}
.nxc-quote__cite { font-size: 0.9375rem; color: var(--nx-color-muted); }
.nxc-quote__name { font-weight: 700; color: var(--nx-color-text); }
.nxc-quote__meta { display: block; margin-top: 4px; }

/* Layout C — Newsletter */
.nxc-newsletter { padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--nx-color-border); border-bottom: 1px solid var(--nx-color-border); }
.nxc-newsletter__grid {
	display: grid; grid-template-columns: 60px 1fr auto;
	gap: 32px; align-items: center;
}
.nxc-newsletter__num {
	width: 56px; height: 56px; border-radius: 999px;
	background: linear-gradient(135deg, var(--nx-color-primary), #EC4899);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.5rem; font-weight: 700;
}
.nxc-newsletter__title {
	font-family: var(--nx-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
	margin: 0 0 6px;
}
.nxc-newsletter__text { color: var(--nx-color-muted); margin: 0; max-width: 56ch; }

/* Layout C responsive */
@media (max-width: 1024px) {
	.nxc-hero__bar { grid-template-columns: 1fr; gap: 28px; }
	.nxc-feature__grid { grid-template-columns: 1fr; }
	.nxc-feature__media { order: -1; }
	.nxc-mosaic__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; }
	.nxc-mosaic__grid .nxc-tile { grid-column: span 2 !important; grid-row: span 1 !important; }
	.nxc-mosaic__grid[data-count="5"] .nxc-tile:nth-child(1),
	.nxc-mosaic__grid[data-count="4"] .nxc-tile:nth-child(1),
	.nxc-mosaic__grid[data-count="3"] .nxc-tile:nth-child(1) { grid-column: span 4 !important; grid-row: span 2 !important; }
}
@media (max-width: 768px) {
	.nxc-svc-link { grid-template-columns: 50px 1fr auto; gap: 16px; padding: 22px 0; }
	.nxc-svc-text { display: none; }
	.nxc-svc-title { font-size: 1.5rem; }
	.nxc-newsletter__grid { grid-template-columns: 1fr; text-align: left; gap: 20px; }
	.nxc-newsletter__num { display: none; }
	.nxc-hero__strip { grid-template-columns: repeat(3, 1fr); }
	.nxc-mosaic__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
	.nxc-tile { grid-column: span 1 !important; }
	.nxc-tile--0 { grid-column: span 2 !important; }
	.nxc-stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
	[data-theme="dark"] .nxc-stat { border-bottom-color: rgba(0,0,0,0.1); }
}

/* =========================================================
   22. HEADER — Responsive overhaul
   Mirrors the reference theme's off-canvas drawer pattern:
   constrained width, scrim, progressive tablet/phone breakpoints.
   Submenus are click-to-toggle (chevron injected by JS).
   ========================================================= */

/* Container reflow */
.nx-header__inner {
	gap: clamp(16px, 2vw, 32px);
}

/* Brand: cap width on tablet so a long site title can't push the nav off-screen */
.nx-brand {
	max-width: 100%;
	min-width: 0;
}
.nx-brand__name {
	display: inline-block;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}
.custom-logo-link img { max-height: 36px; width: auto; }

/* Tighter nav padding on smaller desktops; drop the brand tag first */
@media (max-width: 1100px) {
	.nx-nav__menu > li > a { padding: 9px 10px; font-size: 0.9rem; }
	.nx-brand__tag { display: none; }
}

/* CTA hides at tablet width to leave room for the menu */
@media (max-width: 980px) {
	.nx-header__cta { display: none; }
}

/* ----- Mobile breakpoint: off-canvas drawer ----- */
@media (max-width: 860px) {
	.nx-header__inner { padding: 14px 0; gap: 12px; }
	.nx-header.is-scrolled .nx-header__inner { padding: 10px 0; }

	.nx-brand__name { max-width: 200px; }
	.nx-brand__mark { width: 34px; height: 34px; border-radius: 8px; }
	.nx-brand__mark svg { width: 20px; height: 20px; }
	.nx-brand { font-size: 1.0625rem; gap: 8px; }

	/* Compact, breathable actions row */
	.nx-header__actions { gap: 8px; }
	.nx-theme-toggle,
	.nx-mobile-toggle {
		width: 40px; height: 40px;
		flex: 0 0 auto;
	}
	.nx-mobile-toggle svg,
	.nx-theme-toggle svg { width: 20px; height: 20px; }

	/* Off-canvas drawer slides in from the right.
	   inset: 0 0 0 auto means top:0, right:0, bottom:0, left:auto —
	   so width controls the panel width. min(360px, 90vw) keeps the
	   panel reasonable on phones and tablets alike. */
	.nx-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(360px, 90vw);
		background: var(--nx-color-bg);
		border-left: 1px solid var(--nx-color-border);
		padding: 80px 24px 32px;
		transform: translateX(100%);
		transition: transform 320ms cubic-bezier(.2,.6,.2,1);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		z-index: 60;
		box-shadow: -20px 0 60px -20px rgba(0,0,0,0.25);
	}
	.nx-nav.is-open { transform: translateX(0); }

	/* When the drawer is open, lift the header above the scrim so the
	   close button stays clickable (scrim is z:59, header normally z:50). */
	body.nx-nav-open .nx-header { z-index: 70; }

	/* Scrim behind the drawer; click anywhere on it to close (handled in JS). */
	body.nx-nav-open::after {
		content: "";
		position: fixed; inset: 0;
		background: rgba(15, 23, 42, 0.55);
		z-index: 59;
		animation: nx-scrim-in 200ms ease;
	}
	@keyframes nx-scrim-in {
		from { opacity: 0; }
		to   { opacity: 1; }
	}
	[data-theme="dark"] body.nx-nav-open::after { background: rgba(0, 0, 0, 0.7); }

	/* Menu list inside the drawer */
	.nx-nav__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}
	.nx-nav__menu > li { position: relative; width: 100%; }
	.nx-nav__menu > li > a {
		display: block;
		padding: 16px 18px;
		font-size: 1.0625rem;
		font-weight: 500;
		border-radius: 10px;
	}
	.nx-nav__menu > li.current-menu-item > a {
		background: linear-gradient(135deg, var(--nx-color-primary), var(--nx-color-secondary));
		color: #fff;
	}

	/* Room for the chevron on parent items */
	.nx-nav__menu li.menu-item-has-children > a,
	.nx-nav__menu li.page_item_has_children > a { padding-right: 56px; }

	/* Chevron toggle button (injected by JS) — click-to-open submenu */
	.nx-submenu-toggle {
		display: inline-flex;
		position: absolute;
		top: 4px;
		right: 4px;
		width: 44px;
		height: 44px;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 8px;
		color: var(--nx-color-text);
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: background var(--nx-trans);
	}
	.nx-submenu-toggle:hover,
	.nx-submenu-toggle:focus-visible {
		background: var(--nx-color-soft);
		outline: none;
	}
	.nx-submenu-toggle svg { transition: transform var(--nx-trans); }
	.nx-nav__menu li.is-submenu-open > .nx-submenu-toggle svg { transform: rotate(180deg); }

	/* Mobile submenus collapsed until parent gets .is-submenu-open */
	.nx-nav__menu .sub-menu,
	.nx-nav__menu .children {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: var(--nx-color-soft);
		border: 0;
		box-shadow: none;
		border-radius: var(--nx-radius-sm, var(--nx-radius));
		min-width: 0;
		max-height: 0;
		padding: 0 0 0 12px;
		margin: 0;
		overflow: hidden;
		transition: max-height var(--nx-trans-slow), padding var(--nx-trans), margin var(--nx-trans);
	}
	.nx-nav__menu li.is-submenu-open > .sub-menu,
	.nx-nav__menu li.is-submenu-open > .children {
		max-height: 1200px;
		padding: 4px 0;
		margin: 2px 0 6px 12px;
	}
	.nx-nav__menu .sub-menu a,
	.nx-nav__menu .children a {
		display: block;
		padding: 10px 14px;
		font-size: 0.9375rem;
	}
}

/* Very small phones: shrink remaining buttons further */
@media (max-width: 480px) {
	.nx-brand__name { max-width: 130px; font-size: 0.9375rem; }
	.nx-brand { gap: 6px; }
	/* Keep the dark/light toggle available on phones (base display is inline-flex). */
	.nx-header__actions { gap: 6px; }
	.nx-theme-toggle,
	.nx-mobile-toggle { width: 38px; height: 38px; }
	.nx-theme-toggle svg,
	.nx-mobile-toggle svg { width: 18px; height: 18px; }
}

/* Theme toggle row inside the mobile drawer.
   Hidden on desktop (the header toggle is canonical there); shown once
   the nav becomes an off-canvas drawer so phone users always have an
   obvious, labelled control even if the compact header one is missed. */
.nx-nav__theme { display: none; }
@media (max-width: 860px) {
	.nx-nav__theme {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid var(--nx-color-border);
	}
	.nx-nav__theme-label {
		font-size: 1.0625rem;
		font-weight: 500;
		color: var(--nx-color-text);
	}
	.nx-nav__theme .nx-theme-toggle {
		display: inline-flex;
		width: 46px;
		height: 46px;
		flex: 0 0 auto;
	}
}
