

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

:root {
	font-size: 16px;
}

body {
	margin: 0;
	--color-text: #000;
	--color-bg: #576F5D;
	--color-link: #000;
	--color-link-hover: #000;
	color: var(--color-text);
	background-color: var(--color-bg);
	--cursor-stroke: none;
    --cursor-fill: #988c67;
    --cursor-stroke-width: 1px;
	font-family: 'Graphik', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
	overflow-y: scroll;
}

body.active {
	--color-link: #000;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	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;
	cursor: pointer;
	transition: color 1s ease;
	position: relative;

}

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

.emoji {
	font-family: Segoe UI Emoji;
}

em {
	/* font-weight: 500; */
}

strong {
	font-weight: 400;
}

h3, h5 {
	font-weight: 500;
}

.frame {
	padding: 2vh 0 0;
	position: relative;
	z-index: 1000;
	border-bottom:1px solid #000;
	display: flex;
	justify-content: space-between;
	width:90vw;
	margin-left:5vw;
}

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

.frame__links {
	margin: 0.35rem 0 0 0;
}

.frame__links a:not(:last-child) {
	margin-right: 1rem;
}

.frame__home {
	text-decoration: none;
	color: var(--color-text);
	display: inline-block;
	height: 1.75rem;
	margin: 1rem 0;
	margin-right:5vw;

	
}

.frame__home-title {
	font-weight: 600;
	/* font-size: 2vw; */
}

.frame__home-sub {
	/* align-self: flex-end; */
	margin-left: 0.5rem;
}

.frame__about {
	display: inline-block;
	margin: 1rem 0;
	font-weight: 600;
	text-decoration: none;
	color: var(--color-text);
}

.frame__about-item {
	display: none;
}

.frame__about-item--current {
	display: inline-block;
}

.content {
	display: grid;
	grid-template-columns: 100%;
	grid-template-areas: "content-item";
	justify-content: center;
	position: relative;
	cursor: default;
	width: 100%;
	/* padding-right:30vw; */
}

.content__item {
	grid-area: content-item;
	opacity: 0;
	pointer-events: none;
	display: flex;
	align-content: center;
	flex-direction: column;
	padding: 5vh 1rem;
	overflow: hidden;
	height: 0;
}



.content__item a:after {
	content: "";
	position: absolute;
	bottom:.5vw;
	left:0;
	transform: scaleX(0);
	transform-origin: 0;
	transition: transform .3s ease;
	width:100%;
	background: #000;
	height:2px;
}


.content__item a:hover:after {
	transform: scaleX(1)
}

.content__item--home {
	justify-content: center;
	min-height: 300px;
}

.content__item--current {
	overflow: visible;
	height: auto;
	opacity: 1;
	pointer-events: auto;
}

.content__item-credits {
	margin-top: auto;
	align-self: center;
	max-width: 260px;
	text-align: center;
	padding-bottom: 3rem;
}

.content__item-credits a {
	white-space: nowrap;
}

.content__paragraph {
	font-family: 'Canela', serif;
	font-size: 7vw;
	font-weight: 300;
	letter-spacing: -0.2vw;
	word-spacing: 1vw;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.2;
	position: relative;
	overflow: hidden;
	flex: none;
}

.content__paragraph.small {
	font-family: tenon, sans-serif;
	font-size:1.5vw;
	letter-spacing: 0;
	margin-bottom:3vw;
}

.content__paragraph--first {
	margin-top: 40vh;
}

.content__paragraph--last {
	margin-bottom: 2vw;
}

.content__paragraph--large {
	font-size: 9vw;
}

.content__paragraph--right {
	align-self: flex-end;
}

.content__figure {
	margin: 0;
	max-width: 100%;
	margin-top: 0.5rem;
	position: relative;
}

.content__figure-img {
	max-width: 100%;
}

.content__figure-caption {
	margin: 1rem 0 0 0;
	font-size: 16px;
	padding-bottom: 5rem;
}

.content__figure-caption span {
	width:100%;
	display:flex;
	padding:1vw 0;
	border-top: 1px solid #000;
	justify-content: space-between;
}

.content__figure-caption span em {
	justify-content: flex-end;
}

.char {
	will-change: transform;
}

.cursor {
	display: none;
}

@media screen and (min-width: 53em) {
	.frame {
		position: absolute;
		text-align: left;
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 85vw;
		margin-left: 7vw;
		max-width: none;
		padding: 4vw 0 2vw;
		pointer-events: none;
		grid-template-columns: 20% 60% 20%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 'home title about'
							
							;
	}
	.frame__home {
		display: flex;
		grid-area: home;
		justify-content: flex-start;
		justify-self: start;
		margin: 0;
	}
	.frame__title-wrap {
		grid-area: title;
		text-align: center;
	}
	.frame__title {
		margin: 0;
	}
	.frame__links {
		margin: 1rem 0 0 0;
	}
	.frame__about {
		margin: 0;
		grid-area: about;
		align-self: start;
		justify-self: end;
	}
	.frame__credits {
		text-align: right;
		grid-area: credits;
		justify-self: end;
	}
	.frame a {
		pointer-events: auto;
	}
	.content__item {
		min-height: 100vh;
		padding: 12rem 8vw 3rem;
	}
	.content__title-inner--offset {
	    margin-top: 3rem;
	}
	.content__title-seperator {
		margin: 0 2rem;
	}
	.content__item--home {
		max-height: none;
	}
	.content__paragraph {
		font-size:5vw;
		line-height: 1;
	}
	.content__paragraph--large {
		font-size: 8vw;
	}
	.content__paragraph--first {
		margin-top: auto;
	}
	.content__figure {
		max-width: 38vw;
		justify-self: flex-end;
		margin-left: auto;
		margin-top: -10vw;
	}
	.content__figure-caption {
		position: absolute;
		right: 100%;
		bottom: 0;
		margin-right: 6vw;
		/* text-align: right; */
		width: 70%;
		font-size: 1rem;
		padding: 0;
	}
	.content__item-credits {
		align-self: flex-end;
		max-width: 260px;
		text-align: right;
		padding: 0;
	}
}

@media (any-pointer: fine) {
	.cursor {
		position: fixed;
		top: 0;
		left: 0;
		display: block;
		pointer-events: none;
	}
	.cursor__inner {
		fill: var(--cursor-fill);
		stroke: var(--cursor-stroke);
		stroke-width: var(--cursor-stroke-width);
		opacity: 0.5;
	}
}
