/* Featured Star Styles */
.featured-star {
		width: 24px;
		height: 24px;
		background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27%23fff%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M12%202l3.09%206.26L22%209.27l-5%204.87L18.18%2022%2012%2018.56%205.82%2022%207%2014.14l-5-4.87%206.91-1.01z%27%2F%3E%3C%2Fsvg%3E");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}
* {
	margin: 0;
	padding: 0;
	border: none;
	text-decoration: none;
	list-style: none;
	list-style-position: outside;
}
body {
	font: 12px 'EB Garamond', serif;
	color: #063863;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h1 {
	margin-top: 10px;
	font: 50px 'EB Garamond', serif;
	line-height: 50px;
	color: #fff;
}
h1 span.logo {
	color: #aa914e;
}
h1 div {
	display: inline-block;
}
h1 span.dot {
	position: relative;
	top: -10px;
	margin: 0 10px 0 20px;
	font-size: 10px;
	color: #fff;
}
.inner-wrap {
	position: relative;
	max-width: 1000px;
	min-height: 450px;
	margin: 0 auto;
}
.wrapper.interior {
	padding-bottom: 20px;
}
strong {
	font-weight: 600;
}
/* HEADER */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 0 20px;
	background: #063863;
	border-bottom: 3px solid #aa914e;
}
.header .wrap {
	max-width: 1000px;
	margin: 20px auto 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
@media only screen and (max-width: 767px) {
	.main-nav {
		margin-top: 0 !important;
	}
	h1 {
		margin-bottom: 20px !important;
	}
	h1 div {
		display: block;
		margin-top: 5px;
	}
	h1 span.dot {
		display: none;
	}
}

/* MAIN NAVIGATION */
ul.main-nav {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin-top: 0;
	width: 100%;
}
ul.main-nav li {
	display: inline-block;
	margin: 0 35px 0 0;
	width: auto;
}
ul.main-nav li:last-child {
	margin: 0 !important;
}
ul.main-nav li a {
	font-size: 26px;
	color: #fff;
	transition: all .2s ease-in;
	display: inline-block;
	width: auto;
	text-align: left;
}
ul.main-nav a:hover,
ul.main-nav .active {
	text-decoration: underline;
}
ul.main-nav li.social {
	padding: 0;
	margin: 0 10px 0 0;
}
.social img {
    position: relative;
    top: 3px;
    width: 24px;
    height: auto;
}

/* CONTENT */
.content {
	clear: both;
	padding: 15px 0 0;
}
/* CONTENT - GALLERY */
.gallery-intro {
    margin: 20px 0 35px;
    font-size: 48px;
    font-weight: lighter;
    text-align: center;
}
.content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px 24px;
	margin: 20px 0 0 0;
	padding: 0;
}
.content .gallery li {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
/* Homepage image hover effect */
.gallery img:hover {
	filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.15));
	transform: scale(1.03);
	transition: filter 0.3s, transform 0.3s;
}
.content .gallery li.featured {
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 600px;
	margin: 0 auto 32px auto;
	font-size: 1.25em;
	position: relative;
	}

	.featured-star {
		position: absolute;
		top: 8px;
		left: 8px;
		z-index: 2;
	}
.content .gallery li.featured img {
	max-width: 100%;
	width: 100%;
	height: auto;
	border-radius: 8px;
		/* box-shadow: 0 4px 16px rgba(0,0,0,0.10); */
}

@media (min-width: 700px) {
	.content .gallery li.featured img:hover {
		box-shadow: 0 0 24px 0 #aa914e, 0 4px 16px rgba(0,0,0,0.10);
		filter: brightness(1.08);
		transform: scale(1.04);
		transition: box-shadow 0.3s, filter 0.3s, transform 0.3s;
	}
}
.content .gallery li a {
	position: relative;
}
.content .gallery li a img {
	width: 100%;
	transition: all .2s ease-in;
	border-radius: 8px;
}
.content .gallery img.lazy {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.4,.2,.2,1);
}
.content .gallery img.lazy.loaded {
  opacity: 1;
}
.content .gallery li .title {
    margin: 8px 0 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #063863;
    width: 100%;
}
.content .gallery li .size {
    margin: 2px 0 0 0;
    font-size: 15px;
    color: #063863;
    width: 100%;
}
.content .gallery li small {
    margin: 2px 0 0 0;
    font-size: 17px;
    color: #063863;
    width: 100%;
}

/* INTERIOR PAGE CONTENT */

/* Modern interior page layout using flexbox */
.interior .content {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 32px;
	padding: 30px 30px 10px;
	max-width: 1000px;
	margin: 30px auto;
	justify-content: center;
}

@media (max-width: 700px) {
	.interior .content {
		flex-direction: column;
		align-items: center;
		gap: 20px;
		padding: 15px 20px 5px;
		justify-content: flex-start;
	}
		.interior .content img {
			margin: 0 auto 20px auto;
			padding: 0;
			max-width: 100%;
			height: auto;
			display: block;
			text-align: center;
			/* Remove left margin/padding for mobile */
			padding-left: 0 !important;
			margin-left: 0 !important;
	}
	.interior .col {
		width: 100%;
		max-width: 100%;
		padding: 0;
	}
}

.interior .content img {
	flex-shrink: 0;
	max-width: 250px;
	height: auto;
	margin-bottom: 30px;
	margin-right: 0;
	padding: 0 20px 0 0;
}

.interior .col {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.interior .content p {
	max-width: 450px;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: 300;
	line-height: 22px;
}

.interior .content.about p {
	max-width: none;
}

.interior .content p a {
	font-size: 18px;
	color: #063863;
	font-weight: bold;
	text-decoration: underline;
}

.interior .content a:hover {
	text-decoration: none;
}

/* Make contact form appear on its own line */
.col form {
	clear: both;
	margin-left: 0;
	width: 100%;
	max-width: 400px;
	margin-top: 2em;
}

/* FOOTER */
.footer {
    margin-top: auto;
    padding: 15px 0;
    font-size: 16px;
    color: #fff;
    border-top: 3px solid #aa914e;
	background-color: #063863;
}
.footer .wrap {
	margin: 0 auto;
    text-align: center;
}
.footer a {
    position: relative;
	color: #fff;
}
.footer a:hover {
	text-decoration: underline;
}

/* Contact Form Styles */
.col form {
	display: flex;
	flex-direction: column;
	gap: 1.2em;
	background: #f8f8f8;
	padding: 2em 1.5em;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	max-width: 400px;
	margin-top: 0
}

@media (max-width: 700px) {
	.col form {
		max-width: 100%;
		padding: 1em 2vw;
		border-radius: 8px;
		box-shadow: 0 1px 6px rgba(0,0,0,0.07);
		margin-top: 1em;
		box-sizing: border-box;
		width: 100%;
		overflow-x: hidden;
	}
	.col form input[type="text"],
	.col form input[type="email"],
	.col form textarea {
		font-size: 1em;
		padding: 0.5em 0.7em;
	}
	.col form button[type="submit"] {
		font-size: 1em;
		padding: 0.7em 1em;
		border-radius: 8px;
	}
}

.col form input[type="text"],
.col form input[type="email"],
.col form textarea {
	font-family: 'EB Garamond', serif;
	font-size: 1.1em;
	padding: 0.7em 1em;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	transition: border-color 0.2s;
}

.col form input[type="text"]:focus,
.col form input[type="email"]:focus,
.col form textarea:focus {
	border-color: #bfa16c;
	outline: none;
}

.col form textarea {
	min-height: 120px;
	resize: vertical;
}

.col form button[type="submit"] {
	font-family: 'Oswald', sans-serif;
	font-size: 1.1em;
	background: #aa914e;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0.8em 1.2em;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
	box-shadow: 0 1px 4px rgba(191,161,108,0.15);
}

.col form button[type="submit"]:hover {
	background: #a88b5a;
}

@media only screen and (max-width: 1000px) {
	.content {
		padding: 15px 15px 0 15px;
	}
}
@media only screen and (max-width: 830px) {
	h1 {
		margin-bottom: 5px;
		margin-left: 0;
		font-size: 50px;
		line-height: 50px;
    }
}
/* iPad */
@media only screen and (max-width: 800px) {
	.wrapper {
		min-height: 550px;
	}
	.content {
		padding-top: 5px;
	}
	.interior .content {
		padding-top: 20px;
	}
	.interior .content p {
		max-width: 350px;
	}
	.interior .resume .col {
		float: left;
		width: 200px;
	}
	.content .gallery li .title {
        font-size: 14px;
	}
}

@media only screen and (max-width: 767px) {
	.header {
		position: sticky !important;
		top: 0 !important;
		z-index: 100 !important;
	}
	.header .wrap {
		margin-bottom: 15px;
    }
	h1 {
		margin-bottom: 10px;
	}
	ul.main-nav {
		float: none;
		clear: both;
		margin-left: 0;
	}
	ul.main-nav li {
		margin: 0 15px 0 0;
	}
    ul.main-nav li a {
        font-size: 22px;
    }
    .social img {
        top: 2px;
    }
    .content {
		padding-right: 20px;
	}
    .gallery-intro {
        font-size: 30px;
        font-weight: lighter;
        text-align: center;
        margin-bottom: 22px;
    }
}
@media only screen and (max-width: 669px) {
	h1 {
		margin-bottom: 5px;
		margin-left: 0;
		font-size: 40px;
		line-height: 40px;
	}
	ul.main-nav li {
		float: left;
		padding: 0;
	}
	ul.main-nav li a {
		font-size: 22px;
	}
	.content {
		padding-left: 15px;
		padding-right: 15px;
	}
	.content .gallery {
		margin-left: 0;
	}
	.content .gallery li {
		width: 100%;
		height: auto;
		padding-right: 0;
	}
	.content .gallery li a img {
		width: 100%;
	}
	.gallery-meta {
		padding-left: 10px;
	}
	.content .gallery li .title,
	.content .gallery li .size {
		font-size: 17px !important;
	}
	.interior .content {
		padding-top: 15px;
		padding-left: 20px;
	}
	.interior .content p {
		float: none;
        
		padding-bottom: 10px;
		font-size: 17px;
	}
	.interior .content p a {
		font-size: 16px;
	} 
	.interior .content img {
		float: none;
		width: auto;
		height: auto;
	}
	.interior .content .col {
		float: none;
		width: 100%;
	}
	.footer {
		margin-bottom: 0;
	}
	#toTop,
	#scrollPage {
		padding: 7px 5px;
	}
	#toTop {
	  right: 5px; 
	  bottom: 10px;
	}
	#scrollPage {
		display: block;
	}
	.fancybox-skin {
		padding: 0 !important;
		background: none;
	}
	.fancybox-title {
		display: none;
	}
	}
	#toTop {
	  right: 5px; 
	  bottom: 10px;
	}
	#scrollPage {
		display: block;
	}
	.fancybox-skin {
		padding: 0 !important;
		background: none;
	}
	.fancybox-title {
		display: none;
	}

@media only screen and (max-width: 450px) {

    h1,
    h1 a {
        font-size: 26px;
	.content .gallery li small {
		font-size: 17px !important;
	}
    }
	h1 {
		margin-top: -5px;
	}
	h1 div {
		margin-top: -5px;
	}
}


@media (max-width: 700px) {
	.gallery-modal {
		pointer-events: none;
		cursor: default;
	}
	li.featured .gallery-modal {
		pointer-events: auto;
		cursor: pointer;
	}
}
@media only screen and (max-width: 600px) {
	.content .gallery li {
		text-align: center;
		padding-bottom: 20px;
	}
	.content .gallery li a {
		width: 100%;
	}
	.gallery {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
		height: auto;
		margin-left: 0;
	}
	.gallery > * {
		width: 100%;
		left: auto;
		top: auto;
		margin-bottom: 0;
	}
	}