/* =====================================================================
   GHF Global — design system
   Dark premium aesthetic: deep space background, indigo/violet accents,
   generous whitespace, pill buttons, glassy cards.
   Mobile-first. CLS-safe media. prefers-reduced-motion respected.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* Tokens (overridden by Customizer via :root inline block)            */
/* ------------------------------------------------------------------ */
:root {
	--c-primary: #4f5df0;
	--c-secondary: #1b1e6e;
	--c-accent: #7c6bff;
	--c-bg: #08080d;
	--c-surface: #101018;
	--c-surface-2: #15151f;
	--c-border: rgba(255, 255, 255, 0.08);
	--c-text: #c9cbe0;
	--c-text-dim: #8b8da6;
	--c-heading: #ffffff;
	--font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--radius-btn: 999px;
	--radius-card: 16px;
	--container: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--section-y: clamp(3.5rem, 9vw, 7rem);
	--shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45);
	--surface-glass: rgba(16, 16, 24, 0.78);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* Reset / base                                                        */
/* ------------------------------------------------------------------ */
@supports (background: color-mix(in srgb, red 50%, transparent)) {
	:root { --surface-glass: color-mix(in srgb, var(--c-surface) 78%, transparent); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--c-heading);
	line-height: 1.15;
	margin: 0 0 0.6em;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.2em; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}
.skip-link {
	left: 1rem; top: 1rem;
	z-index: 999;
	background: var(--c-primary);
	color: #fff;
	padding: 0.7em 1.2em;
	border-radius: 8px;
}
.skip-link:focus {
	position: fixed !important;
	width: auto; height: auto;
	margin: 0;
	clip: auto; clip-path: none;
}

/* ------------------------------------------------------------------ */
/* Layout primitives                                                   */
/* ------------------------------------------------------------------ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-glass); }

.split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--rev > :first-child { order: 2; }
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.9em;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #a7abde;
	margin-bottom: 1.4rem;
}
.kicker::before {
	content: "";
	width: 2.2em;
	height: 1px;
	background: var(--c-accent);
	flex: 0 0 auto;
}

/* Left-aligned section label with rule (annual-report style). */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9em;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #a7abde;
	margin: 0 0 1.2rem;
}
.eyebrow::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--c-border);
	max-width: 220px;
}

.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .eyebrow { justify-content: flex-start; }
.section-head p { color: var(--c-text-dim); }
.text-accent { color: var(--c-accent); }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	padding: 0.95em 1.9em;
	border-radius: var(--radius-btn);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s, border-color 0.18s;
}
.btn--primary {
	background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
	color: #fff;
	box-shadow: 0 8px 24px rgba(79, 93, 240, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(79, 93, 240, 0.5); }
.btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn--sm { padding: 0.7em 1.4em; font-size: 0.85rem; }

/* Directional micro-interaction: arrows lean into the journey on hover. */
.svc-card-link,
.creds-badge,
.btn { will-change: transform; }
.svc-card-link::after { content: "→"; display: inline-block; margin-left: 0.4em; transition: transform 0.2s var(--ease); }
.svc-card:hover .svc-card-link::after,
.svc-card-link:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
	.svc-card-link::after { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Loading bar (LCP-safe: content is never hidden)                     */
/* ------------------------------------------------------------------ */
.loader-bar {
	position: fixed;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	z-index: 1000;
	background: transparent;
	pointer-events: none;
	opacity: 0;
}
body.has-loader .loader-bar { opacity: 1; }
.loader-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	transform-origin: left;
	transform: scaleX(0.15);
	background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
	animation: ghf-load 1.1s var(--ease) forwards;
}
body.is-loaded .loader-bar { transition: opacity 0.4s 0.25s; opacity: 0; }
@keyframes ghf-load { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
	.loader-bar { display: none; }
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 100;
	padding-block: 1.1rem;
}
body.header-solid .site-header,
body.no-hero .site-header {
	position: relative;
	background: var(--c-bg);
	border-bottom: 1px solid var(--c-border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.site-brand { display: flex; align-items: center; gap: 0.6rem; }
.site-brand a { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.01em; text-decoration: none !important; }
.site-brand .custom-logo { width: auto; max-height: 44px; }
.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
}

.primary-nav { display: none; }
.primary-nav ul { list-style: none; display: flex; gap: 0.4rem; margin: 0; padding: 0.35rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--c-border); border-radius: 999px; }
.primary-nav a {
	display: inline-block;
	color: var(--c-text);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.5em 1.1em;
	border-radius: 999px;
	text-decoration: none !important;
	transition: background-color 0.15s, color 0.15s;
}
.primary-nav li.current-menu-item > a,
.primary-nav li.current_page_item > a,
.primary-nav a:hover { background: var(--c-primary); color: #fff; }
.primary-nav .sub-menu { display: none; }
@media (min-width: 981px) {
	.primary-nav { display: block; }
	.primary-nav li { position: relative; }
	.primary-nav .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		min-width: 230px;
		flex-direction: column;
		background: var(--c-surface-2);
		border: 1px solid var(--c-border);
		border-radius: 14px;
		padding: 0.4rem;
		box-shadow: var(--shadow-card);
	}
	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu { display: flex; }
	.primary-nav .sub-menu a { display: block; border-radius: 9px; }
}

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.header-cta { display: none; }
@media (min-width: 700px) { .header-cta { display: inline-flex; } }

/* Mobile menu */
.menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--c-border);
	border-radius: 10px;
	cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 981px) { .menu-toggle { display: none; } }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	background: rgba(8, 8, 13, 0.98);
	padding: 1.2rem var(--gutter) 2rem;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; transition: transform 0.3s var(--ease); }
@media (prefers-reduced-motion: reduce) { .mobile-menu { transition: none; } }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-menu-close {
	width: 44px; height: 44px;
	border: 1px solid var(--c-border);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 1.4rem;
	border-radius: 10px;
	cursor: pointer;
}
.mobile-menu nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a {
	display: block;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	padding: 0.8em 0.2em;
	border-bottom: 1px solid var(--c-border);
	text-decoration: none !important;
}
.mobile-menu nav .sub-menu a { font-size: 1rem; color: var(--c-text); padding-left: 1.2em; }
.mobile-menu .btn { margin-top: 1.6rem; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(8rem, 18vw, 12rem) clamp(4rem, 10vw, 7rem);
	text-align: center;
	overflow: clip;
	background:
		radial-gradient(1000px 520px at 50% -10%, rgba(79, 93, 240, 0.55), transparent 65%),
		radial-gradient(700px 420px at 85% 10%, rgba(124, 107, 255, 0.25), transparent 70%);
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(75% 60% at 50% 20%, #000 30%, transparent 100%);
}
/* Slow-drifting aurora behind the headline: alive, never distracting. */
.hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -20%;
	left: 50%;
	width: min(900px, 120vw);
	aspect-ratio: 2 / 1;
	transform: translateX(-50%);
	background:
		radial-gradient(40% 55% at 30% 50%, rgba(79, 93, 240, 0.4), transparent 70%),
		radial-gradient(35% 50% at 70% 45%, rgba(124, 107, 255, 0.32), transparent 70%);
	filter: blur(40px);
	animation: ghf-aurora 14s ease-in-out infinite alternate;
	pointer-events: none;
}
@keyframes ghf-aurora {
	from { transform: translateX(-56%) scale(1); }
	to   { transform: translateX(-44%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }

.hero-points {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem 2rem;
	margin: 2rem 0 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--c-text-dim);
}
.hero-points li { display: flex; align-items: baseline; gap: 0.5em; }
.hero-points li::before { content: "✓"; color: var(--c-accent); font-weight: 700; }
.hero--page { padding-block: clamp(7rem, 15vw, 10rem) clamp(3.5rem, 8vw, 5.5rem); }
.hero .container { max-width: 900px; }
.hero p { color: #b9bce4; max-width: 640px; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }

/* ------------------------------------------------------------------ */
/* Logo strip                                                          */
/* ------------------------------------------------------------------ */
.logo-strip { border-block: 1px solid var(--c-border); padding-block: 2.2rem; }
.logo-marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track { display: flex; width: max-content; animation: ghf-marquee 36s linear infinite; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
@keyframes ghf-marquee { to { transform: translateX(-50%); } }
.logo-strip-inner {
	display: flex;
	gap: clamp(2.5rem, 6vw, 4.5rem);
	align-items: center;
	padding-inline: clamp(1.25rem, 3vw, 2.25rem);
	opacity: 0.65;
}
.logo-strip img { height: 30px; width: auto; max-width: none; filter: grayscale(1) brightness(2); }
@media (prefers-reduced-motion: reduce) {
	.logo-marquee { mask-image: none; }
	.logo-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.logo-marquee-track > [aria-hidden="true"] { display: none; }
	.logo-strip-inner { flex-wrap: wrap; justify-content: center; }
}

/* ------------------------------------------------------------------ */
/* Service cards (home)                                                */
/* ------------------------------------------------------------------ */
.cards-grid {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.svc-card {
	position: relative;
	background: var(--surface-glass);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-card);
	padding: 1.8rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.svc-card::before {
	content: "";
	position: absolute;
	top: -1px; left: 1.5rem; right: 1.5rem;
	height: 2px;
	background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}
.svc-card:hover {
	transform: translateY(-4px);
	border-color: rgba(124, 107, 255, 0.5);
	box-shadow: var(--shadow-card);
}
.svc-card:hover::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
	.svc-card, .svc-card::before { transition: none; }
}
.svc-card-icon {
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 14px;
	background: rgba(79, 93, 240, 0.16);
	border: 1px solid rgba(124, 107, 255, 0.35);
	color: var(--c-accent);
}
.svc-card-icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin: 0; font-size: 1.15rem; }
.svc-card-tag { display: flex; gap: 0.5em; align-items: baseline; color: var(--c-text-dim); font-size: 0.9rem; margin: 0; }
.svc-card-tag::before { content: "✓"; color: var(--c-accent); font-weight: 700; }
.svc-card-link { margin-top: auto; font-weight: 600; font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* Why / Partner (split sections)                                      */
/* ------------------------------------------------------------------ */
.feature-media {
	border-radius: var(--radius-card);
	overflow: hidden;
	border: 1px solid var(--c-border);
	box-shadow: var(--shadow-card);
	aspect-ratio: 4 / 3;
	background: var(--c-surface);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.why-points { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.7rem; }
.why-points li { display: flex; gap: 0.7em; align-items: baseline; }
.why-points li::before { content: "◆"; color: var(--c-accent); font-size: 0.7em; flex: 0 0 auto; }
.why-points strong { color: var(--c-heading); }

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */
.testi-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.testi-card {
	background: var(--surface-glass);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-card);
	padding: 1.7rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}
.testi-card--featured {
	background: linear-gradient(160deg, var(--c-primary), var(--c-secondary));
	border-color: rgba(124, 107, 255, 0.7);
	box-shadow: 0 14px 44px rgba(79, 93, 240, 0.4);
}
.testi-card blockquote { margin: 0; font-size: 1rem; color: #e6e7fb; }
.testi-card--featured blockquote { color: #fff; }
.testi-who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testi-avatar {
	flex: 0 0 44px;
	width: 44px; height: 44px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.12);
	display: grid; place-items: center;
	color: #fff; font-weight: 700;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.testi-role { color: var(--c-text-dim); font-size: 0.8rem; }
.testi-card--featured .testi-role { color: #cfd2ff; }

/* ------------------------------------------------------------------ */
/* CTA bands                                                           */
/* ------------------------------------------------------------------ */
.cta-band {
	background:
		radial-gradient(600px 300px at 90% 120%, rgba(79, 93, 240, 0.35), transparent 70%),
		var(--surface-glass);
	border-block: 1px solid var(--c-border);
}
.cta-band-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	align-items: center;
	justify-content: space-between;
}
.cta-band h2 { margin: 0; max-width: 620px; }
.cta-mid {
	text-align: center;
	background:
		radial-gradient(700px 340px at 50% 130%, rgba(79, 93, 240, 0.4), transparent 70%);
	border-block: 1px solid var(--c-border);
}
.cta-mid p { max-width: 680px; margin-inline: auto; color: var(--c-text-dim); }
.cta-mid .btn { margin-top: 1.2rem; }

/* ------------------------------------------------------------------ */
/* Service page sections                                               */
/* ------------------------------------------------------------------ */
.approach-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) {
	.approach-grid { grid-template-columns: 0.9fr 1.1fr; }
	/* Sticky intro ONLY in the two-column layout. In the single-column
	   mobile flow, sticky would pin the text while cards scroll beneath
	   it (text visibly overlapping the cards). */
	.approach-intro { position: sticky; top: 6rem; }
}
.approach-list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.approach-item {
	background: var(--surface-glass);
	border: 1px solid var(--c-border);
	border-left: 3px solid var(--c-primary);
	border-radius: 12px;
	padding: 1.2rem 1.4rem;
}
.approach-item h3 { display: flex; gap: 0.6em; align-items: baseline; font-size: 1.02rem; margin-bottom: 0.35em; }
.approach-item h3::before { content: "●"; color: var(--c-accent); font-size: 0.6em; }
.approach-item p { margin: 0; color: var(--c-text-dim); font-size: 0.93rem; }

.whychoose-list { display: grid; gap: 0.9rem; max-width: 820px; margin-inline: auto; padding: 0; list-style: none; }
.whychoose-item {
	background: #f5f6fb;
	color: #23263a;
	border-radius: 12px;
	padding: 1.2rem 1.5rem;
	max-width: 640px;
}
.whychoose-item:nth-child(odd) { justify-self: end; }
.whychoose-item:nth-child(even) { justify-self: start; }
.whychoose-item h3 { color: #101223; font-size: 1.02rem; margin-bottom: 0.3em; }
.whychoose-item p { margin: 0; color: #4c4f68; font-size: 0.92rem; }
.section--light { background: #ffffff; }
.section--light .section-head h2 { color: #101223; }
.section--light .section-head p { color: #4c4f68; }

/* ------------------------------------------------------------------ */
/* Blog / archive cards                                                */
/* ------------------------------------------------------------------ */
.posts-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card {
	background: var(--surface-glass);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s var(--ease), border-color 0.25s;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(124, 107, 255, 0.5); }
.post-card-thumb { aspect-ratio: 3 / 2; background: var(--c-surface-2); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card a { color: var(--c-heading); text-decoration: none; }
.post-card a:hover { color: var(--c-accent); }
.post-meta { display: flex; gap: 0.6em; align-items: center; font-size: 0.8rem; color: var(--c-text-dim); }
.post-meta a { color: var(--c-accent); }

.entry-content { max-width: 760px; margin-inline: auto; }
.entry-content img { border-radius: 12px; }
.entry-content a { text-decoration: underline; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 0.4em 1.4em;
	border-left: 3px solid var(--c-accent);
	color: var(--c-heading);
	background: var(--c-surface);
	border-radius: 0 10px 10px 0;
}
.entry-content pre { overflow: auto; background: var(--c-surface); border: 1px solid var(--c-border); padding: 1.2em; border-radius: 12px; }
.entry-content code { background: var(--c-surface-2); padding: 0.15em 0.4em; border-radius: 5px; font-size: 0.9em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--c-border); padding: 0.6em 0.9em; text-align: left; }

.alignwide { max-width: min(100%, 1100px); margin-inline: auto; }
.alignfull { max-width: none; margin-inline: calc(50% - 50vw); }

.page-header { padding: clamp(7rem, 14vw, 9rem) 0 2rem; text-align: center; }
.page-header p { color: var(--c-text-dim); }

/* Pagination */
.pagination-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin: 3rem 0 0; padding: 0; }
.pagination-nav .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px; height: 42px;
	padding-inline: 0.6em;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	color: var(--c-text);
	text-decoration: none !important;
}
.pagination-nav .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination-nav a.page-numbers:hover { border-color: var(--c-accent); color: #fff; }

/* Empty state / 404 */
.empty-state { text-align: center; max-width: 560px; margin-inline: auto; padding-block: 3rem; }
.empty-state .search-form { margin-top: 1.4rem; }

/* Search form */
.search-form { display: flex; gap: 0.6rem; }
.search-form .search-field {
	flex: 1;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	color: var(--c-text);
	border-radius: 10px;
	padding: 0.8em 1em;
	font: inherit;
}
.search-form .search-submit {
	background: var(--c-primary);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 0 1.4em;
	font-weight: 600;
	cursor: pointer;
}

/* Comments (minimal, accessible) */
.comments-area { max-width: 760px; margin: 3rem auto 0; }
.comment-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.comment-body { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; padding: 1.1rem 1.3rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 0.3em; color: var(--c-heading); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: 10px;
	color: var(--c-text);
	padding: 0.75em 1em;
	font: inherit;
	margin-bottom: 1rem;
}

/* ------------------------------------------------------------------ */
/* Forms (styles the GHF Site Core contact form markup)                */
/* ------------------------------------------------------------------ */
.ghf-form { display: grid; gap: 1rem; max-width: 640px; }
.ghf-form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .ghf-form-row--2 { grid-template-columns: 1fr 1fr; } }
.ghf-field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--c-heading); margin-bottom: 0.35em; }
.ghf-field .required { color: var(--c-accent); }
.ghf-field input, .ghf-field textarea, .ghf-field select {
	width: 100%;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: 10px;
	color: var(--c-text);
	padding: 0.8em 1em;
	font: inherit;
	transition: border-color 0.15s;
}
.ghf-field input:focus, .ghf-field textarea:focus { border-color: var(--c-accent); outline: none; }
.ghf-field input[aria-invalid="true"], .ghf-field textarea[aria-invalid="true"] { border-color: #e5484d; }
.ghf-field-error { color: #ff8a8e; font-size: 0.82rem; margin: 0.3em 0 0; }
.ghf-consent { display: flex; gap: 0.6em; align-items: flex-start; font-size: 0.85rem; color: var(--c-text-dim); }
.ghf-consent input { margin-top: 0.25em; }
.ghf-form-status { border-radius: 10px; padding: 0.9em 1.2em; font-size: 0.92rem; margin: 0; }
.ghf-form-status--success { background: rgba(48, 164, 108, 0.15); border: 1px solid rgba(48, 164, 108, 0.5); color: #7ee2ac; }
.ghf-form-status--error { background: rgba(229, 72, 77, 0.12); border: 1px solid rgba(229, 72, 77, 0.5); color: #ff8a8e; }
.ghf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer { background: #060609; border-top: 1px solid var(--c-border); padding-top: clamp(2.5rem, 7vw, 4.5rem); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr repeat(var(--footer-cols, 4), 1fr); } }
.footer-about p { color: var(--c-text-dim); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--c-text-dim); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	color: var(--c-text-dim);
	transition: color 0.15s, border-color 0.15s;
}
.footer-social a:hover { color: #fff; border-color: var(--c-accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
	border-top: 1px solid var(--c-border);
	padding-block: 1.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2rem;
	align-items: center;
	justify-content: space-between;
	font-size: 0.82rem;
	color: var(--c-text-dim);
}
.footer-legal { display: flex; gap: 1.6rem; }
.footer-legal a { color: var(--c-text-dim); }
.footer-legal a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/* Back to top                                                         */
/* ------------------------------------------------------------------ */
.back-to-top {
	position: fixed;
	right: 1.2rem; bottom: 1.2rem;
	z-index: 150;
	width: 46px; height: 46px;
	display: grid; place-items: center;
	background: var(--c-primary);
	color: #fff;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(79, 93, 240, 0.4);
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* ------------------------------------------------------------------ */
/* Reveal animations (opt-in via body.has-anim, JS adds .is-visible)   */
/* ------------------------------------------------------------------ */
body.has-anim [data-animate] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: var(--anim-delay, 0s);
}
body.has-anim [data-animate].is-visible { opacity: 1; transform: none; }
/* No-JS and reduced-motion safety: content always visible. */
@media (prefers-reduced-motion: reduce) {
	body.has-anim [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body.has-anim.no-js [data-animate] { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Key figures ledger (the scale signal: Home + About)                 */
/* ------------------------------------------------------------------ */
.stats-band {
	border-block: 1px solid var(--c-border);
	background: linear-gradient(180deg, rgba(79, 93, 240, 0.06), transparent 70%);
	padding-block: clamp(2.6rem, 6vw, 4.2rem);
}
.stats-ledger {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin: 0.4rem 0 0;
	border-top: 1px solid var(--c-border);
}
@media (min-width: 860px) { .stats-ledger { grid-template-columns: repeat(4, 1fr); border-top: 0; } }
.stats-cell {
	padding: 1.6rem 1.4rem 0.4rem 0;
	border-bottom: 1px solid var(--c-border);
	display: flex;
	flex-direction: column-reverse;
	gap: 0.5rem;
}
@media (min-width: 860px) {
	.stats-cell { border-bottom: 0; border-left: 1px solid var(--c-border); padding: 0.4rem 1.6rem; }
	.stats-cell:first-child { border-left: 0; padding-left: 0; }
}
.stats-value {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--c-heading);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.stats-label {
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: var(--c-text-dim);
	max-width: 22ch;
}

/* ------------------------------------------------------------------ */
/* Accreditations strip                                                */
/* ------------------------------------------------------------------ */
.creds-strip { border-block: 1px solid var(--c-border); padding-block: 2rem; background: var(--surface-glass); }
.creds-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem 2.4rem;
	justify-content: space-between;
}
.creds-heading {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #a7abde;
}
.creds-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0; padding: 0; }
.creds-badge {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	border: 1px solid var(--c-border);
	border-left: 2px solid var(--c-accent);
	background: rgba(255, 255, 255, 0.02);
	padding: 0.7rem 1.2rem;
	min-width: 160px;
}
.creds-title { color: var(--c-heading); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; }
.creds-caption { color: var(--c-text-dim); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ------------------------------------------------------------------ */
/* About: operating principles + coverage ledger                       */
/* ------------------------------------------------------------------ */
.values-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.value-card {
	border-top: 1px solid var(--c-border);
	padding: 1.6rem 0 0.4rem;
	position: relative;
}
.value-card::before {
	content: "";
	position: absolute;
	top: -1px; left: 0;
	width: 44px; height: 2px;
	background: var(--c-accent);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.5em; }
.value-card p { margin: 0; color: var(--c-text-dim); font-size: 0.93rem; }

.coverage-list { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.coverage-item {
	display: grid;
	gap: 0.15rem 1.6rem;
	padding-block: 0.95rem;
	border-bottom: 1px solid var(--c-border);
}
.coverage-item:first-child { border-top: 1px solid var(--c-border); }
@media (min-width: 640px) { .coverage-item { grid-template-columns: minmax(200px, 0.8fr) 1.2fr; align-items: baseline; } }
.coverage-region { color: var(--c-heading); font-weight: 700; font-size: 0.98rem; }
.coverage-desc { color: var(--c-text-dim); font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* Contact layout                                                      */
/* ------------------------------------------------------------------ */
.contact-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 0.8fr 1.2fr; } }
.contact-panel {
	background: var(--surface-glass);
	border: 1px solid var(--c-border);
	border-top: 2px solid var(--c-accent);
	padding: 2rem 1.8rem;
	display: grid;
	gap: 1.4rem;
}
@media (min-width: 900px) { .contact-panel { position: sticky; top: 6rem; } }
.contact-panel-heading { font-size: 1.2rem; margin: 0; }
.contact-item h3 {
	font-size: 0.72rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #a7abde;
	margin-bottom: 0.4em;
	font-weight: 600;
}
.contact-item p { margin: 0; color: var(--c-text); }
.contact-item a { color: var(--c-heading); text-decoration: none; }
.contact-item a:hover { color: var(--c-accent); }
.contact-note {
	margin: 0;
	padding-top: 1.2rem;
	border-top: 1px solid var(--c-border);
	color: var(--c-text-dim);
	font-size: 0.85rem;
}
.contact-form-col h2 { margin-bottom: 0.3em; }
.contact-form-sub { color: var(--c-text-dim); margin-bottom: 1.6rem; }

/* ------------------------------------------------------------------ */
/* Engagement process: numbered steps with ghost numerals              */
/* ------------------------------------------------------------------ */
.process-grid {
	list-style: none;
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	margin: 0;
	padding: 0;
	counter-reset: none;
}
.process-step {
	position: relative;
	border-top: 1px solid var(--c-border);
	padding: 1.4rem 1.4rem 0.4rem 0;
}
.process-num {
	display: block;
	font-family: var(--font-heading);
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(124, 107, 255, 0.55);
	margin-bottom: 0.9rem;
	font-variant-numeric: tabular-nums;
}
@supports not (-webkit-text-stroke: 1px #000) {
	.process-num { color: rgba(124, 107, 255, 0.55); }
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.45em; }
.process-step p { margin: 0; color: var(--c-text-dim); font-size: 0.93rem; }

/* Selection colour: on-brand down to the smallest detail. */
::selection { background: rgba(124, 107, 255, 0.45); color: #fff; }

/* ------------------------------------------------------------------ */
/* Scroll globe: fixed decorative layer, driven by lerped transforms   */
/* ------------------------------------------------------------------ */
.globe-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: min(64vw, 760px);
	aspect-ratio: 1;
	z-index: -1;
	pointer-events: none;
	opacity: 0.85;
	will-change: transform;
	/* Resting pose (no-JS / reduced-motion / before JS runs) = route start. */
	transform: translate3d(56vw, 4vh, 0);
}
.globe-bg svg,
.globe-bg canvas,
.globe-bg img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 700px) {
	.globe-bg { width: 105vw; opacity: 0.6; }
}
/* Content bands with their own background naturally layer over the globe,
   producing the reveal/occlude rhythm as sections pass. */

/* ------------------------------------------------------------------ */
/* Light colour scheme (body.scheme-light, Customizer: Colour scheme)  */
/* Token swaps happen in the dynamic :root CSS; this block re-tunes    */
/* every hardcoded dark-scheme value.                                  */
/* ------------------------------------------------------------------ */
body.scheme-light {
	--c-border: rgba(16, 20, 70, 0.12);
	--c-surface-2: #eef0f8;
	--surface-glass: rgba(255, 255, 255, 0.82);
	--shadow-card: 0 12px 36px rgba(20, 26, 90, 0.1);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) {
	body.scheme-light { --surface-glass: color-mix(in srgb, var(--c-surface) 82%, transparent); }
}
body.scheme-light .kicker,
body.scheme-light .eyebrow,
body.scheme-light .creds-heading,
body.scheme-light .contact-item h3 { color: #5a5f9e; }
body.scheme-light .hero {
	background:
		radial-gradient(1000px 520px at 50% -10%, rgba(79, 93, 240, 0.16), transparent 65%),
		radial-gradient(700px 420px at 85% 10%, rgba(124, 107, 255, 0.1), transparent 70%);
}
body.scheme-light .hero::before {
	background-image:
		linear-gradient(rgba(16, 20, 70, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(16, 20, 70, 0.06) 1px, transparent 1px);
}
body.scheme-light .hero::after { opacity: 0.45; }
body.scheme-light .hero p { color: #4a4e70; }
body.scheme-light .site-brand a,
body.scheme-light .mobile-menu nav a { color: var(--c-heading); }
body.scheme-light .primary-nav ul { background: rgba(16, 20, 70, 0.04); }
body.scheme-light .menu-toggle { background: rgba(16, 20, 70, 0.05); }
body.scheme-light .menu-toggle span { background: var(--c-heading); }
body.scheme-light .mobile-menu { background: rgba(246, 247, 251, 0.98); }
body.scheme-light .mobile-menu-close { background: rgba(16, 20, 70, 0.05); color: var(--c-heading); }
body.scheme-light .btn--ghost {
	background: rgba(16, 20, 70, 0.03);
	border-color: rgba(16, 20, 70, 0.25);
	color: var(--c-heading);
}
body.scheme-light .btn--ghost:hover { background: rgba(16, 20, 70, 0.08); }
body.scheme-light .logo-strip img { filter: grayscale(1) invert(1) brightness(0.35); }
body.scheme-light .svc-card-icon { background: rgba(79, 93, 240, 0.08); }
body.scheme-light .testi-card blockquote { color: #3c4060; }
body.scheme-light .testi-card--featured blockquote { color: #ffffff; }
body.scheme-light .testi-name { color: var(--c-heading); }
body.scheme-light .testi-card--featured .testi-name { color: #ffffff; }
body.scheme-light .testi-avatar { background: rgba(16, 20, 70, 0.08); color: var(--c-heading); }
body.scheme-light .testi-card--featured .testi-avatar { background: rgba(255, 255, 255, 0.18); color: #fff; }
body.scheme-light .stats-band { background: linear-gradient(180deg, rgba(79, 93, 240, 0.05), transparent 70%); }
body.scheme-light .creds-badge { background: rgba(16, 20, 70, 0.02); }
body.scheme-light .section--light { background: var(--c-surface-2); }
body.scheme-light .whychoose-item { background: #ffffff; box-shadow: 0 6px 20px rgba(20, 26, 90, 0.07); }
body.scheme-light .cta-band {
	background:
		radial-gradient(600px 300px at 90% 120%, rgba(79, 93, 240, 0.12), transparent 70%),
		var(--surface-glass);
}
body.scheme-light .cta-mid {
	background: radial-gradient(700px 340px at 50% 130%, rgba(79, 93, 240, 0.14), transparent 70%);
}
body.scheme-light .site-footer { background: #eceef6; }
body.scheme-light .footer-col a:hover,
body.scheme-light .footer-legal a:hover { color: var(--c-heading); }
body.scheme-light .footer-social a:hover { color: var(--c-heading); }
body.scheme-light .search-form .search-field,
body.scheme-light .ghf-field input,
body.scheme-light .ghf-field textarea,
body.scheme-light .comment-form input[type="text"],
body.scheme-light .comment-form input[type="email"],
body.scheme-light .comment-form input[type="url"],
body.scheme-light .comment-form textarea { background: #ffffff; }
body.scheme-light ::selection { background: rgba(92, 106, 245, 0.25); color: var(--c-heading); }
body.scheme-light .pagination-nav a.page-numbers:hover { color: var(--c-heading); }
body.scheme-light .globe-bg { opacity: 0.5; }

/* ------------------------------------------------------------------ */
/* Utilities                                                           */
/* ------------------------------------------------------------------ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
