/*
	landing.css -- index.html only.

	The landing page: the animated background, the full-height centred wrapper,
	the hero (brand, tagline, nav), and the intro animation. The Dimension panel
	pop-ups are gone -- every nav item now goes to a real page -- so nothing here
	applies to other pages, and they must not load it.

	Derived from Dimension by HTML5 UP (html5up.net | @ajlkn), CCA 3.0.
*/

/* Preload state (landing intro animation only) */

	body.is-preload *, body.is-preload *:before, body.is-preload *:after {
		animation: none !important;
		transition: none !important;
	}

/* BG */

	#bg {
		transform: scale(1.0);
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		z-index: 1;
	}

		#bg:before, #bg:after {
			content: '';
			display: block;
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
		}

		#bg:before {
			background-image: linear-gradient(to top, var(--bg-overlay), var(--bg-overlay)), url("../../images/overlay.png");
			background-size: auto,
 256px 256px;
			background-position: center,
 center;
			background-repeat: no-repeat,
 repeat;
			z-index: 2;
		}

		#bg:after {
			transform: scale(1.125);
			transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out;
			background-image: none;
			background: radial-gradient(circle at 30% 20%, rgba(55, 85, 135, 0.45), rgba(14, 16, 20, 0.88));
			background-position: center;
			background-size: cover;
			background-repeat: no-repeat;
			z-index: 1;
		}


/* Wrapper (landing-specific: full height + page padding) */

	#wrapper {
		align-items: center;
		justify-content: space-between;
		min-height: 100vh;
		padding: 4rem 2rem;
	}

		#wrapper:before {
			content: '';
			display: block;
		}

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

			#wrapper {
				padding: 3rem 2rem;
			}

		}

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

			#wrapper {
				padding: 2rem 1rem;
			}

		}

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

			#wrapper {
				padding: 1rem;
			}

		}

/* Header */

	#hero {
		display: flex;
		flex-direction: column;
		align-items: center;
		transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		background-image: -ms-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
		max-width: 100%;
		text-align: center;
	}

		#hero > * {
			transition: opacity 0.325s ease-in-out;
			position: relative;
			margin-top: 3.5rem;
		}

			#hero > *:before {
				content: '';
				display: block;
				position: absolute;
				top: calc(-3.5rem - 1px);
				left: calc(50% - 1px);
				width: 1px;
				height: calc(3.5rem + 1px);
				background: var(--fg);
			}

		#hero > :first-child {
			margin-top: 0;
		}

			#hero > :first-child:before {
				display: none;
			}

		#hero .content {
			border-style: solid;
			border-color: var(--fg);
			border-top-width: 1px;
			border-bottom-width: 1px;
			position: relative;
			overflow: hidden;
			width: 100%;
			max-width: 100%;
		}

			#hero .content canvas#hero-network-canvas {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				pointer-events: none;
				z-index: 1;
			}

			#hero .content .inner {
				position: relative;
				z-index: 2;
				transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out;
				transition-delay: 0.25s;
				padding: 3rem 2rem;
				max-height: 40rem;
				overflow: hidden;
			}

				#hero .content .inner > :last-child {
					margin-bottom: 0;
				}

			#hero .content p {
				text-transform: uppercase;
				letter-spacing: 0.2rem;
				font-size: 0.8rem;
				line-height: 2;
			}

		#hero nav ul {
			display: flex;
			margin-bottom: 0;
			list-style: none;
			padding-left: 0;
			border: solid 1px var(--fg);
			border-radius: 4px;
		}

			#hero nav ul li {
				padding-left: 0;
				border-left: solid 1px var(--fg);
			}

				#hero nav ul li:first-child {
					border-left: 0;
				}

				#hero nav ul li a {
					display: block;
					min-width: 7.5rem;
					height: 2.75rem;
					line-height: 2.75rem;
					padding: 0 1.25rem 0 1.45rem;
					text-transform: uppercase;
					letter-spacing: 0.2rem;
					font-size: 0.8rem;
					border-bottom: 0;
				}

					#hero nav ul li a:hover {
						background-color: var(--border-bg);
					}

					#hero nav ul li a:active {
						background-color: var(--border-bg-alt);
					}

		#hero nav.use-middle:after {
			content: '';
			display: block;
			position: absolute;
			top: 0;
			left: calc(50% - 1px);
			width: 1px;
			height: 100%;
			background: var(--fg);
		}

		#hero nav.use-middle ul li.is-middle {
			border-left: 0;
		}


		body.is-preload #hero {
			filter: blur(0.125rem);
		}

			body.is-preload #hero > * {
				opacity: 0;
			}

			body.is-preload #hero .content .inner {
				max-height: 0;
				padding-top: 0;
				padding-bottom: 0;
				opacity: 0;
			}

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

			#hero > * {
				margin-top: 2rem;
			}

				#hero > *:before {
					top: calc(-2rem - 1px);
					height: calc(2rem + 1px);
				}

			#hero .content .inner {
				padding: 2.5rem 1rem;
			}

			#hero .content p {
				line-height: 1.875;
			}

		}

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

			#hero {
				padding: 1.5rem 0;
			}

				#hero .content .inner {
					padding: 2.5rem 0;
				}

				#hero nav ul {
					flex-direction: column;
					min-width: 10rem;
					max-width: 100%;
				}

					#hero nav ul li {
						border-left: 0;
						border-top: solid 1px var(--fg);
					}

						#hero nav ul li:first-child {
							border-top: 0;
						}

						#hero nav ul li a {
							height: 3rem;
							line-height: 3rem;
							min-width: 0;
							width: 100%;
						}

				#hero nav.use-middle:after {
					display: none;
				}

		}

/* Footer */

	#footer {
		transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out;
		width: 100%;
		max-width: 100%;
		margin-top: 2rem;
		text-align: center;
	}

		#footer p {
			margin: 0;
		}


		body.is-preload #footer {
			opacity: 0;
		}

		
