/* globals */
* {
	box-sizing: border-box;
}

body {
	font-family: 'Lora', serif;
	overflow-y: scroll;
	background-color: #fff;
}

img {
	max-width: 100%;
	height: auto;
}

.img-grayscale {
	filter: grayscale(100%);
}

@media screen and (min-width: 992px) {
	p img {
		padding-left: 20px;
	}
}

a {
	color: #225aa9;
	text-decoration: none;
}

p {
	line-height: 1.75em;
}

p.intro {
	font-size: 14px;
	color: #999;
	margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
	p.intro {
		font-size: 18px;
		margin-bottom: 30px;
	}
}

@media screen and (min-width: 992px) {
	p.intro {
		font-size: 24px;
		margin-bottom: 40px;
	}
}

hr {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid #ddd;
}

/* typography */

h2 {
	font-size: 35px;
	text-transform: uppercase;
	color: #666;
	font-weight: 700;
}

h2.project-title {
	font-size: 20px;
	text-transform: uppercase;
	color: #000;
	font-weight: 400;
	letter-spacing: .25em;
	text-align: center;
	margin-bottom: 2em;
}

h3 {
	font-size: 24px;
	color: #000;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 40px;
}

.service-list {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}

.service-list li {
	margin: 1em 0;
}

.service-list li strong {
	margin-right: 10px;
}

/* site nav */
.site-nav {
	display: none;
}

@media screen and (max-width: 767px) {
	.js__site-nav--open .site-nav {
		display: block;
		clear: both;
	}
}

@media screen and (min-width: 768px) {
	.site-nav {
		display: block;
		float: right;
		margin-top: 9px;
		clear: none;
	}
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list__item {
	display: block;
	font-size: 14px;
	font-weight: 400;
	border-top: 1px solid #ddd;
	margin-left: -20px;
	margin-right: -20px;
}

.site-nav__list__item:last-child {
	border-bottom: 1px solid #ddd;
}

@media screen and (min-width: 768px) {
	.site-nav__list__item {
		display: inline-block;
		margin-left: 20px;
		margin-right: 0;
		border-top: none;
	}

	.site-nav__list__item:last-child {
		border: none;
	}
}

.site-nav__list__item a {
	display: block;
	padding: 20px;
	color: #999;
	text-decoration: none;
}

@media screen and (min-width: 768px) {
	.site-nav__list__item a {
		padding: 5px;
		margin: 0;
	}
}

@media screen and (min-width: 768px) {
	.site-nav__list__item.current a {
		color: #000;
	}
}

.site-nav__list__item a:hover {
	text-decoration: none;
}
@media screen and (min-width: 768px) {
	.site-nav__list__item a:hover {
		border-bottom: 1px solid #ddd;
	}
}

.site-nav__list__item a::before {}

/* header */
header {
	background-color: #fff;
	padding: 30px 0 0;
	position: relative;
}

header::after {
	content: '';
	display: table;
	clear: both;
}

header h1 {
	width: 140px;
	height: 20px;
	margin: 15px 0;
	display: block;
	float: left;
}

header h1 a {
	display: block;
	width: inherit;
	height: inherit;
	text-indent: 100%;
	overflow: hidden;
	white-space: nowrap;

	background-image: url('../images/olivia-logo.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 140px auto;
}


/* panel */
.site-nav-toggle {
	float: right;
	font-size: 20px;
	margin-top: 9px;
}


@media screen and (min-width: 768px) {
	.site-nav-toggle {
		display: none;
	}
}

/* hero */

.hero {
	display: block;
	width: 100%;
	background-size: cover;
	background-position: center center;
	position: relative;
}

@media screen and (min-width: 768px) {
	.hero {
		display: table;
		height: calc(100vh - 103px);
	}
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
}

.hero__wrapper {
	display: table-cell;
	vertical-align: middle;
	position: relative;
}

.hero__content h2 {
	font-size: 36px;
	line-height: 1.25em;
	padding-right: 100px;
	color: #fff;
	letter-spacing: -0.01em;
	padding-top: 50px;
	padding-bottom: 50px;
}

@media screen and (max-width: 480px) {
	.hero__content h2 {
		font-size: 28px;
	}
}

@media screen and (min-width: 768px) {
	.hero__content h2 {
		font-size: 60px;
	}
}

@media screen and (min-width: 1000px) {
	.hero__content h2 {
		font-size: 72px;
	}
}

/* site-layout */
.site-layout {
	background-color: #fff;
}

.layout__constrain {
	margin: 0 auto;
	width: 100%;
	max-width: 1140px;
	padding: 0 20px;
}

.layout__constrain--wide {
	max-width: 1600px;
}

/* page-content */
.page-content {
	padding: 60px 0;
}
.page-content__wrapper {}

.page-content__wrapper::after {
	content: '';
	display: table;
	clear: both;
}

.page-content__primary,
.page-content__secondary {
	float: left;
}

.page-content__primary {
	background-color: #fff;
	width: 100%;
}

.page-content__primary--narrow {
	width: 768px;
	max-width: 100%;
	float: none;
	margin: 0 auto;
}

.page-content__primary:nth-last-child(2) {
	width: 75%;
}

.page-content__secondary {
	width: 25%;
}

/* projects list */

.projects__list {
	text-align: center;
}

.projects__list__item {
	float: left;
	margin: 0 0 10px;
	width: 100%;
	vertical-align: top;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
	.projects__list__item {
		width: 50%;
	}

	.projects__list__item:nth-child(2n+3) {
		clear: both;
	}
}

@media screen and (min-width: 1000px) {
	.projects__list__item {
		width: 25%;
	}

	.projects__list__item:nth-child(4n+5) {
		clear: both;
	}
}

.projects__list__item a {
	position: relative;
	display: block;
	padding: 5px;
	text-decoration: none;
}

.projects__list__item a:hover {
	text-decoration: none;
}

.projects__list__item a img {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
	transform: scale(1);
	transition: transform .5s ease;
}

.projects__list__item a:hover img {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
	transform: scale(1.1);
	transition: transform .5s ease;
}

.projects__list__item .img-wrapper {
	overflow: hidden;
}

.projects__list p {
	text-align: center;
	text-transform: uppercase;
	color: #999;
	margin: 10px 0 0;
	font-size: 12px;
	letter-spacing: 0.1em;
}

.projects__list a:hover img {
}

.projects__list a:hover p {
	color: #000;
}

.projects__list__filters {
	list-style: none;
	margin: 0 0 4em;
	padding: 0;
	text-align: center;
}

.projects__list__filters li {
	display: inline-block;
	border: 1px solid #999;
	padding: 5px 10px;
	line-height: 1;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
}

.projects__list__filters li.active {
	color: #fff;
	border-color: #000;
	background: #000;
}

/* project detail */

.project-title {
	text-align: center;
}

.project-detail img {
	display: block;
	margin: 1em auto;
	opacity: 0;
	transition: opacity .3s ease-in;
	max-height: 95vh;
}

.project-detail img.lazyloading {
	opacity: 1;
	transition: opacity .3s ease-in;
	background: #f7f7f7 url('../images/loader.gif') no-repeat center;
}

.project-detail img.lazyloaded {
	opacity: 1;
	transition: opacity .3s ease-in;
}

/* callout */

.callout {
	padding: 80px 0;
	background-size: cover;
	background-position: center center;
	color: #fff;
	overflow: hidden;
	position: relative;
}

.callout::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.3);
}

.callout *:first-child {
	margin-top: 0;
}

.callout *:last-child {
	margin-bottom: 0;
}

.callout h2 {
	position: relative;
	color: #fff;
}

.callout--about {
	background-image: url('http://plarch.com/plarch/cache/file/06C05F42-BF73-F6FC-F0493B8C946E9880.jpg');
}

.callout--projects {
	background-image: url('http://plarch.com/plarch/cache/file/0AC8A58D-9838-4900-98694B13F74DE3C8.jpg');
}

.callout--projects::before {
	background-color: rgba(0,0,0,0.7);
}

/* about profile */
.about-profile {
	position: relative;
}

.about-profile strong {
	color: #000;
	text-transform: uppercase;
}

/* footer */

footer {
	padding: 30px 0;
	background-color: #fff;
}

footer p {
	margin: 0 0 2em;
	font-size: 12px;
}

.site-footer p {
	text-align: left;
	font-weight: 400;
	color: #999;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.site-footer ul li {
	display: inline-block;
	margin: 0 5px;
}

.site-footer ul li a {
	color: #000;
}

.site-footer ul li a {
	height: 24px;
	width: 24px;
	line-height: 24px;
	display: block;
	text-indent: 100%;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}

.site-footer ul li a::before {
	position: absolute;
	width: 24px;
	left: 0;
	font-family: "FontAwesome";
	text-indent: 0;
	font-size: 24px;
	line-height: 1;
}

.site-footer ul li a[href*="twitter"]::before {
	content: "\f081";
}

.site-footer ul li a[href*="facebook"]::before {
	content: "\f082";
}

.site-footer ul li a[href*="houzz"]::before {
	content: "\f27c";
}

.site-footer ul li a[href*="pinterest"]::before {
	content: "\f0d3";
}


/* landing list */

.landing__list {
	display: flex;
	flex-wrap: wrap;
}

.landing__list__item {
	margin: 0 0 10px;
	width: 100%;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
	.landing__list__item {
		width: 50%;
	}
}

@media screen and (min-width: 1000px) {
	.landing__list__item {
		width: 50%;
	}
}

.landing__list__item a {
	position: relative;
	display: block;
	padding: 12px;
	text-decoration: none;
}

.landing__list__item a:hover {
	text-decoration: none;
}

.landing__list__item a img {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
	transform: scale(1);
	transition: transform .5s ease;
}

.landing__list__item a:hover img {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
	transform: scale(1.1);
	transition: transform .5s ease;
}

.landing__list__item .img-wrapper {
	overflow: hidden;
}

.landing__list p {
	text-align: center;
	text-transform: uppercase;
	color: #999;
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.1em;
}

.landing__list a:hover img {
}

.landing__list a:hover p {
	color: #000;
}


/* index */

.svIndex dl {
	border-bottom: 1px solid #ddd;
	margin-bottom: 3em;
	padding-bottom: 3em;
}

.svIndex dl:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}
