article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C""\201D""\2018""\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*,*::after,*::before{box-sizing:border-box}

:root {
	font-size: 15px;
}

body {
	--color-text: #949494;
	--color-bg: #0e0e0f;
	--color-link: #e08b0c;
	--color-link-hover: #fff;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: ivymode, sans-serif;
	--imgwidthmax: 1000px;
	--size-title: 15vw;
	--aspect-ratio: 32/17;
	overflow-x:hidden;


}

.cursor__inner {
	z-index: 9999;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	mix-blend-mode: difference;
	border-radius: 50%;
}

.cursor__inner--dot {
	width: 8px;
	height: 8px;
	background: #fff;
}

.cursor__inner--circle {
	width: 40px;
	height: 40px;
	border: 1px solid #fff;
}

/* Page Loader */
.js .loading::before {
	content: "";
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	content: "";
	position: fixed;
	z-index: 100000;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5, 0.5, 1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}

.frame {
	padding: 3rem 5vw;
	text-align: center;
	position: relative;
	z-index: 1000;
	width: 100%;

}

.frame__title {
	font-size: 1.2rem;
	margin: 0 0 1rem;
	font-weight: normal;
}
.frame__title-wrap img{
	display:none;
}

.frame__links {
	padding-top:25px;
	display: inline;
}
.frame__controls {	
	display: inline;
}

.frame__links a:not(:last-child),
.frame__controls a:not(:last-child) {
	margin-right: 1rem;
}
.controls-play {
	
}
.controls-play .play-hover,
.controls-play:hover .play,
.controls-sound .sound-hover,
.controls-sound:hover .sound
{
	display:none;
}
.controls-play:hover .play-hover,
.controls-sound:hover .sound-hover{
	display:inline;
}

.content {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
}
.gallery {
	position:absolute;
	top:100%;
	display: grid;
	margin: 0 auto;
	grid-template-columns: 100%;
	grid-template-areas: 'grid';
	will-change: transform;	
	background-color: #000;
	transition: opacity 150ms linear, top 150ms linear;
	opacity:.5;
}
.gallery--open {
	top:0px;
	opacity:1;
	transition: top 1000ms cubic-bezier(0.05, 0.79, 0.35, 1.01);

}
.img {
	grid-area: grid;
	margin: 25vh 0 30vh;
}
.img--full {
	width: 100vw;
	justify-self: center;
}
.img__item {
	--imgwidth: calc(var(--imgwidthmax) * var(--aspect-ratio));
	width: var(--imgwidth);
	max-width: 100%;
	position: relative;
	will-change: transform;
	margin-bottom: 30vh;
	display: grid;
	grid-template-columns: 50% 50%;
}
.img__item--wide {
	grid-template-columns: 20% 80%;
}
.img__item--wide:nth-child(even) {
	grid-template-columns: 80% 20%;
}
.img-alt .img__item {
	max-width: 90vw;
}
.img-alt .img__item:nth-child(even) {
	margin-left: auto;
}
.img__item-wrap {
	position: relative;
	--imgwidth: 100%;
	margin: 0 auto;
	grid-area: 1 / 1 / 3 / 3;
	overflow: hidden;
	width: var(--imgwidth);
	padding-bottom: calc(var(--imgwidth) / (var(--aspect-ratio)));
	will-change: transform;
}
.img__item-img {
	--overflow: 0px;
	height: calc(100% + (2 * var(--overflow)));
	top: calc( -1 * var(--overflow));
	width: 90%;
	position: absolute;
	background-size: contain;
	background-position: 50% 0%;
	background-repeat: no-repeat;
	will-change: transform;
	opacity: 0.8;
}
.img__item-img--t1 {
	--overflow: 60px;
}

.img__item-img--t2 {
	--overflow: 80px;
}

.img__item-img--t3 {
	--overflow: 120px;
}

.img__item-num {
	opacity: 0.08;
	font-size: 25vw;
	position: absolute;
	top: -7vw;
	right: -10vw;
	line-height: 1;
	z-index:10;
}

.img__item:nth-child(even) .img__item-num{
	right: auto;
	left: -7vw;
}
.img__item-title {
	position: relative;
	font-family: ivymode, sans-serif;
	font-size: var(--size-title);
	padding: 0 3vw;
	margin: calc(var(--size-title) * -1/2) 0 0 0;
	align-self: start;
	line-height: 1;
	font-family: var(--font-title);
	font-weight: var(--font-weight-title);
	color: var(--color-title);
	will-change: transform;
	mix-blend-mode: var(--blendmode-title);
	opacity: 0.2;
}
.img__item-desc{
	grid-area: 3 / 1 / 3 / 3;
	width: 70%;
	position: relative;
	margin: 0;
	padding: 1rem 0 0 0;
	font-size: 1.25rem;
	font-family: ivymode, sans-serif;
	color: var(--color-description);
	opacity: 0.5;
}
.img-alt .img__item-title,
.img__item--wide:nth-child(even) .img__item-desc {
	grid-area: 3 / 1 / 4 / 2;
	justify-self: start;
}

.img-alt  .img__item:nth-child(even) .img__item-title,
.img__item--wide .img__item-desc{
	grid-area: 3 / 2 / 4 / 3;
	justify-self: end;
	width: auto;
}
.img__item--expand:nth-child(even) .img__item-desc{
	grid-area: 1 / 1 / 3 / 2;
	justify-self: end;
	text-align: right;
}

.img__item-deco {
	position: absolute;
	top: 2rem;
	left: 10vw;
	height: 30%;
	width: 1px;
	background: #d79612;
}

.credits {
    text-align: center;
}

@media screen and (min-width: 53em) {
	.frame {
		position: fixed;
		text-align: left;
		z-index: 10000;
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		max-width: none;
		height: 100vh;
		padding: 2rem;
		pointer-events: none;
		grid-template-columns: 75% 25%;
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"title links"
			"... ..."
			"tip controls";
	}
	.frame__title-wrap {
		grid-area: title;
		display: flex;
	}
	.frame__title-wrap img{
		display:inline;
	}
	.frame__title {
		margin: 0;
		padding-top:25px;

	}	
	.frame__tip {
		grid-area: tip;
		margin: 0;
	}	
	.frame__links {
		grid-area: links;
		/* padding: 0; */
		justify-self: end;
	}
	.frame__controls {
		grid-area: controls;
		/* padding: 0; */
		justify-self: end;
	}
	.frame a {
		pointer-events: auto;
	}	
	.cursor {
		display: block;
	}
}
@media screen and (max-width: 40em) {
.img__item--wide .img__item-desc,
	.img__item--wide:nth-child(even) .img__item-desc {
		grid-area: 3 / 1 / 4 / 3;
	    padding: 1rem 0;
	    width: 100%;
	    text-align: left;
	}
	.img__item--wide .img__item-desc {
		padding: 1rem;
	}
	.img-alt .img__item-title,
	.img-alt .img__item:nth-child(even) .img__item-title {
		grid-area: 1 / 1 / 4 / 2;
	}
}