/* base/variables */
/* Design tokens (CSS custom properties). Loaded on every page. */

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--color-navy-950: #0f1847;
	--color-dark-surface: var(--color-navy-950);
	--color-navy-900: #1a265f;
	--color-navy-800: #1c3075;
	--color-navy-text: #162058;
	--color-accent: #4ecad4;
	--color-accent-hover: #3db8c2;
	--color-accent-glow: #64d9e2;
	--color-accent-ink: #087e8b;
	--color-accent-text: var(--color-accent-ink);
	--color-accent-soft: #e9f8fb;
	--color-accent-dark: #0f1847;
	--color-white: #ffffff;
	--color-off-white: #f4f7fc;
	--color-gray-100: #eef1f8;
	--color-gray-300: #bbc5dc;
	--color-text-on-dark: #c5cfe2;
	--color-text-body: #5a667b;
	--color-text-muted: #5a667b;
	--color-border: #dde4ee;
	--color-border-dark: #354477;
	--color-surface: #edf3fa;
	--color-navy-deep: #0c1435;
	--color-navy-glow: #101c42;

	--tracking-label: 0.04em;
	--tracking-heading: -0.015em;
	--word-spacing: 0.02em;
	--line-height-body: 1.6;
	--line-height-heading: 1.2;

	--container-width: 1200px;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-pill: 999px;
	--radius-btn: 10px;

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;
	--space-xxl: var(--space-2xl);
	--space-3xl: 7rem;

	--font-base: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow-card: 0 4px 20px rgba(20, 27, 77, 0.06);
	--shadow-card-lg: 0 12px 32px rgba(20, 27, 77, 0.14);
}

/* base/reset */
/* Reset + element defaults. Loaded on every page. */

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* clip (not hidden): hidden turns body into a scroll container and breaks the sticky header. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
	html, body { overflow-x: clip; }
}
body {
	--color-accent-text: var(--color-accent-ink);
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-navy-text);
	background: var(--color-white);
	line-height: var(--line-height-body);
	letter-spacing: normal;
	word-spacing: var(--word-spacing);
	font-kerning: normal;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: var(--line-height-heading); letter-spacing: var(--tracking-heading); margin: 0 0 var(--space-sm); font-weight: 700; }
p { margin: 0 0 var(--space-sm); color: var(--color-text-body); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: normal; word-spacing: normal; }

/* base/common */
/* Shared utilities, layout helpers, badges, buttons and scroll animations. Loaded on every page. */

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	--color-accent-text: var(--color-accent);
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--color-navy-950);
	color: var(--color-white);
	padding: 0.75rem 1.25rem;
	z-index: 10000;
}
.skip-link:focus {
	top: 0;
}

.container {
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--space-md);
}

.section { padding-block: var(--space-2xl); }
.section--tint, .industries--tint {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); }

.section__intro { max-width: 640px; margin-bottom: var(--space-lg); }
.section__intro h2, .section__heading { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section__heading--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-lg); }

.section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-md);
	flex-wrap: wrap;
	margin-bottom: var(--space-lg);
}
.section__header h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	max-width: 620px;
}
.link-arrow { font-size: 1rem; }

.text-highlight {
	color: var(--color-accent-text);
	text-decoration: none;
	/* Solid bar instead of text-decoration so descenders (g, y) don't break it. */
	background: linear-gradient(var(--color-accent), var(--color-accent)) no-repeat 0 100% / 100% 0.08em;
	padding-bottom: 0.14em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.badge {
	--color-accent-text: var(--color-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0 0.9rem;
	min-height: 38px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border-dark);
	color: var(--color-text-on-dark);
	background: var(--color-navy-900);
	margin-bottom: var(--space-sm);
}

.badge--accent {
	color: var(--color-navy-text);
	border-color: var(--color-accent);
	background: rgba(78,202,212,0.1);
	font-size: 0.9rem;
	padding: 0.55rem 1.1rem;
}

.eyebrow {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: var(--tracking-label);
	text-transform: uppercase;
	color: var(--color-accent-dark);
	margin-bottom: 0.5rem;
}

.link-arrow {
	color: var(--color-accent-text);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.link-arrow:hover { color: var(--color-accent-hover); text-decoration: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	letter-spacing: normal;
	word-spacing: normal;
	line-height: 1.4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 52px;
	padding: 0 1.75rem;
	border-radius: var(--radius-btn);
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn--primary {
	background: var(--color-accent);
	color: var(--color-accent-dark);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.15s ease;
}
.btn--primary:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 28px rgba(78, 202, 212, 0.35);
	filter: brightness(1.05);
}
.btn--secondary {
	--color-accent-text: var(--color-accent); background: var(--color-navy-950); color: var(--color-white); border-color: var(--color-border-dark); }
.btn--secondary:hover { border-color: var(--color-white); }
.btn--outline { background: transparent; color: var(--color-navy-text); border-color: var(--color-accent); border-radius: var(--radius-pill); }
.btn--outline:hover { background: var(--color-accent); color: var(--color-accent-dark); }
.btn--outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.35); }
.btn--outline-light:hover { border-color: var(--color-white); }
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.88rem; }
.btn--aia {
	padding: 0.7rem 1.6rem;
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.4rem;
}
.btn--final-cta {
	transition: transform 0.2s ease, filter 0.15s ease;
}
.btn--final-cta .btn__arrow {
	display: inline-block;
	opacity: 0;
	max-width: 0;
	overflow: hidden;
	transition: opacity 0.25s ease, max-width 0.25s ease, margin-left 0.25s ease;
}
.btn--final-cta:hover {
	transform: scale(1.05);
}
.btn--final-cta:hover .btn__arrow {
	opacity: 1;
	max-width: 1.5rem;
	margin-left: 0.35rem;
}

/* Dark navy band — homepage markets section + About closing section. */
.markets--dark {
	--color-accent-text: var(--color-accent);
	background: var(--color-dark-surface);
	color: var(--color-white);
}

@media (max-width: 640px) {
	.section { padding-block: var(--space-xl); }
}

.badge svg { color: var(--color-accent-text); flex-shrink: 0; }

/* Scroll-triggered animations */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: translateY(0); }
}
/* Scroll entrances run in JS. Content stays readable without JS or motion. */
[data-animate] { opacity: 1; }

.btn--accent {
	background: var(--color-accent);
	color: var(--color-navy-950);
	border-color: var(--color-accent);
}
.btn--accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

.btn--lg {
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
}

/* Keyboard focus ring (shown only for keyboard navigation, never on mouse click). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

/* Keep content visible while the next page loads. */
html.st-leaving body::after {
	content: '';
	position: fixed;
	inset: 0 0 auto;
	height: 3px;
	z-index: 99998;
	pointer-events: none;
	background: var(--color-accent);
	box-shadow: 0 0 10px rgba(78, 202, 212, 0.55);
	transform-origin: left;
	animation: st-navigation-progress 8s cubic-bezier(.1, .8, .2, 1) forwards;
}
html[dir="rtl"].st-leaving body::after { transform-origin: right; }
html.st-leaving body.admin-bar::after { top: 32px; }
@media (max-width: 782px) {
	html.st-leaving body.admin-bar::after { top: 46px; }
}
@keyframes st-navigation-progress {
	from { transform: scaleX(0.08); }
	to { transform: scaleX(0.92); }
}
@media (prefers-reduced-motion: reduce) {
	html.st-leaving body::after { animation: none; }
}

/* components/header */
/* Site header, primary nav and mega-menu panels. Loaded on every page. */

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	--color-accent-text: var(--color-accent);
	--header-panel-gap: 14px;
	background: var(--color-dark-surface);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
	border-bottom: 0;
	position: sticky;
	top: 0;
	z-index: 1001;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* On scroll, reveal the content through a softly blurred navy surface. */
.site-header.is-scrolled {
	background: rgba(15, 24, 71, 0.78);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12), 0 8px 28px rgba(15, 24, 71, 0.18);
}
.site-header__inner { transition: padding 0.3s ease; }
.site-header-spacer { display: none; }
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header, .site-header.is-scrolled {
	--color-accent-text: var(--color-accent); background: var(--color-dark-surface); }
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	max-width: 1280px;
	min-height: 76px;
	padding-block: 14px;
}
.site-header__logo {
	text-decoration: none;
	color: var(--color-white);
	font-weight: 800;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.site-header__logo img {
	height: 34px;
	width: auto;
	max-width: none;
	display: block;
}
.site-header__logo .custom-logo-link {
	display: flex;
	align-items: center;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 20px;
}
.site-header__inner {
	flex-wrap: nowrap;
}
.site-nav__item { position: relative; }
.site-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	text-decoration: none;
	color: var(--color-white);
	font-weight: 500;
	font-size: 13px;
	line-height: 20px;
	padding-block: 14px;
	position: relative;
	background: transparent;
	white-space: nowrap;
	transition: color 0.15s ease;
}
button.site-nav__link {
	border: 0;
	padding-inline: 0;
	cursor: pointer;
}
.site-nav__item.is-active > .site-nav__link,
.site-nav__item.is-open > .site-nav__link,
.site-nav__item--has-dropdown:hover > .site-nav__link,
.site-nav__item--has-dropdown:has(:focus-visible) > .site-nav__link,
.site-nav__link:hover,
.site-nav__link:focus-visible {
	color: var(--color-accent-text);
	background: transparent;
}
.site-nav__list > .site-nav__item > .site-nav__link::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	border-radius: 2px;
	background: var(--color-accent);
	opacity: 0;
	transform: scaleX(0.45);
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.site-nav__item.is-active > .site-nav__link::after,
.site-nav__item.is-open > .site-nav__link::after,
.site-nav__item:hover > .site-nav__link::after,
.site-nav__item:has(:focus-visible) > .site-nav__link::after {
	opacity: 1;
	transform: scaleX(1);
}
.site-nav__chevron { transition: transform 0.15s ease; }
.site-nav__item--has-dropdown:hover .site-nav__chevron,
.site-nav__item--has-dropdown:has(:focus-visible) .site-nav__chevron,
.site-nav__item--has-dropdown.is-open .site-nav__chevron {
	transform: rotate(180deg);
}

.site-nav__submenu {
	--color-accent-text: var(--color-accent-ink);
	position: absolute;
	top: calc(100% + var(--header-panel-gap));
	left: 0;
	min-width: 220px;
	background: var(--color-white);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-card-lg);
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.site-nav__item--has-dropdown:hover .site-nav__submenu,
.site-nav__item--has-dropdown:has(:focus-visible) .site-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.site-nav__submenu .site-nav__link { color: var(--color-navy-text); padding: 0.5rem 0.75rem; border-radius: 6px; }

/* Mega-menu dropdown panels (Solutions / Products / Resources) */
.mega-panel {
	--color-accent-text: var(--color-accent-ink);
	position: absolute;
	top: calc(100% + var(--header-panel-gap));
	left: 0;
	--mega-nudge: 0px;
	transform: translate(var(--mega-nudge), 6px);
	width: min(calc(100vw - 48px), 940px);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 18px;
	padding: 28px 30px 30px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 28px;
	min-height: 420px;
	align-items: start;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 20;
}
.mega-panel::before, .site-nav__submenu::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	height: 16px;
}
.site-nav__item--mega:hover .mega-panel,
.site-nav__item--mega:has(:focus-visible) .mega-panel,
.site-nav__item--mega.is-open .mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translate(var(--mega-nudge), 0);
}
/* Default alignment per dropdown: left item opens left, middle centers,
   right item opens right — avoids all three defaulting to the same edge.
   --mega-nudge (set by JS) can still pull a panel in if it would overflow. */
.mega-panel--solutions { left: 0; right: auto; }
.mega-panel--products { left: 0; right: auto; width: min(calc(100vw - 48px), 880px); grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
.site-nav__item--mega:hover .mega-panel--products,
.site-nav__item--mega:has(:focus-visible) .mega-panel--products { transform: translate(var(--mega-nudge), 0); }
.mega-panel--resources { left: 0; right: auto; width: min(calc(100vw - 48px), 720px); grid-template-columns: minmax(0, 1fr) 240px; min-height: 390px; }
.mega-panel__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--color-accent-text);
	margin-bottom: 10px;
}
.mega-panel__intro { color: var(--color-text-body); font-size: 13px; line-height: 1.55; margin-bottom: 24px; }
.mega-panel__items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 20px;
}
.mega-panel__item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-content: start;
	gap: 3px 14px;
	padding: 0;
	border-radius: 12px;
	text-decoration: none;
}
.mega-panel__item-icon {
	--color-accent-text: var(--color-accent-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--color-off-white);
	color: var(--color-navy-800);
	grid-row: 1 / span 2;
	transition: box-shadow 0.15s ease;
}
.mega-panel__item-icon svg { width: 20px; height: 20px; }
.mega-panel__item-title { font-weight: 700; color: var(--color-navy-text); font-size: 16px; line-height: 1.4; grid-column: 2; transition: color 0.15s ease; }
.mega-panel__item-description { color: var(--color-text-body); font-size: 12.5px; line-height: 1.5; grid-column: 2; }
.mega-panel--products .mega-panel__intro { margin-bottom: 16px; }
.mega-panel--products .mega-panel__items { gap: 18px 20px; }
.mega-panel--products .mega-panel__item {
	--color-accent-text: var(--color-accent-ink); display: flex; flex-direction: column; gap: 4px; min-height: 86px; padding: 12px 14px; border: 1px solid var(--color-border); background: var(--color-off-white); transition: border-color 0.15s ease; }
.mega-panel--products .mega-panel__item-icon { display: none; }
.mega-panel--products .mega-panel__item-title { font-size: 18px; }
.mega-panel--products .mega-panel__item-description { font-size: 12px; }
.mega-panel__item-label { color: var(--color-accent-text); font-size: 10px; margin-bottom: 4px; }
.mega-panel--resources .mega-panel__eyebrow { margin-bottom: 20px; }
.mega-panel--resources .mega-panel__items { grid-template-columns: 1fr; gap: 16px; }
.mega-panel--resources .mega-panel__item { gap: 3px 14px; }
.mega-panel--resources .mega-panel__item-icon { background: transparent; color: var(--color-accent-text); }
.mega-panel--resources .mega-panel__item-icon svg { width: 34px; height: 34px; stroke-width: 1; }
.mega-panel--products .mega-panel__item--featured {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	border-color: var(--color-navy-950);
	grid-column: 1;
}
.mega-panel__item--featured .mega-panel__item-title,
.mega-panel__item--featured .mega-panel__item-description { color: var(--color-white); }
.mega-panel__item--featured .mega-panel__item-icon { background: rgba(255,255,255,0.12); color: var(--color-white); }
/* Figma hover states keep backgrounds and descriptions unchanged. */
.mega-panel .mega-panel__item:is(:hover, :focus-visible) .mega-panel__item-title {
	color: var(--color-accent-text);
}
.mega-panel--products .mega-panel__item:is(:hover, :focus-visible) {
	border-color: var(--color-accent);
}
.mega-panel--solutions .mega-panel__item:is(:hover, :focus-visible) .mega-panel__item-icon {
	box-shadow: inset 0 0 0 1px var(--color-accent);
}
.mega-panel__side {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	border-radius: 16px;
	padding: 22px 20px 24px;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	color: var(--color-white);
}
.mega-panel .mega-panel__eyebrow--side { color: var(--color-accent-text); font-size: 10px; margin-bottom: 18px; }
.mega-panel__side-heading { color: var(--color-white); font-size: 22px; line-height: 1.3; margin-bottom: 26px; }
.mega-panel__side-body { color: #c2cbe3; font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
.mega-panel--products .mega-panel__side-heading { font-size: 24px; margin-bottom: 16px; }
.mega-panel--resources .mega-panel__side { min-height: 300px; padding-bottom: 22px; }
.mega-panel--resources .mega-panel__side-heading { margin-bottom: 28px; }
.mega-panel__side-stat {
	--color-accent-text: var(--color-accent);
	display: inline-block;
	background: var(--color-navy-800);
	border-radius: 10px;
	padding: 12px 8px;
	font-size: 12px;
	text-align: center;
	margin-bottom: 12px;
}
.mega-panel__side-cta { margin-top: auto; width: 100%; min-height: 44px; padding-inline: 10px; font-size: 12px; }
.site-header .btn--primary { background: var(--color-accent); color: var(--color-navy-950); }
.site-header .btn:hover, .site-header .btn:focus-visible { transform: none; filter: none; box-shadow: none; }
.site-header .btn--primary:hover, .site-header .btn--primary:focus-visible { background: var(--color-accent-hover); }
.site-header__actions .btn { min-height: 48px; padding-inline: 18px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.site-header__actions .btn--outline-light { border-color: #4b5b93; }
.site-header__actions .btn--outline-light:is(:hover, :focus-visible, :active) {
	background: rgba(75, 200, 210, 0.12);
	border-color: var(--color-accent);
	color: var(--color-accent-text);
}
.site-header__actions .btn--primary:is(:hover, :focus-visible) { box-shadow: 0 4px 16px rgba(75, 200, 210, 0.2); }
.site-header__actions .btn--primary span { transition: transform 0.18s ease; }
.site-header__actions .btn--primary:is(:hover, :focus-visible) span { transform: translateX(3px); }
[dir="rtl"] .site-header__actions .btn--primary:is(:hover, :focus-visible) span { transform: translateX(-3px); }
.site-header__actions .lang-switch {
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding-inline: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: #e5ecff;
	font-size: 12px;
}
.site-header__actions .lang-switch:is(:hover, :focus-visible) {
	background: rgba(75, 200, 210, 0.12);
	border-color: var(--color-accent);
	color: var(--color-accent-text);
}
.site-header__actions .lang-switch__icon { width: 17px; height: 17px; opacity: 1; }
.site-header__actions .lang-switch[lang="ar"] .lang-switch__short { font-size: 14px; line-height: 1.4; }
.site-nav__submenu .site-nav__link:hover {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.site-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}
.site-header__toggle-bar {
	--color-accent-text: var(--color-accent-ink);
	width: 22px;
	height: 2px;
	background: var(--color-white);
	border-radius: 2px;
}

@media (min-width: 1221px) and (max-width: 1320px) {
	.site-nav__list { gap: 16px; }
	.site-header__inner { gap: 16px; }
	.site-header__actions .btn { padding-inline: 16px; }
}

@media (max-width: 1220px) {
	html { scroll-padding-top: 76px; }
	.site-header { position: fixed; inset-inline: 0; top: 0; }
	.site-header-spacer { display: block; height: 76px; }
	.site-header { --header-admin-offset: 0px; }
	.admin-bar .site-header { --header-admin-offset: 32px; }
	.site-header__toggle { display: flex; }
	.site-header__actions .btn--outline-light { display: none; }
	.site-nav {
	--color-accent-text: var(--color-accent);
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-dark-surface);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}
	.site-nav.is-open {
		max-height: calc(100vh - 76px - var(--header-admin-offset));
		max-height: calc(100dvh - 76px - var(--header-admin-offset));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.site-nav__list { flex-direction: column; align-items: stretch; padding: var(--space-sm) var(--space-md) var(--space-md); gap: 0; }
	.site-nav__item { width: 100%; }
	.site-nav__link { padding: 0.75rem 0; width: 100%; justify-content: space-between; }
	.site-nav__submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: rgba(255,255,255,0.04);
		display: none;
	}
	.site-nav__item--has-dropdown.is-open .site-nav__submenu { display: block; }
	.site-nav__submenu .site-nav__link { color: var(--color-white); }

	.mega-panel {
		position: static;
		width: auto;
		transform: none;
		opacity: 1;
		visibility: visible;
		display: none;
		grid-template-columns: 1fr;
		box-shadow: none;
		background: rgba(255,255,255,0.04);
		padding: 1rem 0;
		min-height: 0;
		border: 0;
		gap: 18px;
	}
	.mega-panel::before, .site-nav__submenu::before { display: none; }
	.site-nav__item--mega:hover .mega-panel,
	.site-nav__item--mega:focus-within .mega-panel { transform: none; }
	.site-nav__item--mega.is-open .mega-panel { transform: none; }
	.mega-panel--products .mega-panel__items { grid-template-columns: 1fr; }
	.mega-panel--products .mega-panel__item-title { color: var(--color-navy-text); }
	.mega-panel--products .mega-panel__item-description { color: var(--color-text-body); }
	.mega-panel--products .mega-panel__item--featured .mega-panel__item-title,
	.mega-panel--products .mega-panel__item--featured .mega-panel__item-description { color: white; }
	.mega-panel__side, .mega-panel--resources .mega-panel__side { min-height: 0; }
	.mega-panel__side-heading { margin-bottom: 20px; }
	.site-nav__item--mega.is-open .mega-panel { display: grid; }
	.mega-panel__items { grid-template-columns: 1fr; }
	.mega-panel__item-title { color: var(--color-white); }
	.mega-panel__item-description { color: var(--color-gray-300); }
	.mega-panel__intro { color: var(--color-gray-300); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { --header-admin-offset: 46px; }
}

@media (max-width: 600px) {
	/* Keep the logged-in toolbar above the fixed header while scrolling. */
	#wpadminbar { position: fixed; }
}

@media (max-width: 600px) {
	.site-header__inner { gap: 12px; padding-inline: 16px; }
	.site-header__logo img { height: 28px; }
	.site-header__actions .btn { font-size: 11px; padding-inline: 12px; min-height: 44px; }
}

/* Language switcher — one compact link in the nav link colours. */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: rgba(255,255,255,0.85);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.lang-switch:hover,
.lang-switch:focus-visible { color: var(--color-white); }
.lang-switch__icon { flex: none; opacity: 0.8; }
.lang-switch[lang="ar"] .lang-switch__short { font-size: 1.05rem; line-height: 1; font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
/* Inside the mobile menu the switcher is its own item; on small phones it
   leaves the crowded header bar and lives only there. */
.site-nav__item--lang { display: none; }
@media (max-width: 1220px) {
	.site-nav__item--lang { display: block; }
	.site-nav__item--lang .lang-switch { padding: 0.75rem 0; }
}
@media (max-width: 600px) {
	.site-header__actions .lang-switch { display: none; }
}
.lang-switch__full { display: none; }
.site-nav__item--lang .lang-switch__short { display: none; }
.site-nav__item--lang .lang-switch__full { display: inline; }
.lang-switch[lang="ar"] .lang-switch__full { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

@media (prefers-reduced-motion: reduce) {
	.site-header, .site-header *, .site-header *::after { transition: none; }
}

/* components/hero */
/* Hero components: .hero (homepage + template-parts/components/page-hero.php)
   and .dark-hero (template-parts/components/dark-hero.php). Loaded on every page. */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	--color-accent-text: var(--color-accent);
	background: var(--color-dark-surface);
	color: var(--color-white);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(360px, 660px) 1fr;
	align-items: stretch;
	min-height: 640px;
}
.hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1.75rem;
	padding-block: var(--space-2xl);
	padding-right: var(--space-lg);
	padding-left: clamp(var(--space-md), calc((100vw - var(--container-width)) / 2 + var(--space-md)), 4rem);
}
.hero__heading {
	color: var(--color-white);
	font-size: clamp(2.4rem, 4.4vw, 60px);
	line-height: 1.15;
	letter-spacing: var(--tracking-heading);
	font-weight: 700;
	text-wrap: balance;
}
.hero__subheading {
	color: var(--color-gray-300);
	font-size: 19px;
	line-height: 1.65;
	max-width: 48ch;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: nowrap; margin-top: 0.5rem; align-self: flex-start; justify-content: flex-start; }
.hero__ctas .btn { white-space: nowrap; font-size: 13px; font-weight: 700; padding: 0 18px; min-height: 48px; }
.hero__ctas .btn--primary {
	background: var(--color-accent);
	color: var(--color-navy-950);
	border-radius: 10px;
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.hero__ctas .btn--primary:is(:hover, :focus-visible, :active) {
	background: var(--color-accent-hover);
	color: var(--color-navy-950);
	transform: none;
	filter: none;
	box-shadow: 0 4px 16px rgba(75, 200, 210, 0.2);
}
.hero__ctas .btn--primary .btn__arrow { transition: transform 0.18s ease; }
.hero__ctas .btn--primary:is(:hover, :focus-visible) .btn__arrow { transform: translateX(3px); }
[dir="rtl"] .hero__ctas .btn--primary:is(:hover, :focus-visible) .btn__arrow { transform: translateX(-3px); }
.hero__ctas .btn--secondary {
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.hero__ctas .btn--secondary:is(:hover, :focus-visible, :active) {
	background: rgba(75, 200, 210, 0.12);
	border-color: var(--color-accent);
	color: var(--color-accent-text);
	filter: none;
}
@media (prefers-reduced-motion: reduce) {
	.hero__ctas .btn, .hero__ctas .btn__arrow { transition: none; }
}

.hero__media { position: relative; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: transform 0.6s ease; }
/* Blend the photo into the navy text column and settle its bottom edge. */
.hero__media::after {
	--color-accent-text: var(--color-accent);
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 38%),
		linear-gradient(0deg, rgba(15,24,71,0.55) 0%, rgba(15,24,71,0) 30%);
}


@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.hero__content { padding-inline: var(--space-md); }
	.hero__media { min-height: 320px; }
	.hero__media::after {
	--color-accent-text: var(--color-accent); background: linear-gradient(180deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 35%); }
}

@media (max-width: 420px) {
	.hero__ctas { flex-wrap: wrap; }
}

@media (max-width: 640px) {
	.hero__media { display: flex; flex-direction: column; }
}

/* Homepage typography: clear lines, quieter body text and a fine accent. */
.hero--home .hero__content {
	gap: 0;
	padding-block: 64px;
}
.hero--home .badge { margin-bottom: 28px; }
.hero--home .hero__heading {
	max-width: 100%;
	margin: 0 0 26px;
	font-size: clamp(40px, 4vw, 56px);
	line-height: 1.14;
	letter-spacing: var(--tracking-heading);
	text-wrap: initial;
}
.hero__heading-line { display: block; }
.hero--home .hero__heading-accent {
	display: inline-block;
	position: relative;
	color: var(--color-accent-text);
	background: none;
	padding-bottom: 0.07em;
	white-space: nowrap;
}
.hero__heading-accent::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
}
.hero--home .hero__subheading {
	max-width: 44ch;
	margin: 0;
	color: #bfc9e3;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.75;
	text-wrap: pretty;
}
.hero--home .hero__ctas { margin-top: 32px; }
@media (max-width: 960px) {
	.hero--home .hero__content { padding-block: 48px; }
	.hero--home .hero__heading { font-size: clamp(32px, 7.5vw, 48px); line-height: 1.18; }
	.hero--home .badge { margin-bottom: 24px; }
	.hero--home .hero__subheading { max-width: 46ch; }
}

/* Shared dark-hero component (Contact + Careers) */
.dark-hero {
	--color-accent-text: var(--color-accent);
	position: relative;
	background-color: var(--color-dark-surface);
	background-size: cover;
	background-position: center right;
	overflow: hidden;
	color: var(--color-white);
}
.dark-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15,24,71,0.97) 0%, rgba(15,24,71,0.88) 50%, rgba(15,24,71,0.4) 80%, rgba(15,24,71,0.1) 100%);
	z-index: 1;
}
.dark-hero__grid {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin-inline: auto;
	padding: var(--space-3xl) var(--space-xl);
	min-height: 520px;
	display: flex;
	align-items: center;
}
.dark-hero__content {
	max-width: 580px;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.dark-hero__badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	background: rgba(78,202,212,0.12);
	border: 1px solid rgba(78,202,212,0.35);
	color: var(--color-accent-text);
	border-radius: 999px;
	padding: 0.35rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: var(--space-sm);
}
.dark-hero__content h1 {
	color: var(--color-white);
	font-size: clamp(2.2rem, 4.2vw, 3.2rem);
	line-height: 1.18;
	font-weight: 800;
	margin: 0 0 var(--space-sm);
}
.dark-hero__content > p {
	color: rgba(255,255,255,0.75);
	font-size: 1.1rem;
	line-height: 1.65;
	margin: 0;
	max-width: 44ch;
}
.dark-hero__ctas {
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-top: var(--space-lg);
}
@media (max-width: 640px) {
	.dark-hero__grid { padding: var(--space-2xl) var(--space-md); min-height: 0; }
}

/* components/cards */
/* Card grid + base card styles (homepage, About). Loaded on every page. */

/* ==========================================================================
   Card grid (services / industries / why-us / certifications)
   ========================================================================== */
.card-grid {
	display: grid;
	gap: var(--space-md);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	--color-accent-text: var(--color-accent-ink);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-lg);
}
.card--service:hover,
.card--why:hover,
.card--certification.card--featured:hover {
	transform: translateY(-10px);
}
.card__icon {
	--color-accent-text: var(--color-accent-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-sm);
	background: var(--color-off-white);
	margin-bottom: 0.5rem;
}
.card__icon img { width: 26px; height: 26px; object-fit: contain; }
.card__icon--fallback {
	color: var(--color-accent-dark);
	background: rgba(78,202,212,0.18);
	font-weight: 800;
	font-size: 1.1rem;
	text-transform: uppercase;
}
.card__icon--svg svg { width: 22px; height: 22px; }
.card__icon--svg { color: var(--color-navy-text); }
.card__icon--dark {
	--color-accent-text: var(--color-accent); background: var(--color-navy-950); color: var(--color-white); }
.card__icon--blue   { background: #e7edfd; color: #3b5bdb; }
.card__icon--orange { background: #fdeee0; color: #e8763d; }
.card__icon--green   { background: #e2f7ec; color: #1f9d5a; }
.card__icon--purple  { background: #f2e9fb; color: #8b3fd1; }
.card__icon--yellow  { background: #fdf3d9; color: #c9922a; }
.card__icon--cyan    { background: var(--color-accent-soft); color: #1a9ba3; }

.card__title { font-size: 1.1rem; margin-bottom: 0.25rem; }
.card__description { font-size: 0.92rem; }

.card--why {
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	border-radius: 14px;
}
.card--why .card__icon {
	border-radius: 12px;
	transition: background 0.25s ease, color 0.25s ease;
}
.card--why .card__icon svg { width: 26px; height: 26px; }
.card--why:hover {
	box-shadow: 0px 10px 24px 0px rgba(22,32,88,0.18);
}
.card--why:hover .card__icon {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-950);
	color: var(--color-white);
}

@media (max-width: 960px) {
	.card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
}

/* components/markets-map */
/* Leaflet markets map (homepage markets section, Contact regional map). Loaded on every page. */

/* Markets — real, interactive (pan/zoom) Leaflet + OpenStreetMap map */
.markets__map-embed {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card-lg);
	aspect-ratio: 4 / 3;
	min-height: 280px;
}
.markets__leaflet {
	--color-accent-text: var(--color-accent);
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--color-navy-800);
	z-index: 0;
	isolation: isolate;
}
.markets__map-embed--empty {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-800);
}
.markets__leaflet-marker { background: transparent; border: none; }
.markets__leaflet-dot {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--color-accent);
	border: 2px solid var(--color-white);
	box-shadow: 0 0 0 4px rgba(79,202,212,0.3);
}
.markets__leaflet .leaflet-popup-content-wrapper {
	--color-accent-text: var(--color-accent);
	background: var(--color-navy-900);
	color: var(--color-white);
	border-radius: var(--radius-sm);
}
.markets__leaflet .leaflet-popup-content a { color: var(--color-accent-text); }
.markets__leaflet .leaflet-popup-tip {
	--color-accent-text: var(--color-accent); background: var(--color-navy-900); }

/* components/footer */
/* Site footer. Loaded on every page. */

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	--color-accent-text: var(--color-accent);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-dark-surface);
	color: var(--color-gray-300);
	padding-top: 0;
}
/* A quiet divider keeps adjacent navy sections visually continuous. */
.site-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: rgba(255,255,255,0.1);
}
.site-footer__cta-region {
	position: relative;
	background: linear-gradient(135deg, var(--color-off-white) 0%, #eaf6f8 100%);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	margin-bottom: 2.25rem;
	box-shadow: 0 14px 35px rgba(5, 19, 65, 0.18);
}
.site-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 20px;
	border: 1px solid rgba(15, 35, 105, 0.11);
	background: rgba(255,255,255,0.9);
	box-shadow: 0 18px 45px rgba(15, 35, 105, 0.1);
}
.site-footer__cta-text { flex: 1 1 22rem; min-width: 0; }
.site-footer__cta h2 { color: var(--color-navy-text); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.2; margin: 0 0 0.65rem; }
.site-footer__cta p { margin: 0; max-width: 72ch; color: var(--color-text-body); font-size: 1rem; line-height: 1.65; }
.site-footer__cta .btn { flex-shrink: 0; min-width: 210px; padding: 0.9rem 1.5rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 0.95fr 0.65fr 1fr 1.5fr;
	gap: 1.5rem;
	padding-bottom: 1.5rem;
}
.site-footer__grid > * { min-width: 0; }
.site-footer__brand { padding-inline-end: 1rem; }
.site-footer__contact { padding-inline-start: 1.25rem; border-inline-start: 1px solid rgba(187,197,220,0.12); }
.site-footer__logo { color: var(--color-white); font-weight: 800; font-size: 1.15rem; text-decoration: none; display: inline-block; margin-bottom: 0.5rem; }
.site-footer__logo img { height: 28px; width: auto; max-width: none; display: block; }
.site-footer__logo .custom-logo-link { display: flex; align-items: center; }
.site-footer__tagline { margin: 0; color: var(--color-text-on-dark); font-size: 0.8rem; line-height: 1.5; letter-spacing: 0.03em; }
.site-footer__tagline::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 0.45rem; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 9px rgba(78,202,212,0.45); vertical-align: middle; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.site-footer__socials a {
	width: 32px; height: 32px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.035);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-white);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.site-footer__socials a svg { width: 16px; height: 16px; }
.site-footer__socials a:is(:hover, :focus-visible) {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-accent-dark);
}
.site-footer__col h3 {
	color: var(--color-white);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	margin: 0 0 0.65rem;
	padding-bottom: 0.45rem;
	line-height: 1.3;
	position: relative;
}
.site-footer__col h3::after {
	content: "";
	position: absolute;
	inset-inline-start: 0; bottom: 0; /* under the start of the heading: left in English, right in Arabic */
	width: 24px; height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--color-accent), rgba(78,202,212,0.25));
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.15rem; }
.site-footer__col a { color: var(--color-text-on-dark); text-decoration: none; font-size: 0.8rem; line-height: 1.45; padding-block: 0.15rem; }
.site-footer__col a { display: inline-block; transition: color 0.2s ease, transform 0.2s ease; }
.site-footer__col a:is(:hover, :focus-visible) { color: var(--color-accent-text); transform: translateX(4px); }
.site-footer__contact a:is(:hover, :focus-visible) { transform: none; }
.site-footer__socials a:hover { transform: translateY(-3px); }
.site-footer__top {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px;
	border-radius: 9px;
	border: 1px solid rgba(78,202,212,0.3);
	background: rgba(78,202,212,0.06);
	color: var(--color-accent-text);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-footer__top:hover { background: var(--color-accent); color: var(--color-navy-950); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
	.site-footer__col a, .site-footer__socials a, .site-footer__top { transition: none; transform: none !important; }
}
.site-footer__contact-items { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.site-footer__contact-email { flex-basis: 100%; }
.site-footer__contact-address { flex-basis: 100%; order: 1; }
.site-footer__contact p {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: var(--color-gray-300);
	font-size: 0.8rem;
	line-height: 1.45;
	margin: 0;
}
.site-footer__contact p:last-child { margin-bottom: 0; }
.site-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	margin-top: 0.25rem;
	color: var(--color-accent-text);
}
.site-footer__contact-icon svg { width: 100%; height: 100%; }
.site-footer__contact a { min-width: 0; overflow-wrap: anywhere; text-decoration: none; }
.site-footer__contact a[href^="mailto:"],
.site-footer__contact a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
.site-footer__contact a:hover { text-decoration: underline; }

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); background: transparent; }
.site-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-block: 0.6rem;
	font-size: 0.75rem;
}
.site-footer__bottom-inner p { margin: 0; color: inherit; }
.site-footer__bottom-inner nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer__bottom-inner a { color: var(--color-gray-300); text-decoration: none; }
.site-footer__bottom-inner nav a { transition: color 0.2s ease; }
.site-footer__bottom-inner nav a:is(:hover, :focus-visible) { color: var(--color-accent-text); }

@media (max-width: 960px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
	.site-footer__contact { padding-inline-start: 0; border-inline-start: 0; }
}

@media (max-width: 640px) {
	.site-footer__cta-region { padding-block: 2rem; margin-bottom: 1.75rem; }
	.site-footer__cta { padding: 1.25rem; gap: 1.1rem; }
	.site-footer__cta-text { flex-basis: 100%; }
	.site-footer__cta .btn { width: 100%; min-width: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding-bottom: 1.25rem; }
	.site-footer__brand, .site-footer__contact { grid-column: 1 / -1; }
	.site-footer__brand { padding-inline-end: 0; }
	.site-footer__col a { font-size: 0.85rem; padding-block: 0.25rem; }
	.site-footer__contact-items { gap: 0.4rem 1rem; }
	.site-footer__bottom-inner { gap: 0.5rem; }
	.site-footer__bottom-inner nav { flex-basis: 100%; }
}

.site-footer a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }

/* components/buttons */
/* Shared button appearance and interaction, independent of page layout rules.
   Site-root scope gives these rules priority over local button overrides. */
:is(#site-header, #main-content, .site-footer, dialog) .btn {
	--button-bg: var(--color-accent);
	--button-text: var(--color-navy-950);
	--button-border: var(--color-accent);
	--button-hover-bg: var(--color-accent-glow);
	--button-hover-text: var(--color-navy-950);
	--button-hover-border: var(--color-accent-glow);
	background: var(--button-bg);
	color: var(--button-text);
	border-color: var(--button-border);
	border-radius: var(--radius-btn);
	font-weight: 600;
	filter: none;
	transform: none;
	box-shadow: none;
	transition: background-color .22s ease, color .22s ease,
		border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:is(.btn--secondary, .btn--outline-light) {
	--button-bg: var(--color-navy-950);
	--button-text: var(--color-white);
	--button-border: var(--color-border-dark);
	--button-hover-bg: var(--color-navy-800);
	--button-hover-text: var(--color-white);
	--button-hover-border: var(--color-accent-glow);
}

:is(#site-header, #main-content, .site-footer, dialog) .btn--outline {
	--button-bg: transparent;
	--button-text: var(--color-navy-text);
	--button-hover-bg: var(--color-accent-glow);
	--button-hover-border: var(--color-accent-glow);
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:hover, :focus-visible) {
	background: var(--button-hover-bg);
	color: var(--button-hover-text);
	border-color: var(--button-hover-border);
	filter: none;
	transform: translateY(-2px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28),
		0 0 22px rgba(78,202,212,.38), 0 8px 20px rgba(78,202,212,.18);
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:active {
	background: var(--button-hover-bg);
	color: var(--button-hover-text);
	border-color: var(--button-hover-border);
	transform: translateY(0);
	box-shadow: 0 0 14px rgba(78,202,212,.3);
}

/* Keep arrows visible and stable; the whole button supplies the motion. */
:is(#site-header, #main-content, .site-footer, dialog) .btn .btn__arrow {
	opacity: 1;
	max-width: none;
	overflow: visible;
	margin-inline: 0;
	transform: none;
	transition: none;
}
:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:hover, :focus-visible, :active) :is(.btn__arrow, span[aria-hidden="true"]) {
	transform: none;
	transition: none;
}
:is(#site-header, #main-content, .site-footer, dialog) .ptrs-closing__cta::after {
	max-width: 2em;
	opacity: 1;
	margin-inline-start: .4rem;
	margin-inline-end: 0;
	transition: none;
}
[dir="rtl"] :is(#site-header, #main-content, .site-footer, dialog) .ptrs-closing__cta::after {
	content: "\2190";
}

:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:disabled, [aria-disabled="true"]) {
	opacity: .55;
	background: var(--button-bg);
	color: var(--button-text);
	border-color: var(--button-border);
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
	:is(#site-header, #main-content, .site-footer, dialog) .btn {
		transition: none;
	}
	:is(#site-header, #main-content, .site-footer, dialog) .btn:is(:hover, :focus-visible, :active) {
		transform: none;
	}
}

/* components/experience */
/* Small, progressive enhancements shared across the site. */
.site-reading-progress { position: fixed; inset: 0 0 auto; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--color-accent), #a7eff1); z-index: 99999; pointer-events: none; }
[dir="rtl"] .site-reading-progress { transform-origin: right; }
.site-back-top { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border: 1px solid #4ecad46b; border-radius: 50%; color: white; background: var(--color-navy-950); box-shadow: 0 8px 28px #0f184726; font-size: 20px; cursor: pointer; transition: background .2s, transform .2s; }
.site-back-top[hidden] { display: none; }
.site-back-top:hover { transform: translateY(-3px); background: var(--color-navy-800); }
.site-back-top:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.home .hero__content { position: relative; isolation: isolate; }
.home .hero__content::before { content: ''; position: absolute; inset: -60px -30px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 25% 40%, #4ecad414, transparent 65%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.home .card--service { transition: transform .25s ease, box-shadow .25s ease; }
	.home .card--service:hover { transform: translateY(-5px); box-shadow: 0 16px 36px #0f184714; }
}
@media (prefers-reduced-motion: reduce) { .site-back-top { transition: none; } }

/* pages/about */
/* About page (page-about.php). */

/* About page */
.about-mission__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: calc(var(--space-xl) * 2); align-items: center; }
.about-mission__subheading { font-weight: 700; color: var(--color-navy-text); margin-top: var(--space-lg); margin-bottom: var(--space-lg); font-size: 1.3rem; }
.about-mission p:not(.about-mission__subheading) { font-size: 1.1rem; line-height: 1.9; color: var(--color-text-body); margin-top: var(--space-md); }
.about-mission h2 { margin-bottom: var(--space-sm); }
.about-mission__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.about-mission__stat {
	--color-accent-text: var(--color-accent-ink);
	background: var(--color-off-white);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	text-align: center;
	transition: transform 0.25s ease;
}
@media (hover: hover) {
	.about-mission__stat:hover { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
	.about-mission__stat { transition: none; }
	.about-mission__stat:hover { transform: none; }
}
.about-mission__stat-value { font-size: 1.75rem; font-weight: 800; color: var(--color-navy-text); }
.about-mission__stat-label { font-size: 0.85rem; color: var(--color-text-muted); }
.about-mission__stat-icon { color: var(--color-accent-text); margin-bottom: 0.35rem; }
.about-mission__stat-icon svg { width: 26px; height: 26px; }
.about-mission h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); color: var(--color-navy-text); }

.about-vision {
	--color-accent-text: var(--color-accent); background: var(--color-dark-surface); color: var(--color-white); text-align: center; }
.about-vision h2 { color: var(--color-white); font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: var(--space-lg); }
.about-vision p { color: var(--color-gray-300); font-size: 1rem; line-height: 1.8; max-width: none; margin-inline: auto; }

.about-leadership {
	--color-accent-text: var(--color-accent-ink); background: var(--color-white); padding-block: clamp(56px, 6vw, 88px); }
.about-leadership > .container { max-width: 1480px; padding-inline: clamp(16px, 3vw, 48px); }
.about-leadership .section__intro { margin-bottom: 40px; }
.about-leadership .section__intro h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.about-leadership .section__intro p { font-size: 1.15rem; line-height: 1.7; }
.leadership-carousel { position: relative; }
.leadership-carousel::before, .leadership-carousel::after { content: ""; position: absolute; inset-block: 0; width: clamp(24px, 4vw, 64px); z-index: 1; pointer-events: none; }
.leadership-carousel::before {
	--color-accent-text: var(--color-accent-ink); left: 0; background: linear-gradient(to right, var(--color-white), rgba(255, 255, 255, 0)); }
.leadership-carousel::after {
	--color-accent-text: var(--color-accent-ink); right: 0; background: linear-gradient(to left, var(--color-white), rgba(255, 255, 255, 0)); }
.leadership-carousel__track { display: flex; flex-wrap: nowrap; gap: 24px; overflow-x: auto; scroll-behavior: auto; scrollbar-width: none; padding-block: 24px 32px; }
.leadership-carousel__track::-webkit-scrollbar { display: none; }
.leadership-carousel__track > .team-member { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; box-sizing: border-box; }
.leadership-carousel__track:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
@media (min-width: 1200px) { .leadership-carousel__track > .team-member { flex-basis: calc((100% - 96px) / 5); padding-inline: 14px; } }
@media (max-width: 900px) { .leadership-carousel__track > .team-member { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 540px) { .about-leadership .section__intro { margin-bottom: 24px; } .leadership-carousel__track { gap: 16px; padding-block: 16px 24px; } .leadership-carousel__track > .team-member { flex-basis: 85%; } }
.team-member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; padding: var(--space-md); }
.team-member__avatar {
	--color-accent-text: var(--color-accent-ink);
	width: 120px; height: 120px;
	border-radius: 50%;
	background: var(--color-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 0.75rem;
}
.team-member__avatar { flex-shrink: 0; }
.team-member__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 35%; }
.team-member__avatar-placeholder { width: 52px; height: 52px; color: var(--color-gray-300); }
.team-member__name { font-size: 1.1rem; font-weight: 700; color: var(--color-navy-text); margin: 0; }
.team-member__role { color: var(--color-accent-text); font-weight: 600; font-size: 0.95rem; }
.team-member__description { font-size: 0.9rem; color: var(--color-text-body); margin: 0.25rem 0 0; }

.about-presence {
	--color-accent-text: var(--color-accent-ink); background: var(--color-off-white); padding-block: 64px 80px; }
.about-presence > .container { max-width: 1280px; }
.about-presence .about-presence__intro { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.about-presence .section__intro h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; color: var(--color-navy-800); margin-bottom: 32px; }
.about-presence .section__intro p { font-size: 18px; line-height: 1.7; color: var(--color-text-body); margin: 0; }
.about-presence__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }
.about-presence__card {
	background: transparent;
	border: 0;
	border-radius: 18px;
	min-height: 256px;
	padding: 24px 20px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.3rem;
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
	cursor: default;
}
.about-presence__card:hover {
	--color-accent-text: var(--color-accent-ink);
	box-shadow: 0 8px 32px rgba(15,24,71,0.12);
	background: var(--color-off-white);
}
.about-presence__card--featured strong { color: var(--color-accent-dark); }
.about-presence__icon {
	width: 64px; height: 64px;
	border-radius: 50%;
	background: #d5f4f8;
	color: var(--color-accent-text);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
	flex-shrink: 0;
}
.about-presence__icon svg { width: 24px; height: 24px; stroke-width: 1; }
.about-presence__type { color: var(--color-accent-text); font-size: 12px; font-weight: 400; margin-top: 12px; }
.about-presence__employees { color: var(--color-text-body); font-size: 14px; }
.about-presence__card strong { font-size: 18px; font-weight: 400; color: var(--color-navy-800); }
.about-presence__city { font-size: 14px; color: var(--color-text-body); }
@media (max-width: 600px) {
	.about-presence { padding-block: 44px; }
	.about-presence .about-presence__intro { margin-bottom: 32px; }
	.about-presence .section__intro h2 { margin-bottom: 20px; }
	.about-presence .section__intro p { font-size: 16px; }
	.about-presence__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.about-presence__card { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.about-presence__card { transition: none; }
}

.about-journey__timeline { display: flex; flex-direction: column; gap: 20px; max-width: 640px; margin-inline: auto; border-left: 2px solid var(--color-accent); }
.about-journey__item { min-height: 0; padding: 0 0 0 var(--space-md); position: relative; }
.about-journey__item::before {
	content: '';
	position: absolute;
	left: -7px; top: 6px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--color-accent);
}
.about-journey__year { color: var(--color-accent-text); font-weight: 500; font-size: 0.85rem; }
.about-journey__item h3 { margin: 0.15rem 0; font-size: 1.05rem; }
.about-journey__item p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

.about-values { padding-block: 56px; }
.about-values > .container { max-width: 1120px; }
.about-values .section__heading { font-size: clamp(28px, 3vw, 34px); color: var(--color-navy-800); margin-bottom: 32px; }
.about-values__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-values__card {
	min-width: 0;
	min-height: 216px;
	padding: 26px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	background: #fafbfe;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.about-values__icon {
	--color-accent-text: var(--color-accent-ink); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 10px; background: var(--color-off-white); color: var(--color-navy-800); }
.about-values__icon svg { width: 22px; height: 22px; stroke-width: 1.2; }
.about-values__card .card__title { color: var(--color-navy-800); font-size: 22px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; transition: color 0.2s ease; }
.about-values__card .card__description { color: var(--color-text-body); font-size: 14px; line-height: 1.7; margin: 0; }
.about-values__card:hover { border-color: var(--color-accent); transform: translateY(-4px); box-shadow: 0 10px 22px rgba(22, 32, 88, 0.14); }
.about-values__card:hover .card__title { color: var(--color-accent-text); }
@media (max-width: 600px) {
	.about-values { padding-block: 40px; }
	.about-values__grid { grid-template-columns: 1fr; gap: 18px; }
	.about-values__card { min-height: 0; padding: 22px; }
	.about-values__card .card__title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.about-values__card, .about-values__card .card__title { transition: none; }
	.about-values__card:hover { transform: none; }
}

.about-closing { text-align: center; }
.about-closing__logo {
	display: inline-block;
	margin-bottom: var(--space-lg);
}
.about-closing__logo img,
.about-closing__logo .custom-logo {
	height: 48px;
	width: auto;
}
.about-closing p.about-closing__tagline {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	color: var(--color-white);
	margin-bottom: var(--space-lg);
	line-height: 1.1;
	letter-spacing: -0.01em;
	display: block;
	max-width: none;
}
.about-closing p.about-closing__tagline::before { content: '\201C'; }
.about-closing p.about-closing__tagline::after  { content: '\201D'; }
.about-closing h2 { color: var(--color-accent-text); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: var(--space-md); font-weight: 700; }
.about-closing p { color: var(--color-gray-300); max-width: 60ch; margin-inline: auto; font-size: 1.05rem; line-height: 1.8; }

.about-journey__scroll-hint {
	display: block;
	margin-inline: auto;
	padding: 6px 12px;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 13px;
	margin: 24px auto 0;
}
.about-journey__scroll-hint:is(:hover, :focus-visible) { color: var(--color-accent-text); }
.about-journey__scroll-hint:disabled { opacity: 0.5; cursor: default; color: var(--color-text-muted); }
.about-journey__timeline-wrap {
	max-height: 520px;
	max-height: min(520px, 65svh);
	overflow-y: auto;
	padding-inline: 12px;
	overscroll-behavior-y: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--color-accent) transparent;
}
.about-journey__timeline-wrap:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; border-radius: 4px; }
.about-journey__timeline-wrap::-webkit-scrollbar { width: 4px; }
.about-journey__timeline-wrap::-webkit-scrollbar-track { background: transparent; }
.about-journey__timeline-wrap::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }

/* Stack the mission copy above the statistics on tablets and phones. */
@media (max-width: 900px) {
	.about-mission__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.about-mission__stats { width: 100%; max-width: 560px; justify-self: center; gap: 16px; }
}

@media (max-width: 600px) {
	.about-mission, .about-vision, .about-leadership, .about-journey, .about-closing { padding-block: 40px; }
	.about-mission > .container, .about-vision > .container, .about-leadership > .container,
	.about-presence > .container, .about-journey > .container, .about-values > .container,
	.about-closing > .container { padding-inline: 20px; }
	.about-mission__grid { gap: 24px; }
	.about-mission h2, .about-vision h2, .about-leadership .section__intro h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.25; }
	.about-mission__subheading { font-size: 18px; line-height: 1.5; margin-block: 16px; }
	.about-mission p:not(.about-mission__subheading) { font-size: 15px; line-height: 1.75; margin-top: 12px; }
	.about-mission__stats { gap: 12px; }
	.about-mission__stat { min-width: 0; padding: 22px 12px; gap: 6px; }
	.about-mission__stat-value { font-size: clamp(26px, 7vw, 32px); line-height: 1.2; overflow-wrap: anywhere; }
	.about-mission__stat-label { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
	.about-mission__stat-icon svg { width: 24px; height: 24px; }
	.about-vision h2 { margin-bottom: 16px; }
	.about-vision p, .about-leadership .section__intro p, .about-closing p { font-size: 15px; line-height: 1.75; }
	.about-leadership .section__intro { margin-bottom: 24px; }
	.leadership-carousel::before, .leadership-carousel::after { width: 20px; }
	.leadership-carousel__track > .team-member { padding: 16px 12px; }
	.team-member__avatar { width: 104px; height: 104px; }
	.team-member__name { font-size: 16px; }
	.team-member__role, .team-member__description { font-size: 13px; line-height: 1.65; }
	.about-presence__card { min-height: 210px; padding: 18px 8px 24px; min-width: 0; overflow-wrap: anywhere; }
	.about-presence__icon { width: 52px; height: 52px; margin-bottom: 12px; }
	.about-presence__card strong { font-size: 17px; }
	.about-presence__employees { font-size: 13px; }
	.about-journey .section__heading { font-size: 28px; margin-bottom: 24px; }
	.about-journey__timeline { gap: 18px; }
	.about-journey__item { min-height: 0; padding-inline-start: 18px; padding-inline-end: 0; overflow-wrap: anywhere; }
	.about-journey__item h3 { font-size: 16px; line-height: 1.4; margin-block: 6px; }
	.about-journey__item p { font-size: 13px; line-height: 1.7; }
	.about-closing p.about-closing__tagline { font-size: clamp(30px, 9vw, 40px); margin-bottom: 20px; }
	.about-closing__logo { margin-bottom: 20px; }
	.about-closing__logo img, .about-closing__logo .custom-logo { height: 36px; max-width: 100%; object-fit: contain; }
}

/* components/figma-hero */
/* Matching Home and About hero typography and sharp photographic composition. */
.hero.hero--figma {
	--color-accent-text: var(--color-accent); position: relative; background: var(--color-dark-surface); }
.hero--figma .hero__grid { grid-template-columns: 48.5% 51.5%; min-height: 720px; }
.hero--figma.hero--about .hero__grid { grid-template-columns: 53% 47%; min-height: 650px; }
.hero--figma .hero__content {
	position: relative; z-index: 2; gap: 0; justify-content: flex-start;
	padding: 84px 40px 64px max(24px, calc((100vw - 1240px) / 2));
}
.hero--figma .hero__content .badge { align-self: flex-start; width: fit-content; min-height: 38px; font-size: 12px; font-weight: 400; padding-inline: 20px; margin: 0 0 40px; }
.hero--figma .hero__heading { font-size: clamp(40px, 3.9vw, 56px); font-weight: 700; line-height: 1.14; letter-spacing: var(--tracking-heading); text-wrap: initial; margin: 0 0 48px; max-width: 580px; }
.hero--figma .hero__subheading { max-width: 470px; font-size: 18px; line-height: 1.55; color: var(--color-text-on-dark); margin: 0; }
.hero--figma .hero__ctas { margin-top: 52px; gap: 20px; }
.hero--figma .hero__ctas .btn { min-height: 52px; padding-inline: 38px; font-size: 12px; font-weight: 500; border-radius: 10px; }
.hero--figma .hero__ctas .btn__arrow { margin-inline-start: 6px; }
.hero--home.hero--figma .hero__content { padding-top: 72px; }
.hero--home.hero--figma .hero__content .badge { margin-bottom: 32px; }
.hero--home.hero--figma .hero__heading { font-size: clamp(38px, 3.6vw, 52px); margin-bottom: 36px; }
.hero--home.hero--figma .hero__subheading { max-width: 420px; text-wrap: pretty; }
.hero--home.hero--figma .hero__ctas { margin-top: 40px; }
.hero--home.hero--figma .hero__image { object-position: center top; }
.hero.hero--figma .hero__media::after { background: none; }
.hero--figma .hero__image { object-position: center; }
.hero--figma.hero--composite .hero__media { position: absolute; inset: 0; }
.hero--figma.hero--about { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.hero--figma.hero--about .hero__content { padding-bottom: 80px; }
.hero--figma.hero--about .hero__subheading { max-width: 390px; color: var(--color-white); }
[dir="rtl"] .hero--figma .hero__content { padding-inline: max(24px, calc((100vw - 1240px) / 2)) 40px; }
[dir="rtl"] .hero--figma.hero--composite .hero__image { transform: scaleX(-1); }
[dir="rtl"] .hero--figma.hero--about { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%); }
@media (max-width: 960px) {
	.hero--figma .hero__grid, .hero--figma.hero--about .hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.hero--figma .hero__content, [dir="rtl"] .hero--figma .hero__content { padding: 48px 24px; }
	.hero--home.hero--figma .hero__content { padding-top: 48px; }
	.hero--home.hero--figma .hero__heading { font-size: clamp(32px, 6vw, 48px); }
	.hero--figma .hero__heading { font-size: clamp(32px, 6vw, 48px); margin-bottom: 28px; }
	.hero--figma .hero__subheading { max-width: 48ch; font-size: 16px; }
	.hero--figma .hero__ctas { margin-top: 32px; flex-wrap: wrap; }
	.hero--figma .hero__ctas .btn { padding-inline: 24px; }
	.hero--figma.hero--composite .hero__media { position: relative; inset: auto; min-height: 380px; }
	.hero--figma.hero--composite .hero__image { object-position: right center; }
	.hero--figma.hero--about .hero__content { padding-bottom: 48px; }
}

/* components/team-life */
/* Human moments, framed in SkyTech's navy and turquoise palette. */
.team-life { position: relative; background: #f6f8fb; overflow: hidden; scroll-margin-top: 110px; }
.team-life::before { content: ''; position: absolute; width: 480px; height: 480px; inset-inline-end: -260px; top: -280px; border: 70px solid #4ecad410; border-radius: 50%; pointer-events: none; }
.team-life__intro { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; margin-bottom: 36px; }
.team-life__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--color-accent-ink); margin-bottom: 20px; }
.team-life__eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent-ink); box-shadow: 0 0 0 5px #4ecad418; }
.team-life h2 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.18; letter-spacing: -.035em; margin: 0; }
.team-life h2 em { color: var(--color-accent-ink); font-style: normal; }
.team-life__intro p { font-size: 15px; line-height: 1.85; margin: 0; max-width: 420px; }
.team-life__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.team-life__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #e9edf4; border-radius: 999px; }
.team-life__filters[hidden], .team-life__photo[hidden] { display: none; }
.team-life__filters button { font: inherit; font-size: 12px; font-weight: 500; border: 0; background: transparent; color: var(--color-navy-text); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.team-life__filters button[aria-pressed="true"] { background: var(--color-navy-950); color: white; box-shadow: 0 3px 10px #0f18471a; }
.team-life__note { font-size: 12px; color: var(--color-text-muted); }
.team-life__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 240px; gap: 18px; }
.team-life__photo { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 20px; color: white; background: var(--color-navy-950); }
.team-life__photo:first-child { grid-row: span 2; }
.team-life__photo:nth-child(4) { grid-column: span 2; }
.team-life__photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, #0f184720 0%, transparent 30%, #0c1435bb 100%); pointer-events: none; }
.team-life__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.team-life__photo:hover img, .team-life__photo:focus-visible img { transform: scale(1.045); }
.team-life__category { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 1; border: 1px solid #ffffff60; background: #0c143580; border-radius: 999px; padding: 6px 12px; font-size: 11px; backdrop-filter: blur(8px); }
.team-life__caption { position: absolute; bottom: 24px; inset-inline: 24px 64px; z-index: 1; font-size: 18px; font-weight: 500; line-height: 1.4; }
.team-life__photo:first-child .team-life__caption { font-size: 26px; }
.team-life__expand { position: absolute; bottom: 20px; inset-inline-end: 20px; z-index: 1; width: 34px; height: 34px; border: 1px solid #ffffff75; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.team-life__photo:hover .team-life__expand { background: var(--color-accent); color: var(--color-navy-950); border-color: transparent; }
.team-life__grid.is-filtered { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }
.team-life__grid.is-filtered .team-life__photo { grid-row: auto; grid-column: auto; }
.team-life__closing { margin-top: 28px; display: flex; align-items: center; gap: 20px; padding: 26px 30px; background: white; border: 1px solid var(--color-border); border-radius: 18px; }
.team-life__closing-icon { width: 52px; height: 52px; flex: 0 0 auto; background: var(--color-accent-soft); color: var(--color-accent-ink); display: grid; place-items: center; border-radius: 14px; }
.team-life__closing-icon svg { width: 24px; height: 24px; }
.team-life__closing h3 { font-size: 19px; margin: 0 0 5px; }
.team-life__closing p { font-size: 13px; margin: 0; }
.team-life__closing .btn { margin-inline-start: auto; flex-shrink: 0; gap: 16px; }
.life-dialog { width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 1px solid #ffffff30; border-radius: 20px; background: #0c1435; color: white; padding: 16px; margin: auto; box-shadow: 0 30px 100px #0006; }
.life-dialog::backdrop { background: #060b21e8; backdrop-filter: blur(10px); }
.life-dialog__controls, .life-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.life-dialog__controls { padding-bottom: 12px; font-size: 13px; color: #c5cfe2; }
.life-dialog button { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #ffffff40; border-radius: 50%; background: transparent; color: white; font: inherit; font-size: 22px; cursor: pointer; }
.life-dialog button:hover { background: #ffffff18; }
.life-dialog__image { display: block; width: 100%; height: min(65dvh, 650px); object-fit: contain; border-radius: 10px; }
.life-dialog__footer { margin-top: 14px; }
.life-dialog__footer p { color: white; text-align: center; font-size: 14px; margin: 0; }
.team-life :focus-visible { outline: 3px solid var(--color-accent-ink); outline-offset: 4px; }
.life-dialog :focus-visible { outline-color: var(--color-accent); }
html.life-gallery-open { overflow: hidden; }
@media (max-width: 960px) {
	.team-life__intro { grid-template-columns: 1fr; gap: 20px; }
	.team-life__intro p { max-width: 600px; }
	.team-life__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
	.team-life__photo:first-child { grid-row: span 2; }
	.team-life__photo:nth-child(4) { grid-column: span 2; }
	.team-life__closing { flex-wrap: wrap; }
	.team-life__grid.is-filtered { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.team-life__eyebrow { font-size: 10px; letter-spacing: .06em; }
	.team-life__toolbar { align-items: start; flex-direction: column; }
	.team-life__note { display: none; }
	.team-life__filters { border-radius: 18px; }
	.team-life__filters button { padding: 9px 13px; }
	.team-life__grid, .team-life__grid.is-filtered { grid-template-columns: 1fr; grid-auto-rows: 260px; gap: 14px; }
	.team-life__photo:first-child, .team-life__photo:nth-child(4) { grid-row: auto; grid-column: auto; }
	.team-life__photo:first-child .team-life__caption { font-size: 21px; }
	.team-life__closing { padding: 22px; gap: 14px; }
	.team-life__closing-icon { display: none; }
	.team-life__closing .btn { margin-inline-start: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.team-life__photo img, .team-life__expand, .team-life__filters button { transition: none; }
	.team-life__photo:hover img, .team-life__photo:focus-visible img { transform: none; }
}

/* base/rtl */
/*
 * Arabic / right-to-left adjustments. Loaded ONLY on Arabic pages
 * (<html lang="ar" dir="rtl">), after every other stylesheet.
 *
 * Most of the layout mirrors by itself: flex rows, grids, margin-inline and
 * text-align: start already follow the page direction. This file only fixes
 * what was written with physical left/right values, plus Arabic typography.
 * Nothing here changes colours, sizes, spacing or components.
 */

/* ── Typography ──────────────────────────────────────────────────────────
 * Space Grotesk has no Arabic letters, so Arabic text uses IBM Plex Sans
 * Arabic (similar clean geometric style). Latin words and numbers keep
 * Space Grotesk, exactly as on the English site. */
:root {
	--font-base: "Space Grotesk", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] body {
	font-family: var(--font-base);
	--word-spacing: 0.04em;
	--line-height-body: 1.7;
}
/* Letter-spacing breaks joined Arabic letters apart. */
[dir="rtl"] *,
[dir="rtl"] *::before,
[dir="rtl"] *::after {
	letter-spacing: normal !important;
}
/* Arabic needs a touch more line height so dots/diacritics don't collide. */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
	line-height: 1.35;
}
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
	font-family: inherit;
}
/* Emails, phone numbers, URLs stay left-to-right inside Arabic text. */
[dir="rtl"] a[href^="mailto:"],
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"] {
	direction: ltr;
	unicode-bidi: plaintext;
}
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"] {
	text-align: right;
}

/* ── Directional icons ───────────────────────────────────────────────────
 * Text arrows (→) are flipped in the page output, so only SVG arrows are
 * mirrored here. */
[dir="rtl"] .ins-article-nav__link svg {
	transform: scaleX(-1);
}

/* ── Header & mega menus ───────────────────────────────────────────────── */
[dir="rtl"] .site-nav__submenu { left: auto; right: 0; }
/* First item (Solutions) now sits on the right: open towards the left. */
[dir="rtl"] .mega-panel--solutions { left: auto; right: 0; }
[dir="rtl"] .mega-panel--resources,
[dir="rtl"] .mega-panel--products { left: auto; right: 0; }
[dir="rtl"] .site-nav__item--mega:hover .mega-panel--products,
[dir="rtl"] .site-nav__item--mega:focus-within .mega-panel--products { transform: translate(var(--mega-nudge), 0); }
@media (max-width: 1220px) {
	[dir="rtl"] .site-nav__item--mega .mega-panel { transform: none; }
}

/* Language switcher */


/* ── Heroes: text now on the right, image on the left ─────────────────── */
[dir="rtl"] .hero__content {
	padding-right: clamp(var(--space-md), calc((100vw - var(--container-width)) / 2 + var(--space-md)), 4rem);
	padding-left: var(--space-lg);
}
[dir="rtl"] .hero__media::after {
	--color-accent-text: var(--color-accent);
	background:
		linear-gradient(270deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 38%),
		linear-gradient(0deg, rgba(15,24,71,0.55) 0%, rgba(15,24,71,0) 30%);
}
[dir="rtl"] .hero__image[src*="warehouse-scanner"] {
	-webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 52%);
	mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 18%, #000 52%);
}
[dir="rtl"] .hero__media:has(.hero__image[src*="warehouse-scanner"])::after {
	background: linear-gradient(0deg, rgba(15, 24, 71, .45) 0%, rgba(15, 24, 71, 0) 28%);
}
[dir="rtl"] .page-hero__content {
	padding-right: clamp(var(--space-md), calc((100vw - var(--container-width)) / 2 + var(--space-md)), 4rem);
	padding-left: var(--space-lg);
}
[dir="rtl"] .dark-hero,
[dir="rtl"] .crrs-hero,
[dir="rtl"] .ctct-hero {
	background-position: center left;
}
[dir="rtl"] .dark-hero::before,
[dir="rtl"] .ctct-hero::before {
	background: linear-gradient(270deg, rgba(15,24,71,0.97) 0%, rgba(15,24,71,0.88) 50%, rgba(15,24,71,0.4) 80%, rgba(15,24,71,0.1) 100%);
}
[dir="rtl"] .crrs-hero::before {
	background: linear-gradient(270deg, rgba(15,24,71,0.97) 0%, rgba(15,24,71,0.85) 45%, rgba(15,24,71,0.4) 75%, rgba(15,24,71,0.1) 100%);
}
/* Homepage hero floating cards: mirror their corners. */
[dir="rtl"] .hero__stat-card--primary { left: auto; right: 2rem; }
[dir="rtl"] .hero__stat-card--secondary { right: auto; left: 2rem; }

@media (max-width: 960px) {
	[dir="rtl"] .hero__content,
	[dir="rtl"] .page-hero__content { padding-inline: var(--space-md); }
	[dir="rtl"] .hero__media::after {
	--color-accent-text: var(--color-accent); background: linear-gradient(180deg, var(--color-navy-950) 0%, rgba(15,24,71,0) 35%); }
}

/* ── Small physical offsets that should follow the text direction ──────── */
[dir="rtl"] .site-footer__col a:hover { transform: translateX(-4px); }
[dir="rtl"] .about-journey__timeline { border-left: 0; border-right: 2px solid var(--color-accent); }
[dir="rtl"] .about-journey__timeline > * > ::before,
[dir="rtl"] .about-journey__item::before { left: auto; right: -7px; }
[dir="rtl"] .ins-article-nav__link--next { text-align: left; margin-left: 0; margin-right: auto; }
[dir="rtl"] .resources-card--doc { border-left: 0; border-right: 3px solid var(--color-accent); }
[dir="rtl"] .resources-card--doc-corporate { border-right-color: #2b5ce6; }
[dir="rtl"] .resources-card--doc-services { border-right-color: #1d9e8f; }
[dir="rtl"] .resources-card--doc-checklist { border-right-color: #7c3aed; }
[dir="rtl"] .contact-form__errors ul,
[dir="rtl"] .ctct-form__errors ul { padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] blockquote { border-left: 0; border-right: 3px solid var(--color-accent); }
[dir="rtl"] .crrs-why__item,
[dir="rtl"] .crrs-culture__card { text-align: right; }

/* Tables */
[dir="rtl"] th,
[dir="rtl"] td { text-align: right; }

