/*------------------------------------------------------
Table of Contents
--------------------------------------------------------
0. Reset
1. General Styles
2. Navigation
3. Home Page
4. About & Contact Page
5. Works
6. Single Project
7. Footer

------------------------------------------------------*/


/*-----------------------------------------------------
Reset
------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

/*-----------------------------------------------------
General Styles
------------------------------------------------------*/

*{
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
	overflow-y: scroll;
	scroll-behavior: smooth;
}

body{
	font-family: 'Montserrat', sans-serif;
	font-size: 62.5%; 
}

ul{
	list-style: none;
}

.container{
	max-width: 1170px;
	margin: auto;
}

.container-full{
	width: 100%;
}

.img-responsive{
	display: block;
 	max-width: 100%;
    height: auto;
}

a{
	text-decoration: none;
	transition: all .2s linear;
}

a:hover{
	text-decoration: none;
	color: #009fff;
}

.clearfix{
	clear: both;
}

/*-----------------------------------------------------
Navigation
------------------------------------------------------*/

header{
	height: 76px;
}

header .container{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.logo{
	display: flex;
	align-items: center;
}

.logo img{
	height: 44px;
	width: auto;
	display: block;
}

.nav-button{
	display: none;
	float: right;
}

.ti-menu{
	color: #121212;
	font-size: 2.5em;
	line-height: 85px;
}

.ti-menu:hover{
	color: #121212;
}

.close-btn{
	display: none;
}

.ti-close{
	color: #121212;
	position: absolute;
	right: 37px;
	top: 37px;
	font-size: 1.7em;
}

.ti-close:hover{
	color: #009fff;
}

#navigation{
	margin-left: auto;
}

.main-menu{
	display: flex;
	align-items: center;
	gap: 0 60px;
}

.main-menu > li{
	font-size: 1.2em;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 3.5px;
	position: relative;
}

.main-menu li a{
	color: #222;
}

.main-menu li a:hover{
	color: #009fff;
}

.main-menu li ul {
	display: none;
	position: absolute;
	top: 85px;
	left: 0;
	z-index: 999;
	min-width: 190px;	
	padding: 12px 30px;
	line-height: 40px;
	background: #fff;
	box-shadow: 0 5px 10px rgba(0,0,0,.3);
	text-align: left;
}

.main-menu li:hover ul {
	display: block;
}

.sub-menu li a{
	font-size: .9em;
	letter-spacing: 2px;
}

/*-----------------------------------------------------
Home Page
------------------------------------------------------*/

.hero-homepage, .hero-contact{
	background: #fdc;
	position: relative;
	width: 100%;
	padding: 96px 24px 88px;
	z-index: 0;
}

.hero-about{
	background: #fdc;
	position: relative;
	width: 100%;
	padding: 34px 20px;
	z-index: 0;
}

.hero-content{
	width: 100%;
	text-align: center;
}

.hero-content h1{
	font-size: clamp(28px, 8vw, 63px);
	font-weight: 300;
	letter-spacing: clamp(5px, 1.6vw, 15px);
	line-height: 1.4;
	text-transform: uppercase;
	padding-bottom: 18px;
	overflow-wrap: break-word;
}

.hero-content h2{
	color: #252525;
	font-size: 1.9em;
	font-weight: 300;
	letter-spacing: 5px;
	line-height: 2.5;
	text-transform: uppercase;
}

.hero-scroll-hint{
	display: none;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
.hero-scroll-hint:hover{
	color: inherit;
	text-decoration: none;
	opacity: 0.7;
}

/*-----------------------------------------------------
About & Contact
------------------------------------------------------*/

.about-us{
	position: relative;
	margin: 60px auto 70px;
	width: 70%;
}

.about-avatar{
	width: 180px;
	height: 180px;
	margin: 0 auto 40px;
	border-radius: 50%;
	overflow: hidden;
}

.about-avatar img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-us{
	margin: 120px auto;
	width: 60%;
}

.about-us-info, .contact-us-content{
	font-size:1.8em;
	font-weight: 400;
	text-align: center;
	line-height: 2.1;
	letter-spacing: .5px;
}

.about-us-info{
	padding-top: 0;
}

.about-logo{
	width: 220px;
	max-width: 60%;
	height: auto;
	display: block;
	margin: 32px auto 0;
}

.contact-us-content{
	font-size:2.2em;
}

.about-us-icon{
	font-size: 50px;
	position: absolute;
	transform: translateX(-50%);
	left:50% ;
}

.services, .contacts{
	background: #99d9ff;
	width: 100%;
	padding: 150px 0;
}

.contacts{
	padding: 100px 0;
}

.services-item, .contact-item{
	float: left;
	width:33.33%;
	text-align: center;
	padding-right: 15px;
  	padding-left: 15px;
}

.services-icon, .contact-icon{
	font-size: 35px;
}

.services-item h3, .contact-item h3{
	font-size: 1.4em;
	font-weight: 400;
	letter-spacing: 2.3px;
	text-transform: uppercase;
	margin-top: 20px;
	margin-bottom: 15px;
}

.services-item p, .contact-item p{
	font-size: 1.25em;
	line-height: 1.8;
	letter-spacing: 1.1px;
}

/*-----------------------------------------------------
Works
------------------------------------------------------*/

.hero-portfolio{
	color: #222;
	text-align: center;
	padding: 100px 0;
}

.hero-portfolio h1{
	font-size: 5em;
	text-transform: capitalize;
	margin-bottom:25px;
}

.hero-portfolio p{
	font-size: 1.7em;
	line-height: 2;
	letter-spacing: .3px;
	width: 50%;
	margin: auto;
}

.works-item{
	float: left;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}

.works-item img{
	width: 100%;
	height: 100%;
	object-fit:cover;
	display: block;						
}

.works_2-columns .works-item{
	width: 50%;
	height: 60vh;
}

.works_3-columns .works-item{
	width: 33.333%;
	aspect-ratio: 8 / 7;
}

.works_4-columns .works-item{
	width: 25%;
	height: 35vh;
}

.works-item-overlay{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
	transition: all .3s linear;
}

.works-item:hover .works-item-overlay{
	opacity: 1;
}

.works-item-info{
	 position: absolute;
	 transform: translate(-50%, -50%);
     top: 50%;
     left: 50%;
     z-index: 2;
     text-align: center;
     width: 100%;
}

.works-info-title{
	color: #333;
	font-size: 2.3em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding-bottom: 15px;
}

.works-info-category{
	color: #009fff;
	font-size: 1.2em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2.5px;
}

.works-info-category-label{
	color: #666;
	font-size: 1em;
	font-weight: 400;
	letter-spacing: 1px;
	margin-bottom: 2px;
}

.works-info-year{
	color: #666;
	font-size: 1em;
	font-weight: 400;
	margin-top: 8px;
	letter-spacing: 1px;
}

.works_2-columns a:hover,
.works_3-columns a:hover,
.works_4-columns a:hover{
	color: inherit;
}


/*-----------------------------------------------------
Single Project
------------------------------------------------------*/

.single-project{
	text-align: center;
	margin-top: 100px;
}

.single-project-back{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	margin-bottom: 24px;
}

.back-to-portfolio{
	display: inline-block;
	font-size: 1.2em;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 3.5px;
	color: #009fff;
	padding: 10px 16px;
	border: 1px solid rgba(0, 159, 255, 0.5);
	border-radius: 4px;
	transition: color 0.2s linear, border-color 0.2s linear, background 0.2s linear;
}
.back-to-portfolio .ti-arrow-left{
	margin-right: 8px;
	vertical-align: middle;
}
.back-to-portfolio:hover{
	color: #007cff;
	border-color: #009fff;
	background: rgba(0, 159, 255, 0.06);
}

.single-project-back-bottom{
	margin-top: 20px;
	text-align: center;
}

.single-project-back-bottom .back-to-portfolio{
	display: inline-block;
}

.project-year{
	font-size: 1.2em;
	color: #999;
	letter-spacing: 1px;
	margin: 0 0 8px 0;
	text-align: left;
}

.tag{
	color: #009fff;
	font-size: 1.2em;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 3.5px;
}

.tag:hover{
	color: #007cff;
}

.single-project h1{
	color: #333;
	font-size: clamp(28px, 6vw, 75px);
	line-height: 1.15;
	overflow-wrap: break-word;
	letter-spacing: 2px;
	padding: 20px 0 30px 0;
}

.single-project-info{
	margin: 64px auto;
	width: 80%;
}

.single-project-info h2{
	color: #009fff;
	font-size: 1.1em;
	font-weight: 600;
	text-align: left;
	padding-bottom: 17px;
	letter-spacing: 4.5px;
	text-transform: uppercase;
}

.single-project-info p{
	font-size: 1.9em;
	text-align: left;
	line-height: 2.1;
	letter-spacing: .5px;
	margin: 0 auto 30px auto;
}

/* Project gallery: use .gallery-singlecolumn or .gallery-doublecolumn */
.project-gallery{
	display: flex;
	align-items: center;
	margin: 50px 0;
}

.project-gallery.gallery-singlecolumn{
	flex-direction: column;
	gap: 16px;
}

.project-gallery.gallery-doublecolumn,
.project-gallery.grid{
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 4px;
}

.project-gallery-item{
	display: block;
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
	cursor: pointer;
	position: relative;
}

.project-gallery-item::before{
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 159, 255, 0.3);
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
	z-index: 1;
}
.project-gallery-item:hover::before{
	opacity: 1;
}

.project-gallery-item::after{
	content: "\e610";
	font-family: 'themify';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.5em;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,0.4);
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
	z-index: 2;
}

.project-gallery-item:hover::after{
	opacity: 1;
}

.project-gallery-item img{
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	transition: opacity 0.2s ease;
}

.project-gallery-item:hover img{
	opacity: 0.9;
}

.project-gallery.gallery-doublecolumn .project-gallery-item-wrapper,
.project-gallery.grid .project-gallery-item-wrapper{
	flex: 0 0 calc(50% - 2px);
	width: calc(50% - 2px);
	border: 1px solid #e0e0e0;
	padding: 4px;
	box-sizing: border-box;
}

.project-gallery.gallery-doublecolumn .project-gallery-item,
.project-gallery.grid .project-gallery-item{
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.project-gallery.gallery-doublecolumn .project-gallery-item img,
.project-gallery.grid .project-gallery-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-gallery-item-wrapper{
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
}

.project-gallery.gallery-doublecolumn .project-gallery-item-wrapper,
.project-gallery.grid .project-gallery-item-wrapper{
	max-width: none;
}

.project-gallery-item-wrapper .project-gallery-item{
	max-width: 100%;
}

.project-gallery-caption{
	display: block;
	font-size: 1.3em;
	text-align: center;
	margin-top: 0.5em;
	color: #555;
}

@media (max-width: 768px){
	.project-gallery.gallery-doublecolumn .project-gallery-item-wrapper,
	.project-gallery.grid .project-gallery-item-wrapper{
		flex: 0 0 100%;
		width: 100%;
	}
	.project-gallery.gallery-doublecolumn .project-gallery-item,
	.project-gallery.grid .project-gallery-item{
		aspect-ratio: 1 / 1;
	}
}

/* Project video embed */
.project-video{
	margin: 50px 0;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.project-video-inner{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.project-video-inner iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Back to top */
.back-to-top{
	display: inline-block;
	margin: 60px 0 40px;
	font-size: 1.4em;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #009fff;
}

.back-to-top:hover{
	color: #007cff;
}

/* Lightbox */
.lightbox-overlay{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.96);
	z-index: 9999;
	touch-action: pan-y pinch-zoom;
	align-items: center;
	justify-content: center;
}

.lightbox-overlay.active{
	display: flex;
}

.lightbox-content{
	position: relative;
	max-width: 95vw;
	max-height: 95vh;
}

.lightbox-content img{
	max-width: 95vw;
	max-height: 95vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.lightbox-caption{
	display: block;
	position: absolute;
	bottom: -38px;
	left: 0;
	right: 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.95);
	font-size: 1.1em;
	max-width: 90%;
	margin: 0 auto;
	line-height: 1.4;
}

.lightbox-counter{
	display: block;
	position: absolute;
	bottom: -68px;
	left: 0;
	right: 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.4em;
}

.lightbox-close{
	position: fixed;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.95);
	color: #222;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.4em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	cursor: pointer;
	padding: 12px 20px;
	border: 2px solid #222;
	border-radius: 4px;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	z-index: 10000;
}

.lightbox-close:hover{
	background: #fff;
	color: #009fff;
	border-color: #009fff;
}

.lightbox-close .lightbox-close-x{
	font-size: 1.4em;
	line-height: 1;
}

.lightbox-prev,
.lightbox-next{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 2.5em;
	cursor: pointer;
	padding: 20px;
	opacity: 0.8;
}

.lightbox-prev:hover,
.lightbox-next:hover{
	opacity: 1;
	color: #009fff;
}

.lightbox-prev{
	left: -60px;
}

.lightbox-next{
	right: -60px;
}

@media (max-width: 768px){
	.lightbox-prev{
		left: 5px;
	}
	.lightbox-next{
		right: 5px;
	}
}

/*-----------------------------------------------------
Footer
------------------------------------------------------*/

footer{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 85px;
	padding: 24px 0 16px;
	box-sizing: border-box;
}

.footer-content{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
}

footer .container{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 50px;
	min-height: 50px;
	box-sizing: border-box;
}

/* About page: subtle separation between content and footer */
body.page-about{
	background: #f6f6f6;
}
body.page-about footer{
	background: #eaeaea;
}

.footer-logo{
	height: 28px;
	width: auto;
	max-height: 28px;
	display: block;
	object-fit: contain;
	object-position: center;
	flex-shrink: 0;
}

footer .container .copyright{
	font-size: 1.3em;
	font-weight: 400;
	letter-spacing: 1.5px;
	margin: 0;
	padding: 0;
	line-height: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
}

.social-links{
	float: right;
}

.social-links li{
	display: inline-block;
	margin-left: 30px;
}

.social-links li a{
	color: #000;
	font-size: 1.4em;
}

.social-links li a:hover{
	color: #009fff;
}
/*-----------------------------------------------------
Brand shapes (square, hexagon, diamond)
------------------------------------------------------*/

.brand-shapes{
	display: flex;
	justify-content: center;
	line-height: 0;
}

.brand-shapes svg{
	height: 14px;
	width: auto;
	fill: #231f20;
}

.hero-notfound{
	padding: 60px 20px;
}

.hero-notfound .brand-shapes{
	margin-top: 14px;
}

.about-us-info a{
	color: #009fff;
}

/*-----------------------------------------------------
Contact form (About page)
------------------------------------------------------*/

.contact{
	width: 100%;
	max-width: 620px;
	margin: 0 auto 150px;
	padding: 0 20px;
	text-align: center;
}

.contact h2{
	color: #252525;
	font-size: 1.9em;
	font-weight: 300;
	letter-spacing: 5px;
	text-transform: uppercase;
	padding-bottom: 18px;
}

.contact-intro{
	font-size: 1.7em;
	line-height: 1.9;
	letter-spacing: .5px;
	margin-bottom: 36px;
}

.contact-form{
	text-align: left;
}

.contact-field{
	margin-bottom: 28px;
}

.contact-field label{
	display: block;
	color: #009fff;
	font-size: 1.1em;
	font-weight: 600;
	letter-spacing: 4.5px;
	text-transform: uppercase;
	padding-bottom: 8px;
}

.contact-field input,
.contact-field textarea{
	display: block;
	width: 100%;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.7em;
	letter-spacing: .5px;
	color: #231f20;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #231f20;
	border-radius: 0;
	padding: 8px 0;
	outline: none;
	transition: border-color 0.2s linear;
	-webkit-appearance: none;
	appearance: none;
}

.contact-field textarea{
	resize: vertical;
	min-height: 120px;
	line-height: 1.7;
}

.contact-field input:focus,
.contact-field textarea:focus{
	border-bottom-color: #009fff;
	box-shadow: 0 1px 0 #009fff;
}

/* Spam trap: hidden from people, visible to bots */
.contact-hp{
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-actions{
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.contact-submit{
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 3.5px;
	color: #fff;
	background: #231f20;
	border: 1px solid #231f20;
	border-radius: 4px;
	padding: 14px 34px;
	cursor: pointer;
	transition: background 0.2s linear, border-color 0.2s linear;
}

.contact-submit:hover,
.contact-submit:focus-visible{
	background: #009fff;
	border-color: #009fff;
}

.contact-submit:disabled{
	opacity: 0.6;
	cursor: default;
}

.contact-status{
	font-size: 1.4em;
	letter-spacing: .5px;
	color: #666;
}

.contact-status.is-error{
	color: #c0392b;
}

.contact-sent{
	padding: 30px 0;
	outline: none;
}

.contact-sent .brand-shapes{
	margin-bottom: 20px;
}

.contact-sent p{
	font-size: 1.8em;
	line-height: 2;
	letter-spacing: .5px;
}

/*-----------------------------------------------------
Accessibility and SEO helpers
------------------------------------------------------*/

.skip-link{
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 1000;
	background: #231f20;
	color: #fff;
	font-size: 1.3em;
	letter-spacing: 1px;
	padding: 10px 16px;
	border-radius: 4px;
	transition: top 0.15s linear;
}

.skip-link:focus{
	top: 12px;
	color: #fff;
}

/* Small hero titles (About, 404, thanks) are the page h1 but look like the old h2 */
.hero-content h1.hero-small{
	color: #252525;
	font-size: 1.9em;
	font-weight: 300;
	letter-spacing: 5px;
	line-height: 2.5;
	text-transform: uppercase;
	padding-bottom: 0;
}

/*-----------------------------------------------------
More work (bottom of project pages)
------------------------------------------------------*/

.related-projects{
	margin: 70px 0 10px;
}

.related-projects h2{
	color: #009fff;
	font-size: 1.1em;
	font-weight: 600;
	padding-bottom: 20px;
	letter-spacing: 4.5px;
	text-transform: uppercase;
}

.related-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.related-item{
	display: block;
	color: #231f20;
	text-decoration: none;
}

.related-item img{
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 12px;
	transition: opacity 0.2s linear;
}

.related-item:hover img{
	opacity: 0.85;
}

.related-title{
	display: block;
	font-size: 1.5em;
	font-weight: 600;
	letter-spacing: .5px;
	line-height: 1.4;
}

.related-meta{
	display: block;
	color: #666;
	font-size: 1.2em;
	letter-spacing: 1px;
	margin-top: 4px;
}

@media (max-width: 670px){
	.related-grid{
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
	.related-grid .related-item:nth-child(3){
		display: none;
	}
}

/*-----------------------------------------------------
Touch screens: no hover, so show project titles on the cards
------------------------------------------------------*/

@media (hover: none){
	.works-item-overlay{
		top: auto;
		height: auto;
		opacity: 1;
		background: linear-gradient(to top, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
		padding: 14px 16px 12px;
	}
	.works-item-info{
		position: static;
		transform: none;
		text-align: left;
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 2px 10px;
	}
	.works-info-title{
		font-size: 1.5em;
		letter-spacing: 1.5px;
		padding-bottom: 0;
		width: 100%;
	}
	.works-info-category{
		display: none;
	}
	.works-info-category-label,
	.works-info-year{
		font-size: 1.1em;
		margin: 0;
	}
}
