/* ==================================================
   MANROPE NUMBER LOADER
================================================== */

/*
 * Lock the page while the loader is active.
 */
body.bl-number-loader-active {
	overflow: hidden !important;
}

/*
 * Do not display the loader again after it has
 * already played during the current session.
 */
html.bl-number-loader-seen .bl-number-loader {
	display: none !important;
}

html.bl-number-loader-seen body.bl-number-loader-active {
	overflow: auto !important;
}

/* Full-screen overlay */

.bl-number-loader {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: block;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: #e2e1df;
	color: #152940;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	will-change: transform;
}

.bl-number-loader__screen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Vertical progress bar */

.bl-number-loader__progress {
	position: absolute;
	bottom: 0;
	left: 0;
	width: clamp(0.5rem, 0.8vw, 0.9rem);
	height: 100%;
	overflow: hidden;
	background: rgba(21, 41, 64, 0.08);
}

.bl-number-loader__progress-inner {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #ed4545;
	transform: scaleY(0);
	transform-origin: bottom;
	will-change: transform;
}

.bl-number-loader__energised {
	position: absolute;

	
/*ENERGISED TEXT */

	/*
	 * Start after the hidden first number column.
	 */
	left: 33.333%;

	/*
	 * Match the width of the two visible number columns.
	 */
	width: 66.667%;
	top: calc(100% + 0.04em);
	display: flex;
	align-items: center;

	margin: 0;
	padding: 0;

	font-family: "Montserrat", Arial, sans-serif;
	font-size: 0.115em;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #ed4545;
	white-space: nowrap;
}

.bl-number-loader__energised span {
	display: block;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}
/* Number area */

.bl-number-loader__numbers {
	position: absolute;
	bottom: 0.32em;
	left: 0.18em;
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: clamp(5rem, calc(9vw + 9vh), 17rem);
	font-weight: 300;
	font-style: normal;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.075em;
	color: #152940;
}

/* Individual rolling columns */

.bl-number-loader__number-group {
	position: relative;
	display: flex;
	flex: 0 0 0.64em;
	flex-direction: column;
	width: 0.64em;
	height: 1em;
	overflow: hidden;
}

.bl-number-loader__number-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	will-change: transform;
}

/*
 * Initial positions are also set in CSS to prevent
 * the numbers flashing before GSAP starts.
 */

.bl-number-loader__number-group.is-first
.bl-number-loader__number-wrap {
	transform: translateY(100%);
}

.bl-number-loader__number-group.is-second
.bl-number-loader__number-wrap,
.bl-number-loader__number-group.is-third
.bl-number-loader__number-wrap {
	transform: translateY(10%);
}

.bl-number-loader__number {
	position: relative;
	display: flex;
	flex: 0 0 1em;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 1em;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 1em;
	font-weight: 300;
	font-style: normal;
	line-height: 1;
	color: #152940;
}

/* Percentage symbol */

.bl-number-loader__percentage-wrap {
	position: absolute !important;
	top: 0.23em;
	left: calc(100% + 0.06em);
	z-index: 20;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	overflow: visible !important;
	font-size: 0.3em;
	line-height: 1;
	letter-spacing: 0;
	pointer-events: none;
}

.bl-number-loader__percentage {
	position: relative;
	display: block !important;
	width: auto !important;
	height: auto !important;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 1em;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	color: #ed4545 !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
/* Tablet */

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

	.bl-number-loader__numbers {
		font-size: clamp(6rem, 20vw, 12rem);
	}
}

/* Mobile */

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

	.bl-number-loader__numbers {
		left: 0.13em;
		font-size: clamp(5rem, 28vw, 9rem);
		letter-spacing: -0.065em;
		bottom: 0.28em;

	}

	.bl-number-loader__progress {
		width: 0.45rem;
	}

	.bl-number-loader__number-group {
		flex-basis: 0.67em;
		width: 0.67em;
	}
}

/* Reduced-motion accessibility */

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

	body.bl-number-loader-active {
		overflow: auto !important;
	}

	.bl-number-loader {
		display: none !important;
	}
}