@charset "UTF-8";

/**
 * @license
 * MyFonts Webfont Build ID 3658172, 2018-10-20T14:05:23-0400
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: NimbusSanD-RegIta by URW
 * URL: https://www.myfonts.com/fonts/urw/nimbus-sans/italic-3/
 *
 * Webfont: NimbusSanD-Reg by URW
 * URL: https://www.myfonts.com/fonts/urw/nimbus-sans/nimbus-sans-3/
 *
 *
 * License: https://www.myfonts.com/viewlicense?type=web&buildid=3658172
 * Licensed pageviews: 10,000
 * Webfonts copyright: Copyright 2010 URW++ Design &amp; Development Hamburg
 *
 * © 2018 MyFonts Inc
*/


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

@font-face {
	font-family: 'NimbusSans';
	src: url('../fonts/Minbis-RegularWeb.woff2') format('woff2'),
	     url('../fonts/Minbis-RegularWeb.woff') format('woff'),
	     url('../fonts/Minbis-RegularWebTTF.ttf') format('truetype');
	font-style: normal;
}

@font-face {
	font-family: 'NimbusSans';
	src: url('../fonts/Minbis-ItalicWeb.woff2') format('woff2'),
	     url('../fonts/Minbis-ItalicWeb.woff') format('woff'),
	     url('../fonts/Minbis-ItalicWebTTF.ttf') format('truetype');
	font-style: italic;
}

@font-face {
    font-family: Life;
    src: url(../fonts/LifeThicc-RegularWeb.woff) format('woff'),
    	 url(../fonts/LifeThicc-RegularWeb.woff2) format('woff2'),
    	 url(../fonts/LifeThicc-RegularWeb.ttf) format('truetype');
    font-style: normal;
}

@font-face {
    font-family: Life;
    src: url(../fonts/LifeThicc-ItalicWeb.woff) format('woff'),
    	 url(../fonts/LifeThicc-ItalicWeb.woff2) format('woff2'),
    	 url(../fonts/LifeThicc-ItalicWeb.ttf) format('truetype');
    font-style: italic;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  list-style: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  tap-highlight-color: rgba(0,0,0,0);
}

html, body {
	font-family: NimbusSans, Helvetica, sans-serif;
	font-size: 1.65em;
	line-height: 1.1em;
	color: black;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-text-rendering: optimizeLegibility;
	-moz-text-rendering: optimizeLegibility;
	-o-text-rendering: optimizeLegibility;
	-ms-text-rendering: optimizeLegibility;
	text-rendering: optimizeLegibility;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-o-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-size-adjust: none;
}

a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	tap-highlight-color: rgba(0,0,0,0);
}

nav a {
	padding: 4px;
}

a:hover, .read-more:hover span, .mobile-toggle:hover span {
	cursor: pointer;
	color: lightgray;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
}

.small {
	font-family: Life, Times New Roman, serif;
	font-size: 0.55em;
	line-height: 1.1em;
}

/* animations */

.anim-1, a, .read-more span, .mobile-toggle span {
	-webkit-transition-property: color;
	-moz-transition-property: color;
	-o-transition-property: color;
	-ms-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 400ms;
	-moz-transition-duration: 400ms;
	-o-transition-duration: 400ms;
	-ms-transition-duration: 400ms;
	transition-duration: 400ms;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	tap-highlight-color: rgba(0,0,0,0);
}

.hide, .anim-2, .description, .swipe, .project .title, main, .slideshow-counter {
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	-ms-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-duration: 400ms;
	-moz-transition-duration: 400ms;
	-o-transition-duration: 400ms;
	-ms-transition-duration: 400ms;
	transition-duration: 400ms;
}

.anim-3, .read-more span, .mobile-toggle span, header nav {
	-webkit-transition-property: opacity, color;
	-moz-transition-property: opacity, color;
	-o-transition-property: opacity, color;
	-ms-transition-property: opacity, color;
	transition-property: opacity, color;
	-webkit-transition-duration: 400ms;
	-moz-transition-duration: 400ms;
	-o-transition-duration: 400ms;
	-ms-transition-duration: 400ms;
	transition-duration: 400ms;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	tap-highlight-color: rgba(0,0,0,0);
}

.hide {
	opacity: 0;
	pointer-events: none;
}
.description.hide {
	display: none;
}

.show {
	opacity: 1;
	pointer-events: auto;
}

/* nav */

header h1, header nav, .mobile-toggle {
	position: fixed;
	top: 0;
	z-index: 10;
	padding: 8px 10px 5px 10px;
}

header h1 {
	background-color: white;
	width: 100%;
	left: 0;
}

header nav {
	padding-right: 0;
	right: 11px;
}

header nav.show {
	right: 0;
}

header nav li {
	display: inline-block;
	padding: 0;
}

.mobile-toggle {
	display: none;
	right: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	z-index: 20;
}

.mobile-toggle span {
	cursor: pointer;
	right: 0;
	display: block;
	position: absolute;
	text-align: right;
	padding-top: 8px;
	padding-right: 8px;
	width: 100%;
	height: 100%;
}

/* all pages */

section {
	position: relative;
	top: calc(44px + 22px); /* topfontsize + vertical padding */
	width: calc((100vh - 44px - 22px - (24px * 2)) * 1.5);
	margin: 0 auto;
}

section.slideshow, section.overview {
	height: calc(100vh - 44px - 22px - (24px * 2)); /* windowheight - topfontsize  - bottomfontsize - verticalpadding*2 */
}

section.overview::after { /* Fix hairlines by knocking off half a pixel. */
	content: '';
	display: block;
	position: absolute;
	box-sizing: border-box;
	top: -2px;
	left: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	border: 4px solid white;
	border-bottom: 8px solid white;
	pointer-events: none;
	z-index: 100;
}

.portrait section.overview::after {
	border-bottom: 4px solid white !important;
}

section.overview::before { 
	content: '';
	display: block;
	position: absolute;
	box-sizing: border-box;
	top: -12px;
	left: -2px;
	width: calc(100% + 4px);
	height: 12px;
        background: white;
	pointer-events: none;
	z-index: 100;
}

.swipe-outer::before {
        content: '';
        display: block;
        position: absolute;
        box-sizing: border-box;
        left: -1px;
        top: 0px;
        width: 2px;
        background-color: white;
        height: 100%;
        pointer-events: none;
        z-index: 100;
}

.swipe-outer::after {
        content: '';
        display: block;
        position: absolute;
        box-sizing: border-box;
        right: -1px;
        top: 0px;
        width: 2px;
        background-color: white;
        height: 100%;
        pointer-events: none;
        z-index: 100;
}

.portrait section {
	width: calc(100vw - 30px);
}

section.projects, section.about, section.contact {
	display: block;
	margin-bottom: -15px;
}
section.projects {
    margin-bottom: -10px;
}

section.about p:last-child {
	margin-bottom: 0;
	padding-bottom: 8px;
}

section.projects {
	overflow: hidden;
}

section.slideshow .swipe-outer {
	height: 100%;
}
.portrait section.slideshow .swipe-outer, .portrait section.overview {
	height: calc((100vw - (15px * 2)) / 1.5);
}
.swipe-outer {
	position: absolute;
	top: 50%;
	width: 100%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.nav-wrapper {
	position: fixed;
	width: 100%;
	left: 0;
}

.nav-wrapper div {
	width: 50%;
	top: 0;
	position: fixed;
	height: 100%;
}

.nav-l {
  left: 0;
  cursor: url('../images/arrow-l.svg') 0 0, w-resize;
  cursor: -webkit-image-set(
    url('../images/arrow-l.png') 1x,
    url('../images/arrow-l@2x.png') 2x,
    url('../images/arrow-l@3x.png') 3x
  ) 32 32, url('../images/arrow-l.png'), w-resize;
}

.nav-r {
  right: 0;
  cursor: url('../images/arrow-r.svg') 0 0, e-resize;
  cursor: -webkit-image-set(
    url('../images/arrow-r.png') 1x,
    url('../images/arrow-r@2x.png') 2x,
    url('../images/arrow-r@3x.png') 3x
  ) 32 32, url('../images/arrow-r.png'), e-resize;
}

.nav-x {
  cursor: url('../images/close.svg') 0 0, pointer;
  cursor: -webkit-image-set(
    url('../images/close.png') 1x,
    url('../images/close@2x.png') 2x,
    url('../images/close@3x.png') 3x
  ) 16 16, url('../images/close.png'), pointer;
}



/* swipeshow */

.overview {
	position: fixed;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
.portrait .overview {
	top: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.hooks {
	position: absolute;
	width: 100%;
	top: 0;
	z-index: -5;
}

.hook {
	width: 100%;
	height: 100vh;
}

.overview-project {
	position: absolute;
	bottom: 0;
	width: 100%;
	overflow-y: hidden;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-o-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	background-color: white;
}

.overview-project, .overview-project iframe, .slide iframe {
	height: calc(100vh - 33px - 19px - (24px * 2));
}

.slide iframe {
	height: calc(100vh - 33px - 33px - (24px * 2));
}

.portrait .overview-project iframe {
        height: calc((100vw - 20px) / 1.5);
}

.portrait .slide iframe {
        height: calc((100vw - 30px) / 1.5);
}

.overview-project a {
	padding: 0 !important;
}

.overview-project img, .overview-project iframe {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.video-wrapper img {
	display: none;
}
.video-wrapper a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.data-title, .data-view-project {
	display: none;
}

/* slideshow */

.swipe, .swipe-wrap {
	width: 100%;
}

.swipe, .swipe-wrap, .slide {
	height: 100%;
}

.slide img, .slide iframe, .overview img {
	display: block;
	margin: 0 auto;
	width: 100%;
	/*height: 100%;*/
}

.caption {
	position: relative;
	z-index: 10000;
}

.caption div {
	position: fixed;
	bottom: 0;
	padding: 15px;
}

.caption .slideshow-counter {
	left: 0;
}

.caption .read-more, .caption .view-project {
	right: -3px;
}

.caption .read-more span {
	cursor: pointer;
	position: absolute;
	right: 0;
	white-space: nowrap;
	bottom: 0;
	padding: 15px;
}

.caption .title {
	left: 0;
	width: 100%;
	text-align: center;
    padding-left: 7.5em;
    padding-right: 7.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swipe {
	overflow: hidden;
	visibility: hidden;
	position: relative;
}

.swipe-wrap {
	overflow: hidden;
	position: relative;
}

.swipe-wrap > div {
	float: left;
	width: 100%;
	position: relative;
}

/* projects */

.projects .project:nth-child(odd) {
	padding-right: 1em;
	clear: both;
}

.projects .project:nth-child(even) {
	padding-left: 1em;
}

.project {
	width: 50%;
	float: left;
	/*padding: 3px;*/
	box-sizing: border-box;
	padding-bottom: 0.75em;
}

.project img, .project video {
	width: 100%;
	/*padding-left: 3px;*/
	/*padding-right: 3px;*/
}

.project .title {
	opacity: 0;
	margin: -8px -1px;
	padding: 3px 3px;
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

.project:hover .title {
	opacity: 1;
}

.description {
	position: absolute;
	top: 0;
	left: 0;
	margin-top: 0.2em;
}

.description .desc p {
	margin: 0 0 1em 0;
}

.description .specs, .description .year {
	float: left;
}
.description .specs {
	width: 85%;
}
.description .year {
	float: right;
}
.clear {
	clear: both;
}


/* about */

.about p, .contact p {
	margin: 1em 0;
}
.about b, .about strong {
	font-weight: normal;
	padding-left: 2em;
}
.about p:first-child, .contact p:first-child {
	margin-top: 0.2em;
}

.kern {
	margin-right: -0.05em;
}

/* contact */

input {
	font-family: inherit;
	font-size: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	font-smoothing: antialiased;
    background-image: none;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    border: 0.07em solid;
    padding-bottom: 0;
    text-indent: 4px;
    padding-right: 4px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
}
input:focus {
    outline-width: 0;
}

.newsletter-container {
	width: 100%;
	display: table;
}

.newsletter-container>div {
	display: table-cell;
    vertical-align: middle;
}
.newsletter-label {
	padding-right: 9px;
	white-space: nowrap;
}
.newsletter {
	width: 100%;
}

form, input {
	/*width: calc(((100vh - 44px - 22px - (24px * 2)) * 1.5) - 10.75em);*/
	width: 100%;
}

.projects .project a {
	padding: 0 !important;
}

/* progress bar */

.pace {
	-webkit-pointer-events: none;
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.pace-inactive {
	display: none;
}

.pace .pace-progress {
	background: lightgray;
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 100%;
	width: 100%;
	height: 2px;
}


/* mobile */

@media only screen and (min-width: 1200px) {
	html, body {
		font-size: 44px;
		line-height: 48px;
	}
	.small {
		font-size: 22px;
	}
	.projects .project .title {
		font-size: 19px;
	}
}


@media only screen and (max-width: 1200px) {
	html, body {
		font-size: 38px;
		line-height: 41.5px;
	}
	.small {
		font-size: 20px;
	}
	.projects .project .title {
		font-size: 19px;
	}
	section {
		top: calc(38px + 22px); /* topfontsize + vertical padding */
		width: calc((100vh - 38px - 20px - (24px * 2)) * 1.5);
		margin: 0 auto;
	}
	section.slideshow, section.overview {
		height: calc(100vh - 38px - 20px - (24px * 2)); /* windowheight - topfontsize  - bottomfontsize - verticalpadding*2 */
	}
}

@media only screen and (max-width: 900px) {
	html, body {
		font-size: 33px;
		line-height: 36.5px;
	}
	.small {
		font-size: 19px;
	}
	.projects .project .title {
		font-size: 16px;
	}
	section {
		top: calc(33px + 22px); /* topfontsize + vertical padding */
		width: calc((100vh - 33px - 19px - (24px * 2)) * 1.5);
		margin: 0 auto;
	}
	section.slideshow, section.overview {
		height: calc(100vh - 33px - 19px - (24px * 2)); /* windowheight - topfontsize  - bottomfontsize - verticalpadding*2 */
	}
	section.projects {
		margin-bottom: -6px;
	}
}

@media only screen and (max-width: 700px) {
	html, body {
		font-size: 30px;
		line-height: 33.5px;
	}
	.small {
		font-size: 16px;
	}
	.projects .project .title {
		font-size: 16px;
	}
	section {
		top: calc(30px + 22px); /* topfontsize + vertical padding */
		width: calc((100vh - 30px - 16px - (24px * 2)) * 1.5);
		margin: 0 auto;
	}
	section.slideshow, section.overview {
		height: calc(100vh - 30px - 16px - (24px * 2)); /* windowheight - topfontsize  - bottomfontsize - verticalpadding*2 */
	}
}

@media only screen and (max-width: 630px) {
	html, body {
		font-size: 20px;
		line-height: 23.5px;
	}
	html, body, main {
		height: 100%;
	}
	.small {
		font-size: 13px;
	}
	.projects .project .title {
		font-size: 13px;
	}
	section {
		top: calc(20px + 22px); /* topfontsize + vertical padding */
		width: calc((100vh - 20px - 13px - (24px * 2)) * 1.5);
		margin: 0 auto;
	}
	section.slideshow, section.overview {
		height: calc(100% - 20px - 13px - (24px * 2)); /* windowheight - topfontsize  - bottomfontsize - verticalpadding*2 */
	}
	.project .title {
		opacity: 0;
	}
	.mobile-toggle {
		display: block;
	}
	a {
		padding: 0px !important; /* override for fix for Safari font face */
	}
	header nav {
		left: 0;
		top: 32px;
		opacity: 0;
		background-color: white;
		padding-top: 0;
		pointer-events: none;
	}
	header nav li {
		padding: 0;
	}
	header nav li:after {
		content: ", ";
	}
	header nav li:last-child:after {
		content: "";
	}
	section {
		/*top: 3em;*/
	}
	section.projects {
		margin-bottom: 0px;
	}
	.portrait section {
	    width: calc(100vw - 20px);
	}

	.projects .project:nth-child(odd) {
		padding-right: 0;
	}

	.projects .project:nth-child(even) {
		padding-left: 0;
	}
	.project {
		width: 100%;
	}

	.caption div {
		padding: 12px;
	}
	.caption .read-more, .caption .view-project {
		right: -1px;
	}

	.project .title {
		margin: -4px 0;
	}
	.project {
		padding-left: 0;
		padding-right: 0;
	}
	.project img, .project video {
		padding-left: 0;
		padding-right: 0;
	}
	.project .title {
		padding-left: 0.5px;
		padding-right: 0;
	}
	.caption .read-more span {
		padding: 12px;
	}
	.portrait .overview-project {
		overflow: hidden;
	}
	.portrait section.overview,
	.portrait .overview img {
	    height: calc((100vw * 1.5) - 20px);
	    max-height: 80vh;
	}
	.portrait .overview img {
		width: auto;
		left: 50%;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		transform: translateX(-50%);
	}

	header nav li:nth-child(3) a {
		position: relative;
		left: -2px;
	}

	.newsletter-label {
	    padding-right: 6px;
	}

	section.about p:last-child {
		padding-bottom: 6px;
	}

	.portrait section.slideshow .swipe-outer {
	    height: calc((100vw - (10px * 2)) / 1.5);
	}

}

/* media query duplicated in HTML picture elements and JS */
@media (max-width: 630px) and (orientation: portrait) {
	.video-wrapper img {
		display: block;
	}
	.overview-project .video-wrapper iframe {
		display: none;
	}
}

@media (hover: none) and (max-width: 630px) {
    .project .title {
		opacity: 1;
	}
}

@media (hover: none) {
    a:hover, .read-more:hover span, .mobile-toggle:hover span {
    	color: inherit;
    }

}
