/* ══════════════════════════════════════════════════════════════
   FTS GROUP LANDING
   Design system lifted from the FTS business card:
   near-black field, gold gradient, 45°-rotated rounded-square
   lattice, Egyptian corner motifs.
   ══════════════════════════════════════════════════════════════ */

/* ────── Reset ────── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ══════════════════════════════════════════
   TOKENS — dark is the default
   ══════════════════════════════════════════ */
:root {
	/* ---- Surface (never pure black — it flattens) ---- */
	--bg: #07070a;
	--surface: #0e0e13;
	--surface-2: #16161d;
	--surface-3: #1e1e27;

	--text: #f7f6f3;
	--text-dim: #a6a6b2;
	--text-muted: #858594; /* ≥4.5:1 on bg, surface and surface-2 (WCAG AA small text) */

	/* ---- Gold ----
	   --gold is tuned to read as TEXT on the void (passes AA); the deeper
	   #C9A227 lives inside the gradients/borders where fill, not contrast,
	   is what matters. */
	--gold: #e8c55a; /* the readable "gold ink" */
	--gold-lit: #f3dfa2;
	--gold-solid: #c9a227; /* brand gold — fills, accent bars */
	--gold-deep: #8a6a14;
	--gold-muted: #c9a227;
	/* flat gold (kept as a gradient so background-clip:text still works) */
	--gold-grad: linear-gradient(#d4ad35, #d4ad35);
	--gold-soft: rgba(201, 162, 39, 0.1);
	--gold-softer: rgba(201, 162, 39, 0.05);

	/* Signature sweep gradient (rides the 1px card edge) */
	--grad-sweep: linear-gradient(
		115deg,
		transparent 0%,
		rgba(243, 223, 162, 0) 35%,
		rgba(243, 223, 162, 0.22) 50%,
		rgba(243, 223, 162, 0) 65%,
		transparent 100%
	);
	--grad-hairline: linear-gradient(
		90deg,
		transparent,
		var(--gold-solid) 50%,
		transparent
	);

	--border: rgba(201, 162, 39, 0.14);
	--border-strong: rgba(201, 162, 39, 0.34);
	--hairline: rgba(255, 255, 255, 0.07);

	--shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
	--glow: 0 0 40px rgba(201, 162, 39, 0.16);

	/* ---- Type ---- */
	--font-en: "Archivo", "Cairo", sans-serif; /* Latin display */
	--font-body: "Inter", "Cairo", system-ui, sans-serif; /* Latin body */
	--font-ar: "Cairo", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--font-ui: var(--font-body);
	--font-head: var(--font-en); /* headings — Archivo (en) / Cairo (ar) */

	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 20px;
	--r-xl: 28px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-inout: cubic-bezier(0.65, 0.05, 0.36, 1);
	--t: 0.4s var(--ease);

	--nav-h: 76px;
	--drawer-w: 480px;
	--maxw: 1280px;
}

/* ══════════════════════════════════════════
   LIGHT THEME
   ══════════════════════════════════════════ */
[data-theme="light"] {
	--bg: #faf8f3;
	--surface: #ffffff;
	--surface-2: #f4f0e6;
	--surface-3: #ebe5d6;

	--text: #14100a;
	--text-dim: rgba(13, 13, 13, 0.65);
	--text-muted: rgba(13, 13, 13, 0.6); /* ≥4.5:1 on bg, surface and surface-2 */

	--gold: #8a6727; /* readable gold on light */
	--gold-lit: #c9a227;
	--gold-solid: #b8860b;
	--gold-deep: #8a6727;
	--gold-muted: #8a6727;
	--gold-grad: linear-gradient(#b8860b, #b8860b);
	--gold-soft: rgba(184, 134, 11, 0.09);
	--gold-softer: rgba(184, 134, 11, 0.04);

	--grad-sweep: linear-gradient(
		115deg,
		transparent 0%,
		rgba(184, 134, 11, 0) 35%,
		rgba(184, 134, 11, 0.18) 50%,
		rgba(184, 134, 11, 0) 65%,
		transparent 100%
	);
	--grad-hairline: linear-gradient(
		90deg,
		transparent,
		var(--gold-solid) 50%,
		transparent
	);

	--border: rgba(184, 134, 11, 0.22);
	--border-strong: rgba(184, 134, 11, 0.45);
	--hairline: rgba(13, 13, 13, 0.08);

	--shadow: 0 8px 26px rgba(90, 70, 20, 0.08);
	--shadow-lg: 0 20px 50px rgba(90, 70, 20, 0.14);
	--glow: 0 0 40px rgba(184, 134, 11, 0.12);
}

/* Arabic uses Cairo for both body and headings; never let Archivo set Arabic. */
html[lang="ar"] {
	--font-ui: var(--font-ar);
	--font-head: var(--font-ar);
}
/* Brand names/wordmark stay Latin (Archivo) even inside an Arabic page,
   but only when the text itself is Latin. */
html[lang="ar"] .latin {
	font-family: var(--font-en);
}
/* The small mono labels are a Latin treatment: JetBrains Mono has no Arabic
   glyphs, and tracking pulls Arabic's joined letters apart. Arabic gets
   Cairo, no tracking, and a size that stays legible without the caps. */
html[lang="ar"] .eyebrow,
html[lang="ar"] .stat__label,
html[lang="ar"] .team-org,
html[lang="ar"] .field label,
html[lang="ar"] .map-link,
html[lang="ar"] .breadcrumb,
html[lang="ar"] .soon-banner,
html[lang="ar"] .footer-nav a {
	font-family: var(--font-ar);
	letter-spacing: 0;
	font-size: 13px;
}

/* ══════════════════════════════════════════
   BASE
   ══════════════════════════════════════════ */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-ui);
	line-height: 1.7;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	transition:
		background 0.5s var(--ease),
		color 0.5s var(--ease);
}

/* Brand names stay Latin in both languages */
.latin {
	font-family: var(--font-en);
}

img {
	max-width: 100%;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

/* The HTML ships with Arabic copy baked in (for crawlers / no-JS). For a
   visitor whose language is English, keep that text invisible until
   app.js / site.js has swapped it, so there is no Arabic flash. */
html[lang="en"]:not(.i18n-ready) [data-i18n],
html[lang="en"]:not(.i18n-ready) [data-i18n-html] {
	visibility: hidden;
}

/* ══════════════════════════════════════════
   SIGNATURE — grain, ambient wash, hairline, sweep
   The restrained replacement for the old lattice field.
   ══════════════════════════════════════════ */

/* Global grain @ ~3.5% — the cheapest thing that stops a dark theme
   reading like a bootstrap template. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] body::after {
	opacity: 0.02;
}

/* Ambient gold wash — very restrained */
.glow-field {
	display: none;
}

/* Gold hairline divider — reads as a light catch, not a rule */
.hairline {
	height: 1px;
	border: 0;
	margin: 0;
	background: var(--grad-hairline);
	opacity: 0.45;
}

/* THE SIGNATURE: gold sweep across a card edge (masked to a 1px ring) */
.sweep {
	position: relative;
	isolation: isolate;
}
.sweep::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: var(--grad-sweep);
	background-size: 250% 100%;
	background-position: 120% 0;
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	transition: background-position 900ms var(--ease-inout);
	pointer-events: none;
	z-index: 4;
}
.sweep:hover::after,
.sweep:focus-within::after,
.sweep.is-swept::after {
	background-position: -60% 0;
}

/* Skip link — a11y + a small UX signal */
.skip {
	position: fixed;
	inset-inline-start: 16px;
	top: -100px;
	z-index: 999;
	padding: 12px 22px;
	border-radius: var(--r-sm);
	background: var(--gold-grad);
	color: #14100a;
	font-weight: 700;
	text-decoration: none;
	transition: top 0.2s var(--ease);
}
.skip:focus {
	top: 16px;
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--nav-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-inline: 40px;
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid var(--hairline);
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 13px;
	text-decoration: none;
	flex-shrink: 0;
	transition: opacity 0.2s;
}
.nav-brand:hover {
	opacity: 0.82;
}

.nav-brand img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: var(--r-sm);
}

.nav-brand-name {
	display: block;
	font-family: var(--font-en);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--text);
}

.nav-brand-sub {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-muted);
	line-height: 1.5;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin-inline-start: auto;
}

.nav-links a {
	display: block;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dim);
	text-decoration: none;
	border: 1px solid transparent;
	transition: all var(--t);
	white-space: nowrap;
}

.nav-links a:hover {
	color: var(--text);
	background: var(--gold-soft);
}

.nav-links a.active {
	color: var(--gold);
	background: var(--gold-soft);
	border-color: var(--border-strong);
}

/* ── Nav controls: theme + lang + menu ── */
.nav-ctrls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Hamburger — only exists below the tablet breakpoint.
   Compound selector so it outranks .ctrl's display:flex. */
.ctrl.nav-burger {
	display: none;
}

.ctrl {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	min-width: 40px;
	padding-inline: 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-dim);
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: all var(--t);
}

.ctrl:hover {
	color: var(--gold);
	border-color: var(--border-strong);
	background: var(--gold-soft);
	transform: translateY(-1px);
}

.ctrl svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Show only the icon for the theme the click will switch TO */
.icon-sun {
	display: none;
}
[data-theme="light"] .icon-sun {
	display: block;
}
[data-theme="light"] .icon-moon {
	display: none;
}

/* ══════════════════════════════════════════
   SECTION SHELL
   ══════════════════════════════════════════ */
main,
footer {
	position: relative;
	z-index: 1;
}

.section {
	position: relative;
	padding: 110px 40px;
}

.inner {
	max-width: var(--maxw);
	margin-inline: auto;
	position: relative;
}

.section-head {
	text-align: center;
	margin-bottom: 64px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
}

.eyebrow::before {
	content: "";
	inline-size: 28px;
	block-size: 1px;
	background: var(--gold-solid);
}
/* Hero eyebrow = legal name · city. The spaced-caps English is too wide for
   a phone, so there the city drops to its own centred line, without the dot. */
@media (max-width: 480px) {
	html[lang="en"] .hero .eyebrow {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 6px;
	}
	html[lang="en"] .hero .eyebrow__sep {
		display: none;
	}
	html[lang="en"] .hero .eyebrow__city {
		flex-basis: 100%;
		text-align: center;
	}
}

.section-title {
	font-family: var(--font-head);
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
html[lang="en"] .section-title {
	font-stretch: 112%;
}

.section-desc {
	max-width: 640px;
	margin-inline: auto;
	font-size: 17px;
	color: var(--text-dim);
	line-height: 1.8;
}

.gold-text {
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.rule {
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: var(--gold-grad);
	margin: 0 auto 26px;
}

/* ── Reveal on scroll ── */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.55s var(--ease),
		transform 0.55s var(--ease);
}
.reveal.in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
	position: relative;
	min-height: calc(100vh - var(--nav-h));
	display: flex;
	align-items: center;
	padding: 90px 40px 110px;
	overflow: hidden;
}

.hero-inner {
	max-width: var(--maxw);
	margin-inline: auto;
	width: 100%;
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero-glow {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(
		60% 50% at 50% 0%,
		rgba(201, 162, 39, 0.16) 0%,
		rgba(201, 162, 39, 0.05) 45%,
		transparent 72%
	);
}

/* Hero globe — behind the hero copy, softly masked to a vignette */
.hero-globe {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.42;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-mask-image: radial-gradient(
		62% 62% at 50% 46%,
		#000 42%,
		transparent 100%
	);
	mask-image: radial-gradient(62% 62% at 50% 46%, #000 42%, transparent 100%);
}
.hero-globe canvas {
	width: 100%;
	height: 100%;
	display: block;
}
.hero-globe__fallback {
	display: none;
	width: min(72vw, 460px);
	height: auto;
}
@media (max-width: 900px) {
	.hero-globe {
		opacity: 0.3;
	}
	.hero-globe__fallback {
		display: block;
	}
}
/* globe.js sets .is-live once the WebGL canvas is mounted — at that point
   the static image is redundant at every breakpoint. */
.hero-globe.is-live .hero-globe__fallback {
	display: none;
}

.hero-wordmark {
	font-family: var(--font-en);
	font-stretch: 112%;
	font-size: clamp(58px, 11vw, 150px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.03em;
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 6px;
}

.hero-title {
	font-size: clamp(20px, 2.6vw, 32px);
	font-weight: 600;
	color: var(--text);
	letter-spacing: 0.01em;
	margin-bottom: 22px;
}

.hero-divider {
	width: min(420px, 70%);
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--gold),
		var(--gold-deep),
		transparent
	);
	margin: 0 auto 28px;
}

.hero-desc {
	max-width: 720px;
	margin-inline: auto;
	font-size: clamp(15px, 1.4vw, 18px);
	color: var(--text-dim);
	line-height: 1.9;
	margin-bottom: 40px;
}

.hero-cta {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 32px;
	border-radius: 999px;
	font-family: var(--font-ui);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all var(--t);
	white-space: nowrap;
}

.btn-primary {
	background: var(--gold-grad);
	color: #050505;
	box-shadow: 0 6px 24px rgba(184, 134, 11, 0.3);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 34px rgba(245, 197, 66, 0.42);
}

.btn-ghost {
	background: transparent;
	color: var(--gold);
	border-color: var(--border-strong);
}
.btn-ghost:hover {
	background: var(--gold-soft);
	transform: translateY(-2px);
}

.btn svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

/* ── Egyptian corner motifs (hero only) ── */
.motif {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	opacity: var(--motif-op);
	filter: invert(64%) sepia(54%) saturate(415%) hue-rotate(1deg)
		brightness(101%) contrast(101%);
	transition: opacity 0.5s var(--ease);
}

.motif-lotus {
	bottom: 42px;
	inset-inline-start: 44px;
	width: clamp(56px, 7vw, 104px);
}

.motif-pyramid {
	bottom: 38px;
	inset-inline-end: 46px;
	width: clamp(60px, 7.5vw, 112px);
}

.motif-egypt {
	top: 34px;
	inset-inline-end: 52px;
	width: clamp(46px, 5.5vw, 84px);
}

/* ══════════════════════════════════════════
   ORG CHART
   ══════════════════════════════════════════ */
.org {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.org-parent {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 24px 34px;
	border-radius: var(--r-xl);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	box-shadow:
		var(--shadow),
		var(--glow);
	position: relative;
	overflow: hidden;
}

.org-parent::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gold-grad);
	opacity: 0.06;
	pointer-events: none;
}

.org-parent img {
	width: 58px;
	height: 58px;
	object-fit: contain;
	border-radius: var(--r-sm);
	flex-shrink: 0;
}

.org-parent-name {
	font-family: var(--font-en);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.org-parent-sub {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: 3px;
}

/* ── Connectors ── */
.org-stem {
	width: 2px;
	height: 40px;
	background: linear-gradient(to bottom, var(--border-strong), var(--border));
}

.org-bar {
	width: 100%;
	max-width: 860px;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--border-strong) 16%,
		var(--border-strong) 84%,
		transparent
	);
}

.org-branches {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	width: 100%;
	max-width: 1000px;
}

.org-branch {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

/* Cards sit in a stretched grid row; filling it keeps all three the
   same height even when a company name wraps to two lines. */
.org-branch > .co-card {
	flex: 1;
}

.org-branch-stem {
	width: 2px;
	height: 28px;
	background: var(--border-strong);
}

/* ── Company card ── */
.co-card {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 32px 22px 26px;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	cursor: pointer;
	text-align: center;
	overflow: hidden;
	transition: all var(--t);
	font: inherit;
	color: inherit;
}

/* Accent bar per company */
.co-card::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: var(--accent, var(--gold));
	opacity: 0.7;
	transition: opacity var(--t);
}

.co-card:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	box-shadow:
		var(--shadow-lg),
		var(--glow);
}
.co-card:hover::before {
	opacity: 1;
}

.co-card img {
	width: 62px;
	height: 62px;
	object-fit: contain;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.9);
	padding: 5px;
}

.co-name {
	font-family: var(--font-en);
	font-size: clamp(17px, 1.4vw, 20px);
	font-weight: 800;
	line-height: 1.3;
}

.co-tagline {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.6;
}

.co-services {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: center;
	list-style: none;
	margin-top: 2px;
}

.co-services li {
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gold);
	background: var(--gold-soft);
	border: 1px solid var(--border);
	white-space: nowrap;
}

.co-hint {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	/* Always visible: it's the only cue that the card opens something. */
	color: var(--gold);
	opacity: 0.8;
	transition: opacity var(--t);
}
.co-hint svg {
	transition: transform var(--t);
}

.co-card:hover .co-hint,
.co-card:focus-visible .co-hint {
	opacity: 1;
}
.co-card:hover .co-hint svg,
.co-card:focus-visible .co-hint svg {
	transform: translateX(3px);
}
[dir="rtl"] .co-card:hover .co-hint svg,
[dir="rtl"] .co-card:focus-visible .co-hint svg {
	transform: translateX(-3px) scaleX(-1);
}

/* Arrow flips with direction */
.co-hint svg,
.link-arrow svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}
[dir="rtl"] .co-hint svg,
[dir="rtl"] .link-arrow svg {
	transform: scaleX(-1);
}

/* ── Coming soon state ──
   Still clickable: the drawer explains what's coming. */
.co-card.soon > *:not(.soon-badge) {
	opacity: 0.42;
	filter: blur(1.3px);
}

.co-card.soon:hover {
	transform: none;
	box-shadow: var(--shadow);
	border-color: var(--border);
}

.soon-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	padding: 8px 22px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--gold);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	box-shadow: var(--shadow);
	white-space: nowrap;
}

/* ══════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════ */
.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 13px;
	padding: 32px 18px 26px;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	transition: all var(--t);
}

.team-card:hover {
	transform: translateY(-5px);
	border-color: var(--border-strong);
	box-shadow:
		var(--shadow-lg),
		var(--glow);
}

.team-photo {
	position: relative;
	width: 106px;
	height: 106px;
	border-radius: 50%;
	padding: 3px;
	background: var(--gold-grad);
	flex-shrink: 0;
}

.team-photo img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	border: 3px solid var(--surface);
	display: block;
}

.team-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.team-role {
	font-size: 13px;
	font-weight: 500;
	color: var(--gold-muted);
	line-height: 1.6;
}

.team-profile-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	padding: 8px 15px;
	border-radius: 999px;
	background: var(--gold-grad);
	color: #050505;
	font-family: var(--font-ui);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: all var(--t);
}

.team-profile-btn svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.team-profile-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

/* ══════════════════════════════════════════
   CLIENTS
   ══════════════════════════════════════════ */
/* ── Clients marquee — full-bleed, gold-masked, pauses on hover ── */
.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent,
		#000 8%,
		#000 92%,
		transparent
	);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 30px;
	inline-size: max-content;
	animation: drift 46s linear infinite;
}
.marquee:hover .marquee__track {
	animation-play-state: paused;
}
/* In RTL the track is anchored to the right edge and overflows leftward, so
   it must travel right; reversing the LTR keyframes pushed it off-screen. */
[dir="rtl"] .marquee__track {
	animation-name: drift-rtl;
}
.marquee__clone {
	display: contents;
}

@keyframes drift {
	to {
		transform: translateX(-50%);
	}
}
@keyframes drift-rtl {
	to {
		transform: translateX(50%);
	}
}

.marquee img {
	block-size: 48px;
	inline-size: 156px; /* uniform box tames the mixed-quality logos */
	object-fit: contain;
	/* Most client logos are dark-on-white, so lift them onto a white chip
	   rather than letting them vanish into the void. */
	background: #fff;
	border-radius: 8px;
	padding: 8px 12px;
	filter: grayscale(1);
	opacity: 0.72;
	transition:
		filter var(--t),
		opacity var(--t);
}
.marquee img:hover {
	filter: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.marquee {
		overflow-x: auto;
	}
	.marquee__track {
		animation: none;
	}
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact-card {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 68px 40px;
	border-radius: var(--r-xl);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	box-shadow:
		var(--shadow-lg),
		var(--glow);
}

.contact-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gold-grad);
	opacity: 0.05;
	pointer-events: none;
}

.contact-card > * {
	position: relative;
}

.contact-rows {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 34px;
	margin-top: 32px;
}

.contact-row {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dim);
	text-decoration: none;
	transition: color var(--t);
}

.contact-row:hover {
	color: var(--gold);
}

.contact-row svg {
	width: 19px;
	height: 19px;
	flex-shrink: 0;
	fill: url(#goldGrad);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
	border-top: 1px solid var(--hairline);
	background: var(--surface);
	padding: 34px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-brand img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	border-radius: 7px;
}

.footer-brand strong {
	font-family: var(--font-en);
	font-size: 16px;
	font-weight: 800;
	display: block;
	line-height: 1.2;
}

.footer-brand span {
	font-size: 11px;
	color: var(--gold-muted);
	font-weight: 600;
	letter-spacing: 0.06em;
}

.footer-copy {
	font-size: 13px;
	color: var(--text-muted);
}

footer a {
	color: var(--gold);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}
footer a:hover {
	text-decoration: underline;
}

/* ══════════════════════════════════════════
   DRAWER
   ══════════════════════════════════════════ */
.scrim {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(0, 0, 0, 0.62);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s var(--ease);
}
.scrim.open {
	opacity: 1;
	pointer-events: auto;
}

.drawer {
	position: fixed;
	top: 0;
	inset-inline-end: 0;
	z-index: 210;
	width: var(--drawer-w);
	max-width: 100vw;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border-inline-start: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	transition: transform 0.5s var(--ease);
	overflow: hidden;
}

/* In RTL the drawer sits on the left, so it must slide the other way */
[dir="rtl"] .drawer {
	transform: translateX(-100%);
}

.drawer.open {
	transform: translateX(0);
}

.drawer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: var(--accent, var(--gold));
	z-index: 2;
}

.drawer-head {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 24px 26px;
	border-bottom: 1px solid var(--hairline);
	flex-shrink: 0;
}

.drawer-head img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: var(--r-sm);
	background: rgba(255, 255, 255, 0.9);
	padding: 4px;
	flex-shrink: 0;
}

.drawer-head-txt {
	flex: 1;
	min-width: 0;
}

.drawer-title {
	font-family: var(--font-en);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
}

.drawer-sub {
	font-size: 12px;
	color: var(--gold-muted);
	font-weight: 600;
	line-height: 1.5;
}

.drawer-close {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text-dim);
	cursor: pointer;
	font-size: 17px;
	transition: all var(--t);
}

.drawer-close:hover {
	color: var(--gold);
	border-color: var(--border-strong);
	background: var(--gold-soft);
	transform: rotate(90deg);
}

.drawer-body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.drawer-body::-webkit-scrollbar {
	width: 5px;
}
.drawer-body::-webkit-scrollbar-thumb {
	background: var(--border-strong);
	border-radius: 4px;
}

.block-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.block-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--hairline);
}

/* ── Services chips ── */
.drawer-services {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.drawer-services li {
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gold);
	background: var(--gold-soft);
	border: 1px solid var(--border);
}

/* ── Links ── */
.drawer-links {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.drawer-link {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 13px 16px;
	border-radius: var(--r-sm);
	background: var(--surface-2);
	border: 1px solid transparent;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all var(--t);
}

.drawer-link:hover {
	background: var(--gold-soft);
	border-color: var(--border-strong);
	color: var(--gold);
}

.drawer-link svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	fill: url(#goldGrad);
}

.link-arrow {
	margin-inline-start: auto;
	color: var(--text-muted);
	display: flex;
	transition: transform var(--t);
}

.drawer-link:hover .link-arrow {
	transform: translateX(3px);
	color: var(--gold);
}
[dir="rtl"] .drawer-link:hover .link-arrow {
	transform: translateX(-3px);
}

/* ── QR grid ── */
.drawer-qr {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.qr-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	padding: 14px;
	border-radius: var(--r-md);
	background: var(--surface-2);
	border: 1px solid var(--border);
	transition: all var(--t);
}

.qr-item:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px);
}

/* QR codes must stay black-on-white to remain scannable in dark mode */
.qr-item img {
	width: 100%;
	max-width: 132px;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 7px;
	background: #fff;
	padding: 6px;
	display: block;
}

.qr-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-dim);
	text-align: center;
	line-height: 1.4;
}

/* Open-link button under the code — for visitors who can't scan
   the screen they're reading. Sits flush to the card edges. */
.qr-open {
	margin-top: auto;
	width: 100%;
	justify-content: center;
	padding: 7px 12px;
	font-size: 12px;
	background: transparent;
	color: var(--gold);
}

.qr-open svg {
	width: 13px;
	height: 13px;
}

.qr-open:hover {
	background: var(--gold-soft);
	border-color: var(--gold);
}

/* ── Brochures ── */
.drawer-brochures {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.brochure {
	padding: 17px 18px;
	border-radius: var(--r-md);
	background: var(--surface-2);
	border: 1px solid var(--border);
	transition: all var(--t);
}

.brochure:hover {
	border-color: var(--border-strong);
}

.brochure-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 5px;
}

.brochure-desc {
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.65;
	margin-bottom: 14px;
}

.brochure-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.btn-sm {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border-radius: 999px;
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid var(--border-strong);
	transition: all var(--t);
}

.btn-sm svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.btn-online {
	background: var(--gold-grad);
	color: #050505;
	border-color: transparent;
}
.btn-online:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

.btn-download {
	background: transparent;
	color: var(--gold);
}
.btn-download:hover {
	background: var(--gold-soft);
	transform: translateY(-2px);
}

/* ── Coming-soon panel (replaces all blocks) ── */
.drawer-soon {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 14px;
	padding: 40px 20px;
}

.drawer-soon-icon {
	width: 74px;
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	background: var(--gold-soft);
	font-size: 32px;
}

.drawer-soon h4 {
	font-size: 21px;
	font-weight: 800;
	color: var(--gold);
}

.drawer-soon p {
	max-width: 300px;
	font-size: 14px;
	color: var(--text-dim);
	line-height: 1.75;
}

/* ══════════════════════════════════════════
   STATS BAND (hero)
   ══════════════════════════════════════════ */
.stats {
	display: grid;
	/* Three counts: one row at every width, never a 2+1 orphan. */
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	max-width: 760px;
	margin-inline: auto;
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--hairline);
}

.stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.stat__num {
	font-family: var(--font-head);
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
html[lang="en"] .stat__num {
	font-stretch: 112%;
}

.stat__label {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-align: center;
	line-height: 1.5;
}

/* ══════════════════════════════════════════
   TEAM HIERARCHY
   Chairman spans the whole row; the two CEOs take a
   double column each on desktop; everyone else fills the grid.
   ══════════════════════════════════════════ */
.team-grid {
	align-items: stretch;
}
/* Chairman: photo beside one compact, start-aligned text column, centred in
   the full-width card — instead of name/role/orgs/button strung across it. */
.team-card--chair {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: auto minmax(0, 420px);
	justify-content: center;
	align-content: center;
	column-gap: 32px;
	row-gap: 8px;
	text-align: start;
}
.team-card--chair .team-photo {
	grid-row: 1 / span 4;
	align-self: center;
	width: 132px;
	height: 132px;
}
.team-card--chair > :not(.team-photo) {
	grid-column: 2;
	justify-self: start;
}
@media (min-width: 900px) {
	.team-card--ceo {
		grid-column: span 2;
	}
}

.team-org {
	margin-top: 4px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--gold);
}

/* ══════════════════════════════════════════
   CONTACT FORM + MAP
   ══════════════════════════════════════════ */
.contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 620px;
	margin: 36px auto 0;
	text-align: start;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.field input,
.field textarea {
	width: 100%;
	padding: 13px 15px;
	border-radius: var(--r-sm);
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
	font-family: var(--font-ui);
	font-size: 15px;
	transition:
		border-color var(--t),
		box-shadow var(--t);
}
.field textarea {
	resize: vertical;
	min-height: 108px;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--border-strong);
	box-shadow: 0 0 0 3px var(--gold-softer);
}

.form-actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.contact-form .btn {
	min-height: 48px;
	justify-content: center;
}
@media (max-width: 480px) {
	.form-actions .btn {
		flex: 1 1 100%;
	}
}

.contact-foot {
	margin-top: 26px;
}

/* Desktop: details and form side by side, so the one-line strip of details
   no longer runs wider than the form beneath it. Header spans both columns. */
@media (min-width: 900px) {
	.contact-card {
		display: grid;
		grid-template-columns: minmax(0, 340px) minmax(0, 560px);
		justify-content: center;
		column-gap: 64px;
		align-items: start;
		/* Last row is 1fr so the taller form's extra height lands there,
		   keeping the map link snug under the details instead of pushed down.
		   /contact/ has no header inside the card, hence two row patterns. */
		grid-template-rows: auto 1fr;
	}
	.contact-card:has(> .section-title) {
		grid-template-rows: auto auto auto auto 1fr;
	}
	.contact-card > .eyebrow,
	.contact-card > .section-title,
	.contact-card > .section-desc {
		grid-column: 1 / -1;
		justify-self: center;
	}
	.contact-rows {
		grid-column: 1;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		margin-top: 36px;
		padding-inline-end: 40px;
		border-inline-end: 1px solid var(--hairline);
		text-align: start;
	}
	.contact-form {
		grid-column: 2;
		grid-row: span 2;
		max-width: none;
		margin: 36px 0 0;
	}
	.contact-foot {
		grid-column: 1;
		justify-self: start;
	}
}

.map-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
	transition: color var(--t);
}
.map-link:hover {
	color: var(--gold-lit);
}
.map-link .icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
	.team-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	/* Two span-2 CEO cards can't share a 3-column row and would each leave
	   an empty cell — keep them single-width until the 4-column layout. */
	.team-card--ceo {
		grid-column: auto;
	}

	.ctrl.nav-burger {
		display: flex;
	}

	/* Full-screen overlay menu (replaces the old dropdown).
	   The navbar's backdrop-filter makes it the containing block for this
	   fixed child, so `inset:0` would collapse to the 76px navbar height —
	   we set an explicit viewport height instead. */
	.nav-links {
		position: fixed;
		top: 0;
		inset-inline: 0;
		height: 100dvh;
		z-index: 90;
		flex-direction: column;
		align-content: center;
		align-items: center;
		justify-content: center;
		gap: 22px;
		margin: 0;
		padding: var(--nav-h) 24px calc(24px + env(safe-area-inset-bottom));
		/* Solid so it reliably covers the page even where backdrop-filter
		   (GPU) is unavailable; the blur is a progressive enhancement. */
		background: var(--bg);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);

		opacity: 0;
		visibility: hidden;
		transition:
			opacity 0.32s var(--ease),
			visibility 0.32s;
	}

	.nav-links.open {
		opacity: 1;
		visibility: visible;
	}

	.nav-links a {
		min-height: 48px;
		display: flex;
		align-items: center;
		padding: 6px 18px;
		font-size: clamp(22px, 6vw, 30px);
		font-weight: 700;

		opacity: 0;
		transform: translateY(16px);
		transition:
			opacity 0.32s var(--ease),
			transform 0.32s var(--ease),
			color var(--t),
			background var(--t);
	}
	.nav-links.open a {
		opacity: 1;
		transform: none;
	}
	.nav-links.open li:nth-child(1) a {
		transition-delay: 60ms;
	}
	.nav-links.open li:nth-child(2) a {
		transition-delay: 110ms;
	}
	.nav-links.open li:nth-child(3) a {
		transition-delay: 160ms;
	}
	.nav-links.open li:nth-child(4) a {
		transition-delay: 210ms;
	}

	/* Burger sits above the overlay so it can close it */
	.ctrl.nav-burger {
		position: relative;
		z-index: 95;
	}
}

@media (max-width: 860px) {
	.section {
		padding: 80px 24px;
	}
	.hero {
		padding: 64px 24px 90px;
		min-height: auto;
	}
	.navbar {
		padding-inline: 20px;
	}
	.nav-brand-sub {
		display: none;
	}

	.org-branches {
		grid-template-columns: 1fr;
		max-width: 380px;
		gap: 18px;
	}
	.org-bar,
	.org-branch-stem,
	.org-stem {
		display: none;
	}
	.org-branches {
		margin-top: 34px;
	}

	:root {
		--drawer-w: 100vw;
	}
}

@media (max-width: 640px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.section {
		padding: 64px 18px;
	}
	.contact-card {
		padding: 48px 22px;
	}
	.btn {
		padding: 13px 24px;
		font-size: 14px;
	}
	footer {
		flex-direction: column;
		text-align: center;
		padding: 28px 20px;
	}
	.drawer-qr {
		grid-template-columns: 1fr 1fr;
	}
}

/* Phones: two columns squeezed titles into 3–4 lines and wrapped the button.
   One column of compact rows (photo beside text) reads cleanly and keeps
   seven people from becoming seven screens of scrolling. */
@media (max-width: 560px) {
	.team-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.team-card,
	.team-card--chair {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		justify-content: stretch;
		align-content: center;
		column-gap: 16px;
		row-gap: 6px;
		padding: 18px;
		text-align: start;
	}
	.team-card .team-photo,
	.team-card--chair .team-photo {
		grid-row: 1 / span 4;
		align-self: start;
		width: 76px;
		height: 76px;
	}
	.team-card > :not(.team-photo) {
		grid-column: 2;
		justify-self: start;
	}
	.team-profile-btn {
		margin-top: 6px;
	}
}

@media (max-width: 420px) {
	.team-grid,
	.clients-grid {
		grid-template-columns: 1fr;
	}
	.ctrl {
		padding-inline: 9px;
		font-size: 12px;
	}
	.nav-brand img {
		width: 36px;
		height: 36px;
	}
}

/* ══════════════════════════════════════════
   ROUTE / CONTENT PAGES
   ══════════════════════════════════════════ */
.page-hero {
	padding-block: calc(var(--nav-h) + 48px) 40px;
	padding-inline: 40px;
	position: relative;
}
.page-hero .inner {
	text-align: start;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--text-muted);
}
.breadcrumb a {
	color: var(--gold);
	text-decoration: none;
}
.breadcrumb a:hover {
	text-decoration: underline;
}
.breadcrumb li::after {
	content: "/";
	margin-inline-start: 8px;
	color: var(--text-muted);
}
.breadcrumb li:last-child::after {
	content: none;
}

.page-title {
	font-family: var(--font-head);
	font-size: clamp(32px, 4.6vw, 58px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
}
html[lang="en"] .page-title {
	font-stretch: 112%;
}
.page-lead {
	max-width: 62ch;
	font-size: var(--fs-lead, clamp(17px, 1.6vw, 21px));
	color: var(--text-dim);
	line-height: 1.9;
	margin: 0;
}

/* Long-form prose column */
.prose {
	max-width: 70ch;
	margin-inline: auto;
	font-size: 17px;
	line-height: 1.95;
	color: var(--text-dim);
}
.prose h2 {
	font-family: var(--font-head);
	color: var(--text);
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.25;
	margin: 48px 0 16px;
}
html[lang="en"] .prose h2 {
	font-stretch: 112%;
}
.prose h3 {
	color: var(--text);
	font-size: 20px;
	margin: 32px 0 12px;
}
.prose p {
	margin: 0 0 18px;
	max-width: none;
}
.prose ul,
.prose ol {
	margin: 0 0 20px;
	padding-inline-start: 24px;
}
.prose li {
	margin-bottom: 10px;
}
.prose a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.prose strong {
	color: var(--text);
}

/* Feature / info grid used across route pages */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.feature {
	padding: 26px 24px;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--ring, inset 0 0 0 1px var(--border));
	border: 1px solid var(--border);
}
.feature h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	margin: 0 0 8px;
}
.feature .icon {
	width: 22px;
	height: 22px;
	stroke: var(--gold);
	stroke-width: 1.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}
.feature p {
	margin: 0;
	font-size: 14px;
	color: var(--text-dim);
	line-height: 1.7;
}

/* CTA band */
.cta-band {
	margin-top: 8px;
	padding: 46px 40px;
	border-radius: var(--r-xl);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	box-shadow: var(--glow);
	text-align: center;
}
.cta-band h2 {
	font-family: var(--font-head);
	font-size: clamp(24px, 3vw, 36px);
	margin: 0 0 12px;
}
.cta-band p {
	max-width: 52ch;
	margin: 0 auto 26px;
	color: var(--text-dim);
}
.cta-row {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Coming-soon banner (FTS Secure page) */
.soon-banner {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	margin-bottom: 20px;
	border-radius: var(--r-pill, 999px);
	border: 1px solid var(--border-strong);
	background: var(--gold-soft);
	color: var(--gold);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 860px) {
	.page-hero {
		padding-inline: 24px;
	}
}

/* ══════════════════════════════════════════
   LATE OVERRIDES
   ══════════════════════════════════════════ */

/* Alt-background section (clients marquee) */
.section--alt {
	background: var(--surface);
}

/* Footer site-map links */
.footer-nav {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 24px;
	padding: 30px 40px 4px;
	background: var(--surface);
	border-top: 1px solid var(--hairline);
}
.footer-nav a {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--text-dim);
	text-decoration: none;
	transition: color var(--t);
}
.footer-nav a:hover {
	color: var(--gold);
}

/* Sticky header gains a firmer edge once the hero scrolls past */
.navbar.is-stuck {
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	box-shadow: 0 1px 0 var(--border);
}

/* Nav-brand wordmark in Archivo for the engineering-authority read */
.nav-brand-name {
	font-family: var(--font-en);
	font-stretch: 108%;
}

/* Gold wordmark logo lockups (home nav + footer) — override the square
   emblem sizing so the wide mark isn't squished. */
.nav-brand img.nav-brand-logo {
	width: auto;
	height: 40px;
	border-radius: 0;
}
.navbar.is-stuck .nav-brand img.nav-brand-logo {
	height: 34px;
	transition: height var(--t);
}
.footer-brand img.footer-brand-logo {
	width: auto;
	height: 32px;
	border-radius: 0;
}
@media (max-width: 640px) {
	.nav-brand img.nav-brand-logo {
		height: 34px;
	}
}

/* FAQ — answer-first Q&A pairs (blocks.js faq(); FAQPage JSON-LD mirrors it) */
.faq {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 16px;
}
.faq-item {
	padding: 24px 24px 22px;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--border);
}
.faq-item h3 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.45;
	color: var(--text);
}
.faq-item p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--text-dim);
	max-width: none;
}
