/*
	EDGE – hero slider + video carousel
*/

/* ===== Hero slider ===== */

	#banner.hero-slider {
		--hs-gutter: 3em;
		--hs-width: calc(100% - 6em);
		background-image: none !important;
		background-color: #1b1f33;
		overflow: hidden;
		padding: 7em 0 10.5em 0;
		height: 100vh;
		max-height: 52em;
		min-height: 40em;
		touch-action: pan-y;
		-webkit-user-select: none;
		user-select: none;
	}

		#banner.hero-slider:after {
			background: linear-gradient(90deg, rgba(27, 31, 51, 0.94) 0%, rgba(27, 31, 51, 0.8) 40%, rgba(27, 31, 51, 0.2) 75%, rgba(27, 31, 51, 0.05) 100%),
				linear-gradient(0deg, rgba(27, 31, 51, 0.95) 0%, rgba(27, 31, 51, 0) 38%),
				linear-gradient(180deg, rgba(27, 31, 51, 0.6) 0%, rgba(27, 31, 51, 0) 22%);
			background-color: transparent;
			opacity: 1;
		}

		body.is-preload #banner.hero-slider:after {
			background-color: #242943;
		}

		#banner.hero-slider > .inner {
			width: var(--hs-width);
			max-width: 65em;
			margin: 0 auto;
		}

			#banner.hero-slider > .inner header.major {
				width: -webkit-max-content;
				width: max-content;
				max-width: 100%;
				margin-bottom: 1.5em;
			}

			#banner.hero-slider h1 {
				font-size: 2.6em;
				line-height: 1.2;
				margin-bottom: 0.4em;
				text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
			}

			#banner.hero-slider > .inner .content {
				display: block;
				max-width: 35em;
				margin: 0;
			}

				#banner.hero-slider > .inner .content > * {
					margin-right: 0;
				}

				#banner.hero-slider > .inner .content p {
					font-size: 0.85em;
					font-weight: 400;
					letter-spacing: 0.01em;
					line-height: 1.7;
					text-transform: none;
					color: rgba(255, 255, 255, 0.88);
					margin: 0 0 0.9em 0;
					text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
				}

					#banner.hero-slider > .inner .content p:first-child {
						font-size: 0.95em;
						font-weight: 600;
						color: #fff;
					}

				#banner.hero-slider > .inner .content .actions {
					margin: 1.75em 0 0 -1em;
				}

	.hs-slides {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
		cursor: grab;
	}

		.hs-slides.is-dragging {
			cursor: grabbing;
		}

	.hs-slide {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: opacity 1.2s ease, visibility 0s linear 1.2s;
	}

		.hs-slide.is-active {
			opacity: 1;
			visibility: visible;
			transition: opacity 1.2s ease, visibility 0s linear 0s;
			z-index: 1;
		}

		.hs-slide .hs-img {
			position: absolute;
			top: -4%;
			left: -4%;
			width: 108%;
			height: 108%;
			background-position: center;
			background-size: cover;
			background-repeat: no-repeat;
			transform: scale(1) translate3d(0, 0, 0);
			transition: transform 0.6s ease;
			will-change: transform;
		}

		.hs-slide.is-active .hs-img {
			animation: hs-kenburns 9s ease-out forwards;
		}

		.hs-slide:nth-child(even).is-active .hs-img {
			animation-name: hs-kenburns-alt;
		}

	@keyframes hs-kenburns {
		from { transform: scale(1.0) translate3d(0, 0, 0); }
		to   { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
	}

	@keyframes hs-kenburns-alt {
		from { transform: scale(1.09) translate3d(1.5%, 0, 0); }
		to   { transform: scale(1.0) translate3d(0, 0, 0); }
	}

	/* Category tag on the image (top right) */
	.hs-tag {
		position: absolute;
		top: 6.25em;
		right: calc((100% - min(65em, 100% - 2 * var(--hs-gutter))) / 2);
		z-index: 3;
		display: flex;
		align-items: center;
		gap: 0.75em;
		padding: 0.55em 1.1em 0.55em 0.85em;
		background: rgba(27, 31, 51, 0.55);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		border: 1px solid rgba(255, 255, 255, 0.18);
		border-radius: 2em;
		font-size: 0.75em;
		font-weight: 600;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: #fff;
		pointer-events: none;
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

		.hs-tag:before {
			content: '';
			width: 0.7em;
			height: 0.7em;
			border-radius: 50%;
			background: var(--hs-accent, #9bf1ff);
			box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 0 14px var(--hs-accent, #9bf1ff);
		}

		.hs-tag.is-changing {
			opacity: 0;
			transform: translateY(-0.5em);
		}

	/* Bottom control bar */
	.hs-ui {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 2.25em;
		z-index: 3;
		width: var(--hs-width);
		max-width: 65em;
		margin: 0 auto;
	}

		.hs-ui-top {
			display: flex;
			align-items: flex-end;
			justify-content: space-between;
			margin-bottom: 1.25em;
		}

		.hs-current {
			line-height: 1.1;
		}

			.hs-current-label {
				display: block;
				font-size: 0.65em;
				font-weight: 600;
				letter-spacing: 0.3em;
				text-transform: uppercase;
				color: rgba(255, 255, 255, 0.6);
				margin-bottom: 0.5em;
			}

			.hs-current-name {
				display: inline-block;
				font-size: 1.3em;
				font-weight: 700;
				letter-spacing: 0.08em;
				text-transform: uppercase;
				color: #fff;
				border-left: 4px solid var(--hs-accent, #9bf1ff);
				padding-left: 0.6em;
				transition: border-color 0.5s ease;
			}

			.hs-current-count {
				display: inline-block;
				margin-left: 1em;
				font-size: 0.85em;
				font-weight: 600;
				letter-spacing: 0.15em;
				color: rgba(255, 255, 255, 0.7);
				vertical-align: 0.35em;
			}

				.hs-current-count b {
					color: #fff;
					font-size: 1.3em;
				}

		.hs-arrows {
			display: flex;
			gap: 0.75em;
		}

			.hs-arrow {
				-moz-appearance: none;
				-webkit-appearance: none;
				appearance: none;
				width: 3.25em;
				height: 3.25em;
				padding: 0;
				line-height: 1;
				border-radius: 50%;
				border: 1px solid rgba(255, 255, 255, 0.35);
				background: rgba(27, 31, 51, 0.35);
				-webkit-backdrop-filter: blur(6px);
				backdrop-filter: blur(6px);
				box-shadow: none;
				color: #fff;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
				transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
			}

				.hs-arrow:hover {
					background: rgba(255, 255, 255, 0.15);
					border-color: #fff;
					transform: scale(1.06);
				}

				.hs-arrow svg {
					width: 1.1em;
					height: 1.1em;
					fill: none;
					stroke: currentColor;
					stroke-width: 2.2;
					stroke-linecap: round;
					stroke-linejoin: round;
				}

		/* Category tabs */
		.hs-cats {
			display: flex;
			gap: 0.5em;
			margin: 0;
			padding: 0;
			list-style: none;
		}

			.hs-cats li {
				flex: 1 1 0;
				padding: 0;
				margin: 0;
				min-width: 0;
			}

			.hs-cat {
				display: block;
				width: 100%;
				height: auto;
				padding: 0.9em 0 0 0;
				margin: 0;
				background: none;
				box-shadow: none;
				border: 0;
				border-radius: 0;
				text-align: left;
				color: rgba(255, 255, 255, 0.55);
				font-size: 0.6em;
				font-weight: 600;
				letter-spacing: 0.15em;
				line-height: 1.4;
				text-transform: uppercase;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
				cursor: pointer;
				position: relative;
				transition: color 0.3s ease;
			}

				.hs-cat:hover {
					color: #fff;
					background: none;
					box-shadow: none;
				}

				.hs-cat .hs-bar {
					position: absolute;
					top: 0;
					left: 0;
					right: 0;
					height: 3px;
					background: rgba(255, 255, 255, 0.2);
					overflow: hidden;
					border-radius: 2px;
				}

					.hs-cat .hs-bar i {
						position: absolute;
						top: 0;
						left: 0;
						bottom: 0;
						width: 0;
						background: var(--cat-accent, #9bf1ff);
					}

				.hs-cat.is-done .hs-bar i {
					width: 100%;
					opacity: 0.45;
				}

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

				.hs-cat .hs-cat-n {
					opacity: 0.6;
					margin-left: 0.4em;
				}


	@media screen and (max-width: 980px) {

		#banner.hero-slider:after {
			background: linear-gradient(90deg, rgba(27, 31, 51, 0.85) 0%, rgba(27, 31, 51, 0.6) 60%, rgba(27, 31, 51, 0.3) 100%),
				linear-gradient(0deg, rgba(27, 31, 51, 0.95) 0%, rgba(27, 31, 51, 0) 40%);
		}

	}

	@media screen and (max-width: 736px) {

		#banner.hero-slider {
			--hs-gutter: 1.5em;
			--hs-width: calc(100% - 3em);
			height: auto;
			max-height: none;
			min-height: 0;
			padding: 7.5em 0 11em 0;
		}

			#banner.hero-slider:after {
				background: linear-gradient(0deg, rgba(27, 31, 51, 0.97) 0%, rgba(27, 31, 51, 0.65) 45%, rgba(27, 31, 51, 0.8) 100%);
			}

			#banner.hero-slider h1 {
				font-size: 1.85em;
			}

			#banner.hero-slider > .inner header.major {
				margin-bottom: 1.25em;
			}

			#banner.hero-slider > .inner .content p {
				font-size: 0.8em;
			}

				#banner.hero-slider > .inner .content p:first-child {
					font-size: 0.88em;
				}

			#banner.hero-slider > .inner .content .actions {
				margin-top: 1.25em;
				margin-bottom: 0;
			}

		.hs-tag {
			top: 5em;
			font-size: 0.55em;
		}

		.hs-ui {
			bottom: 1.5em;
		}

		.hs-current-name {
			font-size: 1em;
		}

		.hs-current-label {
			display: none;
		}

		.hs-current-count {
			display: block;
			margin: 0.4em 0 0 0;
			padding-left: 1em;
			vertical-align: baseline;
		}

		.hs-arrow {
			width: 2.75em;
			height: 2.75em;
		}

		.hs-cats {
			overflow-x: auto;
			-webkit-overflow-scrolling: touch;
			scrollbar-width: none;
			gap: 0.9em;
		}

			.hs-cats::-webkit-scrollbar {
				display: none;
			}

			.hs-cats li {
				flex: 0 0 auto;
			}

			.hs-cat {
				overflow: visible;
				font-size: 0.6em;
			}

	}

	@media (prefers-reduced-motion: reduce) {

		.hs-slide.is-active .hs-img {
			animation: none;
		}

	}

/* ===== Video carousel ===== */

	#videos {
		background: linear-gradient(180deg, #161a2c 0%, #1e2238 35%, #242943 70%, #2a2f4a 100%);
		padding: 4em 0 4em 0;
		overflow: hidden;
		position: relative;
	}

		#videos .vc-head {
			width: calc(100% - 6em);
			max-width: 65em;
			margin: 0 auto 2.75em auto;
			padding: 0;
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 1.5em;
		}

			#videos .vc-head header.major {
				margin-bottom: 0;
			}

			#videos .vc-head h2 {
				font-size: 1.75em;
			}

			#videos .vc-head .button {
				margin: 0;
			}

	.vc-stage {
		position: relative;
		height: 0;
		padding-bottom: 33.75%;
		/* active card = 60% width, 16:9 */
		max-width: 1600px;
		margin: 0 auto;
		touch-action: pan-y;
		-webkit-user-select: none;
		user-select: none;
	}

	.vc-card {
		position: absolute;
		top: 0;
		left: 50%;
		width: 60%;
		height: 100%;
		margin-left: -30%;
		border-radius: 12px;
		overflow: hidden;
		background: #111;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
		cursor: pointer;
		transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.7s ease, filter 0.7s ease;
		will-change: transform, opacity;
	}

		.vc-card img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
			pointer-events: none;
		}

		.vc-card .vc-card-title {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			padding: 2.5em 1.25em 1em 1.25em;
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
			color: #fff;
			font-weight: 600;
			font-size: 0.85em;
			line-height: 1.35;
			transition: opacity 0.4s ease;
		}

		.vc-card.is-active {
			cursor: default;
			z-index: 5;
		}

			.vc-card.is-active .vc-card-title {
				opacity: 0;
			}

		.vc-card.is-side {
			filter: saturate(0.6) brightness(0.75);
		}

			.vc-card.is-side:hover {
				filter: saturate(0.9) brightness(0.95);
				opacity: 0.85 !important;
			}

	/* Player frame sits over the active card */
	.vc-player {
		position: absolute;
		top: 0;
		left: 20%;
		width: 60%;
		height: 100%;
		z-index: 10;
		border-radius: 12px;
		overflow: hidden;
		background: #000;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.5s ease;
	}

		.vc-player.is-ready {
			opacity: 1;
			pointer-events: auto;
		}

		.vc-player.is-hidden {
			opacity: 0 !important;
			pointer-events: none !important;
			transition-duration: 0.2s;
		}

		/* Oversize the iframe so YouTube's top title bar and corner logo stay hidden */
		.vc-player .vc-yt {
			position: absolute;
			left: 0;
			top: -16%;
			width: 100%;
			height: 132%;
			pointer-events: none;
		}

			.vc-player .vc-yt iframe {
				width: 100%;
				height: 100%;
				border: 0;
			}

		/* Poster shown while paused / buffering (covers YouTube pause overlays) */
		.vc-poster {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-size: cover;
			background-position: center;
			opacity: 0;
			transition: opacity 0.35s ease;
			pointer-events: none;
		}

			.vc-player.is-paused .vc-poster,
			.vc-player.is-ended .vc-poster {
				opacity: 1;
			}

			.vc-poster:after {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background: rgba(0, 0, 0, 0.35);
			}

		.vc-hit {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			cursor: pointer;
		}

		.vc-bigplay {
			position: absolute;
			top: 50%;
			left: 50%;
			width: 5.5em;
			height: 5.5em;
			margin: -2.75em 0 0 -2.75em;
			border-radius: 50%;
			background: rgba(255, 255, 255, 0.16);
			border: 2px solid rgba(255, 255, 255, 0.85);
			-webkit-backdrop-filter: blur(6px);
			backdrop-filter: blur(6px);
			display: flex;
			align-items: center;
			justify-content: center;
			color: #fff;
			opacity: 0;
			transform: scale(0.85);
			transition: opacity 0.3s ease, transform 0.3s ease;
			pointer-events: none;
		}

			.vc-bigplay svg {
				width: 2em;
				height: 2em;
				margin-left: 0.25em;
				fill: currentColor;
			}

			.vc-player.is-paused .vc-bigplay,
			.vc-player.is-ended .vc-bigplay {
				opacity: 1;
				transform: scale(1);
			}

		/* Custom control bar */
		.vc-controls {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			display: flex;
			align-items: center;
			gap: 0.9em;
			padding: 2.5em 1.1em 0.9em 1.1em;
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
			color: #fff;
			transition: opacity 0.35s ease;
		}

			.vc-player.is-playing.is-idle .vc-controls {
				opacity: 0;
			}

			.vc-player.is-playing.is-idle {
				cursor: none;
			}

			.vc-btn {
				-moz-appearance: none;
				-webkit-appearance: none;
				appearance: none;
				flex: 0 0 auto;
				width: 2.4em;
				height: 2.4em;
				padding: 0;
				line-height: 1;
				border: 0;
				border-radius: 50%;
				background: rgba(255, 255, 255, 0.14);
				box-shadow: none;
				color: #fff;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
				transition: background 0.2s ease;
			}

				.vc-btn:hover {
					background: rgba(255, 255, 255, 0.3);
				}

				.vc-btn svg {
					width: 1.05em;
					height: 1.05em;
					fill: currentColor;
				}

				.vc-btn .i-pause,
				.vc-btn .i-muted {
					display: none;
				}

				.vc-player.is-playing .vc-play .i-play {
					display: none;
				}

				.vc-player.is-playing .vc-play .i-pause {
					display: block;
				}

				.vc-player.is-muted .vc-mute .i-sound {
					display: none;
				}

				.vc-player.is-muted .vc-mute .i-muted {
					display: block;
				}

			.vc-title {
				flex: 0 1 auto;
				max-width: 40%;
				font-size: 0.8em;
				font-weight: 600;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}

			.vc-progress {
				flex: 1 1 auto;
				height: 1.4em;
				display: flex;
				align-items: center;
				cursor: pointer;
			}

				.vc-progress-track {
					position: relative;
					width: 100%;
					height: 4px;
					border-radius: 2px;
					background: rgba(255, 255, 255, 0.25);
					transition: height 0.15s ease;
				}

				.vc-progress:hover .vc-progress-track {
					height: 6px;
				}

				.vc-progress-buf,
				.vc-progress-fill {
					position: absolute;
					top: 0;
					left: 0;
					bottom: 0;
					width: 0;
					border-radius: 2px;
				}

				.vc-progress-buf {
					background: rgba(255, 255, 255, 0.3);
				}

				.vc-progress-fill {
					background: #9bf1ff;
				}

					.vc-progress-fill:after {
						content: '';
						position: absolute;
						right: -6px;
						top: 50%;
						width: 12px;
						height: 12px;
						margin-top: -6px;
						border-radius: 50%;
						background: #fff;
						box-shadow: 0 0 0 3px rgba(155, 241, 255, 0.4);
					}

			.vc-time {
				flex: 0 0 auto;
				font-size: 0.75em;
				font-variant-numeric: tabular-nums;
				opacity: 0.85;
			}

	/* Side navigation */
	.vc-nav {
		-moz-appearance: none;
		-webkit-appearance: none;
		appearance: none;
		position: absolute;
		top: 50%;
		z-index: 20;
		width: 3.75em;
		height: 3.75em;
		margin-top: -1.875em;
		padding: 0;
		line-height: 1;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, 0.4);
		background: rgba(36, 41, 67, 0.45);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
		color: #fff;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
	}

		.vc-nav:hover {
			background: rgba(155, 241, 255, 0.22);
			border-color: #9bf1ff;
			transform: scale(1.08);
		}

		.vc-nav svg {
			width: 1.3em;
			height: 1.3em;
			fill: none;
			stroke: currentColor;
			stroke-width: 2.2;
			stroke-linecap: round;
			stroke-linejoin: round;
		}

		.vc-prev {
			left: calc(20% - 1.875em);
		}

		.vc-next {
			right: calc(20% - 1.875em);
		}

	.vc-dots {
		display: flex;
		justify-content: center;
		gap: 0.6em;
		margin: 2em 0 0 0;
		padding: 0;
		list-style: none;
	}

		.vc-dots li {
			padding: 0;
		}

		.vc-dot {
			-moz-appearance: none;
			-webkit-appearance: none;
			appearance: none;
			display: block;
			width: 0.65em;
			height: 0.65em;
			padding: 0;
			line-height: 1;
			border: 0;
			border-radius: 1em;
			background: rgba(255, 255, 255, 0.3);
			box-shadow: none;
			cursor: pointer;
			transition: width 0.35s ease, background 0.35s ease;
		}

			.vc-dot:hover {
				background: rgba(255, 255, 255, 0.6);
			}

			.vc-dot.is-active {
				width: 2.2em;
				background: #9bf1ff;
			}

	.vc-caption {
		text-align: center;
		margin: 1.25em auto 0 auto;
		padding: 0 2em;
		min-height: 1.6em;
		font-weight: 600;
		letter-spacing: 0.04em;
		color: rgba(255, 255, 255, 0.9);
	}

		.vc-caption span {
			display: block;
			margin-top: 0.2em;
			font-size: 0.7em;
			font-weight: 400;
			letter-spacing: 0.2em;
			text-transform: uppercase;
			color: rgba(255, 255, 255, 0.5);
		}

	@media screen and (max-width: 980px) {

		.vc-stage {
			padding-bottom: 45%;
		}

		.vc-card {
			width: 80%;
			margin-left: -40%;
		}

		.vc-player {
			left: 10%;
			width: 80%;
		}

		.vc-prev {
			left: calc(10% - 1.4em);
		}

		.vc-next {
			right: calc(10% - 1.4em);
		}

		.vc-nav {
			width: 2.8em;
			height: 2.8em;
			margin-top: -1.4em;
		}

	}

	@media screen and (max-width: 736px) {

		#videos {
			padding: 3.5em 0 3em 0;
		}

			#videos .vc-head {
				width: calc(100% - 3em);
				flex-direction: column;
				align-items: flex-start;
			}

		.vc-stage {
			padding-bottom: 50.6%;
		}

		.vc-card {
			width: 90%;
			margin-left: -45%;
			border-radius: 8px;
		}

		.vc-player {
			left: 5%;
			width: 90%;
			border-radius: 8px;
		}

		.vc-prev {
			left: 0.4em;
		}

		.vc-next {
			right: 0.4em;
		}

		.vc-nav {
			width: 2.4em;
			height: 2.4em;
			margin-top: -1.2em;
		}

		.vc-title {
			display: none;
		}

		.vc-controls {
			gap: 0.6em;
			padding: 1.5em 0.7em 0.6em 0.7em;
		}

		.vc-btn {
			width: 2em;
			height: 2em;
		}

		.vc-bigplay {
			width: 4em;
			height: 4em;
			margin: -2em 0 0 -2em;
		}

	}
