/**
 * Standards FM — front page hero slider (hero-slider101995).
 *
 * Full-viewport slides with Ken Burns zoom, tint overlay, staggered text,
 * scroll indicator, tabbed progress bar, arrows, autoplay.
 */

.sfm-front .site-main {
	max-width: none;
	margin: 0;
	padding: 0;
}

.hs,
.hs * {
	box-sizing: border-box;
}

.hs {
	--hs-tint: 22, 44, 130;
	--hs-text: #fff;
	--hs-muted: rgba(255, 255, 255, 0.55);
	--hs-container: 1280px;
	--hs-duration: 6000ms;
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	overflow: hidden;
	background: #0c1a4a;
	color: var(--hs-text);
	font-family: var(--sfm-font-sans);
	font-weight: var(--sfm-weight-medium);
}

.hs-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0s 0.9s;
}

.hs-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.9s ease;
	z-index: 1;
}

/* Background + blue tint */
.hs-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #1a2f6e;
	transform: scale(1.08);
	transition: transform 8s ease-out;
}

.hs-slide.is-active .hs-bg {
	transform: scale(1);
}

.hs-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 20, 70, 0.40) 0%, rgba(10, 20, 70, 0.10) 60%, rgba(10, 20, 70, 0.24) 100%),
		rgba(var(--hs-tint), 0.44);
	mix-blend-mode: multiply;
}

.hs-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(0deg, rgba(5, 12, 45, 0.42) 0%, transparent 35%);
}

/* Content */
.hs-inner {
	position: relative;
	z-index: 2;
	width: min(var(--hs-container), 100% - 48px);
	height: 100%;
	margin-inline: auto;
}

.hs-content {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-52%);
	max-width: 95%;
}

.hs-title {
	margin: 0 0 28px;
	font-size: clamp(44px, 6vw, 72px);
	line-height: 1.12;
	font-weight: var(--sfm-weight-medium);
	letter-spacing: 0.005em;
}

.hs-desc {
	margin: 0 0 48px;
	max-width: 660px;
	font-size: clamp(18px, 1.6vw, 24px);
	line-height: 1.22;
	font-weight: var(--sfm-weight-medium);
}

.hs-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 38px;
	border: 1.5px solid #fff;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	font-size: var(--sfm-text-lg);
	font-weight: var(--sfm-weight-medium);
	background: transparent;
	transition: background 0.3s, color 0.3s;
}

.hs-btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s;
}

.hs-btn:hover {
	background: #fff;
	color: #14297a;
}

.hs-btn:hover svg {
	transform: translateX(4px);
}

/* Staggered text entrance (once per slide) */
.hs-title,
.hs-desc,
.hs-btn {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease, background 0.3s, color 0.3s;
}

.hs-slide.is-active .hs-title {
	opacity: 1;
	transform: none;
	transition-delay: 0.25s;
}

.hs-slide.is-active .hs-desc {
	opacity: 1;
	transform: none;
	transition-delay: 0.4s;
}

.hs-slide.is-active .hs-btn {
	opacity: 1;
	transform: none;
	transition-delay: 0.55s;
}

/* Do not carry the entrance delay into the button's hover/focus feedback. */
.hs-slide.is-active .hs-btn:hover,
.hs-slide.is-active .hs-btn:focus-visible {
	transition-delay: 0s;
}

/* Scroll indicator */
.hs-scroll {
	position: absolute;
	z-index: 3;
	width: 38px;
	bottom: 190px;
	right: calc((100% - min(var(--hs-container), 100% - 48px)) / 2);
	display: flex;
	flex-direction: column;
	align-items: center;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: #fff;
}

.hs-mouse {
	width: 34px;
	height: 56px;
	border: 2px solid #fff;
	border-radius: 18px;
	position: relative;
}

.hs-mouse::after {
	content: "";
	position: absolute;
	top: 10px;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: #fff;
	animation: hs-wheel 1.8s ease-in-out infinite;
}

.hs-chev {
	display: block;
	margin-left: auto;
	margin-right: auto;
	overflow: visible;
	animation: hs-drop 1.8s ease-in-out infinite;
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.hs-chev--lg {
	width: 24px;
	height: 13px;
	margin-top: 2px;
}

.hs-chev--sm {
	width: 17px;
	height: 10px;
	margin-top: 9px;
}

@keyframes hs-wheel {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	70% {
		transform: translateY(18px);
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

@keyframes hs-drop {
	0%,
	100% {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
	50% {
		transform: translateY(5px) scale(1.07);
		opacity: 0.55;
	}
}

/* Tab bar */
.hs-tabs {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: min(var(--hs-container), 100% - 48px);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hs-tab {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--hs-muted);
	font: inherit;
	font-size: var(--sfm-text-lg);
	line-height: 1.1;
	text-align: center;
	padding: 14px 10px 80px;
	transition: color 0.3s;
}

.hs-tab:hover {
	color: #fff;
}

.hs-tab.is-active {
	color: #fff;
}

.hs-tab::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -2px;
	height: 4px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
	opacity: 0;
}

.hs-tab.is-active::before {
	opacity: 1;
	transform: scaleX(1);
}

.hs.is-playing .hs-tab.is-active::before {
	animation: hs-progress var(--hs-duration) linear forwards;
}

@keyframes hs-progress {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.hs-tab:focus-visible,
.hs-btn:focus-visible,
.hs-scroll:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Mobile */
@media (max-width: 900px) {
	.hs-tab {
		font-size: 13px;
		padding-bottom: 70px;
	}

	.hs-scroll {
		display: none;
	}
}

/* Mobile hero steer band (replaces the desktop tab bar ≤ 640px) */
.hs-steer {
	display: none;
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 0;
	flex-direction: column;
	padding: 0 16px 16px;
}

.hs-steer__teaser {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hs-muted);
	line-height: 1.5;
}

.hs-steer__name {
	color: #9fc3ff;
	font-weight: var(--sfm-weight-bold);
	font-style: normal;
	text-transform: none;
	letter-spacing: 0.01em;
}

.hs-steer__row {
	display: flex;
	align-items: center;
}

.hs-steer__prev,
.hs-steer__next {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	background: transparent;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.hs-steer__prev svg,
.hs-steer__next svg {
	width: 16px;
	height: 16px;
}

.hs-steer__segs {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 5px;
	margin: 0 12px;
	min-width: 0;
}

.hs-steer__seg {
	flex: 1;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.hs-steer__seg::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 99px;
	background: #7fb2ff;
	transform: scaleX(0);
	transform-origin: left;
}

.hs-steer__seg.is-done::before {
	transform: scaleX(1);
}

.hs-steer__seg.is-cur {
	box-shadow: 0 0 0 1px rgba(127, 178, 255, 0.35);
}

.hs.is-playing .hs-steer__seg.is-cur::before {
	animation: hs-progress var(--hs-duration) linear forwards;
}

.hs-steer__prev:focus-visible,
.hs-steer__next:focus-visible,
.hs-steer__seg:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.hs {
		height: clamp(460px, 72svh, 640px);
		min-height: 0;
	}

	.hs-content {
		top: 40%;
		transform: translateY(-46%);
	}

	.hs-title {
		font-size: clamp(26px, 7.5vw, 30px);
		line-height: 1.15;
		margin-bottom: 12px;
	}

	.hs-desc {
		font-size: var(--sfm-text-md);
		line-height: 1.3;
		margin-bottom: 18px;
	}

	.hs-btn {
		padding: 11px 24px;
		font-size: var(--sfm-text-md);
	}

	.hs-tabs {
		display: none;
	}

	.hs-steer {
		display: flex;
	}
}

/* Landscape / short viewports: the hero must never outgrow the screen. */
@media (orientation: landscape) and (max-height: 560px) {
	.hs {
		height: 100vh;
		height: 100svh;
		height: 100dvh;
		min-height: 0;
	}

	.hs-content {
		transform: translateY(-50%);
	}

	.hs-title {
		font-size: clamp(28px, 5vw, 44px);
		line-height: 1.12;
		margin-bottom: 14px;
	}

	.hs-desc {
		font-size: var(--sfm-text-md);
		line-height: 1.25;
		margin-bottom: 20px;
	}

	.hs-btn {
		padding: 10px 26px;
		font-size: var(--sfm-text-md);
	}

	.hs-tab {
		font-size: var(--sfm-text-xs);
		line-height: 1.1;
		padding: 8px 6px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hs * {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}

/* Content below the hero (constraint restored) */
.home-content {
	max-width: var(--sfm-container);
	margin: 0 auto;
	padding: 48px 24px;
}