/* Optional progressive enhancements. Content remains fully usable without JavaScript. */
.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	padding: 11px 16px;
	background: #12305f;
	color: #ffffff;
	border-radius: 4px;
	transform: translateY(-160%);
	transition: transform 0.2s ease;
}

.skip-link:focus {
	transform: translateY(0);
	color: #ffffff;
}

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100001;
	width: 100%;
	height: 3px;
	background: rgba(18, 48, 95, 0.12);
	pointer-events: none;
}

.scroll-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #12305f 0%, #f5a11d 100%);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

main:focus {
	outline: none;
}

.motion-ready .reveal-item {
	opacity: 0;
	transform: translate3d(0, 44px, 0);
	transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.motion-ready .reveal-item.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.motion-button {
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
}

.button-ripple {
	position: absolute;
	z-index: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	transform: translate(-50%, -50%) scale(0);
	pointer-events: none;
	animation: button-ripple 0.65s ease-out forwards;
}

.motion-button > span:not(.button-ripple),
.motion-button > img {
	position: relative;
	z-index: 1;
}

@keyframes button-ripple {
	to {
		opacity: 0;
		transform: translate(-50%, -50%) scale(24);
	}
}

@media (hover: hover) {
	.interactive-card,
	.interactive-card img,
	.interactive-card a {
		transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, filter 0.32s ease;
	}

	.interactive-card:hover {
		position: relative;
		z-index: 2;
		transform: translateY(-5px);
		filter: drop-shadow(0 10px 20px rgba(12, 35, 79, 0.14));
	}

	.interactive-card:hover img {
		transform: scale(1.03);
	}
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
	outline: 3px solid #f5a11d;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.scroll-progress {
		display: none;
	}
}
