
/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/33c497");

  
@font-face {font-family: 'Hawthorn';
	src: url('fonts/Hawthorn-Regular.eot');
	src: url('fonts/Hawthorn-Regular.eot?#iefix') format('embedded-opentype'),
	url('fonts/33C497_0_0.woff2') format('woff2'),
	url('fonts/Hawthorn-Regular.woff') format('woff'),
	url('fonts/Hawthorn-Regular.ttf') format('truetype'); 
	font-weight: normal;
	font-style: normal;
}

body { 
	font-family: 'Hawthorn'; font-size:46px; line-height: 1.4; letter-spacing: 0.5px; color:#050505;
	background: #dfece1; margin:0; padding:0;
	height:100%;
	background: linear-gradient(0deg, #d9e8db, white 100%) no-repeat;
	text-rendering: optimizelegibility;
	text-shadow: rgba(0, 0, 0, 0.00392157) 1px 1px 1px;
	-webkit-font-smoothing: antialiased;
}

p, div, span { box-sizing: border-box;}

::selection { background: #23dc43; color:#000; }
::-moz-selection { background: #23dc43; color:#000; }

div { box-sizing: border-box; }

h1,h2 { margin:0; padding:0; line-height: 1; font-weight: 100;}
h1 { margin: 0; padding:0; font-size:2.2em; line-height: 90%; padding-right: 0.2em;}
.tp { float:left; margin-top:-2.6em; color:#23dc43; cursor:pointer; }
.intro { max-width:940px; margin:auto; padding:9em 40px 5em 40px; }
a:link, a:visited { text-decoration: none; color:#050505;}

.tp-photo { z-index:-1; max-width: 800px; position: absolute; margin-left:68px; margin-top:-150px; display: block; opacity: 0; }

.home-hero {
    height: 100vh;
    width: 100vw;
    background: #000;
    padding:0;
    margin:0;
}

.home-hero .hero-box {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    padding:0;
    margin:0;
}

.home-hero .hero-box video {
    position: absolute;
    top: 50%;
    left: 50%;
    height:100%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    opacity: 0.8;
    padding:0;
    margin:0;
}

#logo { 
	width:124px;
	height:80px; 
	background-image: url('img/icon.png'); 
	background-repeat: no-repeat;
	background-position-y: 2px;
	background-size: contain;
}

.home-hero #logo { 
	z-index: 3;
	top:20px;	
	left:50%;
	margin-left:-62px;
	position: absolute;
}

.home-hero #arrow { 
	width:35px;
	height:181px; 
	background-image: url('img/arrow.png'); 
	z-index: 2;
	position: absolute;
	bottom:-90px;
	left:50%;
	margin-left:-17px;
}

.home-hero h1 {
	position: absolute;
	color:#fff;
	z-index: 2;
	width:100%;
	top:50%;
	margin-top:-60px;
	line-height: 120px;
	font-size: 2.8em;
	text-align: center;
	padding: 0;
}

.home-hero #menu-nav { 
	width:80px;
	height:80px; 
	background-image: url('img/menu-btn.png'); 
	position: fixed; 
	z-index: 4;
	top:20px;
	right:40px;
	display: none;
	background-size: contain;
	cursor: pointer;
}

.home-hero #menu-nav.show {
	background-image: url('img/menu-close.png'); 
}

#overlay { 
	width:100%; 
	height:100%; 
	position: fixed; background: rgba(0,0,0,0.95); z-index: 4; text-align: center; 
	display: none;
}
#overlay.show { display: block; }
#overlay #logo-tp { 
	width:192px; 
	height:142px; 
	margin: auto; 
	background-image: url('img/logo.png'); 
	margin-top:50px; 
}


.projects { max-width: 1600px; margin: auto; }
.projects .item { max-width:900px; margin:2.5em 40px; float:left; padding:0; position: relative; cursor: pointer; }
.projects .item.right { float:right; }
.projects .item video { width:100%; height: auto; background: black; display: block; }
.projects .item .fallback { display: none; max-width: 100%; height:auto; min-height: 200px; }
.projects .item .fallback img { max-width: 100%; height:auto; margin-bottom: 0.5em; } 
.projects h1 { text-align: right; max-width:940px; margin:auto; padding:0 40px }
.projects .item .fallback { text-align: center; }
.projects .item .fallback h2.project .type {
	 font-size:0.7em;
	 color:#23dc43;
	 margin-top:0.2em;
 }

.projects .item .hover {
    position: absolute;
    display: block;
    width: 100%;
    height:100%;
    top:0;
    background:rgba(0,0,0,0.5);
	bottom:-1.5em;    
	color:#23dc43;  
    color:#fff;
    text-align: center;
    cursor: pointer;
 }
  
 .projects .item .hover h2.project {
	 top:50%;
	 width:100%;
	 margin-top: -1em;
	 line-height: 1em;
	 position: absolute;
	 display: block;
 }
 
  .projects .item .hover h2.project .type {
	  font-size:0.7em;
	  color:#23dc43;
	  margin-top:0.2em;
  }

.footer { max-width:940px; margin:auto; padding:8em 40px 3em 40px; text-align: center; font-size:0.8em; clear: both; }
.footer #logo { position: relative; margin: auto; margin-bottom: 0.5em; }
.footer span { color:#23dc43; }

.project-popup {
  position: absolute;
  height: 100%;
  width: 100%;
  background: #000;
  text-align: left;
  color:#fff
}

.project-popup .content { margin:auto; max-width: 1200px; padding:80px 1em; }
.project-popup .content h2 { color:#23dc43; }

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media (min-aspect-ratio: 16/9) {
	.home-hero .hero-box video {
    width:100%;
    height:auto;
    margin:0;
    padding:0;
}	
}

@media (max-aspect-ratio: 16/9) {
	.home-hero .hero-box video {
    height:100%;
    width:auto;
	}	
}

@media  screen and (max-width: 960px)  {
	.tp-photo { max-width: 70%; }
}

@media screen and (max-width: 768px)  {
	.tp-photo { max-width: 70%; margin-left:20px; margin-top: -100px; }
	.home-hero { height: 60vh !important; }
	.home-hero .hero-box { width: 100vw; height: 60vh !important; }
	.home-hero #arrow { opacity: 0; }
	.home-hero h1 { top:30%; margin-top:-60px; }
	body { font-size: 22px; }
}

@media screen and (max-device-width: 768px)  {
	.home-hero #logo { width:248px; height:160px; margin-left:-124px; }
	.tp-photo { max-width: 70%; margin-left:-200px; }
	.home-hero { height: 60vh !important; }
	.home-hero .hero-box { width: 100vw; height: 60vh !important; }
	.home-hero #arrow { opacity: 0; }
	.home-hero h1 { top:30%; margin-top:-30px; }
	.hero-box video { display: none; }
	.fader { opacity: 1; }
	.hero-box { background-image: url('img/tp-photo.jpg'); background-size: cover; background-position: center;  opacity: 0.8; }
	.home-hero h1, .home-hero #logo, .home-hero #arrow, .home-hero #menu-nav { display: block; }
	.intro { padding:6em 40px 5em 40px; }
	.projects .item { margin:1em 40px; }
	
	.projects .item .fallback { display: block; }
	.projects .item video { display: none; }
}

@media screen and (max-device-width: 768px) and (orientation : landscape) {
	.home-hero { display: none; }
	}
