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

.hts {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--hts-tabbg, #10213a);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--hts-r, 28px);
	font-family: inherit;
	color: #fff;
	isolation: isolate;
}

/* Stage ------------------------------------------------------------ */
.hts .hts__stage {
	position: relative;
	min-height: var(--hts-h, 640px);
}

.hts .hts__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--hts-fade, 700ms) ease, visibility 0s linear var(--hts-fade, 700ms);
}

.hts .hts__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity var(--hts-fade, 700ms) ease, visibility 0s;
	z-index: 1;
}

.hts .hts__bg,
.hts .hts__overlay {
	position: absolute;
	inset: 0;
}

.hts .hts__bg {
	background-size: cover;
	background-position: center;
	background-color: #0b1a2e;
}

.hts .hts__bg video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hts .hts__overlay {
	/* Strong on the left where the text sits, lighter on the right. */
	background: linear-gradient(90deg, var(--hts-ovc, #0a1628) 0%, transparent 100%);
	opacity: min(1, calc(var(--hts-ov, .55) * 1.6));
}

.hts .hts__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--hts-ovc, #0a1628);
	opacity: calc(var(--hts-ov, .55) * .45);
}

/* Content ---------------------------------------------------------- */
.hts .hts__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 880px;
	padding: 56px 64px;
}

.hts .hts__eyebrow {
	margin: 0 0 22px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--hts-accent, #7ee0d2);
	line-height: 1.2;
}

.hts .hts__title {
	margin: 0 0 26px;
	max-width: 12em;
	font-size: clamp(2.4rem, 5.4vw, 4.8rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.035em;
	color: #fff;
}

.hts .hts__text {
	margin: 0 0 40px;
	max-width: 640px;
	font-size: clamp(1rem, 1.5vw, 1.35rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, .86);
}

.hts .hts__status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 780px;
	padding: 22px 36px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 18px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.hts .hts__status-text {
	font-size: 1.15rem;
	line-height: 1.3;
}

.hts .hts__status-link {
	font-size: 1.15rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

.hts .hts__status-link:hover,
.hts .hts__status-link:focus {
	text-decoration: underline;
	opacity: .85;
}

/* Tabs ------------------------------------------------------------- */
.hts .hts__tabs {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(var(--hts-n, 5), minmax(0, 1fr));
	background: var(--hts-tabbg, #10213a);
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.hts .hts__tab,
.hts .hts__tab:hover,
.hts .hts__tab:focus {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 108px;
	margin: 0;
	padding: 20px 12px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, .1);
	border-radius: 0;
	background: var(--hts-tabbg, #10213a);
	color: var(--hts-tabtxt, #9fb0c8);
	font: inherit;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}

.hts .hts__tab:first-child { border-left: 0; }

.hts .hts__tab:hover { background: color-mix(in srgb, var(--hts-tabact, #1b2c47) 70%, var(--hts-tabbg, #10213a)); }

.hts .hts__tab:focus-visible {
	outline: 2px solid var(--hts-accent, #7ee0d2);
	outline-offset: -2px;
}

.hts .hts__tab.is-active,
.hts .hts__tab.is-active:hover {
	background: var(--hts-tabact, #1b2c47);
	color: #fff;
}

.hts .hts__num {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .2em;
	color: var(--hts-accent, #7ee0d2);
}

.hts .hts__label {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

/* Progress bar on the active tab */
.hts .hts__bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: var(--hts-progress, #ff7a45);
}

.hts .hts__tab.is-active .hts__bar { width: 100%; }

.hts[data-autoplay="1"] .hts__tab.is-active .hts__bar { width: 0; }

.hts[data-autoplay="1"] .hts__tab.is-active.is-playing .hts__bar {
	animation: hts-fill var(--hts-dur, 6000ms) linear forwards;
}

.hts.is-paused .hts__tab.is-playing .hts__bar { animation-play-state: paused; }

@keyframes hts-fill {
	from { width: 0; }
	to   { width: 100%; }
}

/* Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
	.hts .hts__stage { min-height: max(var(--hts-h, 640px), 560px); }
	.hts .hts__content { padding: 40px 28px; }
	.hts .hts__tab, .hts .hts__tab:hover, .hts .hts__tab:focus { min-height: 84px; gap: 6px; padding: 14px 6px; }
	.hts .hts__label { font-size: .85rem; }
	.hts .hts__num { font-size: 12px; }
	.hts .hts__status { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 22px; }
}

@media (max-width: 520px) {
	.hts .hts__label { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
	.hts .hts__slide, .hts .hts__slide.is-active { transition: none; }
}
