@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,600,600italic,900");
@import url("fontawesome-all.min.css");

/*
	Aerial + Dimension — Merged
	Aerial's visual identity with Dimension's navbar panel system.
*/

/* =====================================================================
   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, table, caption, tbody,
tfoot, thead, tr, th, td, 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; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
body { -webkit-text-size-adjust: none; }
mark { background-color: transparent; color: inherit; }

input::-moz-focus-inner { border: 0; padding: 0; }
input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* =====================================================================
   BASIC
   ===================================================================== */

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

body {
	background: #1b1f22;
	overflow: hidden;
}

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

body, input, select, textarea {
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15pt;
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.65em;
}

a {
	-moz-transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-webkit-transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	border-bottom: dotted 1px rgba(255,255,255,0.5);
	color: inherit;
	outline: 0;
	text-decoration: none;
}
	a:hover { border-color: transparent; }

strong, b { color: #fff; font-weight: 600; }
em, i { font-style: italic; }
p { margin: 0 0 2rem 0; }

h1, h2, h3, h4, h5, h6 {
	color: #fff;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}
	h2.major {
		border-bottom: solid 1px #fff;
		width: max-content;
		padding-bottom: 0.5rem;
		margin: 0 0 2rem 0;
	}

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 #fff;
	font-style: italic;
	margin: 0 0 2rem 0;
	padding: 0.5rem 0 0.5rem 2rem;
}

code {
	background: rgba(255,255,255,0.075);
	border-radius: 4px;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0.25rem;
	padding: 0.25rem 0.65rem;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	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 #fff; margin: 2.75rem 0; }

/* =====================================================================
   ICON
   ===================================================================== */

.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'; }

/* =====================================================================
   IMAGE (article content)
   ===================================================================== */

.image {
	border-radius: 4px;
	border: 0;
	display: inline-block;
	position: relative;
}
	.image:before {
		pointer-events: none;
		background-image: url("../../images/overlay.png");
		background-color: rgba(19,21,25,0.5);
		border-radius: 4px;
		content: '';
		display: block;
		height: 100%;
		left: 0;
		opacity: 0.5;
		position: absolute;
		top: 0;
		width: 100%;
	}
	.image img { border-radius: 4px; display: block; }
	.image.main { display: block; margin: 2.5rem 0; width: 100%; }
	.image.main img { width: 100%; }

/* =====================================================================
   FORM
   ===================================================================== */

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: #fff;
	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 {
	-moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	-webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
	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 rgba(255,255,255,0.8);
	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,
	textarea:invalid { box-shadow: none; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		background: rgba(255,255,255,0.075);
		border-color: #fff;
		box-shadow: 0 0 0 1px #fff;
	}

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

textarea { padding: 0.75rem 1rem; }

::-webkit-input-placeholder { color: rgba(255,255,255,0.5) !important; opacity: 1.0; }
:-moz-placeholder           { color: rgba(255,255,255,0.5) !important; opacity: 1.0; }
::-moz-placeholder          { color: rgba(255,255,255,0.5) !important; opacity: 1.0; }
:-ms-input-placeholder      { color: rgba(255,255,255,0.5) !important; opacity: 1.0; }

/* =====================================================================
   LISTS / ACTIONS / ICONS LIST
   ===================================================================== */

ul.alt li {
	border-top: solid 1px rgba(255,255,255,0.2);
	padding: 0.5rem 0;
}
ul.alt li:first-child { border-top: 0; padding-top: 0; }

ul.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 2rem 0 0 0;
	padding: 0;
}

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; }

/* =====================================================================
   BUTTONS (article actions)
   ===================================================================== */

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: solid 1px #fff;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 300;
	height: 2.75rem;
	letter-spacing: 0.2rem;
	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,
	button:hover,
	.button:hover { background-color: rgba(255,255,255,0.075); }
	input[type="submit"]:active,
	input[type="reset"]:active,
	button:active,
	.button:active { background-color: rgba(255,255,255,0.175); }
	input[type="submit"].primary,
	input[type="reset"].primary,
	button.primary,
	.button.primary {
		background-color: #fff;
		color: #1b1f22;
		font-weight: 600;
	}
		input[type="submit"].primary:hover,
		input[type="reset"].primary:hover,
		.button.primary:hover { background-color: rgba(255,255,255,0.85); }

/* =====================================================================
   TABLE
   ===================================================================== */

.table-wrapper { -webkit-overflow-scrolling: touch; overflow-x: auto; }

table {
	margin: 0 0 2rem 0;
	width: 100%;
}
	table thead tr { border-bottom: solid 2px #fff; }
	table tbody tr { border-top: solid 1px rgba(255,255,255,0.15); }
	table tbody tr:first-child { border-top: 0; }
	table th { font-size: 0.8rem; font-weight: 600; padding: 0.5rem 1rem; text-transform: uppercase; letter-spacing: 0.2rem; }
	table td { padding: 0.5rem 1rem; }
	table.alt thead tr { border-bottom: 0; }
	table.alt tbody tr { border-bottom: solid 1px rgba(255,255,255,0.15); border-top: 0; }
	table.alt tbody tr:first-child { border-top: solid 1px rgba(255,255,255,0.15); }
	table.alt tfoot tr { border-top: solid 2px rgba(255,255,255,0.15); }

/* =====================================================================
   AERIAL — BG (animated panning background)
   ===================================================================== */

@-moz-keyframes bg {
	0%   { -moz-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
	100% { -moz-transform: translate3d(-2250px,0,0); transform: translate3d(-2250px,0,0); }
}
@-webkit-keyframes bg {
	0%   { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
	100% { -webkit-transform: translate3d(-2250px,0,0); transform: translate3d(-2250px,0,0); }
}
@keyframes bg {
	0%   { transform: translate3d(0,0,0); }
	100% { transform: translate3d(-2250px,0,0); }
}

#bg {
	-moz-animation: bg 60s linear infinite;
	-webkit-animation: bg 60s linear infinite;
	animation: bg 60s linear infinite;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-transform: translate3d(0,0,0);
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	background: #348cb2 url("images/bg.jpg") bottom left;
	background-repeat: repeat-x;
	background-size: 2250px 100%;
	height: 100%;
	left: 0;
	opacity: 0.8;
	position: fixed;
	top: 0;
	width: 6750px;
	z-index: 1;
	filter: blur(0.5px);
}

/* Blur bg slightly when article panel is open */
body.is-article-visible #bg {
	-moz-filter: blur(3px);
	-webkit-filter: blur(3px);
	filter: blur(3px);
	-moz-transform: translate3d(0,0,0) scale(1.05);
	-webkit-transform: translate3d(0,0,0) scale(1.05);
	transform: translate3d(0,0,0) scale(1.05);
}

/* =====================================================================
   AERIAL — OVERLAY (dot pattern + vignette)
   ===================================================================== */

@-moz-keyframes overlay {
	0%   { opacity: 0; }
	100% { opacity: 0.7; }
}
@-webkit-keyframes overlay {
	0%   { opacity: 0; }
	100% { opacity: 0.7; }
}
@keyframes overlay {
	0%   { opacity: 0; }
	100% { opacity: 0.7; }
}

#overlay {
	-moz-animation: overlay 1.5s 1.5s forwards;
	-webkit-animation: overlay 1.5s 1.5s forwards;
	animation: overlay 1.5s 1.5s forwards;
	background-attachment: fixed, fixed;
	background-image: url("images/overlay-pattern.png"), url("images/overlay.svg");
	background-position: top left, center center;
	background-repeat: repeat, no-repeat;
	background-size: auto, cover;
	height: 100%;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 2;
	-moz-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}

/* Darken overlay when panel is open */
body.is-article-visible #overlay {
	opacity: 0.7;
}

/* =====================================================================
   AERIAL — WRAPPER (full-screen, centers the header)
   ===================================================================== */

@-moz-keyframes wrapper {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes wrapper {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes wrapper {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

#wrapper {
	-moz-animation: wrapper 3s forwards;
	-webkit-animation: wrapper 3s forwards;
	animation: wrapper 3s forwards;
	height: 100%;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
	/* Center the header */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

/* =====================================================================
   AERIAL+DIMENSION — HEADER
   ===================================================================== */

@-moz-keyframes header {
	0%   { -moz-transform: translate3d(0,1em,0); transform: translate3d(0,1em,0); opacity: 0; }
	100% { -moz-transform: translate3d(0,0,0); transform: translate3d(0,0,0); opacity: 1; }
}
@-webkit-keyframes header {
	0%   { -webkit-transform: translate3d(0,1em,0); transform: translate3d(0,1em,0); opacity: 0; }
	100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); opacity: 1; }
}
@keyframes header {
	0%   { transform: translate3d(0,1em,0); opacity: 0; }
	100% { transform: translate3d(0,0,0); opacity: 1; }
}

#header {
	-moz-animation: header 1s 2.25s forwards;
	-webkit-animation: header 1s 2.25s forwards;
	animation: header 1s 2.25s forwards;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	cursor: default;
	opacity: 0;
	text-align: center;
	max-width: 100%;
	/* Dimension's smooth fade-out when panel opens */
	-moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out;
	-webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out;
	transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out, filter 0.325s ease-in-out;

	text-shadow: 
		-1px -1px 0 #000,  
		1px -1px 0 #000,
		-1px  1px 0 #000,
		1px  1px 0 #000;
}

/* Fade out header when article is visible (Dimension) */
body.is-article-visible #header {
	-moz-transform: scale(0.95);
	-webkit-transform: scale(0.95);
	transform: scale(0.95);
	-moz-filter: blur(0.1rem);
	-webkit-filter: blur(0.1rem);
	filter: blur(0.1rem);
	opacity: 0;
	pointer-events: none;
}

/* Aerial's large title */
#header h1 {
	font-size: 4.35em;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1em;
}

/* Aerial's subtitle */
#header > p {
	font-size: 1.25em;
	margin: 0.75em 0 0 0;
	opacity: 0.75;
	letter-spacing: 0em;
	text-transform: none;
}

/* =====================================================================
   DIMENSION-STYLE TEXT NAV — styled with Aerial's aesthetic
   ===================================================================== */

@-moz-keyframes nav-in {
	0%   { -moz-transform: translate3d(0,1em,0); opacity: 0; }
	100% { -moz-transform: translate3d(0,0,0); opacity: 1; }
}
@-webkit-keyframes nav-in {
	0%   { -webkit-transform: translate3d(0,1em,0); opacity: 0; }
	100% { -webkit-transform: translate3d(0,0,0); opacity: 1; }
}
@keyframes nav-in {
	0%   { transform: translate3d(0,1em,0); opacity: 0; }
	100% { transform: translate3d(0,0,0); opacity: 1; }
}

#header nav {
	-moz-animation: nav-in 0.75s 3s forwards;
	-webkit-animation: nav-in 0.75s 3s forwards;
	animation: nav-in 0.75s 3s forwards;
	opacity: 0;
	margin-top: 2em;
    display: flex;
    justify-content: center;
}

#header nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	border: solid 1px rgba(255,255,255,0.85);
	border-radius: 4px;
	overflow: hidden;
}
	#header nav ul li {
		padding-left: 0;
		border-left: solid 1px rgba(255,255,255,0.85);
	}
		#header nav ul li:first-child { border-left: 0; }
		#header nav ul li a {
			display: block;
			min-width: 7rem;
			height: 2.75rem;
			line-height: 2.75rem;
			padding: 0 1.25rem 0 1.45rem;
			text-transform: uppercase;
			letter-spacing: 0.2rem;
			font-size: 0.75rem;
			font-weight: 300;
			border-bottom: 0;
			color: #fff;
			text-align: center;
			-moz-transition: background-color 0.2s ease-in-out;
			-webkit-transition: background-color 0.2s ease-in-out;
			transition: background-color 0.2s ease-in-out;
		}
			#header nav ul li a:hover  { background-color: rgba(255,255,255,0.1); }
			#header nav ul li a:active { background-color: rgba(255,255,255,0.2); }

/* Middle-item divider for even nav counts */
#header nav.use-middle { position: relative; }
#header nav.use-middle:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: calc(50% - 1px);
	width: 1px;
	height: 100%;
	background: rgba(255,255,255,0.85);
}
#header nav.use-middle ul li.is-middle { border-left: 0; }

/* =====================================================================
   AERIAL — FOOTER
   ===================================================================== */

@-moz-keyframes footer-in {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@-webkit-keyframes footer-in {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes footer-in {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

#footer {
	-moz-animation: footer-in 1s 3.5s forwards;
	-webkit-animation: footer-in 1s 3.5s forwards;
	animation: footer-in 1s 3.5s forwards;
	-moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
	-webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out;
	transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
	background-image: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
	bottom: 0;
	cursor: default;
	height: 5em;
	left: 0;
	line-height: 7em;
	opacity: 0;
	position: fixed;
	text-align: center;
	width: 100%;
	z-index: 3;
}

body.is-article-visible #footer {
	opacity: 0;
	pointer-events: none;
	-moz-transform: scale(0.95);
	-webkit-transform: scale(0.95);
	transform: scale(0.95);
}

#footer .copyright {
	font-size: 0.6rem;
	letter-spacing: 0.2rem;
	opacity: 0.75;
	text-transform: uppercase;
}

/* =====================================================================
   DIMENSION — ARTICLE PANELS (shown on nav click)
   ===================================================================== */

#main {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	padding: 2rem;
	/* hidden via JS initially */
}

	#main article {
		-moz-transform: translateY(0.25rem);
		-webkit-transform: translateY(0.25rem);
		-ms-transform: translateY(0.25rem);
		transform: translateY(0.25rem);
		-moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out;
		-webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out;
		transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out;
		padding: 4rem 2.5rem 1.5rem 2.5rem;
		position: relative;
		width: 42rem;
		max-width: 100%;
		max-height: calc(100vh - 4rem);
		overflow-y: auto;
		background-color: rgba(19, 23, 27, 0.88);
		border: solid 1px rgba(255,255,255,0.15);
		border-radius: 4px;
		opacity: 0;
		-webkit-overflow-scrolling: touch;
	}

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

	/* Close button (X in top-right corner) */
	#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 {
			-moz-transition: background-color 0.2s ease-in-out;
			-webkit-transition: background-color 0.2s ease-in-out;
			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: rgba(255,255,255,0.075); }
		#main article .close:active:before { background-color: rgba(255,255,255,0.175); }

/* =====================================================================
   ARTICLE INNER — social icons list (contact panel)
   ===================================================================== */

#main article ul.icons li a {
	border-bottom: 0;
}
	#main article ul.icons li a:before {
		font-size: 1.5em;
		-moz-transition: color 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out;
		transition: color 0.2s ease-in-out;
	}
	#main article ul.icons li a:hover:before { color: rgba(255,255,255,0.65); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Wide (≤ 1680px) */
@media screen and (max-width: 1680px) {

	body, input, select, textarea { font-size: 13pt; }

}

/* Normal (≤ 1280px) */
@media screen and (max-width: 1280px) {

	body, input, select, textarea { font-size: 12pt; }

}

/* Mobile (≤ 736px) */
@media screen and (max-width: 736px) {

	body { min-width: 320px; }
	body, input, select, textarea { font-size: 11pt; }


	#wrapper { padding: 1.5rem; }

	#header h1 { font-size: 2.5em; }
	#header > p { font-size: 1em; }
	#header nav { font-size: 1em; }
		#header nav ul li a { min-width: 5rem; padding: 0 0.75rem; font-size: 0.65rem; }

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

/* Mobile Portrait (≤ 480px) */
@media screen and (max-width: 480px) {


	#wrapper { padding: 1rem; }

	#header nav ul {
		flex-direction: column;
		min-width: 10rem;
	}
		#header nav ul li {
			border-left: 0;
			border-top: solid 1px rgba(255,255,255,0.85);
		}
			#header nav ul li:first-child { border-top: 0; }
			#header nav ul li a {
				height: 3rem;
				line-height: 3rem;
				min-width: 0;
				width: 100%;
			}
		#header nav.use-middle:after { display: none; }

	#main article { padding: 3rem 1.5rem 0.5rem 1.5rem; }
		#main article .close:before {
			top: 0.875rem;
			left: 0.875rem;
			width: 2.25rem;
			height: 2.25rem;
			background-size: 14px 14px;
		}
}
/* =====================================================================
   CUSTOM — WIDE ARTICLE (blog & projects need more room)
   ===================================================================== */

#main article.wide { width: 55rem; }

/* =====================================================================
   CUSTOM — ACADEMIC STAT CARDS
   ===================================================================== */

.stat-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0.75rem 0 2.25rem;
}

.stat-card {
	background: rgba(255,255,255,0.06);
	border: solid 1px rgba(255,255,255,0.15);
	border-radius: 4px;
	flex: 1;
	min-width: 110px;
	padding: 1.25rem 1rem;
	text-align: center;
}

.stat-card .stat-value {
	color: #fff;
	display: block;
	font-size: 2.1rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 0.4rem;
	text-transform: none;
}

.stat-card .stat-label {
	display: block;
	font-size: 0.58rem;
	letter-spacing: 0.2rem;
	line-height: 1.4;
	opacity: 0.5;
	text-transform: uppercase;
}

/* =====================================================================
   CUSTOM — TAG GRIDS (interests / hobbies)
   ===================================================================== */

.tag-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.5rem 0 2rem;
}

.tag {
	background: rgba(255,255,255,0.06);
	border: solid 1px rgba(255,255,255,0.18);
	border-radius: 3px;
	font-size: 0.6rem;
	letter-spacing: 0.15rem;
	padding: 0.35rem 0.8rem;
	text-transform: uppercase;
}

/* =====================================================================
   CUSTOM — SDG CHIPS
   ===================================================================== */

.sdg-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.5rem 0 2rem;
}

.sdg-chip {
	background: rgba(255,255,255,0.05);
	border: solid 1px rgba(255,255,255,0.18);
	border-radius: 20px;
	font-size: 0.57rem;
	letter-spacing: 0.13rem;
	padding: 0.3rem 0.9rem;
	text-transform: uppercase;
}

/* =====================================================================
   CUSTOM — PROJECT TABS
   ===================================================================== */

.tab-nav {
	border-bottom: solid 1px rgba(255,255,255,0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
}

.tab-btn {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: solid 1px rgba(255,255,255,0.28);
	border-radius: 3px;
	color: rgba(255,255,255,0.55);
	cursor: pointer;
	display: inline-block;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 0.63rem;
	font-weight: 300;
	height: auto;
	letter-spacing: 0.18rem;
	line-height: 1.5;
	outline: 0;
	padding: 0.5rem 0.95rem;
	text-align: center;
	text-transform: uppercase;
	-moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.tab-btn:hover {
	background-color: rgba(255,255,255,0.07);
	border-color: rgba(255,255,255,0.55);
	color: rgba(255,255,255,0.85);
}

.tab-btn.active {
	background-color: rgba(255,255,255,0.12);
	border-color: #fff;
	color: #fff;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* =====================================================================
   CUSTOM — PROJECT META & TOOL TAGS
   ===================================================================== */

.project-meta {
	font-size: 0.62rem;
	letter-spacing: 0.18rem;
	margin: -0.25rem 0 1.5rem;
	opacity: 0.45;
	text-transform: uppercase;
}

.project-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.38rem;
	margin: 0.4rem 0 1.5rem;
}

.project-tool {
	background: rgba(255,255,255,0.05);
	border: solid 1px rgba(255,255,255,0.13);
	border-radius: 3px;
	font-size: 0.58rem;
	letter-spacing: 0.1rem;
	padding: 0.27rem 0.65rem;
	text-transform: uppercase;
}

/* =====================================================================
   CUSTOM — CONTENT LISTS (project hypotheses etc.)
   ===================================================================== */

ul.content-list {
	list-style: disc;
	margin: 0 0 1.5rem 1.4rem;
	padding: 0;
}

ul.content-list li {
	font-size: 0.92rem;
	margin-bottom: 0.45rem;
	padding: 0;
}

/* =====================================================================
   CUSTOM — BLOG ACCORDION
   ===================================================================== */

.blog-post {
	border-bottom: solid 1px rgba(255,255,255,0.08);
}

.blog-header {
	align-items: center;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.blog-header:hover { opacity: 0.65; }

.blog-title {
	color: #fff;
	font-size: 0.73rem;
	font-weight: 600;
	letter-spacing: 0.17rem;
	text-transform: uppercase;
}

.blog-date {
	font-size: 0.6rem;
	letter-spacing: 0.13rem;
	opacity: 0.4;
	text-transform: uppercase;
	white-space: nowrap;
}

.blog-arrow {
	display: inline-block;
	font-size: 0.7rem;
	margin-left: 0.25rem;
	opacity: 0.45;
	-moz-transition: -moz-transform 0.25s ease-in-out;
	-webkit-transition: -webkit-transform 0.25s ease-in-out;
	transition: transform 0.25s ease-in-out;
	flex-shrink: 0;
}

.blog-post.open .blog-arrow {
	-moz-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.blog-body {
	display: none;
	padding: 0.25rem 0 1.5rem;
}

.blog-body p {
	font-size: 0.9rem;
	line-height: 1.75;
	margin-bottom: 1rem;
}

.blog-body p:last-child { margin-bottom: 0; }

.blog-post.open .blog-body { display: block; }

.blog-footer-note {
	font-size: 0.58rem;
	letter-spacing: 0.1rem;
	margin-top: 2.5rem;
	opacity: 0.3;
	text-transform: uppercase;
}

.blog-footer-note code {
	background: rgba(255,255,255,0.06);
	font-family: 'Courier New', monospace;
	font-size: 1em;
	letter-spacing: 0;
	padding: 0.1rem 0.4rem;
	text-transform: none;
}

/* =====================================================================
   CUSTOM — RESPONSIVE OVERRIDES
   ===================================================================== */

@media screen and (max-width: 736px) {
	.stat-card .stat-value { font-size: 1.6rem; }
	.tab-btn { font-size: 0.58rem; padding: 0.45rem 0.75rem; }
	.blog-title { font-size: 0.65rem; }
}
