/* ==========================================================================
   Lewis Gallo Design Group - brand layer
   Palette: Chocolate, Rattan, Blush, Shell, Buttercream (Buttercream + Shell dominant)
   Type: Ponte (headings), Cera Pro Light (body / subheadings)
   Layout references henryandcodesign.com (header, footer, portfolio, project pages)
   ========================================================================== */

:root {
	--lg-chocolate: #5A3E22;
	--lg-rattan: #A28870;
	--lg-blush: #F1D4C0;
	--lg-shell: #F3E8DB;
	--lg-buttercream: #FCF9F3;

	--lg-font-heading: 'Ponte', 'Cormorant Garamond', Georgia, serif;
	--lg-font-body: 'Cera Pro', 'Jost', 'Helvetica Neue', Arial, sans-serif;

	--lg-gutter: 3vw;
	--lg-header-height: clamp(84px, 7.5vw, 140px);
}

/* Base ------------------------------------------------------------------ */
html {
	scroll-padding-top: var(--lg-header-height);
}
html.lg-no-scroll {
	overflow: hidden;
}

body {
	margin-top: 0 !important;
	/* parent theme reserves space for its old fixed mobile bar */
	background-color: var(--lg-buttercream);
	color: var(--lg-chocolate);
	font-family: var(--lg-font-body);
	font-weight: 300;
}
body,
p,
a,
span,
li,
blockquote,
input,
textarea,
select,
button,
.copyright a,
.list-inline>li,
.business-info a,
.contactlocs,
span.sub-heading {
	font-family: var(--lg-font-body);
}
h1,
h2,
h3,
h4,
h5,
h6,
.toggle-section .section-heading,
.tagline,
.banner-overlay,
.staffname {
	font-family: var(--lg-font-heading);
	font-weight: 400;
	color: var(--lg-chocolate);
}
span.sub-heading {
	font-weight: 300;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--lg-rattan);
}
a {
	color: var(--lg-chocolate);
	font-weight: inherit;
}
a:hover,
a:focus {
	color: var(--lg-rattan);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Page body sits on Buttercream (parent theme default is white); only palette colors site-wide */
html body {
	background-color: var(--lg-buttercream);
}
.content-wrapper {
	background-color: var(--lg-buttercream);
}
#main a,
.sitemap a,
.content-wrapper a {
	color: var(--lg-chocolate);
}
#main a:hover,
.content-wrapper a:hover {
	color: var(--lg-rattan);
}
#pbOverlay {
	background-color: rgba(90, 62, 34, .92) !important;
}

/* The header carries the logo now, so drop the old in-banner logos */
#banner .carousel-caption .logo,
.moblie-logo {
	display: none;
}

/* Header ---------------------------------------------------------------- */
/* #header id kept for the theme's anchor-scroll offset; beat the parent's #header rules */
#header.lg-header {
	position: static;
	top: 0;
	z-index: 1000;
	padding: 0;
	background: transparent;
}
.admin-bar #header.lg-header {
	top: 32px;
}
.lg-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: var(--lg-header-height);
	padding: 0 var(--lg-gutter);
}
.lg-logo {
	display: block;
	grid-column: 2;
	line-height: 0;
}
.lg-logo img {
	display: block;
	width: clamp(240px, 24vw, 420px);
	height: auto;
}
.lg-nav {
	display: flex;
}
.lg-nav--left {
	grid-column: 1;
	grid-row: 1;
	justify-content: flex-start;
}
.lg-nav--right {
	grid-column: 3;
	grid-row: 1;
	justify-content: flex-end;
}
.lg-menu {
	display: flex;
	align-items: center;
	gap: clamp(28px, 5vw, 96px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.lg-menu li {
	margin: 0;
	padding: 0;
}
.lg-menu a,
.lg-mobile-menu a {
	font-family: var(--lg-font-body);
	font-weight: 300;
	font-size: 16px;
	letter-spacing: .29em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--lg-chocolate);
	transition: color .3s ease;
}
.lg-menu a:hover,
.lg-menu a:focus,
.lg-menu .current-menu-item>a,
.lg-menu .current-page-ancestor>a,
.single-project .lg-menu .menu-item-object-page a[href$="/portfolio/"] {
	color: var(--lg-rattan);
	text-decoration: none;
}
.lg-menu-toggle,
.lg-mobile-menu {
	display: none;
}

/* Home: header sits on top of the photo, then turns solid once the page scrolls */
#header.lg-header--overlay {
	position: absolute;
	left: 0;
	right: 0;
	background: transparent;
	transition: background-color .4s ease;
}
#header.lg-header--overlay::before {
	content: '';
	position: absolute;
	inset: 0 0 -40%;
	z-index: -1;
	background: transparent;
	pointer-events: none;
	transition: opacity .4s ease;
}
#header.lg-header--overlay.is-scrolled,
#header.lg-header--overlay.is-menu-open {
	background: transparent;
}
#header.lg-header--overlay.is-scrolled::before,
#header.lg-header--overlay.is-menu-open::before {
	opacity: 0;
}
body.home .lg-menu a {
	color: var(--lg-buttercream);
}
body.home .lg-logo img {
	filter: sepia(0) contrast(1) brightness(0) invert(1);
}
/* Home Page 'Header Logo' field: shown as uploaded, no white filter */
.lg-logo picture {
	display: block;
}
body.home .lg-logo--home img {
	filter: none;
}
@media screen and (max-width: 991px) {
	body.home .lg-logo img {
		filter: none
	}
	#header.lg-header--overlay,
	#header.lg-header--overlay.is-scrolled,
	#header.lg-header--overlay.is-menu-open {
		background-color: var(--lg-buttercream);
	}
	.lg-header__inner {
		grid-template-columns: 1fr auto;
		padding: 0 20px;
		min-height: 72px;
	}
	.lg-nav {
		display: none;
	}
	.lg-logo {
		grid-column: 1;
		justify-self: start;
	}
	.lg-logo img {
		width: min(260px, 62vw);
	}
	.lg-menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 7px;
		grid-column: 2;
		width: 44px;
		height: 44px;
		padding: 10px;
		margin-right: -10px;
		background: none;
		border: 0;
		cursor: pointer;
	}
	.lg-menu-toggle__bar {
		display: block;
		height: 1px;
		background: var(--lg-chocolate);
		transition: transform .3s ease;
	}
	.is-menu-open .lg-menu-toggle__bar:first-child {
		transform: translateY(4px) rotate(45deg);
	}
	.is-menu-open .lg-menu-toggle__bar:nth-child(2) {
		transform: translateY(-4px) rotate(-45deg);
	}
	.lg-mobile-menu {
		display: block;
		max-height: 0;
		overflow: hidden;
		transition: max-height .4s ease;
		background: var(--lg-buttercream);
	}
	.is-menu-open .lg-mobile-menu {
		max-height: 320px;
		border-top: 1px solid var(--lg-shell);
	}
	.lg-mobile-menu__list {
		margin: 0;
		padding: 0;
		list-style: none;
		text-align: center;
	}
	.lg-mobile-menu__list:first-child {
		padding-top: 18px;
	}
	.lg-mobile-menu__list:last-child {
		padding-bottom: 22px;
	}
	.lg-mobile-menu a {
		display: block;
		padding: 12px 0;
	}
}
@media screen and (max-width: 782px) {
	.admin-bar #header.lg-header {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	.admin-bar #header.lg-header {
		top: 0;
	}
}

/* Shared page title ----------------------------------------------------- */
.lg-page-title,
.lg-project__location,
.lg-project__next-name,
.lg-portfolio__name {
	letter-spacing: normal;
}
.lg-page-title {
	margin: clamp(24px, 3vw, 56px) 0 clamp(28px, 3vw, 56px);
	text-align: center;
	font-size: clamp(40px, 4.4vw, 78px);
	line-height: 1.05;
	font-weight: 300;
}

/* Home ------------------------------------------------------------------ */
/* The whole photo shows, edge to edge, at its own shape (no cropping). */
.lg-home {
	line-height: 0;
	background: var(--lg-shell);
}
.lg-home__hero {
	display: block;
	width: 100%;
	height: auto;
}
@media screen and (max-width: 991px) {
	/* The solid mobile header would otherwise sit over the top of the photo */
	.lg-home {
		padding-top: 72px;
	}
}

/* Portfolio ------------------------------------------------------------- */
.lg-portfolio {
	padding: clamp(10px, 1.3vw, 33px) var(--lg-gutter) var(--lg-gutter);
}
.lg-portfolio__heading {
	margin: clamp(24px, 3vw, 72px) 0 clamp(28px, 3vw, 64px);
	padding-top: clamp(36px, 3.5vw, 84px);
	border-top: 1px solid var(--lg-shell);
	text-align: center;
	font-weight: 300;
	font-size: clamp(36px, 3.6vw, 72px);
	line-height: 1.05;
	letter-spacing: normal;
}
.lg-portfolio__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: clamp(8px, .45vw, 12px);
}
.lg-portfolio__item {
	display: block;
	text-decoration: none;
}
.lg-portfolio__item:hover,
.lg-portfolio__item:focus {
	text-decoration: none;
}
.lg-portfolio__frame {
	display: block;
	height: 33.87vw;
	overflow: hidden;
	background: var(--lg-shell);
}
.lg-portfolio__item.is-narrow {
	grid-column: span 5;
}
.lg-portfolio__item.is-wide {
	grid-column: span 7;
}
.lg-portfolio__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(.2, .6, .2, 1);
}
.lg-portfolio__name {
	display: block;
	margin: clamp(10px, .45vw, 14px) 0 clamp(36px, 3.2vw, 80px);
	font-family: var(--lg-font-heading);
	font-weight: 300;
	font-size: clamp(26px, 2.75vw, 54px);
	line-height: 1.1;
	color: var(--lg-chocolate);
	transition: color .3s ease;
}
.lg-portfolio__item:hover img,
.lg-portfolio__item:focus-visible img {
	transform: scale(1.03);
}
.lg-portfolio__item:hover .lg-portfolio__name,
.lg-portfolio__item:focus-visible .lg-portfolio__name {
	color: var(--lg-rattan);
}

@media screen and (max-width: 767px) {
	.lg-portfolio {
		padding: 6px 20px 20px;
	}
	.lg-portfolio__item.is-narrow,
	.lg-portfolio__item.is-wide {
		grid-column: 1 / -1;
	}
	.lg-portfolio__frame {
		height: auto;
		aspect-ratio: 4 / 3;
	}
	.lg-portfolio__name {
		margin: 10px 0 28px;
	}
}

/* Single project -------------------------------------------------------- */
.lg-project__hero {
	position: relative;
	height: calc(100vh - var(--lg-header-height));
	min-height: 420px;
	overflow: hidden;
	background: var(--lg-chocolate);
}
.admin-bar .lg-project__hero {
	height: calc(100vh - var(--lg-header-height) - 32px);
}
.lg-project__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lg-project__hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(90, 62, 34, .45), rgba(90, 62, 34, 0) 40%);
	pointer-events: none;
}
.lg-project__location {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3.5vw;
	z-index: 1;
	margin: 0;
	padding: 0 var(--lg-gutter);
	text-align: center;
	font-weight: 300;
	font-size: clamp(44px, 7.2vw, 184px);
	line-height: 1;
	color: var(--lg-buttercream);
	text-shadow: 0 1px 24px rgba(90, 62, 34, .25);
}
.lg-project__gallery {
	display: flex;
	align-items: flex-start;
	gap: 1.6vw;
	padding: var(--lg-gutter) var(--lg-gutter) 0;
}
.lg-project__column {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.6vw;
}
.lg-project__photo {
	display: block;
	line-height: 0;
	cursor: zoom-in;
}
.lg-project__photo img {
	display: block;
	width: 100%;
	height: auto;
}
.lg-project__pager {
	display: flex;
	justify-content: flex-end;
	padding: clamp(48px, 5.5vw, 110px) var(--lg-gutter) clamp(36px, 3.5vw, 80px);
}
.lg-project__next {
	display: inline-flex;
	align-items: center;
	gap: clamp(14px, 1.2vw, 26px);
	text-decoration: none;
	color: var(--lg-rattan);
	transition: color .3s ease;
}
.lg-project__next:hover,
.lg-project__next:focus {
	color: var(--lg-chocolate);
	text-decoration: none;
}
.lg-project__next-name {
	font-family: var(--lg-font-heading);
	font-weight: 300;
	font-size: clamp(30px, 2.75vw, 70px);
	line-height: 1.1;
	color: inherit;
}
.lg-project__next-arrow {
	width: clamp(9px, .55vw, 14px);
	height: auto;
	transition: transform .3s ease;
}
.lg-project__next:hover .lg-project__next-arrow {
	transform: translateX(4px);
}

@media screen and (max-width: 991px) {
	.lg-project__hero {
		height: 72vh;
	}
	.admin-bar .lg-project__hero {
		height: 72vh;
	}
}
@media screen and (max-width: 767px) {
	.lg-project__hero {
		height: 62vh;
		min-height: 320px;
	}
	.admin-bar .lg-project__hero {
		height: 62vh;
	}
	.lg-project__location {
		bottom: 28px;
	}
	.lg-project__gallery {
		flex-direction: column;
		gap: 12px;
		padding: 20px 20px 0;
	}
	.lg-project__column {
		gap: 12px;
		width: 100%;
	}
	.lg-project__pager {
		padding: 40px 20px;
	}
}

/* Lightbox -------------------------------------------------------------- */
.lg-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 70px;
	background: rgba(252, 249, 243, .97);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}
.lg-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
.lg-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.lg-lightbox button {
	position: absolute;
	padding: 10px;
	background: none;
	border: 0;
	color: var(--lg-chocolate);
	cursor: pointer;
	line-height: 1;
}
.lg-lightbox button:hover,
.lg-lightbox button:focus {
	color: var(--lg-rattan);
}
.lg-lightbox__close {
	top: 14px;
	right: 18px;
	font-size: 40px;
	font-weight: 300;
}
.lg-lightbox__prev,
.lg-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}
.lg-lightbox__prev {
	left: 16px;
}
.lg-lightbox__next {
	right: 16px;
}
.lg-lightbox svg {
	display: block;
	width: 16px;
	height: 30px;
}
@media screen and (max-width: 767px) {
	.lg-lightbox {
		padding: 56px 12px;
	}
	.lg-lightbox__prev,
	.lg-lightbox__next {
		top: auto;
		bottom: 6px;
		transform: none;
	}
}

/* Press ----------------------------------------------------------------- */
.lg-press {
	padding: clamp(10px, 1.3vw, 33px) var(--lg-gutter) clamp(48px, 5vw, 110px);
}
.lg-press__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, .75vw, 20px);
}
.lg-press__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	padding: 6%;
	overflow: hidden;
	background: var(--lg-shell);
}
.lg-press__frame img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 2px 14px rgba(90, 62, 34, .12);
	transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
a.lg-press__frame:hover img,
a.lg-press__frame:focus-visible img {
	transform: scale(1.035);
}
@media screen and (max-width: 1199px) {
	.lg-press__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and (max-width: 767px) {
	.lg-press {
		padding: 6px 20px 48px;
	}
	.lg-press__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* About ----------------------------------------------------------------- */
.lg-about {
	padding: clamp(28px, 3.4vw, 80px) var(--lg-gutter) clamp(48px, 5vw, 110px);
	background: var(--lg-shell);
}
.lg-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: start;
	gap: clamp(32px, 4.5vw, 110px);
	max-width: 1500px;
	margin: 0 auto;
}
.lg-about__photo {
	position: sticky;
	top: calc(var(--lg-header-height) + 24px);
	line-height: 0;
}
.lg-about__photo img {
	display: block;
	width: 100%;
	height: auto;
}
.lg-about__content {
	max-width: 680px;
}
.lg-about__content p {
	margin: 0 0 1.4em;
	font-size: clamp(15px, 1vw, 18px);
	line-height: 1.85;
	color: var(--lg-chocolate);
}
.lg-about__content p:last-child {
	margin-bottom: 0;
}
.lg-about__mark {
	display: block;
	width: clamp(46px, 3.2vw, 64px);
	height: auto;
	margin: clamp(48px, 4.5vw, 96px) auto 0;
}
@media screen and (max-width: 767px) {
	.lg-about {
		padding: 20px 20px 48px;
	}
	.lg-about__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.lg-about__photo {
		position: static;
	}
}

/* Contact --------------------------------------------------------------- */
/* A single Buttercream card on the marbled paper, nothing else on the page. */
.lg-contact {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - var(--lg-header-height));
	padding: clamp(40px, 4.5vw, 96px) var(--lg-gutter);
	background-color: var(--lg-shell);
	background-position: center;
	background-size: cover;
}
.admin-bar .lg-contact {
	min-height: calc(100vh - var(--lg-header-height) - 32px);
}
.lg-contact__card {
	width: 100%;
	max-width: max(900px, 52vw);
	padding: clamp(48px, 5vw, 128px) clamp(24px, 5vw, 96px) clamp(56px, 5.5vw, 104px);
	background-color: rgba(252, 249, 243, .92);
	text-align: center;
	color: var(--lg-chocolate);
}
.lg-contact__title {
	margin: 0;
	font-size: clamp(46px, 4.6vw, 120px);
	line-height: 1.05;
	letter-spacing: normal;
	color: var(--lg-chocolate);
}
.lg-contact__rule {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: max(460px, 50%);
	margin: clamp(22px, 2vw, 48px) auto clamp(34px, 3vw, 72px);
}
.lg-contact__rule::before,
.lg-contact__rule::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--lg-rattan);
}
.lg-contact__rule img {
	display: block;
	width: clamp(44px, 2.8vw, 68px);
	height: auto;
}
.lg-contact__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
}
.lg-contact__columns--single {
	grid-template-columns: 1fr;
}
.lg-contact__columns .lg-contact__info + .lg-contact__info {
	border-left: 1px solid var(--lg-rattan);
}
.lg-contact__info {
	padding: 0 clamp(12px, 2vw, 48px);
	margin: 0;
	font-style: normal;
	font-size: clamp(16px, 1.15vw, 27px);
	line-height: 1.9;
	letter-spacing: .04em;
}
.lg-contact__info span,
.lg-contact__info a {
	display: block;
	color: var(--lg-chocolate);
}
.lg-contact__info a {
	margin-top: .9em;
	text-decoration: none;
}
.lg-contact__info.lg-contact__studio {
	margin-bottom: clamp(28px, 2.6vw, 60px);
}
.lg-contact__info .lg-contact__name {
	margin-bottom: .35em;
	font-family: var(--lg-font-heading);
	font-size: 1.45em;
	line-height: 1.3;
	letter-spacing: normal;
}
.lg-contact__info .lg-contact__name + a {
	margin-top: 0;
}
.lg-contact__info a + a {
	margin-top: 0;
}
.lg-contact__info a:hover,
.lg-contact__info a:focus {
	color: var(--lg-rattan);
	text-decoration: none;
}
.lg-contact__social {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin: clamp(14px, 1.2vw, 28px) 0 0;
	line-height: 1;
}
.lg-contact__social a {
	font-size: clamp(20px, 1.4vw, 32px);
	color: var(--lg-chocolate);
	text-decoration: none;
	transition: color .3s ease;
}
.lg-contact__social a:hover,
.lg-contact__social a:focus {
	color: var(--lg-rattan);
	text-decoration: none;
}
@media screen and (max-width: 991px) {
	.lg-contact,
	.admin-bar .lg-contact {
		min-height: calc(100vh - 72px);
	}
}
@media screen and (max-width: 767px) {
	.lg-contact {
		padding: 40px 20px;
	}
	.lg-contact__columns {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.lg-contact__columns .lg-contact__info + .lg-contact__info {
		padding-top: 32px;
		border-top: 1px solid var(--lg-rattan);
		border-left: 0;
	}
}

/* Footer ---------------------------------------------------------------- */
.lg-footer {
	background-color: var(--lg-rattan);
	color: var(--lg-buttercream);
	padding: clamp(32px, 2.6vw, 60px) var(--lg-gutter) clamp(18px, 1.4vw, 30px);
}
.lg-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}
.lg-footer__logo {
	display: block;
	justify-self: start;
	line-height: 0;
}
.lg-footer__logo img {
	display: block;
	width: clamp(110px, 8vw, 170px);
	height: auto;
}
.lg-footer__mark {
	display: block;
	width: clamp(64px, 4.6vw, 96px);
	height: auto;
}
.lg-footer__contact {
	justify-self: end;
	text-align: right;
}
.lg-footer__contact p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: .04em;
	color: var(--lg-buttercream);
}
.lg-footer__contact a {
	color: var(--lg-buttercream);
	text-decoration: none;
}
.lg-footer__contact a:hover,
.lg-footer__contact a:focus {
	color: var(--lg-chocolate);
	text-decoration: none;
}
.lg-footer__sep {
	margin: 0 .6em;
	color: var(--lg-shell);
}
.lg-footer__social {
	display: flex;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 12px !important;
}
.lg-footer__social a {
	font-size: 16px;
}
.lg-footer__copyright {
	margin: clamp(20px, 1.8vw, 36px) 0 0;
	text-align: center;
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--lg-buttercream);
}
@media screen and (max-width: 767px) {
	.lg-footer {
		padding: 36px 20px 20px;
	}
	.lg-footer__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 18px;
	}
	.lg-footer__logo,
	.lg-footer__contact {
		justify-self: center;
	}
	.lg-footer__contact {
		text-align: center;
	}
	.lg-footer__social {
		justify-content: center;
	}
}