@import url(fontawesome-all.min.css);

/*
	Numeral42 - Cleaned & Optimized Styles
	- Fixed character encoding issues
	- Removed unused styles (tables, unused form elements)
	- Consolidated media queries
	- Improved accessibility
	- Added comments for maintainability
*/

/* ===================================
   CSS Variables
   =================================== */
:root {
	--color-text: #ffffff;
	--color-bg: #1b1f22;
	--color-border: #ffffff;
	--color-accent-low: rgba(255, 255, 255, 0.075);
	--color-accent-med: rgba(255, 255, 255, 0.175);
	--color-accent-high: rgba(255, 255, 255, 0.5);
	--font-sans: "Outfit", sans-serif;
	--font-heading: "Science Gothic", sans-serif;
	--font-mono: "Courier New", monospace;
}

/* ===================================
   CSS Reset
   =================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	-webkit-text-size-adjust: none;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: '"' '"';
	font-style: italic;
}

blockquote:before,
blockquote:after,
q::before {
	content: open-quote;
}

q::after {
	content: close-quote;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	appearance: none;
}

/* ===================================
   Base Styles
   =================================== */
@-ms-viewport {
	width: device-width;
}

html {
	box-sizing: border-box;
	font-size: 16pt;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	background: var(--color-bg);
}

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

/* ===================================
   Typography
   =================================== */
body, input, select, textarea {
	color: var(--color-text);
	font-family: var(--font-sans);
	font-weight: 100;
	font-size: 1rem;
	line-height: 1.65;
}

a {
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	border-bottom: dotted 1px var(--color-accent-high);
	text-decoration: none;
	color: inherit;
}

a:hover {
	border-bottom-color: transparent;
}

a:focus {
	outline: 2px solid var(--color-border);
	outline-offset: 2px;
}

strong, b {
	color: var(--color-text);
	font-weight: 600;
}

em, i {
	font-style: italic;
}

p {
	margin: 0 0 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--color-text);
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
	border-bottom: solid 1px var(--color-border);
	width: max-content;
	padding-bottom: 0.5rem;
	margin: 0 0 2rem 0;
}

h1 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-style: normal;
	font-variation-settings: "slnt" 0, "wdth" 100, "CTRS" 0;
	font-size: 7rem;
	line-height: 1.3;
	letter-spacing: 0.5rem;
	margin: 0 0 2rem 0;
	text-transform: capitalize;
}

h1:before {
	display: none !important;
}

h2 {
	font-size: 1.5rem;
	line-height: 1.4;
	letter-spacing: 0.5rem;
}

h3 {
	font-size: 1.2rem;
	font-weight: 300;
	letter-spacing: 0.5rem;
	margin: 0 0 2rem 0;
	text-transform: uppercase;
}

h4 {
	font-size: 0.8rem;
}

h5 {
	font-size: 0.7rem;
	text-transform: capitalize;
}

h6 {
	font-size: 0.6rem;
}

sub {
	font-size: 0.8rem;
	position: relative;
	top: 0.5rem;
}

sup {
	font-size: 0.8rem;
	position: relative;
	top: -0.5rem;
}

blockquote {
	border-left: solid 4px var(--color-border);
	font-style: italic;
	margin: 0 0 2rem 0;
	padding: 0.5rem 0 0.5rem 2rem;
}

code {
	background: var(--color-accent-low);
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 0.9rem;
	margin: 0 0.25rem;
	padding: 0.25rem 0.65rem;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: var(--font-mono);
	font-size: 0.9rem;
	margin: 0 0 2rem 0;
}

pre code {
	display: block;
	line-height: 1.75;
	padding: 1rem 1.5rem;
	overflow-x: auto;
}

hr {
	border: 0;
	border-bottom: solid 1px var(--color-border);
	margin: 2.75rem 0;
}

.bigger {
	font-size: 150%;
}

.quote-author {
	font-size: 90%;
	opacity: 0.8;
}

/* ===================================
   Forms
   =================================== */
form {
	margin: 0 0 2rem 0;
}

form > :last-child {
	margin-bottom: 0;
}

form > .fields {
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 3rem);
	margin: -1.5rem 0 2rem -1.5rem;
}

form > .fields > .field {
	flex-grow: 0;
	flex-shrink: 0;
	padding: 1.5rem 0 0 1.5rem;
	width: calc(100% - 1.5rem);
}

form > .fields > .field.half {
	width: calc(50% - 0.75rem);
}

label {
	color: var(--color-text);
	display: block;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.2rem;
	line-height: 1.5;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
	appearance: none;
	transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: solid 1px var(--color-border);
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 1rem;
	text-decoration: none;
	width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
select:invalid,
textarea:invalid {
	box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	background: var(--color-accent-low);
	border-color: var(--color-border);
	box-shadow: 0 0 0 1px var(--color-border);
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
	height: 2.75rem;
}

textarea {
	padding: 0.75rem 1rem;
}

input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	display: block;
	float: left;
	margin-right: -2rem;
	opacity: 0;
	width: 1rem;
	z-index: -1;
}

::placeholder {
	color: var(--color-accent-high);
	opacity: 1;
}

/* ===================================
   Icons
   =================================== */
.icon {
	text-decoration: none;
	border-bottom: none;
	position: relative;
}

.icon:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	text-transform: none !important;
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
}

.icon > .label {
	display: none;
}

.icon:before {
	line-height: inherit;
}

.icon.solid:before {
	font-weight: 900;
}

.icon.brands:before {
	font-family: 'Font Awesome 5 Brands';
}

/* ===================================
   Images
   =================================== */
.image {
	border-radius: 4px;
	max-width: 100%;
	border: 0;
	display: inline-block;
	position: relative;
}

.image img {
	border-radius: 4px;
	display: block;
}

.image.avatar {
	width: 8.25em;
	border-radius: 100%;
	float: right;
	margin: 0 0 1.5rem 1.5rem;
}

.image.avatar:before {
	display: none;
}

.image.avatar img {
	border-radius: 100%;
	width: 100%;
}

.image.main {
	display: block;
	margin: 2.5rem 0;
	width: 100%;
}

.image.main img {
	width: 100%;
	height: auto;
}

/* ===================================
   Lists
   =================================== */
ol {
	list-style: decimal;
	margin: 2rem 0 2rem 0;
	padding-left: 1.25em;
}

ol li {
	padding-left: 0.25em;
}

ul {
	list-style: disc;
	margin: 0 0 2rem 0;
	padding-left: 1em;
}

ul li {
	padding-left: 0.5em;
}

ul.alt {
	list-style: none;
	padding-left: 0;
}

ul.alt li {
	border-top: solid 1px var(--color-border);
	padding: 0.5em 0;
}

ul.alt li:first-child {
	border-top: 0;
	padding-top: 0;
}

/* Actions List */
ul.actions {
	display: flex;
	cursor: default;
	list-style: none;
	margin-left: -1rem;
	padding-left: 0;
}

ul.actions li {
	padding: 0 0 0 1rem;
	vertical-align: middle;
}

ul.actions.special {
	justify-content: center;
	width: 100%;
	margin-left: 0;
}

ul.actions.special li:first-child {
	padding-left: 0;
}

/* Icons List */
ul.icons {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

ul.icons li {
	display: inline-block;
	padding: 0 0.75em 0 0;
}

ul.icons li:last-child {
	padding-right: 0;
}

ul.icons li a {
	border-radius: 100%;
	box-shadow: inset 0 0 0 1px var(--color-border);
	display: inline-block;
	height: 2.25rem;
	line-height: 2.25rem;
	text-align: center;
	width: 2.25rem;
}

ul.icons li a:hover {
	background-color: var(--color-accent-low);
}

ul.icons li a:active {
	background-color: var(--color-accent-med);
}

/* ===================================
   Buttons
   =================================== */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	appearance: none;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: 0;
	box-shadow: inset 0 0 0 1px var(--color-border);
	color: var(--color-text) !important;
	cursor: pointer;
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.2rem;
	height: 2.75rem;
	line-height: 2.75rem;
	outline: 0;
	padding: 0 1.25rem 0 1.35rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	background-color: var(--color-accent-low);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
	background-color: var(--color-accent-med);
}

input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus,
button:focus,
.button:focus {
	outline: 2px solid var(--color-border);
	outline-offset: 2px;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	background-color: var(--color-border);
	color: var(--color-bg) !important;
	font-weight: 600;
}

input[type="submit"].disabled,
input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
	pointer-events: none;
	cursor: default;
	opacity: 0.25;
}

/* ===================================
   Layout Components
   =================================== */

/* Background Image */
#bg-image {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -3;
}

/* Wrapper */
#wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	position: relative;
	min-height: 100vh;
	width: 100%;
	padding: 4rem 2rem;
	z-index: 3;
}

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

/* Header */
#header {
	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: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%);
	max-width: 100%;
	text-align: center;
}

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

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

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

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

#header .content {
	border-style: solid;
	border-color: var(--color-border);
	border-top-width: 0;
	border-bottom-width: 1px;
	max-width: 100%;
}

#header .content .inner {
	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;
}

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

#header .content p {
	letter-spacing: 0.2rem;
	text-transform: none;
	font-size: 1rem;
}

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

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

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

#header 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;
	font-weight: bold;
	border-bottom: 0;
}

#header nav ul li a:hover {
	background-color: var(--color-accent-low);
}

#header nav ul li a:active {
	background-color: var(--color-accent-med);
}

/* Header States */
body.is-article-visible #header {
	transform: scale(0.95);
	filter: blur(0.1rem);
	opacity: 0;
}

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

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

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

/* Main */
#main {
	flex-grow: 1;
	flex-shrink: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	position: relative;
	max-width: 100%;
	z-index: 3;
}

#main article {
	transform: translateY(0.25rem);
	transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
	padding: 4.5rem 2.5rem 1.5rem 2.5rem;
	position: relative;
	width: 40rem;
	max-width: 100%;
	background-color: rgba(20, 19, 19, 0.73);
	border-radius: 4px;
	opacity: 0;
}

#main article.active {
	transform: translateY(0);
	opacity: 1;
}

#main article .close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 4rem;
	height: 4rem;
	cursor: pointer;
	text-indent: 4rem;
	overflow: hidden;
	white-space: nowrap;
}

#main article .close:before {
	transition: background-color 0.2s ease-in-out;
	content: '';
	display: block;
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 100%;
	background-position: center;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");
	background-size: 20px 20px;
	background-repeat: no-repeat;
}

#main article .close:hover:before {
	background-color: var(--color-accent-low);
}

#main article .close:active:before {
	background-color: var(--color-accent-med);
}

/* 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 .copyright {
	letter-spacing: 0.2rem;
	font-size: 0.8rem;
	opacity: 0.75;
	margin-bottom: 0;
	text-transform: capitalize;
}

body.is-article-visible #footer {
	transform: scale(0.95);
	filter: blur(0.1rem);
	opacity: 0;
}

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

/* ===================================
   Utility Classes
   =================================== */
.hidden {
	display: none !important;
}

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Screens */
@media screen and (max-width: 1680px) {
	html {
		font-size: 12pt;
	}
	
	#wrapper {
		padding: 3rem 2rem;
	}
}

/* Tablets */
@media screen and (max-width: 980px) {
	#header .content p br {
		display: none;
	}
}

/* Mobile */
@media screen and (max-width: 736px) {
	html {
		font-size: 11pt;
	}
	
	h1 {
		font-size: 1.75rem;
		line-height: 1.4;
	}
	
	h2 {
		font-size: 1.25em;
		line-height: 1.5;
	}
	
	#wrapper {
		padding: 2rem 1rem;
	}
	
	#header > * {
		margin-top: 2rem;
	}
	
	#header > *:before {
		top: calc(-2rem - 1px);
		height: calc(2rem + 1px);
	}
	
	#header .content .inner {
		padding: 2.5rem 1rem;
	}
	
	#header .content p {
		line-height: 1.875;
	}
	
	#main article {
		padding: 3.5rem 2rem 0.5rem 2rem;
	}
	
	#main article .close:before {
		top: 0.875rem;
		left: 0.875rem;
		width: 2.25rem;
		height: 2.25rem;
		background-size: 14px 14px;
	}
	
	.image.main {
		margin: 2rem 0;
	}
}

/* Small Mobile */
@media screen and (max-width: 480px) {
	html {
		font-size: 10pt;
	}
	
	body {
		min-width: 320px;
	}
	
	#wrapper {
		padding: 1rem;
	}
	
	#header {
		padding: 1.5rem 0;
	}
	
	#header .content .inner {
		padding: 2.5rem 0;
	}
	
	#header nav ul {
		flex-direction: column;
		min-width: 10rem;
		max-width: 100%;
	}
	
	#header nav ul li {
		border-left: 0;
		border-top: solid 1px var(--color-border);
	}
	
	#header nav ul li:first-child {
		border-top: 0;
	}
	
	#header nav ul li a {
		height: 3rem;
		line-height: 3rem;
		min-width: 0;
		width: 100%;
	}
	
	#main article {
		padding: 3rem 1.5rem 0.5rem 1.5rem;
	}
	
	form > .fields {
		width: calc(100% + 3rem);
		margin: -1.5rem 0 2rem -1.5rem;
	}
	
	form > .fields > .field {
		padding: 1.5rem 0 0 1.5rem;
		width: calc(100% - 1.5rem);
	}
	
	form > .fields > .field.half {
		width: calc(100% - 1.5rem);
	}
	
	ul.actions:not(.fixed) {
		flex-direction: column;
		margin-left: 0;
		width: 100% !important;
	}
	
	ul.actions:not(.fixed) li {
		flex-grow: 1;
		flex-shrink: 1;
		padding: 1rem 0 0 0;
		text-align: center;
		width: 100%;
	}
	
	ul.actions:not(.fixed) li:first-child {
		padding-top: 0;
	}
	
	ul.actions:not(.fixed) li > * {
		width: 100%;
	}
	
	.image.main {
		margin: 1.5rem 0;
	}
}

/* Extra Small Screens */
@media screen and (max-width: 360px) {
	html {
		font-size: 10pt;
	}
}