/* ==========================================================================
   Nextinnova 2
   Modern, light and calm: full-screen hero, light Outfit type, soft
   mist-to-blush gradients, clean cards, image split sections, a dark band.
   Brand: teal #14AFB1 / deep teal #0B6E70, blush, Reem Kufi wordmark.
   ========================================================================== */

:root {
	--nx-teal: #14AFB1;
	--nx-teal-deep: #0B6E70;
	--nx-teal-dark: #08575A;
	--nx-teal-light: #7FD6D7;
	--nx-blush: #F4E0D7;
	--nx-blush-soft: #FBF2EE;
	--nx-clay: #E7C5B5;
	--nx-mist: #EEF7F7;
	--nx-line: #DCE8E8;
	--nx-ink: #12292B;
	--nx-text: #3A4E51;
	--nx-muted: #5E7174;
	--nx-dark: #0E3436;
	--nx-darker: #0A2729;
	--nx-white: #FFFFFF;

	--nx-font: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
	--nx-font-brand: "Reem Kufi", "Outfit", sans-serif;

	--nx-gutter: clamp(1.25rem, 4vw, 3rem);
	--nx-wide: 1240px;
	--nx-content: 720px;
	--nx-section: clamp(4rem, 9vw, 8rem);
	--nx-header-h: 88px;
	--nx-admin: 0px;

	--nx-radius: 10px;
	--nx-shadow: 0 30px 60px -36px rgba(14, 52, 54, 0.35), 0 2px 6px rgba(14, 52, 54, 0.04);
	--nx-ease: cubic-bezier(.2, .7, .1, 1);
}
.admin-bar { --nx-admin: 32px; }
@media (max-width: 782px) { .admin-bar { --nx-admin: 46px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nx-header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }

body {
	margin: 0;
	background: var(--nx-white);
	color: var(--nx-text);
	font-family: var(--nx-font);
	font-size: 1.0625rem;
	font-weight: 350;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--nx-teal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color .25s var(--nx-ease); }
a:hover { color: var(--nx-teal-dark); }

:focus-visible { outline: 2px solid var(--nx-teal); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nx-font);
	color: var(--nx-ink);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 0.55em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); font-weight: 400; letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; font-weight: 500; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
strong, b { font-weight: 550; color: var(--nx-teal-deep); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.nx-skip {
	position: absolute; left: 1rem; top: -4rem; z-index: 1000;
	padding: 0.75rem 1.25rem; background: var(--nx-teal-deep); color: var(--nx-white);
	border-radius: 4px; text-decoration: none;
}
.nx-skip:focus { top: 1rem; color: var(--nx-white); }
.nx-main:focus { outline: none; }

/* ---------- Buttons ---------- */
.nx-button,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	padding: 0.9rem 1.7rem;
	border: 1px solid var(--nx-teal-deep);
	border-radius: 3px;
	background: var(--nx-teal-deep);
	color: var(--nx-white);
	font-family: var(--nx-font);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .3s var(--nx-ease), color .3s var(--nx-ease), border-color .3s var(--nx-ease), transform .3s var(--nx-ease);
}
.nx-button:hover,
.wp-block-button__link:hover {
	background: var(--nx-teal-dark);
	border-color: var(--nx-teal-dark);
	color: var(--nx-white);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--nx-ink);
	border-color: var(--nx-ink);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--nx-ink);
	border-color: var(--nx-ink);
	color: var(--nx-white);
}
.wp-block-buttons { gap: 0.85rem 1rem; }

/* ---------- Header ---------- */
.nx-header {
	position: sticky;
	top: var(--nx-admin);
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--nx-ease), box-shadow .3s var(--nx-ease);
}
@media (max-width: 600px) { .admin-bar .nx-header { top: 0; } }
.nx-header.is-scrolled { border-bottom-color: var(--nx-line); box-shadow: 0 10px 30px -24px rgba(14, 52, 54, 0.4); }

.nx-header__inner {
	max-width: calc(var(--nx-wide) + 2 * var(--nx-gutter));
	margin: 0 auto;
	padding: 0 var(--nx-gutter);
	min-height: var(--nx-header-h);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 2rem;
}
.nx-header__side { display: flex; align-items: center; }
.nx-header__side--left { justify-content: flex-start; }
.nx-header__side--right { justify-content: flex-end; gap: 2rem; }

.nx-hnav { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nx-hnav a {
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nx-text);
	text-decoration: none;
	padding: 0.35rem 0;
	background-image: linear-gradient(var(--nx-teal), var(--nx-teal));
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: color .3s var(--nx-ease), background-size .35s var(--nx-ease);
	white-space: nowrap;
}
.nx-hnav a:hover,
.nx-hnav .current-menu-item > a { color: var(--nx-teal-deep); background-size: 100% 1px; }
.nx-button--header { min-height: 2.75rem; padding: 0.7rem 1.25rem; font-size: 0.75rem; white-space: nowrap; }

.nx-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--nx-teal);
}
.nx-brand:hover { color: var(--nx-teal); }
.nx-brand__mark { width: 46px; height: 46px; object-fit: contain; }
.nx-brand__name {
	font-family: var(--nx-font-brand);
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.03em;
	line-height: 1;
}

.nx-menu-toggle { display: none; }
.nx-nav { display: none; }

@media (max-width: 1099px) {
	:root { --nx-header-h: 72px; }
	.nx-header__inner { grid-template-columns: 1fr auto; gap: 1rem; }
	.nx-header__side { display: none; }
	.nx-brand__mark { width: 40px; height: 40px; }
	.nx-brand__name { font-size: 1.3rem; }

	.nx-menu-toggle {
		display: inline-flex; align-items: center; gap: 0.6rem;
		min-height: 44px; padding: 0.4rem 0.9rem;
		border: 1px solid var(--nx-ink); border-radius: 3px;
		background: transparent; color: var(--nx-ink);
		font: 500 0.75rem/1 var(--nx-font); letter-spacing: 0.12em; text-transform: uppercase;
		cursor: pointer;
	}
	.nx-menu-toggle__bars,
	.nx-menu-toggle__bars::before,
	.nx-menu-toggle__bars::after {
		display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
		transition: transform .3s var(--nx-ease), background-color .2s;
	}
	.nx-menu-toggle__bars { position: relative; }
	.nx-menu-toggle__bars::before, .nx-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nx-menu-toggle__bars::before { top: -6px; }
	.nx-menu-toggle__bars::after { top: 6px; }
	.nx-menu-open .nx-menu-toggle__bars { background: transparent; }
	.nx-menu-open .nx-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nx-menu-open .nx-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.nx-nav {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		top: calc(var(--nx-header-h) + var(--nx-admin));
		flex-direction: column;
		gap: 1.75rem;
		padding: 1.5rem var(--nx-gutter) 3rem;
		background: var(--nx-white);
		border-top: 1px solid var(--nx-line);
		overflow-y: auto;
	}
	.nx-menu-open .nx-nav { display: flex; }
	.nx-menu-open body { overflow: hidden; }
	.nx-nav__list { list-style: none; margin: 0; padding: 0; }
	.nx-nav__list li { border-bottom: 1px solid var(--nx-line); }
	.nx-nav__list a {
		display: block; padding: 1.05rem 0;
		font-size: 1.5rem; font-weight: 300; color: var(--nx-ink); text-decoration: none;
	}
	.nx-nav__list .current-menu-item > a { color: var(--nx-teal-deep); }
	.nx-nav .nx-button { width: 100%; }
	.nx-nav__email { text-align: center; }
}
@media (max-width: 420px) {
	.nx-brand { gap: 0.45rem; }
	.nx-brand__mark { width: 34px; height: 34px; }
	.nx-brand__name { font-size: 1.12rem; }
	.nx-menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
}

/* ---------- Hero (cover block on the home page) ---------- */
.wp-block-cover.nx-hero-cover {
	min-height: calc(100svh - var(--nx-header-h) - var(--nx-admin));
	padding: clamp(4rem, 9vh, 7rem) var(--nx-gutter) clamp(5rem, 12vh, 8rem);
	margin: 0 !important;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.wp-block-cover.nx-hero-cover .wp-block-cover__image-background {
	transform-origin: 60% 40%;
}
@media (prefers-reduced-motion: no-preference) {
	.wp-block-cover.nx-hero-cover .wp-block-cover__image-background {
		animation: nx-drift 26s ease-in-out infinite alternate;
	}
	@keyframes nx-drift {
		from { transform: scale(1.02) translate3d(0, 0, 0); }
		to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
	}
	.nx-hero-cover .wp-block-cover__inner-container > * {
		animation: nx-rise 1.1s var(--nx-ease) both;
	}
	.nx-hero-cover .wp-block-cover__inner-container > :nth-child(2) { animation-delay: .12s; }
	.nx-hero-cover .wp-block-cover__inner-container > :nth-child(3) { animation-delay: .24s; }
	.nx-hero-cover .wp-block-cover__inner-container > :nth-child(n+4) { animation-delay: .36s; }
	@keyframes nx-rise {
		from { opacity: 0; transform: translateY(18px); }
		to   { opacity: 1; transform: none; }
	}
}
.nx-hero-cover .wp-block-cover__inner-container {
	max-width: 900px;
	margin: 0 auto;
	color: var(--nx-ink);
}
.nx-hero-cover .wp-block-cover__inner-container > * { margin-left: auto !important; margin-right: auto !important; }
.nx-hero__company {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nx-teal-deep);
	margin-bottom: 1.4rem !important;
}
.nx-hero__title {
	font-size: clamp(2.8rem, 1.2rem + 5.4vw, 6rem);
	font-weight: 250;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: var(--nx-ink);
	max-width: 14ch;
	margin-bottom: 0.45em;
}
.nx-hero-cover .nx-lead {
	font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
	font-weight: 300;
	line-height: 1.6;
	color: var(--nx-text);
	max-width: 46ch;
	margin-bottom: 2.2rem;
}
.nx-hero-cover .wp-block-buttons { justify-content: center; }
.nx-scroll-cue { margin: clamp(2.5rem, 8vh, 5rem) auto 0 !important; }
.nx-scroll-cue a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nx-muted);
	text-decoration: none;
}
.nx-scroll-cue a::after {
	content: "";
	width: 14px; height: 14px;
	border-right: 1px solid var(--nx-teal-deep);
	border-bottom: 1px solid var(--nx-teal-deep);
	transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
	.nx-scroll-cue a::after { animation: nx-nudge 2.4s var(--nx-ease) infinite; }
	@keyframes nx-nudge { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }
}

/* ---------- Statement band with cards ---------- */
.nx-statement-band {
	background:
		radial-gradient(60% 80% at 85% 10%, rgba(244, 224, 215, 0.7) 0%, rgba(244, 224, 215, 0) 70%),
		linear-gradient(180deg, var(--nx-mist) 0%, #F8FBFB 100%);
	padding: var(--nx-section) var(--nx-gutter) !important;
	margin: 0 !important;
}
.nx-statement {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
	font-weight: 300;
	line-height: 1.3;
	text-align: center;
	color: var(--nx-ink);
	max-width: 30ch;
	margin: 0 auto 0.8em !important;
}
.nx-statement-sub {
	text-align: center;
	color: var(--nx-muted);
	max-width: 56ch;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important;
}
.nx-cards { gap: clamp(1.25rem, 2.5vw, 2rem) !important; margin: 0 auto !important; }
.nx-cards > .wp-block-column {
	background: var(--nx-white);
	border-radius: var(--nx-radius);
	border-bottom: 2px solid var(--nx-teal);
	box-shadow: var(--nx-shadow);
	overflow: hidden;
	padding: 0 0 1.75rem;
	transition: transform .5s var(--nx-ease), box-shadow .5s var(--nx-ease);
}
.nx-cards > .wp-block-column:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(14, 52, 54, 0.45); }
.nx-cards .wp-block-image { margin: 0 0 1.5rem; }
.nx-cards .wp-block-image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.nx-cards h3 { padding: 0 1.75rem; margin-bottom: 0.5rem; font-size: 1.75rem; font-weight: 300; }
.nx-cards p { padding: 0 1.75rem; margin: 0; color: var(--nx-text); }

/* ---------- Feature split rows ---------- */
.nx-feature { margin: 0 !important; padding: 0 !important; background: var(--nx-white); }
.nx-feature .wp-block-columns.nx-feature__grid { gap: 0 !important; margin: 0 !important; }
.nx-feature__text {
	padding: clamp(3.5rem, 7vw, 7rem) clamp(1.5rem, 5vw, 6rem) !important;
	align-self: center;
}
.nx-feature__text > * { max-width: 34rem; }
.nx-feature__grid:not(.is-reversed) .nx-feature__text { padding-right: max(var(--nx-gutter), calc((100vw - var(--nx-wide)) / 2)) !important; }
.nx-feature__grid.is-reversed .nx-feature__text { padding-left: max(var(--nx-gutter), calc((100vw - var(--nx-wide)) / 2)) !important; }
.nx-feature__media { padding: 0 !important; align-self: stretch; }
.nx-feature__media .wp-block-image { margin: 0; height: 100%; }
.nx-feature__media .wp-block-image img {
	width: 100%;
	height: 100%;
	min-height: clamp(320px, 42vw, 640px);
	object-fit: cover;
	display: block;
}
@media (min-width: 782px) {
	.nx-feature__grid.is-reversed { flex-direction: row-reverse; }
}
.nx-feature + .nx-feature { border-top: 1px solid var(--nx-line); }

ul.is-style-labels {
	list-style: none;
	padding: 0 !important;
	margin: 1.75rem 0 2.25rem;
}
ul.is-style-labels li {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nx-teal-deep);
}

/* ---------- Dark band ---------- */
.nx-dark {
	background: var(--nx-dark);
	color: #C9DCDC;
	margin: 0 !important;
	padding: 0 !important;
}
.nx-dark .wp-block-columns { gap: 0 !important; margin: 0 !important; align-items: stretch !important; }
.nx-dark .nx-feature__media .wp-block-image img { min-height: clamp(320px, 38vw, 560px); }
.nx-dark h2, .nx-dark h3 { color: var(--nx-white); }
.nx-dark strong { color: var(--nx-teal-light); }
.nx-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--nx-white); border-color: rgba(255, 255, 255, 0.7); }
.nx-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--nx-white); color: var(--nx-dark); border-color: var(--nx-white); }
.nx-dark ul.is-style-ruled li { border-top-color: rgba(255, 255, 255, 0.14); color: #C9DCDC; }
.nx-dark ul.is-style-ruled li strong { color: var(--nx-white); }

/* ---------- Big closing line ---------- */
.nx-bigline {
	font-size: clamp(2.2rem, 1rem + 5vw, 5rem);
	font-weight: 200;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-align: center;
	color: #A9C6C7;
	padding: clamp(4rem, 9vw, 7rem) var(--nx-gutter) !important;
	margin: 0 !important;
	background: var(--nx-white);
}
.nx-bigline p { margin: 0 auto; max-width: 18ch; }

/* ---------- Page header (inner pages) ---------- */
.nx-page-head {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 9vw, 7.5rem) var(--nx-gutter) clamp(3rem, 6vw, 5rem);
	background:
		radial-gradient(55% 90% at 90% 0%, rgba(244, 224, 215, 0.75) 0%, rgba(244, 224, 215, 0) 70%),
		linear-gradient(180deg, var(--nx-mist) 0%, #F9FCFC 100%);
}
.nx-page-head__inner { max-width: var(--nx-wide); margin: 0 auto; }
.nx-page-head__title { font-weight: 250; max-width: 16ch; margin-bottom: 0.35em; }
.nx-page-head__lead {
	max-width: 50ch;
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	font-weight: 300;
	line-height: 1.6;
	color: var(--nx-text);
	margin: 0;
}

/* ---------- Content layout ---------- */
.nx-content > :where(:not(.alignfull):not(.alignwide)) {
	max-width: var(--nx-content);
	margin-left: auto; margin-right: auto;
	padding-left: var(--nx-gutter); padding-right: var(--nx-gutter);
	box-sizing: content-box;
}
.nx-content > .alignwide { max-width: var(--nx-wide); margin-left: auto; margin-right: auto; padding-left: var(--nx-gutter); padding-right: var(--nx-gutter); box-sizing: content-box; }
.nx-content > .alignfull { max-width: none; width: 100%; }

.nx-section { padding: var(--nx-section) var(--nx-gutter); margin: 0 !important; }
.nx-band-white { background: var(--nx-white); }
.nx-band-mist { background: linear-gradient(180deg, var(--nx-mist) 0%, #F7FBFB 100%); }
.nx-band-blush { background: linear-gradient(180deg, var(--nx-blush-soft) 0%, #FFF8F5 100%); }
.nx-page-head + .nx-content > .nx-section:first-child { padding-top: clamp(3rem, 6vw, 5rem); }

/* One left edge in every section, lined up with the header and title. */
.nx-section.is-layout-constrained > :where(:not(.alignfull)) {
	margin-left: max(0px, calc((100% - var(--nx-wide)) / 2)) !important;
	margin-right: auto !important;
}
.nx-section.is-layout-constrained > .alignwide,
.nx-section .is-style-ruled.nx-cols-2,
.nx-section .is-style-ruled.nx-cols-3,
.nx-section > .wp-block-table { max-width: var(--nx-wide) !important; }
.nx-section > h2 { max-width: 22ch; }

.nx-intro { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 300; line-height: 1.6; color: var(--nx-text); max-width: 54ch; }
.nx-lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); font-weight: 300; line-height: 1.6; max-width: 46ch; }
.nx-note { font-size: 0.95rem; color: var(--nx-muted); }

/* ---------- Images ---------- */
.wp-block-image.is-style-petal img,
.is-style-petal img { border-radius: var(--nx-radius); width: 100%; object-fit: cover; display: block; }
.wp-block-image.is-style-petal { margin: 0; }
.nx-split .is-style-petal img { aspect-ratio: 4 / 5; max-height: 620px; }
.nx-wideimg img { aspect-ratio: 16 / 6.5; object-fit: cover; width: 100%; border-radius: var(--nx-radius); }

/* ---------- Lists ---------- */
.nx-content ul, .nx-content ol { padding-left: 1.25em; }
.nx-content li { margin-bottom: 0.4em; }
.nx-content li::marker { color: var(--nx-teal); }

.nx-tags-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nx-muted); margin: 2rem 0 0.75rem !important; }
ul.is-style-tags { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
ul.is-style-tags li {
	margin: 0; padding: 0.4rem 1rem;
	border: 1px solid var(--nx-line); border-radius: 999px;
	font-size: 0.875rem; font-weight: 400; color: var(--nx-ink); background: var(--nx-white); line-height: 1.4;
}

ul.is-style-ruled, ol.is-style-ruled {
	list-style: none; padding: 0 !important; margin-top: 2.25rem;
	display: grid; grid-template-columns: 1fr; column-gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 768px) {
	ul.is-style-ruled.nx-cols-2, ol.is-style-ruled.nx-cols-2 { grid-template-columns: 1fr 1fr; }
	ol.is-style-ruled.nx-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
ul.is-style-ruled li, ol.is-style-ruled li {
	margin: 0; padding: 1.4rem 0 1.5rem;
	border-top: 1px solid var(--nx-line);
	color: var(--nx-text); line-height: 1.65;
}
ul.is-style-ruled li strong, ol.is-style-ruled li strong {
	display: block; font-size: 1.3rem; font-weight: 400; color: var(--nx-ink);
	line-height: 1.3; margin-bottom: 0.35rem; letter-spacing: -0.01em;
}
.nx-band-blush ul.is-style-ruled li { border-top-color: rgba(11, 110, 112, 0.18); }
ol.is-style-ruled { counter-reset: nx-step; }
ol.is-style-ruled li { counter-increment: nx-step; border-top: 1px solid var(--nx-teal); }
ol.is-style-ruled li::before {
	content: "0" counter(nx-step);
	display: block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em;
	color: var(--nx-teal-deep); margin-bottom: 0.75rem;
}

/* ---------- Audience columns ---------- */
.nx-audience { gap: clamp(1.5rem, 4vw, 3.5rem) !important; margin-top: 2.5rem; }
.nx-audience > .wp-block-column { border-top: 1px solid var(--nx-teal); padding-top: 1.5rem; }
.nx-audience h3 { margin-bottom: 0.5rem; }
.nx-audience p { color: var(--nx-text); margin: 0; }

/* ---------- Split ---------- */
.nx-split { align-items: center !important; gap: clamp(2rem, 6vw, 6rem) !important; }

/* ---------- Services detail rows ---------- */
.nx-service {
	display: grid; grid-template-columns: 1fr; gap: 0.25rem 3rem;
	padding: 2.5rem 0; border-top: 1px solid var(--nx-line);
}
.nx-service h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 300; margin: 0; }
.nx-service p { margin: 0 0 0.75em; }
.nx-service .nx-receive { font-size: 0.95rem; color: var(--nx-muted); padding-left: 1rem; border-left: 2px solid var(--nx-teal); }
@media (min-width: 900px) {
	.nx-service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.nx-service > :first-child { grid-row: span 3; }
}

/* ---------- Project sheet (phases table) ---------- */
.wp-block-table.is-style-phases {
	position: relative; display: flex; flex-direction: column;
	background: var(--nx-white);
	border-radius: var(--nx-radius);
	border-bottom: 2px solid var(--nx-teal);
	box-shadow: var(--nx-shadow);
	padding: clamp(1.5rem, 3.5vw, 3rem);
	margin: 2.75rem auto 2rem;
}
.wp-block-table.is-style-phases figcaption,
.wp-block-table.is-style-phases .wp-element-caption {
	order: -1; margin: 0 0 1.5rem; padding-right: 8rem; text-align: left;
	font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nx-muted);
}
.wp-block-table.is-style-phases::after {
	content: "Under NDA";
	position: absolute; top: clamp(1.25rem, 3vw, 2.6rem); right: clamp(1.25rem, 3.5vw, 3rem);
	padding: 0.3rem 0.75rem; border: 1px solid var(--nx-teal-deep); border-radius: 999px;
	color: var(--nx-teal-deep); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
	pointer-events: none;
}
.wp-block-table.is-style-phases table { width: 100%; border-collapse: collapse; border: 0; font-size: 1rem; }
.wp-block-table.is-style-phases thead { border: 0; }
.wp-block-table.is-style-phases th {
	text-align: left; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--nx-muted); padding: 0 0.75rem 0.85rem 0; border: 0; border-bottom: 1px solid var(--nx-teal);
}
.wp-block-table.is-style-phases td {
	vertical-align: top; padding: 1.25rem 0.75rem 1.25rem 0; border: 0;
	border-bottom: 1px solid var(--nx-line); line-height: 1.6; color: var(--nx-text);
}
.wp-block-table.is-style-phases tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-phases td:first-child { width: 4.5rem; font-size: 2.2rem; font-weight: 200; line-height: 1; color: var(--nx-teal-deep); }
.wp-block-table.is-style-phases td:nth-child(2) { width: 30%; font-size: 1.2rem; font-weight: 400; color: var(--nx-ink); line-height: 1.3; }
@media (max-width: 700px) {
	.wp-block-table.is-style-phases figcaption { padding-right: 0; margin-top: 2.25rem; }
	.wp-block-table.is-style-phases thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.wp-block-table.is-style-phases table, .wp-block-table.is-style-phases tbody { display: block; }
	.wp-block-table.is-style-phases tr { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 0.75rem; padding: 1.1rem 0; border-bottom: 1px solid var(--nx-line); }
	.wp-block-table.is-style-phases tr:last-child { border-bottom: 0; }
	.wp-block-table.is-style-phases td { display: block; padding: 0; border: 0; width: auto !important; }
	.wp-block-table.is-style-phases td:first-child { grid-row: span 2; font-size: 1.9rem; }
	.wp-block-table.is-style-phases td:nth-child(2) { margin-bottom: 0.3rem; }
}

/* ---------- Ways to work (cards) ---------- */
.nx-ways { gap: clamp(1.25rem, 2.5vw, 2rem) !important; margin-top: 2.25rem; }
.nx-ways > .wp-block-column {
	background: var(--nx-white); border-radius: var(--nx-radius);
	border-bottom: 2px solid var(--nx-teal); box-shadow: var(--nx-shadow);
	padding: 2rem 1.75rem 1.75rem;
}
.nx-ways h3 { margin-bottom: 0.4rem; font-weight: 300; font-size: 1.6rem; }
.nx-ways p { color: var(--nx-text); margin: 0; }
.nx-ways .nx-best-for { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-teal-deep); margin-bottom: 0.75rem; }

/* ---------- FAQ ---------- */
.wp-block-details { border-bottom: 1px solid var(--nx-line); padding: 1.4rem 0; margin: 0 !important; }
.wp-block-details:first-of-type { border-top: 1px solid var(--nx-line); }
.wp-block-details summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); font-weight: 350; color: var(--nx-ink); line-height: 1.35;
	transition: color .25s var(--nx-ease);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; flex-shrink: 0; font-size: 1.6rem; font-weight: 200; line-height: 1; color: var(--nx-teal-deep); transition: transform .3s var(--nx-ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details summary:hover { color: var(--nx-teal-deep); }
.wp-block-details > :not(summary) { margin-top: 0.85rem; color: var(--nx-text); }

/* ---------- Contact ---------- */
.nx-email-big { font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem); font-weight: 300; line-height: 1.15; margin: 0.25rem 0 1.25rem; word-break: break-word; }
.nx-email-big a { color: var(--nx-teal-deep); text-decoration-thickness: 1px; }
.nx-checklist { list-style: none; padding: 0 !important; }
.nx-checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.8rem; }
.nx-checklist li::before {
	content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9rem; height: 0.45rem;
	border-left: 1.5px solid var(--nx-teal-deep); border-bottom: 1.5px solid var(--nx-teal-deep); transform: rotate(-45deg);
}

/* ---------- Consultation band ---------- */
.nx-cta {
	padding: var(--nx-section) var(--nx-gutter);
	text-align: center;
	background:
		radial-gradient(50% 90% at 15% 100%, rgba(244, 224, 215, 0.8) 0%, rgba(244, 224, 215, 0) 70%),
		linear-gradient(180deg, #F8FBFB 0%, var(--nx-mist) 100%);
}
.nx-cta__inner { max-width: 820px; margin: 0 auto; }
.nx-cta__title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); font-weight: 300; margin: 0 auto 0.5em; }
.nx-cta__lead { font-size: 1.15rem; font-weight: 300; color: var(--nx-text); max-width: 46ch; margin: 0 auto 2rem; }
.nx-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
.nx-cta__email { font-size: 1.05rem; color: var(--nx-teal-deep); word-break: break-word; }

/* ---------- Footer ---------- */
.nx-footer { background: var(--nx-darker); color: #B9CDCD; padding: clamp(3.5rem, 7vw, 5.5rem) var(--nx-gutter) 2rem; }
.nx-footer a { color: #E6F1F1; text-decoration: none; }
.nx-footer a:hover { color: var(--nx-teal-light); }
.nx-footer__top {
	max-width: var(--nx-wide); margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 860px) {
	.nx-footer__top { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; }
	.nx-footer__contact { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: clamp(2rem, 5vw, 4.5rem); }
}
.nx-footer__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0.85rem 3rem;
}
@media (min-width: 600px) { .nx-footer__list { grid-template-columns: repeat(3, minmax(0, max-content)); } }
.nx-footer__list a { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nx-footer__lead { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 300; color: var(--nx-white); line-height: 1.35; max-width: 26ch; margin-bottom: 1rem; }
.nx-footer .nx-footer__email { color: var(--nx-teal-light); font-size: 0.9375rem; letter-spacing: 0.06em; word-break: break-word; }
.nx-footer__brand { max-width: var(--nx-wide); margin: clamp(3rem, 6vw, 4.5rem) auto 0; text-align: center; }
.nx-footer__brand .nx-brand { color: var(--nx-teal); }
.nx-footer__company { margin: 0.75rem 0 0; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8FA8A8; }
.nx-footer__base {
	max-width: var(--nx-wide); margin: 2.5rem auto 0; padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 2rem;
	font-size: 0.8125rem; color: #7F9898; text-align: center;
}
.nx-footer__base p { margin: 0; }

/* ---------- Posts fallback ---------- */
.nx-teaser { padding: 1.5rem 0; border-bottom: 1px solid var(--nx-line); }
.nx-teaser__meta { font-size: 0.9rem; color: var(--nx-muted); }

/* ---------- Reveal on scroll (JS adds the classes) ---------- */
.nx-reveal-ready .nx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--nx-ease), transform .9s var(--nx-ease); }
.nx-reveal-ready .nx-reveal.is-visible { opacity: 1; transform: none; }
.nx-reveal-ready .nx-cards > .nx-reveal:nth-child(2) { transition-delay: .1s; }
.nx-reveal-ready .nx-cards > .nx-reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- Columns stacking ---------- */
@media (max-width: 781px) {
	.wp-block-columns { gap: 2rem !important; }
	.nx-feature__text, .nx-feature__grid:not(.is-reversed) .nx-feature__text, .nx-feature__grid.is-reversed .nx-feature__text { padding: 3rem var(--nx-gutter) !important; }
	.nx-feature__media .wp-block-image img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
	.nx-dark .wp-block-columns { gap: 0 !important; }
	.nx-cards .wp-block-image img { height: 200px; }
}

@media print {
	.nx-header, .nx-cta, .nx-footer__nav, .nx-skip { display: none !important; }
	.nx-reveal { opacity: 1 !important; transform: none !important; }
}
