@charset "utf-8";

@font-face{
		font-family:"Suisse";
		src:url("fonts/SuisseIntl-Regular.otf") format("woff2"), url("fonts/SuisseIntl-Regular.otf") format("woff");
}

/*================================================================
	Z-reference
	Cover: 2
		Projects: 1
		Index: 2
			Controls: 1
			Footer: 2
		Header: 3
================================================================*/

/*================================================================
	Resets
================================================================*/

div, section, ul, li, h1, h2, h3, h4, table, td, tr, form, label, iframe, img {
	box-sizing: border-box;
	margin: 0;  
	padding: 0;
	border: 0;
	display: block;
	position: relative;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

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

ul {
	list-style: none;
}

* {
	box-sizing: border-box;
}

/*================================================================
	General
================================================================*/

html, body {
	height: 100%;
}

body {
	margin: 0;
	background: #f9f9fa;
	font-family:'Suisse', Helvetica, Arial, sans-serif;
	font-size: 32px;
	line-height: 42px;
	letter-spacing: -0.5px;
	color: #6a6a6b;
	-webkit-font-smoothing: antialiased;
}

.hidden {
	display: none;
}


/*================================================================
	Core typography
================================================================*/

a, h1, h2, h3, h4, b, p {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	cursor: default;
}

h1 {
	font-size: 32px;
	line-height: 42px;
	margin: 0 20px 28px 0;
	color: #2a2a2b;
	font-weight: 400;
	letter-spacing: -0.5px;
}

h1:last-child {
	margin-bottom: 0;
}

h3 {
	font-size: 18px;
	line-height: 34px;
	margin:  0 0 40px 0;
	font-family: 'Suisse', Helvetica, Arial, sans-serif;
	font-weight: 100;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

p {
	margin: 0px 0 28px 0;
}


p:last-child {
	margin-bottom: 0;
}

a, a:hover, a:visited {
	color: #6a6a6b;
	text-decoration: none;
	border-bottom: 1px solid #d8dadd;
	transition: border-color 0.25s ease;
	cursor: pointer;
}

a:hover {
	border-color: #424243;
}

a.primary, a.primary:hover, a.primary:visited {
	border-bottom: none;
	color: #2a2a2b;
	transition: color 0.25s ease, opacity 0.25s ease;
}

a.primary:hover {
	color: #6a6a6b;
}

.dark {
	color: #2a2a2b;
}

.ghosted {
	opacity: 0.7;
}

/*================================================================
	Header/footer generics
================================================================*/

.header {
	position: fixed;
	display:  flex;
	width: calc(100% - 60px);
	left: 30px;
	top: 20px;
}

.header .col {
	flex-basis: 50%;
	max-width: 50%;
}

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

.header .links a {
	display: inline-block;
}

.header .links a.about {
	float: right;
	text-align: right;
}

.header.secondary {
	/*z-index: 1;*/
}

.header.secondary .name {
	color: #2a2a2b;
}

.header.secondary a.primary, 
.header.secondary a.primary:visited {
	color: #6a6a6b;
}

.header.secondary a.primary:hover {
	color: #2a2a2b;
}

.secondary {
    position: fixed;
    z-index: 1;
}

/*================================================================
	Cover specific
================================================================*/

.cover {
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	overflow: hidden;
	z-index: 2;
	background-color: #6F6F6F;
	color: #ffffff;
	clip: rect(0, auto, auto, 0);
	font-family: 'Suisse', Helvetica, Arial, sans-serif;
	letter-spacing: -0.5px;
	line-height: 38px;
	transition: background-color 2s linear;
}

.cover .header,
.cover .footer {
	z-index: 3;
}

.cover a.primary, 
.cover a.primary:visited {
	color: #fff;
	opacity: 0.7;
}

.cover a.primary:hover {
	opacity: 1;
}

.cover .footer {
	position: fixed;
	display:  flex;
	width: calc(100% - 60px);
	left: 30px;
	bottom: 20px;
}

.cover .footer .col {
	display:  flex;
	flex-direction: column;
  	justify-content: flex-end;
}


.cover .footer .project-counter,
.cover .footer .project-name,
.cover .footer .project-year {
	cursor: url('cursor-x.svg') 0 0, default;
}

.cover .footer .project-counter {
	flex-basis: 16.6666667%;
    max-width: 16.6666667%;
}

.cover .footer .project-name {
	flex-basis: 50%;
    max-width: 50%;
}

.cover .footer .project-details {
	flex-basis: 16.6666667%;
    max-width: 16.6666667%;
	cursor: pointer;
}

.cover .footer .project-year {
	flex-basis: 16.6666667%;
    max-width: 16.6666667%;
	text-align: right;
}

.cover .project-desc {
	display: none;
	position: absolute;
	width:60%;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

/*================================================================
	Generic scaffolding
================================================================*/

.spacer {
	width: 100%;
	margin-top: 100vh;
}

.padder {
	height: 160px;
}

.padder.half {
	height: 60px;
}

.profile {
	color: #2a2a2b;
}

.profile p {
	color: #6a6a6b;
}

.profile p span {
	color: #2a2a2b;
	padding-right: 10px;
}

.profile .meta {
    font-size: 18px;
    line-height: 30px;
    font-family: 'Suisse', Helvetica, Arial, sans-serif;
}

.section:last-child {
	margin-bottom: 0;
}

.profile .intro p {
	color: #2a2a2b;
}

.section.half {
	width: 100%;
	padding-right: 80px;
	padding-left: 50%;
}


/*================================================================
	Clients
================================================================*/

.profile .flex {
	display: flex;
	flex-direction: row;
	font-size: 18px;
	line-height: 30px;
}

.profile .col {
	width: 32%;
}

/*================================================================
	Projects
================================================================*/

.projects {
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	z-index: 1;
	background: no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	transition: all 0.4s cubic-bezier(0.87, 0, 0.13, 1);
}

.projects * {
	cursor: url('cursor-plus.svg') 0 0, default;
}

.projects .controls {
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 60px;
	right: 0px;
	z-index: 1;
}

.projects .project {
	display: none;
}

.projects .project.active {
	display: block;
}

.projects .project img {
}

.projects .project video {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

/*================================================================
	Project list
================================================================*/

.project-list {
	display: flex;
	flex-direction: row;
	font-size: 24px;
	line-height: 100%;
	font-family: 'Suisse', Helvetica, Arial, sans-serif;
	letter-spacing: -0.5px;
	width: 100%;
}

.project-list .col {
	width: 100%;
}

.project-list .project {
	display: flex;
	width: 100%;
	padding: 12px 0 2px 0;
	border-bottom: 1px solid #ccc;
}

.project-list .project .client {
	flex-basis: 25%;
	padding-left: 30px;
	order: 1;
}

.project-list .project .title {
	flex-basis: 25%;
	order: 2;
}

.project-list .project .desc {
	flex-basis: 40%;
	order: 3;
}

.project-list .project .year {
	flex-basis: 10%;
	text-align: right;
	order: 4;
	padding-right: 30px;
}


/*================================================================
	Tablet
================================================================*/

@media (max-width: 1220px) {
	body {
		font-size: 24px;
    	line-height: 32px;
	}
	.cover {
    	line-height: 30px;
	}
	.project-list {
		font-size: 18px;
	}
	.project-list .project {
	    padding: 10px 0 2px 0;
	}
	.padder {
		height: 120px;
	}
	.padder.half {
		height: 45px;
	}
	h3 {
		margin-bottom: 20px;
	}
}

/*================================================================
	Mobile
================================================================*/


@media (max-width: 880px) {

	.header.secondary {
		display: none;
	}

	.cover .meta {
		bottom: 30px;
	}

	h3 {
		margin-bottom: 10px;
	}

	.section.half {
		padding-left: 30px;
		padding-right: 30px;
	}

	.padder {
		height: 30px;
	}

	.padder.half {
		height: 30px;
	}

	.project-list .project .client {
		flex-basis: 50%;
	}

	.project-list .project .title {
		flex-basis: 40%;
		order: 2;
	}

	.project-list .project .desc {
		display: none;
	}

	.project-list .project .year {
		flex-basis: 10%;
	}


}
