/* ==========================================================================
   EIT Connect — floating glass header + footer
   Mobile-first. Boxed content width: 1440px.
   ========================================================================== */

:root {
	--eit-ink: #15181f;
	--eit-body: #3d4453;
	--eit-accent: #3b4fe8;
	--eit-accent-hover: #2f3fd1;
	--eit-accent-light: #8494ff;   /* same hue, readable on dark backgrounds */
	--eit-line: #e6eaf1;
	--eit-footer-bg: #0f1729;

	/* Boxed container width for everything that is not full-width. */
	--eit-wrap: 1440px;

	/* Floating header geometry. Bar height lives in this variable because the
	   hero's top padding, the body spacer and the mobile drawer's max-height
	   are all derived from it — hardcoding the bar height would leave those
	   out of sync. */
	--eit-header-gap: 14px;          /* distance from the viewport edges */
	--eit-header-h: 65px;
	--eit-header-radius: 1.2rem;

	/* ONE glass recipe for the bar and every dropdown, so the whole navigation
	   reads as a single material.

	   The heavy blur is what makes the transparency work: at 2.5rem even a
	   large headline behind the pane is smeared past recognition, so 72% white
	   is enough cover. A small blur would need near-opaque white instead. */
	--eit-glass-bg: hsla(0, 0%, 100%, .72);
	--eit-glass-blur: blur(2.5rem);
	--eit-glass-shadow: 0 4px 30px rgba(0, 0, 0, .1);

	/* Gap between the header bar and any dropdown/mega panel below it.
	   Zero keeps the panel flush with the bar, which also means there is no
	   dead strip under the header that could trigger a menu on its own. */
	--eit-panel-gap: 0px;
}

@media (min-width: 1025px) {
	:root { --eit-header-gap: 18px; }
}

/* ==========================================================================
   Header — fixed, floating, glassmorphic
   ========================================================================== */

/* Centred with auto margins rather than translateX(-50%): a transform can
   also establish a backdrop root in some engines, which is exactly what we
   are trying to avoid here. */
.eit-header {
	position: fixed;
	top: var(--eit-header-gap);
	left: 0;
	right: 0;
	margin-inline: auto;
	width: calc(100% - (var(--eit-header-gap) * 2));
	max-width: var(--eit-wrap);
	z-index: 1000;

	border-radius: var(--eit-header-radius);
	background: transparent;
}

/* The frosted pane. Sits behind the bar's content on its own layer, so the
   header element itself stays filter-free. */
.eit-header__blur {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background-color: var(--eit-glass-bg);
	-webkit-backdrop-filter: var(--eit-glass-blur);
	backdrop-filter: var(--eit-glass-blur);
	box-shadow: var(--eit-glass-shadow);
}

/* Without backdrop-filter the glass is just a see-through hole, so those
   browsers get a near-opaque surface instead. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.eit-header__blur,
	.eit-nav__list ul { background-color: rgba(255, 255, 255, .97); }
}

/* Logged-in admin bar sits above everything, so push the header below it. */
body.admin-bar .eit-header { top: calc(var(--eit-header-gap) + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .eit-header { top: calc(var(--eit-header-gap) + 46px); }
}

/* The header overlays page content by design (see the hero in the reference).
   Add the body class `eit-header-push` if a page needs content pushed below
   it instead of flowing underneath. */
body.eit-header-push {
	padding-top: calc(var(--eit-header-h) + (var(--eit-header-gap) * 2));
}

.eit-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	min-height: var(--eit-header-h);
	padding: 0 clamp(14px, 2vw, 22px);
}

/* ---------- Brand ---------- */

.eit-header__brand { display: flex; align-items: center; margin-right: auto; }
.eit-header__brand img,
.eit-header__brand .custom-logo {
	display: block;
	width: auto;
	max-height: clamp(34px, 5vw, 60px);
}
.eit-header__title {
	font-size: clamp(17px, 2.4vw, 22px);
	font-weight: 700;
	color: var(--eit-ink);
	text-decoration: none;
	letter-spacing: -.01em;
}

/* ---------- Actions (CTA + hamburger) ---------- */

.eit-header__actions { display: flex; align-items: center; gap: 10px; }

/* The header CTA is the shared .eit-btn component (buttons.css) in its small,
   solid variant — no bespoke button styling lives here. */

/* Phones: bigger logo, no CTA — the drawer already carries the contact link. */
@media (max-width: 767px) {
	/* No vertical padding around the logo: the bar is as tall as the logo. */
	.eit-header__inner { min-height: 0; padding-block: 0; }
	.eit-header__brand img,
	.eit-header__brand .custom-logo { max-height: 58px; }
	.eit-header__actions .eit-btn { display: none; }
}

/* Hamburger */
.eit-header__toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	background: rgba(255, 255, 255, .5);
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 11px;
	cursor: pointer;
}
/* Same reason as the tech tabs: the parent theme's reset fills any <button>
   with #c36 on hover, so this has to be stated rather than inherited. */
.eit-header__toggle:hover,
.eit-header__toggle:focus {
	background: rgba(59, 79, 232, .10);
	border-color: rgba(59, 79, 232, .35);
}

.eit-header__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--eit-ink);
	border-radius: 2px;
	transition: transform .22s ease, opacity .22s ease;
}
.eit-header__toggle[aria-expanded="true"] .eit-header__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eit-header__toggle[aria-expanded="true"] .eit-header__bar:nth-child(2) { opacity: 0; }
.eit-header__toggle[aria-expanded="true"] .eit-header__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Navigation — mobile / tablet drawer (default)
   ========================================================================== */

.eit-nav {
	flex-basis: 100%;
	display: none;
	max-height: calc(100vh - var(--eit-header-h) - (var(--eit-header-gap) * 4));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px 4px 16px;
	border-top: 1px solid rgba(255, 255, 255, .6);
	margin-top: 4px;
}
.eit-nav.is-open { display: block; }

.eit-nav__list,
.eit-nav__list ul { list-style: none; margin: 0; padding: 0; }

.eit-nav__list a:not(.eit-btn) {
	display: block;
	padding: 12px 12px;
	border-radius: 10px;
	color: var(--eit-body);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}
.eit-nav__list a:not(.eit-btn):hover,
.eit-nav__list .current-menu-item > a:not(.eit-btn),
.eit-nav__list .current-menu-ancestor > a:not(.eit-btn) { background: rgba(255, 255, 255, .6); color: var(--eit-ink); }

.eit-nav__list ul { margin: 2px 0 6px 10px; padding-left: 10px; border-left: 1px solid rgba(0, 0, 0, .08); }
.eit-nav__list ul a:not(.eit-btn) { font-size: 16px; font-weight: 600; padding: 10px 12px; }

/* Chevron on items that have children */
.eit-nav__list .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}

/* ==========================================================================
   Mobile drawer — sliding multi-level menu (built by header.js)
   Root panel -> section panel -> link panel, each sliding in from the right.
   ========================================================================== */

.eit-dr { display: none; }

@media (max-width: 1024px) {
	.eit-nav.is-ready { overflow: hidden; padding: 0; max-height: none; }
	.eit-nav.is-ready > .eit-nav__list { display: none; }

	.eit-dr {
		display: block;
		position: relative;
		/* Fills the screen under the bar (93px above the drawer + a 14px gap
		   below, like the gap above), capped on tablets. It used to stop at
		   30rem, leaving phones with a short menu and half the screen empty. */
		height: min(52rem, calc(100vh - 108px));
		height: min(52rem, calc(100dvh - 108px));
		overflow: hidden;
	}

	.eit-dr__panel {
		position: absolute;
		inset: 0;
		display: flex;
		flex-direction: column;
		padding: 10px 2px 0;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, visibility 0s linear .42s;
	}
	.eit-dr__panel.is-behind { transform: translateX(-28%); opacity: 0; }
	.eit-dr__panel.is-active { transform: none; visibility: visible; opacity: 1; transition-delay: 0s; }
	.eit-dr__panel--root { transform: none; visibility: visible; }
	.eit-dr__panel--root:not(.is-active) { transform: translateX(-28%); opacity: 0; visibility: hidden; transition-delay: 0s, 0s, .42s; }

	/* Panel header: back button + section title */
	.eit-dr__bar { display: flex; align-items: center; gap: 12px; padding: 2px 10px 12px; }
	.eit-dr__back {
		flex: none;
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		color: var(--eit-ink);
		background: rgba(255, 255, 255, .6);
		border: 1px solid rgba(255, 255, 255, .85);
		border-radius: 12px;
		box-shadow: 0 2px 10px rgba(21, 24, 31, .06);
		cursor: pointer;
		transition: background .2s ease, transform .2s ease;
	}
	.eit-dr__back:hover,
	.eit-dr__back:focus-visible { background: #fff; color: var(--eit-accent); }
	.eit-dr__back:active { transform: scale(.94); }
	.eit-dr__title {
		min-width: 0;
		color: var(--eit-ink);
		font-size: 18px;
		font-weight: 700;
		letter-spacing: -.01em;
		line-height: 1.2;
	}

	.eit-dr__sub { margin: 0 12px 10px; color: var(--eit-body); font-size: 13.5px; line-height: 1.45; opacity: .8; }

	/* The only part that scrolls. The bottom fade hints at more links. */
	.eit-dr__scroll {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 2px 8px 28px;
		scrollbar-width: thin;
		scrollbar-color: rgba(21, 24, 31, .2) transparent;
		-webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent);
		mask-image: linear-gradient(#000 calc(100% - 26px), transparent);
	}
	.eit-dr__scroll::-webkit-scrollbar { width: 4px; }
	.eit-dr__scroll::-webkit-scrollbar-thumb { background: rgba(21, 24, 31, .2); border-radius: 4px; }

	.eit-dr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

	.eit-dr__row {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		min-height: 52px;
		margin: 0;
		padding: 12px 14px;
		color: var(--eit-ink);
		font: inherit;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.3;
		text-align: left;
		text-decoration: none;
		background: rgba(255, 255, 255, .5);
		border: 1px solid rgba(255, 255, 255, .8);
		border-radius: 14px;
		box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
	}
	.eit-dr__row:hover,
	.eit-dr__row:focus-visible { background: rgba(255, 255, 255, .85); color: var(--eit-ink); border-color: #fff; }
	.eit-dr__row:active,
	.eit-dr__row:focus { color: var(--eit-ink); background: rgba(255, 255, 255, .85); border-color: #fff; }
	.eit-dr__row:active { transform: scale(.985); background: #fff; }
	.eit-dr__row.is-current:focus,
	.eit-dr__row.is-current:hover { color: var(--eit-accent); background: rgba(59, 79, 232, .14); border-color: rgba(59, 79, 232, .28); }
	.eit-dr__row--all:focus,
	.eit-dr__row--all:active { color: var(--eit-accent); background: rgba(59, 79, 232, .14); border-color: rgba(59, 79, 232, .22); }
	.eit-dr__back:focus,
	.eit-dr__back:active { color: var(--eit-ink); background: #fff; border-color: #fff; }
	.eit-dr__row.is-current { color: var(--eit-accent); background: rgba(59, 79, 232, .09); border-color: rgba(59, 79, 232, .28); }

	.eit-dr__label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
	.eit-dr__label .eit-mega__ico { flex: none; }
	.eit-dr__label .eit-mega__label { min-width: 0; }
	.eit-dr__label .eit-mega__ico {
		display: grid;
		place-items: center;
		width: 34px;
		height: 34px;
		color: var(--eit-accent);
		background: rgba(59, 79, 232, .1);
		border-radius: 10px;
	}
	.eit-dr__label .eit-mega__ico svg { width: 18px; height: 18px; display: block; }
	/* Technology logos in the phone menu: the same tile at the drawer's size
	   (the desktop tile rules live in the wide-screen block). */
	.eit-dr__label .eit-mega__logo {
		flex: none;
		display: grid;
		place-items: center;
		width: 34px;
		height: 34px;
		border: 1px solid #e3e7f1;
		border-radius: 10px;
		background: #ffffff;
	}
	.eit-dr__label .eit-mega__logo img { display: block; width: 18px; height: 18px; object-fit: contain; }
	.eit-dr__label .eit-mega__initials { color: var(--eit-accent); font-size: 11px; font-weight: 700; line-height: 1; }
	.eit-dr__label .eit-mega__initials[data-len="3"] { font-size: 9.5px; }
	.eit-dr__label .eit-mega__initials[data-len="4"] { font-size: 8px; }

	.eit-dr__count {
		flex: none;
		min-width: 24px;
		padding: 2px 8px;
		color: var(--eit-accent);
		font-size: 12px;
		font-weight: 700;
		text-align: center;
		background: rgba(59, 79, 232, .1);
		border-radius: 999px;
	}
	.eit-dr__next {
		flex: none;
		display: grid;
		place-items: center;
		width: 30px;
		height: 30px;
		color: var(--eit-ink);
		background: rgba(255, 255, 255, .75);
		border-radius: 50%;
		transition: background .2s ease, color .2s ease, transform .25s ease;
	}
	.eit-dr__row:hover .eit-dr__next,
	.eit-dr__row:focus-visible .eit-dr__next { background: var(--eit-accent); color: #fff; transform: translateX(2px); }

	.eit-dr__row--all { color: var(--eit-accent); background: rgba(59, 79, 232, .08); border-color: rgba(59, 79, 232, .22); }
	.eit-dr__row--all:hover,
	.eit-dr__row--all:focus-visible { color: var(--eit-accent); background: rgba(59, 79, 232, .14); }

	/* Rows rise in one after another whenever a panel arrives. */
	.eit-dr__panel.is-active .eit-dr__list > li {
		animation: eit-dr-in .45s cubic-bezier(.22, 1, .36, 1) both;
		animation-delay: calc(var(--i, 0) * 28ms + 90ms);
	}
	.eit-dr__list > li { --i: 0; }
	@keyframes eit-dr-in {
		from { opacity: 0; transform: translateX(18px); }
		to   { opacity: 1; transform: none; }
	}

	/* Contact — pinned under the root panel's links */
	.eit-dr__cta {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 4px 8px 12px;
		padding: 8px 8px 8px 22px;
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		text-decoration: none;
		background: var(--eit-accent);
		border-radius: 999px;
		box-shadow: 0 8px 22px rgba(59, 79, 232, .32);
		transition: background .2s ease, transform .2s ease;
	}
	.eit-dr__cta:hover,
	.eit-dr__cta:focus-visible { background: var(--eit-accent-hover); color: #fff; }
	.eit-dr__cta:active { transform: scale(.98); }
	.eit-dr__cta-ico {
		display: grid;
		place-items: center;
		width: 38px;
		height: 38px;
		color: var(--eit-accent);
		background: #fff;
		border-radius: 50%;
	}

	/* Page behind the open drawer: blurred, dimmed, and not scrollable. */
	.eit-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 999;
		background: rgba(15, 23, 41, .35);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		opacity: 0;
		visibility: hidden;
		touch-action: none;
		transition: opacity .3s ease, visibility 0s linear .3s;
	}
	.eit-nav-backdrop.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
	html.eit-nav-open { overscroll-behavior: none; }
}

@media (min-width: 1025px) {
	/* Desktop: a light veil behind an open mega panel. It never takes the
	   pointer, so the hover rules that open/close panels behave as before. */
	.eit-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 999;
		pointer-events: none;
		background: rgba(15, 23, 41, .12);
		-webkit-backdrop-filter: blur(6px);
		backdrop-filter: blur(6px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s ease, visibility 0s linear .25s;
	}
	.eit-nav-backdrop.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
	.eit-dr__panel { transition: none; }
	.eit-dr__panel.is-active .eit-dr__list > li { animation: none; }
}

/* ==========================================================================
   Navigation — desktop
   ========================================================================== */

@media (min-width: 1025px) {
	.eit-header__toggle { display: none; }

	/* brand | nav | CTA — nav takes the middle, as in the reference. */
	.eit-header__brand  { order: 1; margin-right: 0; }
	.eit-nav            { order: 2; }
	.eit-header__actions { order: 3; }

	.eit-nav {
		display: flex;
		align-self: stretch;
		flex-basis: auto;
		margin-inline: auto;
		padding: 0;
		border-top: 0;
		max-height: none;
		overflow: visible;
	}

	/* Items run the full height of the bar. With the panel gap at 0 this
	   leaves no dead strip between the link and its panel — the pointer can
	   travel straight down without the menu closing under it. */
	.eit-nav__list { display: flex; align-items: stretch; gap: 2px; }
	.eit-nav__list > li { position: relative; display: flex; align-items: center; }

	/* `:not(.eit-btn)` is load-bearing, not decoration: the base rule
	   `.eit-nav__list a:not(.eit-btn)` carries two classes to this selector's
	   one, so without it every box value below silently loses to the mobile
	   drawer's. */
	.eit-nav__list > li > a:not(.eit-btn) {
		/* The item still fills the bar's height through its flex parent, so
		   trimming here shrinks the hover/active pill without reopening the
		   dead strip between a link and its panel. */
		padding: 5px 16px;
		border-radius: 11px;
		font-size: 16px;
		font-weight: 600;
		white-space: nowrap;
		border: 1px solid transparent;
		transition: background-color .16s ease, border-color .16s ease;
	}
	.eit-nav__list > li > a:hover,
	.eit-nav__list > li:focus-within > a,
	.eit-nav__list > .current-menu-item > a,
	.eit-nav__list > .current-menu-ancestor > a {
		background: rgba(255, 255, 255, .62);
		border-color: rgba(255, 255, 255, .85);
		color: var(--eit-ink);
	}

	/* Dropdown panels use the same glass as the bar. */
	.eit-nav__list ul {
		position: absolute;
		top: calc(100% + var(--eit-panel-gap));
		left: 0;
		min-width: 258px;
		margin: 0;
		padding: 8px;
		border-radius: var(--eit-header-radius);
		background-color: var(--eit-glass-bg);
		-webkit-backdrop-filter: var(--eit-glass-blur);
		backdrop-filter: var(--eit-glass-blur);
		box-shadow: var(--eit-glass-shadow);
		opacity: 0;
		visibility: hidden;
		/* Belt and braces with visibility: an opacity-0 element is still
		   hit-testable, so a closed panel must not accept the pointer. */
		pointer-events: none;
		/* Resting 20px low; the open state lifts it into place. */
		transform: translateY(20px);
		/* Closing is instant — a fade-out let the outgoing panel overlap the
		   incoming one when moving between two full-width mega menus. Snapping
		   back also re-arms the entrance, so it replays on every hover. */
		transition: none;
	}

	/* Top level is driven by JS (see header.js), which guarantees that exactly
	   one panel is open at a time. CSS :hover alone could not, because
	   :focus-within kept a clicked item open while another was hovered. */
	.eit-nav__list > li.is-open > ul {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
		transition: opacity .26s ease-out, transform .26s ease-out;
	}

	/* The centred panels are held in place with translateX, so their entrance
	   has to carry that across — a plain translateY would knock them off centre. */
	.eit-nav__list > li.eit-mega--flat.is-open > ul,
	.eit-nav__list > li.eit-mega--cols-5.is-open > ul { transform: translate(-50%, 0); }

	/* Deeper levels are still plain CSS — they only ever exist inside one
	   already-open top-level panel. */
	.eit-nav__list ul li:hover > ul,
	.eit-nav__list ul li:focus-within > ul {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.eit-nav__list ul a { padding: 10px 13px; border-radius: 9px; }
	/* `:not(.eit-btn)` is here to out-rank the base
	   `.eit-nav__list a:not(.eit-btn):hover` rule, which otherwise wins on
	   class count and repaints the label ink instead of blue. */
	.eit-nav__list ul a:not(.eit-btn):hover,
	.eit-nav__list ul a:not(.eit-btn):focus-visible {
		background: rgba(59, 79, 232, .08);
		color: var(--eit-accent);
	}

	/* Third level opens to the side */
	.eit-nav__list ul ul { top: -9px; left: calc(100% + 8px); }
	.eit-nav__list ul .menu-item-has-children > a::after { transform: translateY(-2px) rotate(-45deg); float: right; }
}

/* Tablet: a little tighter than desktop */
@media (min-width: 1025px) and (max-width: 1200px) {
	/* Only the horizontal padding tightens here — the vertical measure is the
	   one set for every width above. */
	.eit-nav__list > li > a:not(.eit-btn) { padding: 5px 11px; font-size: 16px; }
	.eit-btn { --b-size: 30px; --b-tail: 18px; --b-lead: 10px; }
	.eit-btn .eit-btn__label { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.eit-header__bar, .eit-nav__list ul { transition: none; }
	.eit-nav__list .eit-mega ul a::before,
	.eit-mega__logo { transition: none; }
	/* Appear in place rather than sliding. */
	.eit-nav__list ul { transform: none; }
	.eit-nav__list > li.eit-mega--flat > ul,
	.eit-nav__list > li.eit-mega--flat.is-open > ul,
	.eit-nav__list > li.eit-mega--cols-5 > ul,
	.eit-nav__list > li.eit-mega--cols-5.is-open > ul,
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul,
	.eit-nav__list > li.eit-mega.eit-mega--tabs.is-open > ul { transform: translateX(-50%); }
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li > ul { transition: none; transform: none; }
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li > ul > li { animation: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.eit-footer { background: var(--eit-footer-bg); color: #c3cbdb; }

.eit-footer__inner {
	max-width: var(--eit-wrap);
	margin-inline: auto;
	padding: clamp(36px, 6vw, 64px) clamp(16px, 3vw, 28px);
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) {
	.eit-footer__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.eit-footer__brand img { max-height: 44px; width: auto; filter: brightness(0) invert(1); }
.eit-footer__title { font-size: 20px; font-weight: 700; color: #fff; }
.eit-footer__tagline { margin: 12px 0 0; font-size: 14px; line-height: 1.65; max-width: 46ch; }

.eit-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 480px) { .eit-footer__list { grid-template-columns: 1fr 1fr; } }
.eit-footer__list a { color: #c3cbdb; text-decoration: none; font-size: 14px; }
.eit-footer__list a:hover { color: #fff; }

.eit-footer__bar { border-top: 1px solid rgba(255, 255, 255, .09); }
.eit-footer__bar p {
	max-width: var(--eit-wrap);
	margin-inline: auto;
	padding: 18px clamp(16px, 3vw, 28px);
	font-size: 13px;
	color: #8f9bb3;
}

/* ==========================================================================
   Mega menu (desktop only — below 1025px everything stays an accordion)

   Classes come from eit_child_menu_objects() in functions.php, driven by the
   shape of the menu rather than by hardcoded item names.
   ========================================================================== */

@media (min-width: 1025px) {

	.eit-header__inner { position: relative; }

	/* Static so the panel can span the whole bar instead of the item. */
	.eit-nav__list > li.eit-mega { position: static; }

	.eit-nav__list > li.eit-mega > ul {
		top: calc(100% + var(--eit-panel-gap));
		left: 0;
		right: 0;
		width: auto;
		min-width: 0;
		padding: 26px 32px;
		border-radius: var(--eit-header-radius);
		display: grid;
		gap: 22px 32px;
		align-items: start;
		/* Safety net only — the layout below is tuned to fit without it. */
		max-height: calc(100vh - var(--eit-header-h) - 70px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	/* No hover bridge here any more. A mega panel spans the whole bar, so its
	   bridge was a full-width invisible strip under the header — hovering
	   anywhere along it opened Services even when the cursor was nowhere near
	   the word. With the gap at 0 the panel is flush and no bridge is needed. */

	/* Grouped panels flow through columns rather than sitting on a grid.
	   A grid aligns every cell to the tallest row, which wasted most of the
	   panel's height; column flow packs the groups so all of Services fits
	   on screen at once with no scrolling. */
	/* NOTE: these selectors must stay at least as specific as
	   `.eit-nav__list > li.eit-mega > ul` above, otherwise its `display: grid`
	   wins and column-count is silently ignored. */
	/* One group per column. Column-flow packed groups by height, which meant
	   a heading could land at the foot of one column with its links carried
	   into the next; an explicit grid keeps each column intact. */
	.eit-nav__list > li.eit-mega--grouped > ul {
		display: grid;
		grid-template-columns: repeat(var(--mega-cols, 5), minmax(0, 1fr));
		align-items: start;
		gap: 4px 26px;
	}

	/* The count comes from the menu itself (eit-mega--cols-N), so a panel with
	   five column headings lays out in five and one with six in six — no rule
	   here knows which menu item it is looking at. */
	.eit-nav__list > li.eit-mega--cols-2 > ul { --mega-cols: 2; }
	.eit-nav__list > li.eit-mega--cols-3 > ul { --mega-cols: 3; }
	.eit-nav__list > li.eit-mega--cols-4 > ul { --mega-cols: 4; }
	.eit-nav__list > li.eit-mega--cols-5 > ul { --mega-cols: 5; }

	/* Five columns of short labels left far too much air at the full bar
	   width, so this panel is centred and capped exactly like the icon grid. */
	.eit-nav__list > li.eit-mega--cols-5 > ul {
		left: 50%;
		right: auto;
		width: min(1200px, calc(100vw - 48px));
		transform: translate(-50%, 20px);
	}
	.eit-nav__list > li.eit-mega--cols-6 > ul {
		--mega-cols: 6;
		/* At six the first column runs wider than the rest: it carries both the
		   longest heading and the longest link labels, so an even split sent
		   every one of them onto a second line. */
		grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr));
	}
	.eit-nav__list > li.eit-mega--grouped > ul > li {
		display: block;
		min-width: 0;
		margin: 0;
	}

	/* Icon grid. Narrower than the bar and centred under it — a full-width
	   panel left far too much air around thirteen short labels. */
	.eit-nav__list > li.eit-mega--flat > ul {
		left: 50%;
		right: auto;
		width: min(1200px, calc(100vw - 48px));
		transform: translate(-50%, 20px);
		padding: 30px 32px 22px;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 14px 22px;
	}

	/* Heading and CTA span the whole grid rather than sitting in one column. */
	.eit-mega__head,
	.eit-mega__cta { grid-column: 1 / -1; }

	.eit-mega__head { margin-bottom: 4px; }

	.eit-mega__head-title {
		display: block;
		color: var(--eit-ink);
		font-size: 21px;
		font-weight: 600;
		line-height: 1.25;
		letter-spacing: -.01em;
	}

	.eit-mega__head-sub {
		display: block;
		margin-top: 5px;
		color: var(--eit-body);
		font-size: 14px;
		line-height: 1.5;
	}

	.eit-mega__cta {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		margin-top: 10px;
		padding: 5px 18px;
		border-radius: 12px;
		background: var(--eit-accent);
		color: #fff;
	}

	.eit-mega__cta-copy {
		font-size: 14px;
		line-height: 1.5;
		color: rgba(255, 255, 255, .9);
	}
	.eit-mega__cta-copy strong { color: #fff; font-weight: 600; }

	/* The menu's link rule (.eit-nav__list ul a) rounds every link to 9px;
	   the strip's button keeps the site-wide pill shape. */
	.eit-nav__list .eit-mega__cta .eit-btn { border-radius: 999px; }

	/* Solid white fill on hover, stated here so it holds whichever button
	   variant is dropped into the strip. */
	.eit-mega__cta .eit-btn:hover,
	.eit-mega__cta .eit-btn:focus-visible {
		background: #ffffff;
		border-color: #ffffff;
	}
	.eit-mega__cta .eit-btn:hover .eit-btn__label,
	.eit-mega__cta .eit-btn:focus-visible .eit-btn__label { color: var(--eit-accent); }
	.eit-mega__cta .eit-btn:hover .eit-btn__icon,
	.eit-mega__cta .eit-btn:focus-visible .eit-btn__icon {
		background: var(--eit-accent);
		color: #ffffff;
	}


	@media (max-width: 1300px) {
		.eit-nav__list > li.eit-mega--flat > ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	}
	@media (max-width: 1100px) {
		.eit-nav__list > li.eit-mega--flat > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	}

	/* Each entry becomes icon + label, so the row is the hit area. The CTA
	   button lives in the same panel but is not one of these rows, so it is
	   excluded here and its inherited arrow is cancelled below. */
	/* `> li` is load-bearing: it lifts these above the generic
	   `.eit-mega > ul a` rules further down, which otherwise win on source
	   order and reimpose flex-start alignment and a transparent hover. */
	.eit-nav__list > li.eit-mega--flat > ul a:not(.eit-btn) {
		align-items: center;
		gap: 12px;
		padding: 9px 12px;
		border-radius: 10px;
	}

	/* Same highlight the ordinary dropdown links use, so the two panels feel
	   like one system. */
	.eit-nav__list > li.eit-mega--flat > ul a:not(.eit-btn):hover,
	.eit-nav__list > li.eit-mega--flat > ul a:not(.eit-btn):focus-visible {
		background: rgba(59, 79, 232, .08);
		color: var(--eit-accent);
	}


	.eit-mega__ico {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border-radius: 9px;
		background: var(--eit-accent, #3b4fe8);
		color: #ffffff;
		transition: transform .18s ease;
	}
	.eit-mega__ico svg { width: 18px; height: 18px; display: block; }

	.eit-nav__list > li.eit-mega--flat > ul a:hover .eit-mega__ico { transform: scale(1.06); }

	/* The label takes the middle so the arrow can sit hard against the right. */
	.eit-mega__label { flex: 1 1 auto; min-width: 0; }

	@media (max-width: 1440px) {
		.eit-nav__list > li.eit-mega--grouped > ul {
			--mega-cols: 5;
			/* Restated so it also overrides the six-column rule's explicit
			   track list, which would otherwise survive the cap. */
			grid-template-columns: repeat(5, minmax(0, 1fr));
		}
	}
	@media (max-width: 1240px) {
		.eit-nav__list > li.eit-mega--grouped > ul {
			--mega-cols: 4;
			/* Restated so it also overrides the six-column rule's explicit
			   track list, which would otherwise survive the cap. */
			grid-template-columns: repeat(4, minmax(0, 1fr));
		}
	}
	@media (max-width: 1100px) {
		.eit-nav__list > li.eit-mega--grouped > ul {
			--mega-cols: 3;
			/* Restated so it also overrides the six-column rule's explicit
			   track list, which would otherwise survive the cap. */
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
	}

	/* Nested lists sit inline inside the grid, not as flyouts.
	   `visibility: inherit` is deliberate and must not become `visible`:
	   visibility inherits, so a hardcoded `visible` here re-showed these lists
	   while the panel itself was hidden. They stayed hit-testable in a
	   full-width band under the header, and hovering that band opened the menu
	   without the pointer ever touching the menu text. */
	.eit-nav__list .eit-mega > ul ul {
		position: static;
		display: block;
		opacity: 1;
		visibility: inherit;
		pointer-events: inherit;
		transform: none;
		min-width: 0;
		max-height: none;
		overflow: visible;
		margin: 12px 0 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		margin-top: 8px;
	}

	/* Column heading (a second-level item that has children). */
	.eit-nav__list .eit-mega__group > a {
		display: inline-block;
		text-wrap: balance;
		padding: 0 0 6px;
		border-radius: 0;
		font-size: 16px;
		line-height: 1.35;
		font-weight: 600;
		color: #000000;
		border-bottom: 2px solid rgba(59, 79, 232, .40);
	}
	.eit-nav__list .eit-mega__group > a:hover { background: none; color: var(--eit-accent); }
	/* A heading above the current page is marked by colour only; the glass
	   pill is for the top-level item. */
	.eit-nav__list .eit-mega__group.current-menu-ancestor > a:not(.eit-btn) { background: none; color: var(--eit-accent); }
	.eit-nav__list .eit-mega__group > a::after { display: none; }

	/* Links inside the panel. */
	.eit-nav__list .eit-mega > ul a:not(.eit-btn) {
		display: flex;
		align-items: center;
		gap: 7px;
		padding: 6px 0;
		border-radius: 0;
		font-size: 16px;
		line-height: 1.45;
		font-weight: 600;
		color: var(--eit-body);
		/* Six narrow columns means long service names have to wrap cleanly. */
		align-items: flex-start;
		overflow-wrap: break-word;
		hyphens: auto;
	}
	.eit-nav__list .eit-mega > ul a:not(.eit-btn):hover,
	.eit-nav__list .eit-mega > ul .current-menu-item > a:not(.eit-btn) {
		background: none;
		color: var(--eit-accent);
	}

	/* Arrow that slides in on hover — replaces the inherited chevron. */
	.eit-nav__list .eit-mega > ul a:not(.eit-btn)::after {
		content: "→";
		/* The row is aligned to its first line so a wrapping label keeps its
		   bullet beside the opening words. The arrow is not tied to a line, so
		   it opts out and sits on the middle of the whole row. */
		align-self: center;
		width: auto;
		height: auto;
		margin: 0;
		border: 0;
		opacity: 0;
		color: var(--eit-accent);
		font-size: 15px;
		line-height: 1;
		transform: translateX(-5px);
		transition: opacity .15s ease, transform .15s ease;
	}
	.eit-nav__list .eit-mega > ul a:not(.eit-btn):hover::after { opacity: 1; transform: translateX(0); }

	/* Push the arrow to the far edge of the row rather than letting it sit
	   against the label. In the Services panel the labels are long enough that
	   it landed there anyway; in Technologies, where a label can be four
	   characters, it was stranded mid-row. `auto` puts every one of them on the
	   same right edge whatever the word is. */
	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn)::after { margin-left: auto; }

	/* Plain dropdowns — Company — had no arrow at all, because the rule above
	   is scoped to the mega panels. Same mark, same behaviour, so the three
	   kinds of dropdown read as one system. */
	.eit-nav__list > li:not(.eit-mega) > ul a:not(.eit-btn) {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.eit-nav__list > li:not(.eit-mega) > ul a:not(.eit-btn)::after {
		content: "→";
		width: auto;
		height: auto;
		margin: 0 0 0 auto;
		border: 0;
		opacity: 0;
		color: var(--eit-accent);
		font-size: 15px;
		line-height: 1;
		transform: translateX(-5px);
		transition: opacity .15s ease, transform .15s ease;
	}

	.eit-nav__list > li:not(.eit-mega) > ul a:not(.eit-btn):hover::after,
	.eit-nav__list > li:not(.eit-mega) > ul a:not(.eit-btn):focus-visible::after {
		opacity: 1;
		transform: translateX(0);
	}

	/* Bullet on the grouped panel's links only — the icon grid already has a
	   mark per row, and a column heading is not a list item. Scoped to the
	   nested <ul> so it lands on depth-2 links and nothing else. */
	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn)::before {
		content: "";
		flex: none;
		width: 5px;
		height: 5px;
		/* Sits on the optical centre of the first line, so a label that wraps
		   keeps its bullet beside the opening words rather than mid-block. */
		margin-top: .56em;
		border-radius: 50%;
		/* Fixed accent rather than currentColor: the label shifts from body
		   grey to blue on hover, and the bullet should read blue throughout. */
		background: var(--eit-accent);
		transition: transform .18s ease;
	}

	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn):hover::before,
	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn):focus-visible::before {
		transform: scale(1.3);
	}

	/* Technologies: each link shows its technology's logo (or initials) in a
	   small tile instead of the bullet. */
	.eit-nav__list > li.eit-mega--grouped > ul ul li.eit-mega__tech > a:not(.eit-btn) { align-items: center; gap: 10px; }
	.eit-nav__list > li.eit-mega--grouped > ul ul li.eit-mega__tech > a:not(.eit-btn)::before { content: none; display: none; }
	.eit-mega__logo {
		flex: none;
		display: grid;
		place-items: center;
		width: 28px;
		height: 28px;
		border: 1px solid #e3e7f1;
		border-radius: 8px;
		background: #ffffff;
		box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
		transition: transform .18s ease, border-color .18s ease;
	}
	.eit-mega__logo img { display: block; width: 16px; height: 16px; object-fit: contain; }
	.eit-mega__initials { color: var(--eit-accent); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
	.eit-mega__initials[data-len="3"] { font-size: 9px; letter-spacing: 0; }
	.eit-mega__initials[data-len="4"] { font-size: 7.5px; letter-spacing: -.01em; }
	.eit-nav__list li.eit-mega__tech > a:hover .eit-mega__logo,
	.eit-nav__list li.eit-mega__tech > a:focus-visible .eit-mega__logo { transform: scale(1.08); border-color: rgba(59, 79, 232, .35); }

	/* The generic panel-link rule above carries one class more than the column
	   heading block further up, so it was repainting the headings body grey.
	   Restated here, past it and at a weight it cannot lose to. */
	.eit-nav__list .eit-mega > ul .eit-mega__group > a:not(.eit-btn) { color: #000000; }
	.eit-nav__list .eit-mega > ul .eit-mega__group > a:not(.eit-btn):hover { color: var(--eit-accent); }

	/* Hover pill, the same one the ordinary dropdowns and the icon grid use.
	   The negative inline margin lets the highlight bleed past the text while
	   the labels stay flush with the column heading's rule above them. */
	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn) {
		margin-inline: -8px;
		padding: 6px 8px;
		border-radius: 10px;
		transition: background-color .16s ease, color .16s ease;
	}
	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn):hover,
	.eit-nav__list > li.eit-mega--grouped > ul ul a:not(.eit-btn):focus-visible {
		background: rgba(59, 79, 232, .08);
		color: var(--eit-accent);
	}

	/* Sub-heading — a second heading inside the same column, e.g. DevOps under
	   Frontend. Deliberately quieter than the column heading above it: no rule
	   underneath, so the column still reads as one block rather than two.
	   Placed after the link rules because it has to undo the bullet and the
	   hover arrow that every other link in the panel carries. */
	.eit-nav__list .eit-mega > ul .eit-mega__subgroup { margin-top: 20px; }

	.eit-nav__list .eit-mega > ul .eit-mega__subgroup > a:not(.eit-btn) {
		display: block;
		margin-inline: 0;
		padding: 0;
		border-radius: 0;
		background: none;
		color: #000000;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.35;
	}
	.eit-nav__list .eit-mega > ul .eit-mega__subgroup > a:not(.eit-btn):hover {
		background: none;
		color: var(--eit-accent);
	}
	.eit-nav__list .eit-mega > ul .eit-mega__subgroup > a::before,
	.eit-nav__list .eit-mega > ul .eit-mega__subgroup > a::after { display: none; }

	/* Its links sit tight under it, unlike the column heading's own list. */
	.eit-nav__list .eit-mega > ul .eit-mega__subgroup > ul { margin-top: 4px; }

	/* Panel scrollbar */
	.eit-nav__list > li.eit-mega > ul::-webkit-scrollbar { width: 8px; }
	.eit-nav__list > li.eit-mega > ul::-webkit-scrollbar-thumb {
		background: rgba(21, 24, 31, .18);
		border-radius: 8px;
	}

}

/* ==========================================================================
   Tabbed mega panel (desktop) — "Services"

   The same menu markup as the grouped mega panel, laid out differently:
   column headings become a tab rail on the left, and the links of the
   hovered tab show in one column on the right. Only the panel for the tab in
   focus is visible, but all of them share one grid cell, so the panel keeps
   the height of the longest list and nothing jumps while moving between tabs.
   header.js switches tabs (.is-active on the heading's <li>) and adds the
   rail header, tab icons/counts, rail call-to-action and the right-hand head.
   ========================================================================== */

@media (min-width: 1025px) {

	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul {
		--rail: 296px;
		left: 50%;
		right: auto;
		width: min(980px, calc(100vw - 48px));
		transform: translate(-50%, 20px);
		display: grid;
		grid-template-columns: var(--rail) minmax(0, 1fr);
		/* rail head | one row per tab | spacer | rail call-to-action */
		grid-template-rows: auto repeat(var(--tab-n, 6), min-content) minmax(8px, 1fr) auto;
		gap: 0;
		padding: 0;
		overflow-x: hidden;
		border: 1px solid rgba(15, 23, 41, .06);
		box-shadow: 0 24px 56px -16px rgba(15, 23, 41, .28), 0 2px 10px rgba(15, 23, 41, .06);
		background-color: #fff;
		/* A quiet grey rail beside a white content side; the brand blue is kept for small accents. */
		background-image: linear-gradient(180deg, #f6f7fb, #eff1f8);
		background-size: var(--rail) 100%;
		background-position: 0 0;
		background-repeat: no-repeat;
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul { background-clip: border-box; }
	.eit-nav__list > li.eit-mega.eit-mega--tabs.is-open > ul { transform: translate(-50%, 0); }

	/* The heading's <li> only groups its two children; both sit directly in
	   the panel's grid. */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children { display: contents; }

	/* ---- Rail head ---- */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-tabs__railhead {
		grid-column: 1;
		grid-row: 1;
		display: block;
		margin: 0;
		padding: 24px 28px 12px;
		color: var(--eit-ink);
	}
	.eit-tabs__eyebrow {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 11.5px;
		font-weight: 700;
		letter-spacing: .14em;
		text-transform: uppercase;
		color: var(--eit-accent);
	}
	.eit-tabs__eyebrow::before {
		content: "";
		width: 18px;
		height: 2px;
		border-radius: 2px;
		background: var(--eit-accent);
	}
	.eit-tabs__lead {
		display: block;
		margin-top: 8px;
		font-size: 14px;
		line-height: 1.45;
		font-weight: 500;
		color: #6b7488;
	}

	/* ---- Tab rail ---- */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn) {
		grid-column: 1;
		position: relative;
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 2px 14px;
		padding: 9px 12px 9px 10px;
		border: 0;
		border-radius: 12px;
		background: transparent;
		color: #3d4453;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.25;
		cursor: pointer;
		transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
	}
	.eit-tabs__ico {
		flex: none;
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		border-radius: 10px;
		background: #fff;
		color: var(--eit-accent);
		box-shadow: inset 0 0 0 1px rgba(15, 23, 41, .07);
		transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.3, 1.4, .5, 1);
	}
	.eit-tabs__ico svg { width: 19px; height: 19px; display: block; }
	.eit-tabs__label { flex: 1 1 auto; min-width: 0; text-wrap: balance; }
	.eit-tabs__go {
		flex: none;
		display: grid;
		place-items: center;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background: transparent;
		color: #a3abbd;
		transition: background-color .2s ease, color .2s ease, transform .22s ease;
	}
	.eit-tabs__go svg { width: 13px; height: 13px; display: block; }

	/* The inherited link arrow is not wanted on the rail. */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn)::after { content: none; display: none; }

	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn):hover,
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn):focus-visible {
		background: rgba(59, 79, 232, .06);
		color: var(--eit-ink);
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn):hover .eit-tabs__ico { transform: scale(1.06); }

	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children.is-active > a:not(.eit-btn) {
		background: #fff;
		color: var(--eit-ink);
		box-shadow: inset 0 0 0 1px rgba(59, 79, 232, .16), 0 8px 18px -10px rgba(15, 23, 41, .3);
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children.is-active > a:not(.eit-btn) .eit-tabs__ico {
		background: var(--eit-accent);
		color: #fff;
		box-shadow: 0 4px 10px -3px rgba(59, 79, 232, .5);
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn):hover .eit-tabs__go { transform: translateX(2px); }
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children.is-active > a:not(.eit-btn) .eit-tabs__go {
		background: rgba(59, 79, 232, .1);
		color: var(--eit-accent);
		transform: translateX(2px);
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > a:not(.eit-btn):focus-visible {
		outline: 2px solid var(--eit-accent);
		outline-offset: -2px;
	}

	/* ---- Rail call-to-action ---- */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-tabs__cta {
		grid-column: 1;
		grid-row: -2 / -1;
		margin: 8px 14px 14px;
		padding: 10px 0 0;
		border-top: 1px solid rgba(15, 23, 41, .08);
	}
	.eit-nav__list .eit-mega--tabs > ul > li.eit-tabs__cta > a:not(.eit-btn) {
		display: flex;
		flex-direction: column;
		gap: 1px;
		margin: 0;
		padding: 8px 10px;
		border-radius: 10px;
		background: transparent;
		box-shadow: none;
		color: #6b7488;
		font-size: 12.5px;
		font-weight: 500;
		line-height: 1.35;
		transition: background-color .2s ease;
	}
	.eit-nav__list .eit-mega--tabs > ul > li.eit-tabs__cta > a:not(.eit-btn)::before,
	.eit-nav__list .eit-mega--tabs > ul > li.eit-tabs__cta > a:not(.eit-btn)::after { content: none; display: none; }
	.eit-nav__list .eit-mega--tabs > ul > li.eit-tabs__cta > a:not(.eit-btn):hover {
		background: rgba(59, 79, 232, .06);
		color: #6b7488;
		transform: none;
	}
	.eit-tabs__cta-title { display: block; margin: 0; font-size: 12.5px; font-weight: 500; color: #6b7488; }
	.eit-tabs__cta-go {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		font-size: 13.5px;
		font-weight: 700;
		color: var(--eit-accent);
	}
	.eit-tabs__cta-go i {
		display: inline-block;
		background: none;
		color: inherit;
		font-style: normal;
		font-size: 14px;
		line-height: 1;
		transition: transform .2s ease;
	}
	.eit-tabs__cta a:hover .eit-tabs__cta-go i { transform: translateX(3px); }

	/* ---- Link column ---- */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul {
		grid-column: 2;
		grid-row: 1 / -1;
		margin: 0;
		padding: 26px 30px 24px 34px;
		/* Inactive lists keep their place in the cell but cannot be seen,
		   hit or tabbed to. The active one inherits from the open panel. */
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transform: translateX(10px);
		transition: none;
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children.is-active > ul {
		visibility: inherit;
		opacity: 1;
		pointer-events: inherit;
		transform: none;
		transition: opacity .24s ease, transform .24s ease;
	}

	/* Head of the link column: what this tab is, how many, and a way out. */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li.eit-tabs__head {
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 16px;
		margin: 0 0 12px;
		padding: 0 0 14px;
		border-bottom: 1px solid rgba(59, 79, 232, .16);
	}
	.eit-tabs__title {
		display: block;
		color: var(--eit-ink);
		font-size: 21px;
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: -.01em;
	}
	.eit-tabs__sub {
		display: block;
		margin-top: 4px;
		color: #6b7488;
		font-size: 13px;
		font-weight: 500;
	}
	.eit-nav__list .eit-mega--tabs > ul > li > ul > li.eit-tabs__head > a:not(.eit-btn) {
		flex: none;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		margin: 0;
		padding: 7px 14px;
		border-radius: 999px;
		background: rgba(59, 79, 232, .08);
		color: var(--eit-accent);
		font-size: 13px;
		font-weight: 700;
		white-space: nowrap;
	}
	.eit-nav__list .eit-mega--tabs > ul > li > ul > li.eit-tabs__head > a:not(.eit-btn)::before { content: none; display: none; }
	.eit-nav__list .eit-mega--tabs > ul > li > ul > li.eit-tabs__head > a:not(.eit-btn)::after {
		content: "→";
		display: inline;
		margin: 0;
		opacity: 1;
		transform: none;
		font-size: 14px;
	}
	.eit-nav__list .eit-mega--tabs > ul > li > ul > li.eit-tabs__head > a:not(.eit-btn):hover {
		background: var(--eit-accent);
		color: #fff;
	}
	.eit-nav__list .eit-mega--tabs > ul > li > ul > li.eit-tabs__head > a:not(.eit-btn):hover::after { color: #fff; }

	/* Links: roomier rows, with a soft slide-in on every tab change. */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn) {
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 0;
		padding: 7px 10px 7px 8px;
		border-radius: 12px;
		font-size: 15px;
		font-weight: 500;
		line-height: 1.3;
		color: var(--eit-ink);
	}
	/* Two columns of icon + label; the head row spans both. */
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children.is-active > ul,
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 6px;
		align-content: start;
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li.eit-tabs__head { grid-column: 1 / -1; }
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn)::before,
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn)::after { content: none; display: none; }
	.eit-tabs__sico {
		flex: none;
		display: grid;
		place-items: center;
		width: 34px;
		height: 34px;
		border-radius: 10px;
		background: rgba(59, 79, 232, .08);
		color: var(--eit-accent);
		transition: background-color .18s ease, color .18s ease, transform .22s cubic-bezier(.3, 1.4, .5, 1);
	}
	.eit-tabs__sico svg { width: 18px; height: 18px; display: block; }
	.eit-tabs__slabel { min-width: 0; text-wrap: balance; }
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn):hover .eit-tabs__sico,
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn):focus-visible .eit-tabs__sico {
		background: var(--eit-accent);
		color: #fff;
		transform: scale(1.05);
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn):hover,
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children > ul > li:not(.eit-tabs__head) > a:not(.eit-btn):focus-visible {
		background: linear-gradient(90deg, rgba(59, 79, 232, .11), rgba(59, 79, 232, .02));
		color: var(--eit-accent);
	}
	.eit-nav__list > li.eit-mega.eit-mega--tabs > ul > li.eit-mega__group.menu-item-has-children.is-active > ul > li:not(.eit-tabs__head) {
		animation: eit-tab-in .32s cubic-bezier(.2, .8, .3, 1) both;
		animation-delay: calc(var(--k, 0) * 18ms);
	}
}

@keyframes eit-tab-in {
	from { opacity: 0; transform: translateX(10px); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Boxed content width — anything that is not explicitly full-width
   ========================================================================== */

.e-con.e-con-boxed > .e-con-inner,
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--eit-wrap);
}

/* Menu labels that aren't links: mega-menu column headings and items with the class "eit-nolink". */
.eit-nav__list ul a:not([href]) { cursor: default; }
.eit-nav__list ul a:not([href]):hover { color: inherit; background: none; }

/* reCAPTCHA v3's floating badge would sit on the back-to-top button. Allowed
   by Google as long as its notice is shown, which the enquiry forms do. */
.grecaptcha-badge { visibility: hidden; }
