/*
Meeting-table illustration (about-us-top-section.png).
The file is one flat image. Bubbles, a server rack, and a lightbulb
glow sit on top of it. The people are not scaled or skewed.
The loop is 5.4s. prefers-reduced-motion keeps the bubbles and the
rack still and turns the glow pulse off.
*/

@keyframes nv-talk-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 16px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes nv-talk-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -7px, 0);
	}
}

@keyframes nv-talk-pop {
	0% {
		opacity: 0;
		transform: translate3d(0, 8px, 0) scale(0.84);
	}

	6% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}

	30% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}

	38% {
		opacity: 0;
		transform: translate3d(0, -5px, 0) scale(0.92);
	}

	100% {
		opacity: 0;
		transform: translate3d(0, 8px, 0) scale(0.84);
	}
}

@keyframes nv-talk-rack {
	0%,
	10% {
		opacity: 0;
		transform: translate3d(0, 4px, 0);
	}

	24%,
	68% {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}

	84%,
	100% {
		opacity: 0;
		transform: translate3d(0, -3px, 0);
	}
}

@keyframes nv-talk-glow {
	0%,
	100% {
		opacity: 0.25;
		transform: scale(0.94);
	}

	50% {
		opacity: 0.88;
		transform: scale(1.06);
	}
}

.nv-talk {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
	vertical-align: top;
	overflow: hidden;
	animation: nv-talk-rise 0.9s ease-out both, nv-talk-float 5.2s ease-in-out 0.9s infinite;
}

.nv-talk__layer {
	position: absolute;
	inset: 0;
	container-type: inline-size;
	pointer-events: none;
}

.nv-talk--still {
	animation: nv-talk-float 5.2s ease-in-out infinite;
}

.nv-talk__img,
.nv-talk > img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	position: relative;
	z-index: 0;
}

.nv-talk img[src*="about-us-top-section"],
.nv-talk img[srcset*="about-us-top-section"],
.nv-talk img.nv-scene-motion,
.nv-talk img.nv-scene-float {
	animation: none;
	opacity: 1;
	transform: none;
}

.nv-talk__glow,
.nv-talk__rack,
.nv-talk__bubble {
	position: absolute;
	pointer-events: none;
}

.nv-talk__glow {
	z-index: 1;
	left: 44.2%;
	top: 10.2%;
	width: 11.6%;
	height: 17.4%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 220, 70, 0) 34%, rgba(229, 193, 12, 0.75) 52%, rgba(229, 193, 12, 0) 72%);
	transform-origin: center center;
	animation: nv-talk-glow 2.7s ease-in-out infinite;
}

.nv-talk__rack {
	z-index: 2;
	left: 55.9%;
	top: 15.8%;
	width: 3.6%;
	height: 7.2%;
	opacity: 0;
	animation: nv-talk-rack 5.4s ease-in-out infinite;
}

.nv-talk__rack svg {
	display: block;
	width: 100%;
	height: 100%;
}

.nv-talk__bubble {
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	padding: 0.38em 0.7em 0.42em;
	border-radius: 999px;
	font-family: inherit;
	font-size: clamp(9px, 1.65cqw, 13px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	white-space: nowrap;
	opacity: 0;
	transform-origin: center bottom;
	animation: nv-talk-pop 5.4s ease-in-out infinite both;
}

.nv-talk__bubble::after {
	content: "";
	position: absolute;
	bottom: -0.32em;
	width: 0.48em;
	height: 0.48em;
	background: inherit;
	transform: translateX(-50%) rotate(45deg);
}

.nv-talk__bubble--left {
	left: 16%;
	top: 24%;
	max-width: 20%;
	color: #020626;
	background: #ffffff;
	border: 1px solid #020626;
	box-shadow: 0 4px 10px rgba(2, 6, 38, 0.12);
	animation-delay: 0s;
}

.nv-talk__bubble--left::after {
	left: 72%;
	border-right: 1px solid #020626;
	border-bottom: 1px solid #020626;
}

.nv-talk__bubble--mid {
	left: 48.6%;
	top: 29.4%;
	color: #ffffff;
	background: #020626;
	border: 1px solid #020626;
	animation-delay: 1.8s;
}

.nv-talk__bubble--mid::after {
	left: 46%;
	background: #020626;
}

.nv-talk__bubble--right {
	left: 68%;
	top: 20.5%;
	max-width: 22%;
	color: #020626;
	background: #ffffff;
	border: 1px solid #020626;
	box-shadow: 0 4px 10px rgba(2, 6, 38, 0.12);
	animation-delay: 3.6s;
}

.nv-talk__bubble--right::after {
	left: 38%;
	border-right: 1px solid #020626;
	border-bottom: 1px solid #020626;
}

@media (prefers-reduced-motion: reduce) {
	.nv-talk,
	.nv-talk--still,
	.nv-talk__glow,
	.nv-talk__rack,
	.nv-talk__bubble {
		animation: none;
	}

	.nv-talk,
	.nv-talk--still {
		opacity: 1;
		transform: none;
	}

	.nv-talk__glow {
		opacity: 0.4;
		transform: none;
	}

	.nv-talk__rack,
	.nv-talk__bubble {
		opacity: 1;
		transform: none;
	}
}
