/* ==========================================================================
   Next Pixel — main stylesheet
   Mobile-first. Logical properties throughout so Arabic (RTL) mirrors
   automatically. Tokens mirror DESIGN_SYSTEM.md / theme.json.
   ========================================================================== */

:root {
	--c-brand: #1736B0;
	--c-action: #1E46D8;
	--c-navy: #0B1B4D;
	--c-tint: #EEF2FF;
	--c-ink: #14181F;
	--c-slate: #4A5361;
	--c-mist: #F3F5F8;
	--c-line: #E3E7EE;
	--c-accent: #F26A1B;
	--c-accent-text: #B4470A;
	--c-white: #FFFFFF;
	--c-on-navy-muted: #C9D3F5;

	--f-display: Sora, "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-text: Inter, "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-h1: clamp(2.4rem, 1.75rem + 2.9vw, 4.25rem);
	--fs-h2: clamp(1.85rem, 1.45rem + 1.75vw, 2.9rem);
	--fs-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
	--fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.875rem;

	--wide: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section-y: clamp(72px, 5rem + 4vw, 128px);
	--gap: clamp(24px, 1rem + 2vw, 48px);
	--r-sm: 6px;
	--r-md: 10px;
	--r-lg: 16px;
	--shadow: 0 1px 2px rgba(11, 27, 77, .06), 0 12px 32px -12px rgba(11, 27, 77, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;
}

/* Arabic: script-appropriate families, no negative tracking, a little more leading */
:root:lang(ar) {
	--f-display: "IBM Plex Sans Arabic", Sora, system-ui, sans-serif;
	--f-text: "IBM Plex Sans Arabic", Inter, system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-ink);
	font-family: var(--f-text);
	font-size: var(--fs-body);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
body:lang(ar) { line-height: 1.8; }
img, svg, video, picture { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--c-action); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-action); outline-offset: 3px; border-radius: 2px; }
.band-navy :focus-visible, .is-style-band-navy :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
::selection { background: var(--c-tint); color: var(--c-ink); }

h1, h2, h3, h4 {
	font-family: var(--f-display);
	color: var(--c-ink);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
	font-weight: 700;
	text-wrap: balance;
}
:lang(ar) :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
p, ul, ol, dl, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
small { font-size: var(--fs-small); }

.screen-reader-text {
	position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
	position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 1000;
	background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: var(--r-md); font-weight: 600;
}
.skip-link:focus { inset-block-start: 12px; color: #fff; }

/* Email addresses / URLs keep LTR order inside RTL text */
a[href^="mailto:"], .ltr { unicode-bidi: isolate; direction: ltr; }

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-block-size: 48px; padding: .7em 1.35em;
	font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
	border-radius: var(--r-md); border: 2px solid var(--c-brand);
	background: var(--c-brand); color: #fff; text-decoration: none;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
:lang(ar) :is(.btn, .wp-block-button__link) { font-family: var(--f-text); }
.btn:hover, .wp-block-button__link:hover { background: var(--c-action); border-color: var(--c-action); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--c-brand); border-color: currentColor; padding: .7em 1.35em;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--c-tint); color: var(--c-brand); }
.wp-block-button.is-style-arrow > .wp-block-button__link {
	background: none; border: 0; padding-inline: 0; color: var(--c-brand); min-block-size: 44px;
}
.wp-block-button.is-style-arrow > .wp-block-button__link:hover { color: var(--c-action); text-decoration: underline; transform: none; }
.icon-arrow { flex: none; transition: transform .18s var(--ease); }
a:hover > .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover > .icon-arrow { transform: scaleX(-1) translateX(3px); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-block: 1.75rem 0; }

/* On navy bands */
.is-style-band-navy .wp-block-button__link { background: #fff; border-color: #fff; color: var(--c-navy); }
.is-style-band-navy .wp-block-button__link:hover { background: var(--c-tint); border-color: var(--c-tint); color: var(--c-navy); }
.is-style-band-navy .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; inset-block-start: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	border-block-end: 1px solid transparent;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it. */
.site-header { isolation: isolate; }
@supports (backdrop-filter: blur(8px)) {
	.site-header { background: transparent; }
	.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { border-block-end-color: var(--c-line); }
.admin-bar .site-header { inset-block-start: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { inset-block-start: 0; } }
.site-header__inner {
	max-inline-size: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
	min-block-size: var(--header-h); display: flex; align-items: center; gap: 24px;
}
.site-logo { display: inline-flex; align-items: center; color: inherit; text-decoration: none; flex: none; }
.site-logo__svg, .site-logo__img { block-size: 36px; inline-size: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.primary-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav__list a {
	display: block; padding: 10px 12px; border-radius: var(--r-sm);
	color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: .975rem; white-space: nowrap;
}
.primary-nav__list a:hover { color: var(--c-brand); background: var(--c-mist); }
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current_page_item > a { color: var(--c-brand); box-shadow: inset 0 -2px 0 var(--c-brand); border-radius: 0; }
.site-header__cta { min-block-size: 44px; font-size: .95rem; padding: .55em 1.1em; white-space: nowrap; }

.lang-switch__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang-switch a {
	display: block; padding: 8px 9px; border-radius: var(--r-sm); font-size: .875rem; font-weight: 500;
	color: var(--c-slate); text-decoration: none; white-space: nowrap;
}
.lang-switch a:hover { color: var(--c-brand); background: var(--c-mist); }
.lang-switch a.is-current { color: var(--c-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.lang-switch--header { padding-inline-start: 12px; border-inline-start: 1px solid var(--c-line); }

/* Mobile navigation (JS adds .has-js and un-hides the toggle) */
.nav-toggle {
	margin-inline-start: auto; display: inline-flex; align-items: center; gap: 10px;
	min-block-size: 44px; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: var(--r-md);
	background: #fff; color: var(--c-ink); font: 600 .95rem var(--f-text); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; inline-size: 18px; block-size: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--ease), opacity .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle__bars::before { inset-block-start: -6px; }
.nav-toggle__bars::after { inset-block-start: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1279.98px) {
	/* Without JS the nav simply wraps below the logo — always usable. */
	.site-header__inner { flex-wrap: wrap; padding-block: 10px; }
	.site-nav { flex-wrap: wrap; inline-size: 100%; margin-inline-start: 0; gap: 8px 12px; padding-block-end: 8px; }
	.primary-nav__list { flex-wrap: wrap; }
	.has-js .site-header__inner { flex-wrap: nowrap; padding-block: 0; }
	.has-js .site-nav {
		position: fixed; inset-inline: 0; inset-block-start: var(--header-h); inset-block-end: 0;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 20px var(--gutter) 32px; background: #fff; border-block-start: 1px solid var(--c-line);
		overflow-y: auto; overscroll-behavior: contain;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
	}
	.admin-bar.has-js .site-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.has-js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.has-js .primary-nav__list { flex-direction: column; gap: 0; }
	.has-js .primary-nav__list a { padding: 14px 4px; font-size: 1.125rem; border-block-end: 1px solid var(--c-line); border-radius: 0; }
	.has-js .primary-nav__list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--c-brand); padding-inline-start: 14px; }
	[dir="rtl"].has-js .primary-nav__list .current-menu-item > a, [dir="rtl"] .has-js .primary-nav__list .current-menu-item > a { box-shadow: inset -3px 0 0 var(--c-brand); }
	.lang-switch--header { border: 0; padding: 0; }
	.has-js .lang-switch--header .lang-switch__list { flex-wrap: wrap; gap: 8px; }
	.has-js .lang-switch--header a { border: 1px solid var(--c-line); padding: 8px 14px; }
	.has-js .site-header__cta { inline-size: 100%; }
	body.nav-open { overflow: hidden; }
}
@media (min-width: 1280px) { .nav-toggle { display: none !important; } }

/* ---------- Sections (full-bleed bands, content centred by padding) ---------- */
.site-main { display: block; }
.site-main:focus { outline: none; }
.npg-section {
	padding-block: var(--section-y);
	padding-inline: max(var(--gutter), calc((100% - var(--wide)) / 2));
	margin: 0;
}
.npg-section + .npg-section:not([class*="is-style-band"]) { padding-block-start: calc(var(--section-y) * .5); }
[class*="is-style-band"] + .npg-section:not([class*="is-style-band"]) { padding-block-start: var(--section-y); }
.is-style-band-mist { background: var(--c-mist); }
.is-style-band-tint { background: var(--c-tint); }
.is-style-band-navy { background: var(--c-navy); color: #E7ECFB; }
.is-style-band-navy :is(h1, h2, h3, h4) { color: #fff; }
.is-style-band-navy a:not(.wp-block-button__link) { color: #fff; }
.is-style-band-navy .is-style-eyebrow { color: var(--c-on-navy-muted); }
.npg-section > :last-child, .npg-section .wp-block-column > :last-child { margin-block-end: 0; }

/* Readable measure for running text */
.npg-section p, .npg-section .wp-block-list, .npg-section details { max-inline-size: 68ch; }
.npg-section .has-text-align-center { margin-inline: auto; }
.npg-intro { max-inline-size: 760px; margin-block-end: clamp(32px, 3vw, 56px); }
.npg-intro > :last-child { margin-block-end: 0; }
.npg-intro.is-centered { margin-inline: auto; text-align: center; }

/* Paragraph styles */
.is-style-eyebrow {
	font-family: var(--f-display); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-brand); margin-block-end: 1rem; display: flex; align-items: center; gap: 10px;
}
.is-style-eyebrow::before { content: ""; inline-size: 10px; block-size: 10px; background: var(--c-accent); flex: none; }
:lang(ar) .is-style-eyebrow, :lang(de) .is-style-eyebrow { letter-spacing: .04em; }
:lang(ar) .is-style-eyebrow { text-transform: none; font-size: .9375rem; font-family: var(--f-text); }
.is-style-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-slate); }
.is-style-band-navy .is-style-lead { color: var(--c-on-navy-muted); }
.npg-muted, .has-slate-color { color: var(--c-slate); }
.npg-small { font-size: var(--fs-small); color: var(--c-slate); }

/* ---------- Hero ---------- */
.npg-hero { padding-block: clamp(40px, 2rem + 4vw, 96px) clamp(56px, 3rem + 4vw, 112px); overflow: hidden; }
.npg-hero .wp-block-columns { align-items: center; gap: var(--gap); margin: 0; }
.npg-hero h1 { max-inline-size: 15ch; }
:lang(de) .npg-hero h1, :lang(fr) .npg-hero h1 { max-inline-size: 18ch; }
.npg-hero .is-style-lead { max-inline-size: 36rem; }
.npg-hero-media { position: relative; }
.npg-hero-media figure, .npg-hero-art { margin: 0; }
.npg-hero-art img, .npg-hero-media img { inline-size: 100%; border-radius: var(--r-lg); }
/* Home hero artwork (H-01 desktop / H-02 mobile). H-01 has a calm area on its
   left, so on wide screens it becomes a full-bleed backdrop behind the text;
   Arabic mirrors it so the calm side follows the reading direction. */
.npg-hero-home { --hero-calm: #F2F6FD; }
@media (max-width: 1023.98px) {
	.npg-hero-home .wp-block-columns { flex-wrap: wrap !important; }
	.npg-hero-home .wp-block-column { flex-basis: 100% !important; }
	.npg-hero-home .npg-hero-art img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 100% 45%; }
	[dir="rtl"] .npg-hero-home .npg-hero-art img { transform: scaleX(-1); }
}
@media (max-width: 767.98px) {
	.npg-hero-home .npg-hero-art img { aspect-ratio: 4 / 5; object-position: 50% 62%; }
	[dir="rtl"] .npg-hero-home .npg-hero-art img { transform: none; }
}
@media (min-width: 1024px) {
	.npg-hero-home {
		position: relative; isolation: isolate; background: var(--hero-calm);
		min-block-size: clamp(560px, 44vw, 760px); display: flex; align-items: center;
	}
	.npg-hero-home > .wp-block-columns { inline-size: 100%; }
	.npg-hero-home .wp-block-column:first-child { flex-basis: 46% !important; flex-grow: 0; max-inline-size: 620px; }
	.npg-hero-home .wp-block-column:last-child { position: absolute; inset: 0; z-index: -1; margin: 0 !important; }
	.npg-hero-home .npg-hero-media, .npg-hero-home .npg-hero-art, .npg-hero-home .npg-hero-art picture { block-size: 100%; inline-size: 100%; margin: 0; display: block; }
	.npg-hero-home .npg-hero-art img { block-size: 100%; object-fit: cover; object-position: 100% 35%; border-radius: 0; }
	.npg-hero-home .npg-hero-media::after {
		content: ""; position: absolute; inset: 0; pointer-events: none;
		background: linear-gradient(to right, var(--hero-calm) 0%, var(--hero-calm) 28%, rgb(242 246 253 / .85) 40%, rgb(242 246 253 / 0) 58%);
	}
	[dir="rtl"] .npg-hero-home .npg-hero-art img { transform: scaleX(-1); }
	[dir="rtl"] .npg-hero-home .npg-hero-media::after { background: linear-gradient(to left, var(--hero-calm) 0%, var(--hero-calm) 28%, rgb(242 246 253 / .85) 40%, rgb(242 246 253 / 0) 58%); }
}
.npg-page-hero { padding-block: clamp(40px, 2rem + 3vw, 88px) clamp(48px, 2rem + 3vw, 88px); }
.npg-page-hero h1 { max-inline-size: 20ch; }

/* ---------- Columns & panels ---------- */
.wp-block-columns { gap: var(--gap); margin-block-end: 0; }
.is-style-split-5-7 { align-items: start; }
@media (min-width: 782px) {
	.is-style-split-5-7 > .wp-block-column:first-child { flex-basis: 40% !important; }
	.is-style-split-5-7 > .wp-block-column:last-child { flex-basis: 60% !important; }
}
.is-style-cards { gap: 20px; }
.is-style-cards > .wp-block-column {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(22px, 2vw, 32px);
}
.is-style-band-mist .is-style-cards > .wp-block-column { border-color: transparent; }

.is-style-panel, .is-style-panel-brand {
	border-radius: var(--r-lg); padding: clamp(24px, 1.5rem + 1.5vw, 48px);
	background: #fff; border: 1px solid var(--c-line);
}
.is-style-panel-brand { background: var(--c-brand); border-color: var(--c-brand); color: #E7ECFB; }
.is-style-panel-brand :is(h2, h3, h4) { color: #fff; }
.is-style-panel-brand .wp-block-button.is-style-arrow > .wp-block-button__link { color: #fff; }
.is-style-panel-brand .is-style-check li::before { background-color: #fff; }
.is-style-panel-brand .is-style-eyebrow { color: #fff; }
.is-style-note {
	border-inline-start: 3px solid var(--c-accent); background: var(--c-mist);
	padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .975rem; color: var(--c-slate);
}
[dir="rtl"] .is-style-note { border-radius: var(--r-md) 0 0 var(--r-md); }
.is-style-note > :last-child { margin-block-end: 0; }

/* Offers (home) */
.npg-offers > .wp-block-columns { gap: 20px; align-items: stretch; }
.npg-offers .wp-block-column { display: flex; flex-direction: column; }
.npg-offers .wp-block-column > .wp-block-group { flex: 1; display: flex; flex-direction: column; margin: 0; }
.npg-offers .wp-block-buttons { margin-block-start: auto; padding-block-start: 1.25rem; }
.npg-offer__label { font-family: var(--f-display); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-block-end: 1.25rem; }
:lang(ar) .npg-offer__label { letter-spacing: 0; text-transform: none; font-family: var(--f-text); }

/* ---------- Lists ---------- */
.wp-block-list { padding-inline-start: 1.25em; }
.wp-block-list li + li { margin-block-start: .35em; }

.is-style-check { list-style: none; padding-inline-start: 0; }
.is-style-check li { position: relative; padding-inline-start: 30px; }
.is-style-check li::before {
	content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .42em; inline-size: 16px; block-size: 16px;
	background-color: var(--c-brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.is-style-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-inline-size: none !important; }
.is-style-chips li { margin: 0 !important; padding: 9px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); font-weight: 500; font-size: .975rem; }
.is-style-band-mist .is-style-chips li { border-color: transparent; }
.is-style-band-navy .is-style-chips li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }

/* Capability rows: "<strong>Title</strong> description" items in a 2-col grid */
.is-style-rows {
	list-style: none; padding: 0; display: grid; gap: 0 var(--gap); max-inline-size: none !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	border-block-start: 1px solid var(--c-line);
}
.is-style-rows li { margin: 0 !important; padding-block: 20px; border-block-end: 1px solid var(--c-line); color: var(--c-slate); }
.is-style-rows li strong { display: block; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; color: var(--c-ink); margin-block-end: 4px; }
:lang(ar) .is-style-rows li strong { font-family: var(--f-text); }
.is-style-band-navy .is-style-rows { border-color: rgba(255,255,255,.16); }
.is-style-band-navy .is-style-rows li { border-color: rgba(255,255,255,.16); color: var(--c-on-navy-muted); }
.is-style-band-navy .is-style-rows li strong { color: #fff; }

/* Numbered process steps */
.is-style-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 16px; max-inline-size: none !important; }
.is-style-steps > li {
	counter-increment: step; position: relative; margin: 0 !important;
	padding: 22px 22px 22px 22px; padding-block-start: 58px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); color: var(--c-slate);
}
.is-style-steps > li::before {
	content: counter(step, decimal-leading-zero); position: absolute; inset-block-start: 20px; inset-inline-start: 22px;
	font: 600 .875rem/1 var(--f-display); color: var(--c-brand); letter-spacing: .04em;
}
.is-style-steps > li::after { content: ""; position: absolute; inset-block-start: 23px; inset-inline-start: 52px; inline-size: 8px; block-size: 8px; background: var(--c-line); }
.is-style-steps > li:last-child::after { background: var(--c-accent); }
.is-style-steps > li strong { display: block; color: var(--c-ink); font-family: var(--f-display); font-size: 1.125rem; margin-block-end: 6px; }
:lang(ar) .is-style-steps > li strong { font-family: var(--f-text); }
.is-style-band-mist .is-style-steps > li { border-color: transparent; }
@media (min-width: 900px) {
	.is-style-steps.npg-steps-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 899.98px) {
	.is-style-steps.npg-steps-row { grid-template-columns: 1fr 1fr; }
}

/* Expertise strip */
.npg-strip { padding-block: 28px; border-block: 1px solid var(--c-line); }
.npg-strip .wp-block-columns { align-items: center; gap: 16px 40px; }
.npg-strip p { margin: 0; }
.npg-strip__key { font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; color: var(--c-ink); }
:lang(ar) .npg-strip__key { font-family: var(--f-text); }
.npg-strip__key strong { color: var(--c-brand); }

/* ---------- Images ---------- */
.wp-block-image { margin-block: 0 1.25rem; }
.wp-block-image img { border-radius: var(--r-lg); }
.is-style-art img { border-radius: var(--r-lg); background: var(--c-mist); }
.wp-block-image figcaption, .wp-element-caption { font-size: var(--fs-small); color: var(--c-slate); margin-block-start: .6em; text-align: start; }

/* ---------- FAQ (core Details) ---------- */
.npg-faq { max-inline-size: 860px; }
.wp-block-details {
	border-block-end: 1px solid var(--c-line); padding-block: 0; max-inline-size: none !important;
}
.wp-block-details:first-of-type { border-block-start: 1px solid var(--c-line); }
.wp-block-details summary {
	cursor: pointer; list-style: none; padding-block: 20px; padding-inline-end: 40px; position: relative;
	font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; color: var(--c-ink);
}
:lang(ar) .wp-block-details summary { font-family: var(--f-text); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; inset-inline-end: 6px; inset-block-start: 50%; inline-size: 12px; block-size: 12px; margin-block-start: -9px;
	border-inline-end: 2px solid var(--c-brand); border-block-end: 2px solid var(--c-brand); transform: rotate(45deg); transition: transform .2s var(--ease);
}
.wp-block-details[open] summary::after { transform: rotate(-135deg); margin-block-start: -3px; }
.wp-block-details summary:hover { color: var(--c-brand); }
.wp-block-details > :not(summary) { color: var(--c-slate); }
.wp-block-details > :last-child { padding-block-end: 20px; margin-block-end: 0; }

/* ---------- CTA band ---------- */
.npg-cta { text-align: center; }
.npg-cta h2 { max-inline-size: 22ch; margin-inline: auto; }
.npg-cta p { margin-inline: auto; }
.npg-cta .wp-block-buttons { justify-content: center; }

/* ---------- Contact ---------- */
.npg-contact .wp-block-columns { align-items: start; }
.npg-contact-aside { position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.npg-contact-aside h2 { font-size: var(--fs-h3); }
.npg-contact-email { font-family: var(--f-display); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; }

.npg-form { display: grid; gap: 22px; }
.npg-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-inline-size: 0; }
.npg-form legend { font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; margin-block-end: 6px; padding: 0; }
:lang(ar) .npg-form legend { font-family: var(--f-text); }
.npg-form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .npg-form__row--2 { grid-template-columns: 1fr 1fr; } }
.npg-field { display: grid; gap: 6px; }
.npg-field label, .npg-field .npg-field__label { font-weight: 600; font-size: .975rem; color: var(--c-ink); }
.npg-field__req { color: var(--c-accent-text); font-weight: 600; }
.npg-field__opt { color: var(--c-slate); font-weight: 400; font-size: .875rem; }
.npg-field__help { font-size: .875rem; color: var(--c-slate); margin: 0; }
.npg-field input[type="text"], .npg-field input[type="email"], .npg-field input[type="url"], .npg-field select, .npg-field textarea {
	inline-size: 100%; font: inherit; font-size: 1rem; color: var(--c-ink); background: #fff;
	border: 1.5px solid #B8C0CC; border-radius: var(--r-sm); padding: 12px 14px; min-block-size: 48px;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.npg-field textarea { min-block-size: 168px; resize: vertical; line-height: 1.55; }
.npg-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5361' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px; }
[dir="rtl"] .npg-field select { background-position: left 14px center; }
.npg-field :is(input, select, textarea):hover { border-color: var(--c-slate); }
.npg-field :is(input, select, textarea):focus { outline: none; border-color: var(--c-action); box-shadow: 0 0 0 3px rgba(30,70,216,.25); }
.npg-field [aria-invalid="true"] { border-color: #B42318; }
.npg-field__error { color: #B42318; font-size: .9rem; font-weight: 500; margin: 0; display: flex; gap: 6px; align-items: baseline; }
.npg-field__error::before { content: "!"; display: inline-grid; place-items: center; inline-size: 18px; block-size: 18px; border-radius: 50%; background: #B42318; color: #fff; font-size: .75rem; font-weight: 700; flex: none; }
.npg-radios { display: grid; gap: 10px; }
@media (min-width: 640px) { .npg-radios { grid-template-columns: 1fr 1fr; } }
.npg-radio { position: relative; }
.npg-radio input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.npg-radio label {
	display: flex; gap: 12px; align-items: center; min-block-size: 52px; padding: 12px 16px;
	border: 1.5px solid #B8C0CC; border-radius: var(--r-md); cursor: pointer; font-weight: 500; background: #fff;
}
.npg-radio label::before { content: ""; inline-size: 18px; block-size: 18px; border-radius: 50%; border: 2px solid var(--c-slate); flex: none; background: #fff; }
.npg-radio input:checked + label { border-color: var(--c-brand); background: var(--c-tint); }
.npg-radio input:checked + label::before { border-color: var(--c-brand); box-shadow: inset 0 0 0 4px #fff; background: var(--c-brand); }
.npg-radio input:focus-visible + label { outline: 3px solid var(--c-action); outline-offset: 2px; }
.npg-check { display: flex; gap: 12px; align-items: flex-start; }
.npg-check input { inline-size: 20px; block-size: 20px; margin-block-start: 3px; accent-color: var(--c-brand); flex: none; }
.npg-check label { font-weight: 500; }
.npg-meeting { display: grid; gap: 22px; padding: 20px; background: var(--c-mist); border-radius: var(--r-md); }
.npg-meeting[hidden] { display: none; }
.npg-form__hp { position: absolute !important; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.npg-form__submit { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.npg-form__submit .btn { min-inline-size: 200px; }
.npg-form__privacy { font-size: .875rem; color: var(--c-slate); margin: 0; }
.npg-alert { border-radius: var(--r-md); padding: 18px 20px; margin-block-end: 24px; border: 1.5px solid; }
.npg-alert:focus { outline: 3px solid var(--c-action); outline-offset: 2px; }
.npg-alert h2, .npg-alert h3 { font-size: 1.125rem; margin-block-end: .35em; }
.npg-alert ul { margin: 0; padding-inline-start: 1.2em; }
.npg-alert--error { border-color: #B42318; background: #FEF3F2; color: #7A271A; }
.npg-alert--error a { color: #7A271A; font-weight: 600; }
.npg-alert--success { border-color: #067647; background: #ECFDF3; color: #054F31; }
.npg-alert > :last-child { margin-block-end: 0; }

/* ---------- Legal documents (restyle only — text untouched) ---------- */
.legal-doc { padding: clamp(40px, 2rem + 3vw, 88px) var(--gutter) var(--section-y); }
.legal-doc__inner { max-inline-size: 820px; margin-inline: auto; }
.legal-doc h1 { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.25rem); margin-block-end: .4em; }
.legal-doc h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); margin-block: 2.2em .6em; padding-block-start: .2em; }
.legal-doc h3 { font-size: 1.2rem; margin-block: 1.8em .5em; }
.legal-doc section { scroll-margin-block-start: calc(var(--header-h) + 16px); }
.legal-doc ul, .legal-doc ol { padding-inline-start: 1.4em; }
.legal-doc li + li { margin-block-start: .35em; }
.legal-doc .dates { list-style: none; padding: 0; margin-block-end: 1.5rem; color: var(--c-slate); font-size: .95rem; display: grid; gap: 2px; }
.legal-doc .dates li { margin: 0; }
.legal-doc .summary { background: var(--c-tint); border-radius: var(--r-lg); padding: clamp(20px, 2vw, 32px); margin-block: 2rem; }
.legal-doc .summary h2 { margin-block-start: 0; font-size: 1.35rem; }
.legal-doc .summary ul { margin-block-end: 0; }
.legal-doc nav[aria-labelledby="toc-heading"] { border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(20px, 2vw, 32px); margin-block: 2rem 1rem; }
.legal-doc #toc-heading { margin-block-start: 0; font-size: 1.2rem; }
.legal-doc nav[aria-labelledby="toc-heading"] ol { columns: 2 260px; column-gap: 32px; margin: 0; }
.legal-doc nav[aria-labelledby="toc-heading"] li { break-inside: avoid; }
.legal-doc .table-wrap { overflow-x: auto; margin-block: 1.25rem 1.5rem; border: 1px solid var(--c-line); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.legal-doc .table-wrap:focus-visible { outline: 3px solid var(--c-action); }
.legal-doc table { border-collapse: collapse; inline-size: 100%; font-size: .9375rem; min-inline-size: 560px; }
.legal-doc th, .legal-doc td { text-align: start; vertical-align: top; padding: 12px 14px; border-block-end: 1px solid var(--c-line); }
.legal-doc thead th { background: var(--c-mist); font-weight: 600; font-family: var(--f-display); font-size: .875rem; }
:lang(ar) .legal-doc thead th { font-family: var(--f-text); }
.legal-doc tbody tr:last-child td { border-block-end: 0; }
.legal-doc code { font-size: .9em; background: var(--c-mist); padding: .1em .35em; border-radius: 4px; }
.legal-doc a { word-break: break-word; }

/* ---------- 404 ---------- */
.npg-404 { padding: var(--section-y) var(--gutter); max-inline-size: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .npg-404 { grid-template-columns: 1.4fr 1fr; } }
.npg-404__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-block: 1.5rem 2rem; }
.npg-404__links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--c-line); border-radius: var(--r-md); text-decoration: none; font-weight: 500; color: var(--c-ink); }
.npg-404__links a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.npg-404__pixels { display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 56px); gap: 12px; justify-content: center; }
.npg-404__pixels span { background: var(--c-brand); border-radius: 4px; }
.npg-404__pixels span:nth-child(1) { grid-area: 3 / 1; } .npg-404__pixels span:nth-child(2) { grid-area: 3 / 2; }
.npg-404__pixels span:nth-child(3) { grid-area: 2 / 2; } .npg-404__pixels span:nth-child(4) { grid-area: 3 / 3; }
.npg-404__pixels .is-next { grid-area: 1 / 3; background: var(--c-accent); }

/* ---------- Generic page header (fallback) ---------- */
.page-header { padding: clamp(40px, 2rem + 3vw, 88px) max(var(--gutter), calc((100% - var(--wide)) / 2)) 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy); color: var(--c-on-navy-muted); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__inner {
	max-inline-size: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding: 72px var(--gutter) 40px;
	display: grid; gap: 40px;
}
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-logo--footer .site-logo__svg { block-size: 34px; }
.site-footer__tagline { margin-block: 18px 14px; color: #E7ECFB; }
.site-footer__contact { line-height: 1.9; }
.site-footer__heading { font-family: var(--f-display); color: #fff; font-weight: 600; margin-block-end: 12px; }
:lang(ar) .site-footer__heading { font-family: var(--f-text); }
.footer-nav__list, .site-footer__legal ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.site-footer__note { color: var(--c-on-navy-muted); font-size: .85rem; }
.lang-switch--footer a { color: var(--c-on-navy-muted); padding-inline: 0 14px; }
.lang-switch--footer a:hover { background: none; color: #fff; }
.lang-switch--footer a.is-current { color: #fff; box-shadow: none; text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-footer__base {
	max-inline-size: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding: 24px var(--gutter) 40px;
	border-block-start: 1px solid rgba(255,255,255,.12); font-size: .85rem; display: grid; gap: 6px;
}
.site-footer__base p { margin: 0; }
.site-footer__disclaimer { opacity: .8; max-inline-size: 90ch; }

/* ---------- Motion ---------- */
.has-js .npg-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.has-js .npg-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.has-js .npg-reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .skip-link, .wp-block-buttons { display: none !important; }
	body { font-size: 11pt; }
	.npg-section { padding: 16pt 0; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ---------- Contact options & fallbacks ---------- */
.npg-contact-options { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 10px; }
.npg-contact-options a { font-weight: 600; }
.npg-contact-aside h3 { margin-block-start: 1.5rem; }
.npg-contact-aside h3:first-child { margin-block-start: 0; }
/* If the art-direction merge did not run, never show both hero images */
.npg-hero-media > .npg-art-mobile { display: none; }
@media (max-width: 767.98px) { .npg-hero-media > .npg-art-mobile { display: block; } .npg-hero-media > .npg-art-mobile + * , .npg-hero-media > .npg-art-desktop { display: none; } }

/* ---------- Header language menu (native <details>) ---------- */
.lang-menu { position: relative; }
.lang-menu__toggle {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
	min-block-size: 44px; padding: 8px 10px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; color: var(--c-slate); white-space: nowrap;
}
.lang-menu__toggle::-webkit-details-marker { display: none; }
.lang-menu__toggle::after { content: ""; inline-size: 7px; block-size: 7px; border-inline-end: 1.6px solid currentColor; border-block-end: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-inline-start: 2px; }
.lang-menu[open] .lang-menu__toggle::after { transform: translateY(2px) rotate(-135deg); }
.lang-menu__toggle:hover { color: var(--c-brand); background: var(--c-mist); }
.lang-menu > .lang-switch__list {
	position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 6px); z-index: 60;
	flex-direction: column; gap: 2px; min-inline-size: 168px; padding: 6px;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow);
}
.lang-menu > .lang-switch__list a { padding: 10px 12px; }
.lang-menu > .lang-switch__list a.is-current { box-shadow: inset 3px 0 0 var(--c-accent); border-radius: 0; }
[dir="rtl"] .lang-menu > .lang-switch__list a.is-current { box-shadow: inset -3px 0 0 var(--c-accent); }
@media (max-width: 1279.98px) {
	.has-js .lang-menu__toggle { padding-inline: 0; pointer-events: none; color: var(--c-ink); font-weight: 600; }
	.has-js .lang-menu__toggle::after { display: none; }
	.has-js .lang-menu > .lang-switch__list { position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 4px 0 0; min-inline-size: 0; gap: 8px; }
	.has-js .lang-menu > .lang-switch__list a.is-current, [dir="rtl"] .has-js .lang-menu > .lang-switch__list a.is-current { box-shadow: none; border-color: var(--c-brand); color: var(--c-brand); }
}
