/* ==========================================================================
   PowerIT — light glassmorphism theme
   Brand: #04629D blue · #D45061 coral · #CE5195 pink · #B83093 magenta ·
          #812A91 purple · #231F20 ink
   ========================================================================== */

:root {
	--c-blue: #04629d;
	--c-coral: #d45061;
	--c-pink: #ce5195;
	--c-magenta: #b83093;
	--c-purple: #812a91;
	--c-ink: #231f20;
	--c-ink-soft: #4a4550;
	--c-bg: #f7f7fc;

	--grad-brand: linear-gradient(115deg, var(--c-coral) 0%, var(--c-pink) 35%, var(--c-magenta) 65%, var(--c-purple) 100%);
	--grad-deep: linear-gradient(120deg, var(--c-blue) 0%, var(--c-magenta) 60%, var(--c-purple) 100%);

	--glass-bg: rgba(255, 255, 255, 0.62);
	--glass-bg-strong: rgba(255, 255, 255, 0.78);
	--glass-border: rgba(255, 255, 255, 0.85);
	--glass-shadow: 0 8px 32px rgba(35, 31, 32, 0.08), 0 1.5px 4px rgba(35, 31, 32, 0.04);
	--glass-shadow-hover: 0 18px 48px rgba(129, 42, 145, 0.16), 0 2px 8px rgba(35, 31, 32, 0.06);

	/* Sora carries no Cyrillic, so Manrope picks up Bulgarian headings
	   automatically through the unicode-range rules in fonts.css. */
	--font-display: "Sora", "Manrope", -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
	--font-brand: "Orbitron", "Sora", "Manrope", sans-serif;

	--radius: 22px;
	--radius-sm: 14px;
	--container: 1180px;
	--speed: 0.45s;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--c-ink);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.15;
	color: var(--c-ink);
	margin: 0 0 0.6em;
	letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--c-magenta); }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow { max-width: 860px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 200;
	padding: 0.6rem 1rem;
	background: var(--c-ink);
	color: #fff;
	border-radius: 8px;
	transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Decorative backdrop (parallax layer) ---------- */

/*
 * Three layers, all moving slowly and none of them travelling across the
 * page:
 *   .backdrop__scan  — an ambient veil that breathes
 *   .orb             — coloured light that drifts
 *   .backdrop__grid  — a structural grid that creeps by exactly one cell
 *
 * The orbs double as the scroll-parallax targets, and the parallax script
 * writes an inline transform on them. A CSS animation on that same property
 * would be overwritten, so each orb carries its drift on ::before — a
 * separate box the script never touches. The colour lives there too, so the
 * orb element itself paints nothing.
 */

.backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.orb {
	position: absolute;
	will-change: transform;
}

.orb::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.5;
	animation: powerit-drift 34s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes powerit-drift {
	from { transform: translate3d(-3%, -2%, 0) scale(0.94); }
	to   { transform: translate3d(3%, 4%, 0) scale(1.08); }
}

.orb--blue    { width: 46vw; height: 46vw; left: -12vw; top: -14vw; }
.orb--magenta { width: 40vw; height: 40vw; right: -10vw; top: 8vh; }
.orb--purple  { width: 44vw; height: 44vw; left: 18vw;  top: 70vh; }
.orb--coral   { width: 30vw; height: 30vw; right: 6vw;  top: 120vh; }

/* Staggered durations and negative delays keep the four out of lockstep. */
.orb--blue::before {
	background: radial-gradient(circle, #7db8e0 0%, transparent 65%);
	animation-duration: 38s;
}
.orb--magenta::before {
	background: radial-gradient(circle, #e9a8d4 0%, transparent 65%);
	animation-duration: 30s;
	animation-delay: -7s;
}
.orb--purple::before {
	background: radial-gradient(circle, #c9a2dc 0%, transparent 65%);
	animation-duration: 44s;
	animation-delay: -15s;
	opacity: 0.4;
}
.orb--coral::before {
	background: radial-gradient(circle, #f2b3bc 0%, transparent 65%);
	animation-duration: 27s;
	animation-delay: -21s;
	opacity: 0.4;
}

/*
 * The grid creeps diagonally by exactly one 56px cell, so the loop closes
 * seamlessly. The mask stays on the parent and only the inner layer moves,
 * which keeps the fade anchored to the top of the viewport.
 */
.backdrop__grid {
	position: absolute;
	inset: 0;
	overflow: hidden;
	mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

.backdrop__grid::before {
	content: "";
	position: absolute;
	inset: -60px;
	background-image:
		linear-gradient(rgba(4, 98, 157, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(4, 98, 157, 0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	animation: powerit-grid 26s linear infinite;
	will-change: transform;
}

@keyframes powerit-grid {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(56px, 56px, 0); }
}

/* ---------- Glass primitives ---------- */

.glass {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
	.glass {
		-webkit-backdrop-filter: blur(18px) saturate(1.5);
		backdrop-filter: blur(18px) saturate(1.5);
	}
}

.glass--deep {
	background: var(--glass-bg-strong);
	box-shadow: var(--glass-shadow-hover);
}

.glass--gradient {
	background: var(--grad-deep);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #fff;
}
.glass--gradient h2, .glass--gradient h3 { color: #fff; }
.glass--gradient p { color: rgba(255, 255, 255, 0.9); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.7rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

.btn--gradient {
	background: var(--grad-brand);
	color: #fff;
	box-shadow: 0 8px 24px rgba(184, 48, 147, 0.35);
}
.btn--gradient:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(184, 48, 147, 0.45);
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.6);
	border-color: rgba(35, 31, 32, 0.12);
	color: var(--c-ink);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--c-magenta); color: var(--c-magenta); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--c-purple); }
.btn--light:hover { color: var(--c-magenta); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(1.5);
	backdrop-filter: blur(16px) saturate(1.5);
	box-shadow: 0 1px 0 rgba(35, 31, 32, 0.06), 0 8px 30px rgba(35, 31, 32, 0.06);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--c-ink);
}

.brand img,
.brand .custom-logo { width: 44px; height: auto; }

/* Orbitron is a variable face and runs wider than the old wordmark font, so
   it needs an explicit weight and a slightly tighter size to hold the same
   footprint in the header. */
.brand__word {
	font-family: var(--font-brand);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--c-ink);
	white-space: nowrap;
}

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

.site-nav { display: flex; align-items: center; gap: 1.75rem; }

.site-nav .menu {
	display: flex;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav .menu a {
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--c-ink-soft);
	position: relative;
}

.site-nav .menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -6px;
	width: 100%; height: 2px;
	background: var(--grad-brand);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--speed) var(--ease);
}

.site-nav .menu a:hover { color: var(--c-ink); }
.site-nav .menu a:hover::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: 0;
	padding: 0.6rem;
	cursor: pointer;
}
.nav-toggle__bar {
	width: 24px; height: 2px;
	background: var(--c-ink);
	border-radius: 2px;
	transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 8vh, 6.5rem) 0 3rem; }

.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-blue);
	margin-bottom: 1rem;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.92); }

.eyebrow__dot {
	flex: none;
	/* Keep the dot on the first line when the label wraps. */
	align-self: flex-start;
	margin-top: 0.42em;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--grad-brand);
	box-shadow: 0 0 0 4px rgba(206, 81, 149, 0.18);
}

.hero__title {
	margin-bottom: 0.5em;
}

.hero__title::after {
	content: ".";
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__sub {
	font-size: 1.15rem;
	color: var(--c-ink-soft);
	max-width: 34em;
	margin-bottom: 1.8em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1rem; }

.hero__note { font-size: 0.85rem; color: var(--c-ink-soft); opacity: 0.8; }

.hero__panel {
	padding: 1.4rem;
	transform-style: preserve-3d;
}

.hero__panel-head { display: flex; gap: 6px; margin-bottom: 1.2rem; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--coral { background: var(--c-coral); }
.dot--magenta { background: var(--c-magenta); }
.dot--purple { background: var(--c-purple); }

.hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	list-style: none;
	margin: 0 0 1.4rem;
	padding: 0;
}

.chip {
	padding: 0.55rem 1.05rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(129, 42, 145, 0.16);
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--c-ink);
	box-shadow: 0 4px 14px rgba(35, 31, 32, 0.06);
	will-change: transform;
}

.chip--light {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	box-shadow: none;
}

.hero__panel-foot { border-top: 1px solid rgba(35, 31, 32, 0.07); padding-top: 1rem; }

.hero__panel-label {
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	background: var(--grad-deep);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Stats ---------- */

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 3rem 0 0;
	padding: 1.6rem 2rem;
}

.stat { text-align: center; }

.stat dt {
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
	order: 2;
}

.stat dd {
	margin: 0 0 0.3rem;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 800;
	background: var(--grad-deep);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 9vh, 6.5rem) 0; }

.section--tint {
	background: linear-gradient(180deg, rgba(4, 98, 157, 0.035), rgba(129, 42, 145, 0.045));
}

.section--page { padding-top: clamp(2.5rem, 6vh, 4rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vh, 3.2rem); }

.section-lead { font-size: 1.1rem; color: var(--c-ink-soft); }

/* ---------- Service cards ---------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}

.card {
	position: relative;
	padding: 1.8rem 1.6rem;
	overflow: hidden;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(206, 81, 149, 0.12), transparent 45%);
	opacity: 0;
	transition: opacity var(--speed) var(--ease);
	pointer-events: none;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }
.card:hover::before { opacity: 1; }

.card__icon {
	display: inline-grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 1.1rem;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(4, 98, 157, 0.1), rgba(184, 48, 147, 0.12));
	border: 1px solid rgba(129, 42, 145, 0.14);
	font-size: 1.5rem;
}

.card__title { margin-bottom: 0.5rem; }
.card__text { color: var(--c-ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- Academy band ---------- */

.academy-band {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2.5rem;
	align-items: center;
	padding: clamp(2rem, 5vw, 3.5rem);
	position: relative;
	overflow: hidden;
}

.academy-band::after {
	content: "";
	position: absolute;
	right: -80px; top: -80px;
	width: 320px; height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
	pointer-events: none;
}

.academy-band__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
}

/* ---------- Steps ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.4rem;
	list-style: none;
	counter-reset: step;
	margin: 0;
	padding: 0;
}

.step { padding: 1.7rem 1.5rem; }

.step__num {
	font-family: var(--font-display);
	font-size: 2.2rem;
	font-weight: 800;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: block;
	margin-bottom: 0.6rem;
}

.step__title { margin-bottom: 0.4rem; }
.step__text { color: var(--c-ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */

.faq { margin-bottom: 1rem; overflow: hidden; }

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__chev {
	flex: none;
	width: 12px; height: 12px;
	border-right: 2px solid var(--c-magenta);
	border-bottom: 2px solid var(--c-magenta);
	transform: rotate(45deg);
	transition: transform 0.3s var(--ease);
}

.faq[open] .faq__chev { transform: rotate(225deg); }

.faq__a {
	padding: 0 1.5rem 1.3rem;
	margin: 0;
	color: var(--c-ink-soft);
}

/* ---------- CTA ---------- */

.section--cta { padding-top: 0; }

.cta {
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
}

.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 1.8rem;
}

/* ---------- Blog / pages ---------- */

.entry--panel { padding: clamp(1.8rem, 4vw, 3rem); }

.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

.post-list { display: grid; gap: 1.4rem; }

.post-card__meta {
	font-size: 0.85rem;
	color: var(--c-ink-soft);
	margin-bottom: 0.6rem;
}

.pagination-wrap { margin-top: 2rem; text-align: center; }
.pagination-wrap .page-numbers {
	display: inline-block;
	padding: 0.5rem 0.95rem;
	border-radius: 10px;
	background: var(--glass-bg);
	border: 1px solid rgba(35, 31, 32, 0.08);
	margin: 0 3px;
}
.pagination-wrap .page-numbers.current { background: var(--grad-brand); color: #fff; border-color: transparent; }

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }

/* ---------- Footer ---------- */

.site-footer {
	margin-top: 2rem;
	padding: clamp(3rem, 7vh, 4.5rem) 0 0;
	background: linear-gradient(180deg, transparent, rgba(129, 42, 145, 0.06));
	border-top: 1px solid rgba(35, 31, 32, 0.06);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr 1.2fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.footer-tagline { color: var(--c-ink-soft); font-size: 0.92rem; margin-top: 1rem; }

.footer-title {
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-ink);
	margin-bottom: 1rem;
}

.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-list li { margin-bottom: 0.55rem; color: var(--c-ink-soft); font-size: 0.95rem; }
.footer-list a { color: var(--c-ink-soft); }
.footer-list a:hover { color: var(--c-magenta); }

.footer-col p { font-size: 0.95rem; color: var(--c-ink-soft); }

.footer-bottom {
	border-top: 1px solid rgba(35, 31, 32, 0.07);
	padding: 1.4rem 0;
	font-size: 0.85rem;
	color: var(--c-ink-soft);
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animations ---------- */

.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger siblings */
.card-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.24s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Scroll progress ---------- */

.scroll-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 2px;
	z-index: 200;
	pointer-events: none;
	background: rgba(35, 31, 32, 0.06);
}

.scroll-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--grad-brand);
	box-shadow: 0 0 12px rgba(184, 48, 147, 0.6);
	transform-origin: left center;
	transition: width 0.1s linear;
}

/* ---------- Ambient veil ---------- */

/*
 * This used to be a coloured band sweeping down the whole page, which read as
 * an object crossing the content rather than as atmosphere. It is now a fixed
 * veil of brand light near the top that only changes in opacity and scale —
 * the two cheapest properties to animate, and nothing moves past the reader.
 */

.backdrop__scan {
	position: absolute;
	inset: -10% -10% auto;
	height: 70vh;
	background:
		radial-gradient(ellipse 55% 70% at 22% 0%, rgba(4, 98, 157, 0.10), transparent 70%),
		radial-gradient(ellipse 50% 65% at 78% 12%, rgba(184, 48, 147, 0.09), transparent 70%);
	animation: powerit-veil 22s ease-in-out infinite alternate;
	pointer-events: none;
	will-change: opacity, transform;
}

@keyframes powerit-veil {
	from { opacity: 0.55; transform: scale(1) translate3d(0, 0, 0); }
	to   { opacity: 1;    transform: scale(1.06) translate3d(0, 1.5%, 0); }
}

/* ---------- Service card additions ---------- */

.card--service { --accent: var(--c-magenta); }

/* Hairline that lights up along the top edge on hover. */
.card__scan {
	position: absolute;
	top: 0; left: 0;
	height: 2px;
	width: 100%;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	transform: scaleX(0);
	transform-origin: left center;
	opacity: 0;
	transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
	pointer-events: none;
}

.card:hover .card__scan,
.card:focus-visible .card__scan { transform: scaleX(1); opacity: 1; }

.card--service .card__icon {
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), rgba(184, 48, 147, 0.1));
	border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

a.card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.card--featured { grid-column: span 2; }

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent);
}

.card__arrow { transition: transform var(--speed) var(--ease); }
.card:hover .card__arrow { transform: translateX(4px); }

/* ---------- Project grid ---------- */

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}

.project {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.project:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }

/* Full-card link kept behind the content so text stays selectable. */
.project__link {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
}
.project__link:focus-visible {
	outline: 2px solid var(--c-magenta);
	outline-offset: 3px;
}

.project__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
	background: linear-gradient(135deg, rgba(4, 98, 157, 0.1), rgba(129, 42, 145, 0.14));
}

.project__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.project:hover .project__media img { transform: scale(1.06); }

.project__media--empty {
	display: grid;
	place-items: center;
}

.project__glyph {
	font-size: 2.4rem;
	background: var(--grad-deep);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.5;
}

.project__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.4rem 1.5rem 1.6rem;
	flex: 1;
}

.project__meta {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
}

.project__client { color: var(--c-magenta); }
.project__year::before { content: "· "; color: var(--c-ink-soft); }

.project__title { margin: 0; font-size: 1.2rem; }
.project__text { margin: 0; font-size: 0.95rem; color: var(--c-ink-soft); }

.project__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin: 0.6rem 0 0;
	padding: 0.9rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(35, 31, 32, 0.08);
}

.project__stats li { display: flex; flex-direction: column; }

.project__stats strong {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.1;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.project__stats span {
	font-size: 0.75rem;
	color: var(--c-ink-soft);
	max-width: 14ch;
}

.project__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.8rem 0 0;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 3;
}

.chip--sm { font-size: 0.72rem; padding: 0.28rem 0.7rem; }
.chip--sm a { color: inherit; text-decoration: none; }

.section-more { margin-top: 2.4rem; text-align: center; }

/* ---------- Project single ---------- */

.project-hero { max-width: 820px; margin-bottom: 2.5rem; }

.project-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
}

.project-hero__facts li { display: flex; flex-direction: column; gap: 0.2rem; }

.project-hero__facts span {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
}

.project-hero__facts strong { font-family: var(--font-display); font-size: 1.05rem; }

.project-figure {
	overflow: hidden;
	margin: 0 0 2rem;
	padding: 0;
}
.project-figure img { display: block; width: 100%; height: auto; }

.section-related { margin-top: 4rem; }
.section-related__title { margin-bottom: 1.6rem; }

/* ---------- Capability filter bar ---------- */

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.4rem;
}

.filter-bar__item {
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	border: 1px solid rgba(35, 31, 32, 0.12);
	background: rgba(255, 255, 255, 0.6);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--c-ink-soft);
	text-decoration: none;
	transition: all var(--speed) var(--ease);
}

.filter-bar__item:hover { border-color: var(--c-magenta); color: var(--c-magenta); }

.filter-bar__item.is-active {
	background: var(--grad-brand);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 6px 18px rgba(184, 48, 147, 0.3);
}

/* ---------- Client logo wall ---------- */

/*
 * Flex rather than a fixed grid: with one or two clients the wall centres a
 * couple of tiles instead of stretching a row of empty cells across the page.
 * --tile grows as the client count drops, so a lone logo still reads as a
 * deliberate panel rather than a stray box.
 */
.logo-wall {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
	--tile: 180px;
}

.logo-wall--count-1 { --tile: 280px; }
.logo-wall--count-2 { --tile: 240px; }
.logo-wall--count-3 { --tile: 210px; }

.logo-wall__item {
	position: relative;
	flex: 0 1 var(--tile);
	min-width: 150px;
	min-height: 116px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(35, 31, 32, 0.08);
	background: var(--glass-bg-strong);
	overflow: hidden;
	transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
	.logo-wall__item {
		-webkit-backdrop-filter: blur(12px) saturate(1.4);
		backdrop-filter: blur(12px) saturate(1.4);
	}
}

.logo-wall__item:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow); }

/* The tile whose testimonial is currently showing. */
.logo-wall__item.is-active {
	border-color: transparent;
	box-shadow: 0 0 0 2px var(--c-magenta), 0 10px 26px rgba(184, 48, 147, 0.2);
}

.logo-wall__item > * {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: inherit;
	padding: 1.3rem;
}

.logo-wall__btn {
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.logo-wall__btn:focus-visible,
.logo-wall__item a:focus-visible {
	outline: 2px solid var(--c-magenta);
	outline-offset: -4px;
}

.logo-wall__img {
	max-width: 100%;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.62;
	transition: filter var(--speed) var(--ease), opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.logo-wall__item:hover .logo-wall__img,
.logo-wall__item.is-active .logo-wall__img {
	filter: none;
	opacity: 1;
	transform: scale(1.04);
}

.logo-wall__name {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	text-align: center;
	line-height: 1.3;
	color: var(--c-ink-soft);
	transition: color var(--speed) var(--ease);
}

.logo-wall__item:hover .logo-wall__name,
.logo-wall__item.is-active .logo-wall__name { color: var(--c-magenta); }

/* A wall wired to the carousel gets a pointer affordance on its tiles. */
.logo-wall[data-logo-wall] .logo-wall__btn { cursor: pointer; }

/* ---------- Testimonials ---------- */

.quotes { position: relative; }

.quotes__track {
	display: grid;
	/* All slides stack in one cell; only the active one is shown. */
	grid-template-areas: "slide";
}

.quote {
	grid-area: slide;
	position: relative;
	padding: 2.4rem 2.6rem 2rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}

.quote.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.quote__mark {
	position: absolute;
	top: 0.4rem;
	left: 1.4rem;
	font-family: var(--font-display);
	font-size: 5rem;
	line-height: 1;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.28;
	pointer-events: none;
}

.quote blockquote { margin: 0; }

.quote blockquote p {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 400;
	line-height: 1.55;
	color: var(--c-ink);
}

.quote__by {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 1.6rem;
}

.quote__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 12px rgba(35, 31, 32, 0.12);
}

.quote__by strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.quote__by em { font-style: normal; font-size: 0.86rem; color: var(--c-ink-soft); }

.quotes__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.4rem;
}

.quotes__btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(35, 31, 32, 0.12);
	background: rgba(255, 255, 255, 0.7);
	font-size: 1.3rem;
	line-height: 1;
	color: var(--c-ink-soft);
	cursor: pointer;
	transition: all var(--speed) var(--ease);
}

.quotes__btn:hover { border-color: var(--c-magenta); color: var(--c-magenta); }

.quotes__dots { display: flex; gap: 0.5rem; }

.quotes__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(35, 31, 32, 0.18);
	cursor: pointer;
	transition: all var(--speed) var(--ease);
}

.quotes__dot.is-active {
	width: 26px;
	border-radius: 999px;
	background: var(--grad-brand);
}

/* ---------- Contact page ---------- */

.section-head--left { max-width: 760px; }

.contact-layout {
	display: grid;
	grid-template-columns: minmax(280px, 360px) 1fr;
	gap: 2rem;
	align-items: start;
}

.contact-channels {
	display: grid;
	gap: 0.9rem;
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
}

.contact-channel {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.9rem;
	align-items: center;
	padding: 1.1rem 1.3rem;
	overflow: hidden;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.contact-channel:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-hover); }

.contact-channel__icon {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(4, 98, 157, 0.1), rgba(184, 48, 147, 0.12));
	border: 1px solid rgba(129, 42, 145, 0.14);
	font-size: 1.1rem;
	color: var(--c-magenta);
}

.contact-channel__label {
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
}

.contact-channel__value {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--c-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-channel__value:hover { color: var(--c-magenta); }

.contact-channel--accent { background: var(--grad-deep); border-color: rgba(255, 255, 255, 0.28); }
.contact-channel--accent .contact-channel__label { color: rgba(255, 255, 255, 0.75); }
.contact-channel--accent .contact-channel__value { color: #fff; }
.contact-channel--accent .contact-channel__value:hover { color: #fff; text-decoration: underline; }
.contact-channel--accent .contact-channel__icon {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.contact-details { padding: 1.6rem 1.5rem; }

.contact-details__title {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
}

.contact-details__list { display: grid; gap: 0.9rem; margin: 0; }

.contact-details__list dt {
	font-size: 0.74rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
}

.contact-details__list dd { margin: 0.15rem 0 0; font-size: 0.96rem; }

.contact-social,
.contact-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.2rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.88rem;
}

.contact-legal { border-top: 1px solid rgba(35, 31, 32, 0.08); padding-top: 1rem; }

.contact-intro { margin-bottom: 1.6rem; }

.contact-map {
	margin-top: 2.5rem;
	padding: 0;
	overflow: hidden;
	line-height: 0;
}

/* ---------- Form ---------- */

.pi-form { padding: 2rem 2.2rem 2.2rem; }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.pi-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pi-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.1rem;
}

.pi-field { margin: 0; }
.pi-field--wide { grid-column: 1 / -1; }

.pi-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--c-ink-soft);
}

.pi-req { color: var(--c-coral); }

.pi-field input,
.pi-field select,
.pi-field textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--c-ink);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(35, 31, 32, 0.14);
	border-radius: var(--radius-sm);
	transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}

.pi-field textarea { resize: vertical; min-height: 140px; }

.pi-field input:focus,
.pi-field select:focus,
.pi-field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--c-magenta);
	box-shadow: 0 0 0 3px rgba(184, 48, 147, 0.14);
}

/* Only flag a field the visitor has actually left in a bad state. */
.pi-field input:not(:placeholder-shown):invalid,
.pi-field textarea:not(:placeholder-shown):invalid {
	border-color: var(--c-coral);
}

.pi-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 1.4rem 0 0;
	font-size: 0.88rem;
	color: var(--c-ink-soft);
}

.pi-consent input { margin-top: 0.2rem; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--c-magenta); }
.pi-consent label { line-height: 1.5; }
.pi-consent a { margin-left: 0.3rem; }

.pi-form__submit { margin: 1.6rem 0 0; }

.pi-form__notice {
	margin: 0 0 1.4rem;
	padding: 0.95rem 1.2rem;
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	border: 1px solid transparent;
}

.pi-form__notice--ok {
	background: rgba(4, 98, 157, 0.08);
	border-color: rgba(4, 98, 157, 0.25);
	color: #04456e;
}

.pi-form__notice--err {
	background: rgba(212, 80, 97, 0.09);
	border-color: rgba(212, 80, 97, 0.3);
	color: #8e2734;
}

/* ---------- Footer additions ---------- */

.footer-social {
	display: flex;
	gap: 1rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.footer-legal { display: flex; gap: 1.2rem; font-size: 0.85rem; }
.footer-vat { opacity: 0.7; margin-left: 0.5rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__panel { max-width: 560px; }
	.project-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-layout { grid-template-columns: 1fr; }
	.contact-channels { grid-template-columns: repeat(2, 1fr); }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.academy-band { grid-template-columns: 1fr; }
	.academy-band__topics { justify-content: flex-start; }
}

@media (max-width: 920px) {
	.nav-toggle { display: flex; }

	.site-nav {
		position: fixed;
		inset: 76px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem 1.5rem 1.5rem;
		background: rgba(255, 255, 255, 0.97);
		-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
		box-shadow: 0 20px 40px rgba(35, 31, 32, 0.12);
		transform: translateY(-130%);
		transition: transform 0.4s var(--ease);
		z-index: 99;
	}

	.site-nav.is-open { transform: none; }

	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 0.85rem 0; font-size: 1.05rem; }
	.site-nav__cta { margin-top: 1rem; justify-content: center; }
}

@media (max-width: 680px) {
	.card-grid, .steps { grid-template-columns: 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }

	.project-grid { grid-template-columns: 1fr; }
	.card--featured { grid-column: auto; }
	.contact-channels { grid-template-columns: 1fr; }
	.pi-form { padding: 1.5rem 1.3rem 1.7rem; }
	.pi-form__grid { grid-template-columns: 1fr; }
	.quote { padding: 2rem 1.5rem 1.6rem; }
	.quote__mark { font-size: 3.5rem; left: 0.8rem; }
	.logo-wall { gap: 0.7rem; }
	.logo-wall__item { flex: 1 1 140px; min-width: 130px; min-height: 100px; }
	.project-hero__facts { gap: 1.2rem; }
}

/* Lighter decorative layer on small screens: large blurred orbs are
   expensive to composite on mobile GPUs. */
@media (max-width: 680px) {
	.orb::before { filter: blur(36px); opacity: 0.35; animation: none; }
	.orb--purple, .orb--coral { display: none; }
	.backdrop__grid::before { animation: none; }
	.backdrop__scan { animation: none; opacity: 0.8; }
	.glass {
		-webkit-backdrop-filter: blur(10px) saturate(1.4);
		backdrop-filter: blur(10px) saturate(1.4);
	}
}

@media (max-width: 400px) {
	.brand img, .brand .custom-logo { width: 36px; }
	.brand__word { font-size: 0.82rem; }
	.site-header__inner { gap: 0.75rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.orb, .chip, [data-parallax] { transform: none !important; }
	/* The backdrop keeps its depth but stops moving entirely. */
	.orb::before,
	.backdrop__grid::before,
	.backdrop__scan { animation: none !important; transform: none !important; }
	.backdrop__scan { opacity: 0.8; }
	.quote { transition: none; }
	*, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Print ---------- */

@media print {
	.backdrop, .scroll-progress, .site-header, .site-footer,
	.nav-toggle, .quotes__nav, .pi-form__submit { display: none !important; }
	.glass { background: #fff; box-shadow: none; border-color: #ddd; }
	body { background: #fff; }
	.quote { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- 404 ---------- */

.error-404 { text-align: center; }

.error-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.2rem;
	margin: 1.6rem 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-display);
	font-weight: 600;
}

.error-404__search { max-width: 420px; margin: 0 auto 1.6rem; }

.error-404__search input[type="search"] {
	width: 100%;
	padding: 0.8rem 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(35, 31, 32, 0.14);
	border-radius: var(--radius-sm);
}

.error-404__search input[type="search"]:focus {
	outline: none;
	border-color: var(--c-magenta);
	box-shadow: 0 0 0 3px rgba(184, 48, 147, 0.14);
}

.error-404 .eyebrow { justify-content: center; }

/* ---------- Footer widgets ---------- */

.footer-col .widget { margin-bottom: 1.6rem; }
.footer-col .widget:last-child { margin-bottom: 0; }

.footer-col .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.footer-col .widget li a { color: inherit; }
.footer-col .widget li a:hover { color: var(--c-magenta); }

.footer-col .widget select,
.footer-col .widget input[type="search"],
.footer-col .widget input[type="text"],
.footer-col .widget input[type="email"] {
	width: 100%;
	max-width: 100%;
	padding: 0.6rem 0.8rem;
	font-family: var(--font-body);
	font-size: 0.95rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(35, 31, 32, 0.14);
	border-radius: var(--radius-sm);
}

.footer-col .widget img { height: auto; }

/* ---------- Single service / project rhythm ---------- */

/*
 * The article panel and the closing CTA sat flush against each other on
 * project and service pages. Give the CTA room to read as a separate block.
 */
.entry--panel + .cta,
.entry--panel + .section-related,
.section-related + .cta,
.project-figure + .stats {
	margin-top: clamp(2.5rem, 6vw, 4rem);
}

.section-related + .cta { margin-top: clamp(3rem, 7vw, 5rem); }

.single-powerit_project .stats,
.single-powerit_service .stats { margin-bottom: clamp(2rem, 5vw, 3rem); }

.service-hero { max-width: 720px; margin-bottom: 2.2rem; }

.service-hero__icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, rgba(4, 98, 157, 0.1), rgba(184, 48, 147, 0.12));
	border: 1px solid rgba(129, 42, 145, 0.14);
	font-size: 1.9rem;
}

.project-grid--tight { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

@media (max-width: 900px) {
	.project-grid--tight { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.project-grid--tight { grid-template-columns: 1fr; }
}

/* ---------- Language switcher ---------- */

.lang-switch__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	margin: 0;
	padding: 0.2rem;
	list-style: none;
	border-radius: 999px;
	border: 1px solid rgba(35, 31, 32, 0.1);
	background: rgba(255, 255, 255, 0.55);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
	.lang-switch__list {
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
}

.lang-switch__item a,
.lang-switch__item span {
	display: block;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	color: var(--c-ink-soft);
	text-decoration: none;
	transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.lang-switch__item a:hover { color: var(--c-magenta); background: rgba(184, 48, 147, 0.08); }

.lang-switch__item a:focus-visible {
	outline: 2px solid var(--c-magenta);
	outline-offset: 1px;
}

.lang-switch__item.is-current span {
	background: var(--grad-brand);
	color: #fff;
	box-shadow: 0 3px 10px rgba(184, 48, 147, 0.3);
}

/* A language this page has no translation for still links to its home. */
.lang-switch__item.is-untranslated a { opacity: 0.55; }
.lang-switch__item.is-untranslated a:hover { opacity: 1; }

.lang-switch--footer { margin-top: 1.1rem; }

.lang-switch--footer .lang-switch__list {
	width: -moz-fit-content;
	width: fit-content;
	background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 920px) {
	/* Inside the collapsed mobile nav the switcher sits on its own row. */
	.lang-switch--header {
		order: 10;
		margin-top: 1rem;
		padding-top: 1rem;
		border-top: 1px solid rgba(35, 31, 32, 0.08);
	}
	.lang-switch--header .lang-switch__list { justify-content: center; }
}
