.tt-wl {
	--tt-wl-color: #0f0e0e;
	--tt-wl-text: #ffffff;
	position: fixed !important;
	inset: 0 !important;
	width: 100%;
	height: 100%;
	height: 100dvh;
	max-width: none;
	max-height: none;
	z-index: 100200;
	pointer-events: auto;
	overflow: hidden;
	background: var(--tt-wl-color);
	color: var(--tt-wl-text);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tt-wl.is-done {
	pointer-events: none;
	visibility: hidden;
}

html.tt-wl-pending,
html.tt-wl-pending body {
	overflow: hidden;
	background: var(--tt-wl-color, #0f0e0e);
}

html.tt-wl-pending body {
	visibility: hidden;
}

html.tt-wl-pending body > *:not(.tt-wl) {
	opacity: 0 !important;
	pointer-events: none !important;
}

html.tt-wl-pending .tt-wl {
	visibility: visible;
	opacity: 1 !important;
	pointer-events: auto !important;
}

html.tt-wl-pending body * {
	animation-play-state: paused !important;
}

html.tt-wl-pending .tt-wl,
html.tt-wl-pending .tt-wl * {
	animation-play-state: running !important;
}

html.tt-wl-pending,
html.tt-wl-done {
	scrollbar-gutter: stable;
}

html.tt-wl-skip .tt-wl {
	display: none !important;
}

.tt-wl--split {
	background: var(--tt-wl-color);
	color: var(--tt-wl-text);
}

.tt-wl__split {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tt-wl__h1 {
	display: flex;
	justify-content: center;
	align-items: stretch;
	white-space: nowrap;
	font-size: clamp(3.2rem, 12.5vw, 12.5em);
	font-weight: 500;
	line-height: 0.75;
	position: relative;
}

.tt-wl__h1-start,
.tt-wl__h1-end {
	display: flex;
	overflow: hidden;
}

.tt-wl__h1-start {
	justify-content: flex-end;
}

.tt-wl__h1-end {
	justify-content: flex-start;
}

.tt-wl__letter {
	display: block;
	position: relative;
}

.tt-wl__box {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 0;
	position: relative;
}

.tt-wl__box-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 1em;
	height: 95%;
	position: relative;
}

.tt-wl__grow {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 0%;
	height: 100%;
	position: absolute;
	overflow: hidden;
}

.tt-wl__grow-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 1em;
	height: 100%;
	overflow: hidden;
}

.tt-wl__cover {
	pointer-events: none;
	object-fit: cover;
	object-position: center center;
	user-select: none;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
}

.tt-wl__cover--full {
	z-index: 5;
}

.tt-wl__cover--extra:nth-child(1) { z-index: 4; }
.tt-wl__cover--extra:nth-child(2) { z-index: 3; }
.tt-wl__cover--extra:nth-child(3) { z-index: 2; }

.tt-wl--greet {
	background: var(--tt-wl-color);
}

.tt-wl--greet.is-path-ready {
	background: transparent;
	overflow: visible;
}

.tt-wl__svg {
	position: absolute;
	top: 0;
	width: 100%;
	height: calc(100% + 300px);
}

.tt-wl__path {
	fill: var(--tt-wl-color);
}

.tt-wl__word {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.625rem);
	line-height: 1;
	opacity: 0;
	color: var(--tt-wl-text);
}

.tt-wl__word-text {
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	font-style: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
	color: inherit;
}

.tt-wl__dot {
	display: none !important;
}

.tt-wl--digits {
	align-items: flex-end;
	justify-content: flex-start;
	padding: 2rem;
	box-sizing: border-box;
}

.tt-wl__digits-copy {
	display: flex;
	align-items: baseline;
	gap: 0.35em;
	position: relative;
	z-index: 2;
	min-width: 0;
}

.tt-wl__label {
	width: max-content;
	text-transform: uppercase;
	font-size: clamp(2rem, 5vw, 3.75rem);
	line-height: 1;
	margin: 0;
}

.tt-wl__counter {
	display: flex;
	align-items: baseline;
	height: 1em;
	font-size: clamp(3.5rem, 8vw, 6.25rem);
	font-weight: 400;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	overflow: hidden;
}

.tt-wl__digit {
	position: relative;
	display: block;
	height: 1em;
	overflow: hidden;
	flex: 0 0 0.62em;
	width: 0.62em;
	text-align: center;
}

.tt-wl__digit-track {
	display: flex;
	flex-direction: column;
	will-change: transform;
}

.tt-wl__num {
	height: 1em;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tt-wl__digit--pct {
	flex: 0 0 auto;
	width: auto;
	overflow: visible;
}

.tt-wl__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: var(--tt-wl-text);
	transform: scaleX(0);
	transform-origin: left center;
	z-index: 3;
}

.tt-wl--percent {
	align-items: stretch;
	justify-content: flex-start;
	padding: 0;
}

.tt-wl__percent {
	position: absolute;
	top: 50%;
	left: 2rem;
	transform: translateY(-50%) scale(0.25);
	transform-origin: left bottom;
	z-index: 2;
}

.tt-wl__percent-num {
	display: block;
	font-size: clamp(2.5rem, 25vw, 25rem);
	line-height: 1;
	font-weight: 500;
}

.tt-wl__track {
	position: absolute;
	left: 2rem;
	bottom: 6rem;
	width: calc(100% - 4rem);
	height: 1.5px;
	background: rgba(255, 255, 255, 0.28);
	transform-origin: left;
	transform: scaleX(0);
	overflow: hidden;
}

.tt-wl__fill {
	position: absolute;
	inset: 0;
	background: var(--tt-wl-text);
	transform-origin: left;
	transform: scaleX(0);
}

.tt-wl__morph {
	display: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
	overflow: visible;
	fill: var(--tt-wl-color, #0f0e0e);
	opacity: 0;
}

.tt-wl__morph path {
	fill: var(--tt-wl-color, #0f0e0e);
}

.tt-wl--percent .tt-wl__morph {
	display: block;
}

.tt-wl.is-wiping {
	background: none !important;
}

.tt-wl.is-wiping .tt-wl__percent,
.tt-wl.is-wiping .tt-wl__track {
	opacity: 0;
	pointer-events: none;
}

.tt-wl.is-wiping .tt-wl__morph {
	opacity: 1;
	z-index: 6;
}

html.tt-wl-wiping {
	overflow: hidden !important;
}

html.tt-wl-wiping body {
	overflow: hidden !important;
}

@media (max-width: 767px) {
	.tt-wl--digits {
		padding: 1em;
	}

	.tt-wl__label {
		font-size: 2rem;
	}

	.tt-wl__counter {
		font-size: 4.375rem;
	}

	.tt-wl__percent {
		left: 1rem;
	}

	.tt-wl__track {
		left: 1rem;
		width: calc(100% - 2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tt-wl {
		display: none !important;
	}

	html.tt-wl-pending,
	html.tt-wl-pending body {
		overflow: auto;
	}
}
