@import url('./_config.css');
@import url('./cookies.css?2');

[x-cloak] {
	display: none !important;
}

html {
	scroll-padding-top: 140px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--titleWeight);
}
b, strong {font-weight: var(--boldWeight)}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

.lead {
	line-height: 1.3;
}

.btn {
	padding: 1em;
	text-align: center;
	border-radius: 100vmax;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 1rem;
	outline: 2px inset transparent !important;
	background-image: linear-gradient(to right, hsl(235 38% 28%), hsl(256 86% 77%), hsl(335 64% 45%));
}

.btn.alt {
	padding: calc(1em - 2px);
	background-image: none;
	background-color: transparent;
	border: 2px inset var(--primary) !important;
	color: var(--primary);
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: 500;
	position: relative;
	border-radius: 100vmax;
}


.btn .icon {
	margin-left: 1em;
	font-size: .75rem;
	font-family: monospace;

	line-height: 1;
	font-weight: bold;
	transition: all .3s;
}

.btn.alt:hover {
	color: var(--secondary);
	border-color: var(--secondary);
}

.btn.alt:hover .icon {
	transform: translateX(.2em);
	color: var(--secondary);
}


.gradient-text {
	background: linear-gradient(to right, hsl(235 38% 28%) 5%, hsl(256 86% 77%) 20%, hsl(335 64% 45%));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}




/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
}

.navbar::after {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	background-image: linear-gradient(to right, hsl(235 38% 28%), hsl(256 86% 77%), hsl(335 64% 45%));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
}

.navbar-logo {
	margin: 18px 0;
	transition: all .3s;
}

.affix .navbar-logo {margin: 5px 0;}

.navbar-logo-image {
	display: block;
	height: 104px;
	transition: all .3s;
}

.affix .navbar-logo-image {height: 50px;}




/*
			N A V B A R   N A V
*/

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: var(--navMargin);
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: var(--navColor);
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: 400;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */

/*
.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	will-change: transform;
	background-color: var(--primary);
	transition: all .2s var(--ease);
} */

/*
.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	left: 0;
} */

.navbar-nav .nav-active {
	color: var(--primary);
	font-weight: 600;
}


.navbar-nav > li > a:hover {
	color: var(--secondary);
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: var(--navMargin);
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: var(--primary);
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);

}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: white;
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	line-height: 1.3;
	transition: all .3s var(--ease);
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
	filter: invert(1);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--secondary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
}

.mobile-menu-toggler div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler div:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler div:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler div:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler div:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}







/*
			H E A D E R
*/

header {
	overflow: hidden;
}

.home header,
.home header video {
	height: calc(100vh - 184px);
}

.home header video {
	object-fit: cover;
}

.scroll img {
	width: 183px;
}
.scroll {
	position: absolute;
	bottom: 0;
	left: calc(50% - 91.5px);
}

.slogan {
	width: 55%;
	margin-bottom: 0;
	color: white;
	font-weight: 500;
	font-size: 1.875rem;
	line-height: 1.3;
}

.slogan h1 {
	margin-top: 0;
	margin-bottom: 30px;
	font-weight: 600;
	font-size: 3.125rem;
	text-transform: uppercase;
}

.slogan p {font-weight: 300;}

.slogan p:last-of-type {margin-bottom: 0;}


/*
			M A I N   S E C T I O N S
*/

#quick-info h2 {
	font-weight: 600;
}


.bg-light {
	background-image: url(/assets/img/vertical-bg.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}


#our-technology h3, #hiring h3, #funding-and-support h3, .border-left {
	padding-left: 1rem;
	line-height: 1.3;
	border-left: 3px solid var(--titleColor);
}


#hiring {
	background-image: url(/assets/img/hiring-bg.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: cover;
}


#funding-and-support .flex {
	margin-top: 2rem;
	gap: 4rem;
}


#funding-and-support .flex a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15%;
	height: 110px;
	filter: grayscale(1);
	opacity: .8;
	transition: all .3s;
}

#funding-and-support .flex a:hover {
	opacity: 1;
	filter: grayscale(0);
}

#funding-and-support .flex a img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}









/*
			F O O T E R
*/


footer::before {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	background-image: linear-gradient(to right, hsl(235 38% 28%), hsl(256 86% 77%), hsl(335 64% 45%));
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
}

.totop {
	position: absolute;
	right: 0;
	top: -15px;
	z-index: 100;
	background-color: #fff;
	border-radius: 50%;

	transition: transform .2s;
}

.totop:hover {
	transform: translateY(-3px);
}

footer a {
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
	color: var(--secondary);
	transition: all .2s;
}

footer a:hover {
	color: var(--primary);
}

.footer-links {margin-top: .5em;}

.footer-links a + a {
	border-left: 2px solid var(--secondary);
	padding-left: .5em;
	margin-left: .5em;
}

footer span {
	display: block;
	line-height: 1.5;
	font-size: .85rem;
}




.popup {
	position: fixed;
	inset: 0;
	isolation: isolate;
	z-index: 99999;

	display: none;
	align-items: center;
	justify-content: center;
}

.popup.active {
	display: flex;
}

.popup-backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-color: hsl(0 0% 0% / .4);
}

.popup-wrap {
	width: 50%;
	min-width: 300px;
	position: relative;
}

.popup-close {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: white;
	color: var(--primary);
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 30px;
	right: 30px;
	border: 2px solid var(--primary);
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.popup-close:hover {
	color: var(--secondary);
	border-color: var(--secondary);
	transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	-ms-transform: scale(1.05);
	-o-transform: scale(1.05);
}

.popup-content {
	padding: 15px;
	background-image: linear-gradient(to right, #EAEAF0, #FCF1FB);
	box-shadow: 0 15px 30px -10px hsl(0 0% 0% / .3);
}




/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}







/*

			M E D I A
			Q U E R I E S

*/



@media screen and (max-width: 1315px) {
	#quick-info h2 {
		font-size: clamp(2rem, 2.8125rem, 3vw);
	}

	footer .md\:w-3-12:last-of-type .items-end p {
		font-size: clamp(.75rem, 1rem, 1.1vw);
	}
}



@media screen and (max-width: 1299px) {
	:root {
		--navMargin: 30px !important
	}

	.navbar-logo-image {
		height: 80px;
	}

	.slogan h1 {
		font-size: clamp(2rem, 3.125rem, 3.5vw);
	}

	.slogan p {
		font-size: clamp(.75rem, 1.875rem, 2vw);
	}

	.lead {
		font-size: clamp(1.125rem, 1.5625rem, 1.8vw);
	}
}



@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 20px !important
	}

	.navbar-nav > li > a {font-size: .875rem;}

	.navbar-logo-image {
		height: 70px;
	}

	footer .md\:w-3-12:first-of-type {
		width: 20%;
		max-width: 20%;
		flex-basis: 20%;
	}

	footer .md\:w-3-12:last-of-type {
		width: 30%;
		max-width: 30%;
		flex-basis: 30%;
	}

	footer .md\:w-6-12 {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
	}

	#funding-and-support .flex a {
		width: 14%;
	}
}



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

	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}

	header video {
		object-position: right center;
	}

	.home header, .home header video {
		height: 440px;
	}

	footer .md\:w-3-12:first-of-type,
	footer .md\:w-3-12:last-of-type,
	footer .md\:w-6-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
	}

	footer .items-end {
		align-items: center;
	}

	header [class*="--ready"] {
		opacity: 1;
		transform: none !important;
		-webkit-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-o-transform: none !important;
	}

	.card.member .card-body {
		display: flex;
		flex-direction: column;
	}

	.card.member .card-body .more {align-self: flex-end;}
}


@media screen and (max-width: 979px) {
	#funding-and-support .flex a {
		width: 27%;
	}
}


@media screen and (max-width: 760px) {
	#funding-and-support .flex {
		gap: 1rem;
	}
}


@media screen and (max-width: 639px) {
	#funding-and-support .flex a {
		width: 40%;
	}
}


@media screen and (max-width: 599px) {
	.slogan {
		width: 100%;
		text-align: center;
		padding-top: 30px;
	}

	.slogan h1 {margin-bottom: 1rem;}

	.slogan p {margin-top: 0;}

	header .container.items-center {
		align-items: flex-start;
	}

	.home header video {
		height: 753px;
		object-position: -743px center;
	}

	.home header {
		height: calc(100vh - 110px);
	}

	#hiring {
		background-position: 52% 0;
	}

	#hiring .flex-nowrap {
		flex-direction: column;
		align-items: flex-end;
	}

	#hiring .pr-50 {padding-right: 0;}
}



@media screen and (max-width: 435px) {
	.home header video {
		height: 652px;
		object-position: -633px center;
	}

	.home header {
		height: 652px;
	}

	.slogan {
		width: 100%;
		text-align: center;
		padding-top: 30px;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding-bottom: 70px;
	}

	#funding-and-support .flex a {
		height: 80px;
	}

	#funding-and-support .flex a img {
		display: block;
		max-width: 85%;
		max-height: 85%;
	}
}


@media screen and (max-width: 425px) {
	.home header video {
		object-position: -638px center;
	}
}


@media screen and (max-width: 414px) {
	.home header video {
		object-position: -642px center;
	}
}


@media screen and (max-width: 400px) {
	.home header video {
		object-position: 85.5% center;
	}
}

@media screen and (max-width: 380px) {
	.home header video {
		object-position: 84.5% center;
	}
}



@media screen and (max-width: 360px) {
	.home header {
		height: 578px;
	}

	.home header video {
		height: 575px;
		object-position: 86% center;
	}

	.slogan h1 {
		font-size: 1.7rem;
	}

	.slogan p {
		font-size: .875rem;
	}
}