html, body {
	margin: 0;
	padding: 0;
	background: #04142A;
}

* {
	box-sizing: border-box;
}

:focus-visible {
	outline: 2px solid #D4A73C;
	outline-offset: 2px;
}

.header {
	position: relative;
	z-index: 2;
	padding: 32px var(--pad) 0 var(--pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

a {
	color: #0D4289;
	text-decoration: none;
}

a:hover {
	color: #092D5D;
}

:root {
	--pad: 20px;
	--sec-y: 72px;
	--rail: 0px;
	--gap-l: 24px;
	--who-min: auto;
	--tile-order: -1;
	--cols-split: minmax(0, 1fr);
	--cols-2: minmax(0, 1fr);
	--cols-3: minmax(0, 1fr);
	--cols-sol: minmax(0, 1fr);
	--cols-bul: minmax(0, 1fr);
	--cols-svc: minmax(0, 1fr);
	--cols-models: minmax(0, 1fr);
	--cols-stack: minmax(0, 1fr);
	--cols-partners: repeat(2, minmax(0, 1fr));
	--cols-certs: minmax(0, 1fr);
	--cols-caps: minmax(0, 1fr);
	--cols-clients: repeat(2, minmax(0, 1fr));
	--cols-sectors: minmax(0, 1fr);
	--cols-peers: minmax(0, 1fr);
	--cols-cases: minmax(0, 1fr);
	--cols-form: minmax(0, 1fr);
	--cols-leaders: minmax(0, 1fr);
	--cols-contact: minmax(0, 1fr);
	--cols-footer: minmax(0, 1fr);
	--sol-tile-pad: 32px;
}

@keyframes tv-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes tv-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes tv-draw {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

@keyframes tv-glow {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

[data-reveal] {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1), transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

[data-reveal].tv-in {
	opacity: 1;
	transform: translateY(0);
}

[data-underline]::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 10px;
	height: 1px;
	width: 100%;
	background: #D4A73C;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 180ms ease-out;
}

[data-underline]:hover::after {
	transform: scaleX(1);
}

@media (min-width: 640px) {
	:root {
		--pad: 32px;
		--sec-y: 88px;
		--cols-stats: repeat(3, minmax(0, 1fr));
		--cols-partners: repeat(3, minmax(0, 1fr));
		--cols-models: repeat(2, minmax(0, 1fr));
		--cols-certs: repeat(3, minmax(0, 1fr));
		--cols-caps: repeat(2, minmax(0, 1fr));
		--cols-peers: repeat(2, minmax(0, 1fr));
		--cols-cases: repeat(3, minmax(0, 1fr));
		--cols-form: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	:root {
		--pad: 48px;
		--sec-y: 96px;
		--gap-l: 32px;
		--cols-2: repeat(2, minmax(0, 1fr));
		--cols-clients: repeat(4, minmax(0, 1fr));
		--cols-pillars: repeat(2, minmax(0, 1fr));
		--cols-stack: repeat(2, minmax(0, 1fr));
		--cols-partners: repeat(4, minmax(0, 1fr));
		--cols-sol: 240px minmax(0, 1fr);
		--sol-tile-pad: 48px;
		--cols-svc: repeat(2, minmax(0, 1fr));
		--cols-bul: repeat(2, minmax(0, 1fr));
		--cols-cred: repeat(2, minmax(0, 1fr));
		--cols-sectors: repeat(3, minmax(0, 1fr));
		--cols-leaders: repeat(2, minmax(0, 1fr));
		--cols-footer: repeat(2, minmax(0, 1fr));
		--cols-contact: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (min-width: 1024px) {
	:root {
		--pad: 64px;
		--sec-y: 128px;
		--rail: 96px;
		--gap-l: 48px;
		--who-min: 640px;
		--cols-split: minmax(0, 1fr) minmax(0, 1fr);
		--cols-who: 25% 75%;
		--cols-run: minmax(0, 280px) minmax(0, 420px) auto;
		--cols-stack: repeat(3, minmax(0, 1fr));
		--cols-partners: repeat(6, minmax(0, 1fr));
		--cols-leaders: repeat(3, minmax(0, 1fr));
		--cols-contact: minmax(0, 1fr) minmax(0, 1fr);
		--cols-footer: 1.4fr 1fr 1fr 1fr;
		--cols-sol: 420px minmax(0, 1fr);
		--sol-tile-pad: 64px;
		--cols-svc: repeat(3, minmax(0, 1fr));
		--cols-caps: repeat(4, minmax(0, 1fr));
		--cols-cred: repeat(3, minmax(0, 1fr));
		--cols-3: repeat(3, minmax(0, 1fr));
		--cols-form: repeat(2, minmax(0, 1fr));
	}

	[data-rail] {
		position: absolute;
		left: calc(-1 * var(--rail));
		top: 0;
	}

	[data-flip] {
		direction: rtl;
	}

	[data-flip]>* {
		direction: ltr;
	}
}

@media (max-width: 767px) {
	[data-scroll] {
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 8px;
		-webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%);
	}

	[data-scroll]>* {
		grid-template-columns: none !important;
		grid-auto-flow: column;
		grid-auto-columns: 220px;
		width: max-content;
	}

	.site-nav {
		display: flex !important;
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		width: min(84vw, 320px);
		height: 100vh;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 84px 18px 22px 18px;
		margin: 0;
		background: rgba(4, 20, 42, 0.98);
		border-right: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 18px 0 42px rgba(0, 0, 0, 0.28);
		transform: translateX(-110%);
		opacity: 0;
		pointer-events: none;
		transition: transform 220ms ease, opacity 220ms ease;
		z-index: 50;
	}

	.site-nav--open {
		transform: translateX(0);
		opacity: 1;
		pointer-events: auto;
	}

	.site-nav__toggle {
		display: inline-flex;
		position: fixed;
		right: 20px;
		top: 20px;
	}

	.site-nav__link,
	.site-nav__cta {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding-left: 14px;
		padding-right: 14px;
	}

	.site-nav__cta {
		display: inline-flex !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-anim] {
		animation-name: tv-fade !important;
		animation-duration: 120ms !important;
		animation-delay: 0ms !important;
		transform: none !important;
	}

	[data-anim="glow"] {
		animation: none !important;
	}

	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

img {
	max-width: 100%;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.site-nav__link,
.site-nav__cta {
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.site-nav__toggle {
	display: none;
	appearance: none;
	border: 1px solid rgba(212, 167, 60, 0.85);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 999px;
	padding: 0;
	width: 44px;
	height: 44px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	margin-left: auto;
	position: relative;
	z-index: 60;
}

.site-nav__toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #FFFFFF;
	border-radius: 999px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(4, 20, 42, 0.52);
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease;
	z-index: 45;
}

.site-nav-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}