.aam-home-module {
	--aam-accent: #d8c57a;
	--aam-dark-bg-1: #292929;
	--aam-dark-bg-2: #323232;
	color: inherit;
}

.aam-home-module .aam-block {
	position: relative;
	background-size: cover;
	background-position: center;
}

.aam-home-module .aam-section-inner {
	position: relative;
	z-index: 4;
}

.aam-home-module #home {
	color: #fff;
	overflow: hidden;
}

.aam-home-module #home .container,
.aam-home-module #home .twelve.columns {
	height: 100%;
}

.aam-home-module #home .twelve.columns {
	display: flex;
	align-items: center;
	justify-content: center;
}

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

.aam-home-module .aam-title h1,
.aam-home-module .aam-title h2,
.aam-home-module .aam-title h3 {
	margin-top: 0;
}

.aam-home-module .header-text h1,
.aam-home-module .header-text h2,
.aam-home-module .header-text h3 {
	font-size: 40px !important;
	line-height: 40px !important;
}

.aam-home-module .aam-badge {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}

.aam-home-module .aam-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 20px;
}

.aam-home-module .aam-btn {
	display: inline-block;
	text-decoration: none;
	border: 0;
	color: inherit;
}

.aam-home-module .aam-btn:hover {
	color: inherit;
}

.aam-home-module .aam-btn-primary {
	color: inherit;
}

.aam-home-module .aam-about-content {
	padding-bottom: 60px;
}

.aam-home-module .aam-about-content .about-what-we-do {
	padding-right: 20px;
}

.aam-home-module #about,
.aam-home-module #services,
.aam-home-module #work,
.aam-home-module #blog {
	background-color: var(--aam-dark-bg-1);
}

.aam-home-module .video-sections,
.aam-home-module .services-offer {
	background-color: var(--aam-dark-bg-2);
}

.aam-home-module .aam-inline-media {
	width: 100%;
	height: auto;
	display: block;
}

.aam-home-module #services {
	padding: 60px 0;
}

.aam-home-module #services .header-text .aam-services-intro {
	position: relative;
	z-index: 200;
	padding-top: 60px;
	text-align: center;
	opacity: 0.6;
}

.aam-home-module #services .header-text .aam-services-intro p {
	margin: 0;
	text-align: center;
}

.aam-home-module #services .services-offer.service-icon-image {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aam-home-module #services .aam-services-grid .aam-service-column {
	margin-bottom: 20px;
}

.aam-home-module #services .aam-services-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}

.aam-home-module #services .aam-services-grid::after {
	content: '';
	display: block;
	clear: both;
}

.aam-home-module #services .aam-services-grid .aam-service-column {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.aam-home-module #services .aam-services-grid .aam-service-column .ak_column-inner {
	height: 100%;
}

.aam-home-module #services .services-offer.service-icon-image .aam-service-media-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 328 / 236;
	overflow: hidden;
	background: #111;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aam-home-module #services .services-offer.service-icon-image .aam-service-media-wrap .aam-service-media {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

.aam-home-module #contact {
	padding: 85px 0;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.aam-home-module #work {
	padding: 60px 0;
	background-color: var(--aam-dark-bg-1);
	color: inherit;
}

.aam-home-module #blog {
	padding: 100px 0;
	color: #fff;
	overflow: hidden;
}

.aam-home-module #blog .parallax-blog,
.aam-home-module #blog .overlay-blog {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.aam-home-module #blog .parallax-blog {
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	z-index: 0;
}

.aam-home-module #blog .overlay-blog {
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}

.aam-home-module #blog .just_pattern {
	z-index: 1;
}

.aam-home-module #blog .header-text {
	padding-bottom: 30px;
}

.aam-home-module #blog .aam-blog-intro {
	position: relative;
	z-index: 200;
	padding-top: 60px;
	text-align: center;
	opacity: 0.8;
}

.aam-home-module #blog .aam-blog-intro p {
	margin: 0;
	text-align: center;
}

.aam-home-module #blog .z-index {
	position: relative;
	z-index: 2;
}

.aam-home-module #blog .blog-post.home-blog {
	height: 100%;
}

.aam-home-module #blog .aam-blog-posts-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -10px;
	margin-right: -10px;
}

.aam-home-module #blog .aam-blog-posts-row > .four.columns {
	float: none !important;
	width: 33.3333% !important;
	margin: 0 !important;
	padding: 0 10px 20px !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.aam-home-module #blog .aam-blog-posts-row > .twelve.columns {
	width: 100% !important;
	padding: 0 10px !important;
}

.aam-home-module #blog .aam-blog-posts-row .blog-post.home-blog > a {
	display: block;
	height: 200px;
	overflow: hidden;
}

.aam-home-module #blog .aam-blog-posts-row .blog-post.home-blog > a img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.aam-home-module #blog .aam-blog-link-row {
	margin-top: 8px;
}

.aam-home-module #blog .blog-link {
	text-align: center;
	position: relative;
	z-index: 2;
}

.aam-home-module #blog .blog-link .cl-effect-5 {
	display: inline-block;
}

.aam-home-module #blog .blog-link a.aam-btn-blog,
.aam-home-module #blog .blog-link a.aam-btn-blog:hover,
.aam-home-module #blog .blog-link a.aam-btn-blog:focus {
	display: inline-block !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	line-height: inherit !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

@media (max-width: 959px) {
	.aam-home-module #blog .parallax-blog {
		background-attachment: scroll;
		background-position: top center !important;
	}

	.aam-home-module #blog .aam-blog-posts-row > .four.columns {
		width: 50% !important;
	}

	.aam-home-module #services .aam-services-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.aam-home-module #blog .aam-blog-posts-row > .four.columns {
		width: 100% !important;
	}

	.aam-home-module #services .aam-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.aam-home-module #services .aam-services-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.aam-home-module #work .header-text,
.aam-home-module #contact .header-text {
	padding-bottom: 18px;
}

.aam-home-module #contact .parallax {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.aam-home-module #contact .just_pattern {
	z-index: 1;
}

.aam-home-module .aam-scroll-link {
	margin-top: 18px;
}

.aam-home-module .aam-services-cta {
	text-align: center;
}

.aam-home-module .aam-service-card-cta {
	margin-top: 16px;
}

.aam-home-module .aam-scroll-link a {
	display: inline-block;
	text-decoration: none;
}

.aam-home-module .cl-effect-5 a span {
	position: relative;
	display: inline-block;
	padding: 15px;
	background: #292929;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 12px;
	text-transform: uppercase;
	letter-spacing: 0;
	color: inherit;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), -7px 0 5px -3px rgba(0, 0, 0, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.04);
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.aam-home-module .cl-effect-5 a span::before {
	position: absolute;
	top: 100%;
	left: 0;
	content: attr(data-hover);
	display: inline-block;
	padding: 15px;
	width: 100%;
	background: #292929;
	box-sizing: border-box;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), -7px 0 5px -3px rgba(0, 0, 0, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.04);
	color: #fff;
}

.aam-home-module .cl-effect-5 a:hover span,
.aam-home-module .cl-effect-5 a:focus span {
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	transform: translateY(-100%);
}

.aam-home-module .aam-bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* Override Ananke global #video_background rule (z-index:-1000). */
.aam-home-module #home #video_background.aam-bg-video,
.aam-home-module #about-what-we-do #video_background.aam-about-media-video {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	min-width: 100% !important;
	min-height: 100% !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transform: none !important;
	z-index: 0 !important;
}

.aam-home-module .aam-media-visual {
	background-size: cover;
	background-position: center;
}

.aam-home-module .aam-media {
	padding: 0;
}

.aam-home-module .aam-media-video {
	min-height: 450px;
	object-fit: cover;
}

.aam-home-module .contact-wrap {
	text-align: center;
}

.aam-home-module .aam-contact-shortcode {
	margin-top: 24px;
}

.aam-home-module #contact .wpcf7-form textarea,
.aam-home-module #contact textarea.wpcf7-form-control {
	min-height: 120px;
	height: 120px;
	line-height: 1.4;
	resize: none;
	overflow-y: auto;
}

.aam-home-module #work .portfolio-wrap .portfolio-box {
	position: relative;
	overflow: hidden;
	aspect-ratio: 600 / 330;
	background: #111;
	transition: all 0.3s linear;
	margin-left: -1px;
	transform: translateX(1px);
}

.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all 0.3s linear;
}

.aam-home-module #work .portfolio-wrap .portfolio-box:hover .aam-portfolio-link img {
	transform: scale(1.1);
}

.aam-home-module #work .portfolio-wrap .portfolio-box .mask {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.72);
	transform: scale(0);
	transition: all 0.3s linear;
	z-index: 1;
}

.aam-home-module #work .portfolio-wrap .portfolio-box .mask::before {
	content: '+';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 52px;
	line-height: 1;
	font-weight: 300;
	color: #fff;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced {
	position: relative;
	overflow: hidden;
	aspect-ratio: 600 / 330;
	background: #111;
}

.portfolio-wrap.pf_6_cols .portfolio-box.aam-portfolio-enhanced {
	width: 16.666666666666664%;
}

.portfolio-wrap.pf_5_cols .portfolio-box.aam-portfolio-enhanced {
	width: 20%;
}

.portfolio-wrap.pf_4_cols .portfolio-box.aam-portfolio-enhanced {
	width: 25%;
}

.portfolio-wrap.pf_3_cols .portfolio-box.aam-portfolio-enhanced {
	width: 33.33333333333333%;
}

.portfolio-wrap.pf_2_cols .portfolio-box.aam-portfolio-enhanced {
	width: 50%;
}

@media (min-width: 993px) and (max-width: 1199px) {
	.portfolio-wrap.pf_6_cols .portfolio-box.aam-portfolio-enhanced,
	.portfolio-wrap.pf_5_cols .portfolio-box.aam-portfolio-enhanced {
		width: 25%;
	}
}

@media (max-width: 767px) {
	.portfolio-wrap.pf_full_width .portfolio-box.aam-portfolio-enhanced {
		width: 50%;
	}
}

@media (max-width: 479px) {
	.portfolio-wrap.pf_full_width .portfolio-box.aam-portfolio-enhanced {
		width: 100%;
	}
}

/* OT Portfolio: enforce configured column count on page blocks */
@media (min-width: 768px) {
	.portfolio-wrap.pf_6_cols .portfolio-box {
		width: 16.666666666666664% !important;
	}

	.portfolio-wrap.pf_5_cols .portfolio-box {
		width: 20% !important;
	}

	.portfolio-wrap.pf_4_cols .portfolio-box {
		width: 25% !important;
	}

	.portfolio-wrap.pf_3_cols .portfolio-box {
		width: 33.33333333333333% !important;
	}

	.portfolio-wrap.pf_2_cols .portfolio-box {
		width: 50% !important;
	}
}

@media (max-width: 767px) {
	.portfolio-wrap.pf_full_width .portfolio-box {
		width: 50% !important;
	}
}

@media (max-width: 479px) {
	.portfolio-wrap.pf_full_width .portfolio-box {
		width: 100% !important;
	}
}

/* Inner pages OT Portfolio (Isotope): keep 4 columns when pf_4_cols is selected. */
@media (min-width: 768px) {
	.portfolio-wrap.pf_full_width.pf_4_cols.isotope .portfolio-box {
		width: 25% !important;
		box-sizing: border-box;
	}
}

@media (max-width: 767px) {
	.portfolio-wrap.pf_full_width.pf_4_cols.isotope .portfolio-box {
		width: 50% !important;
	}
}

@media (max-width: 479px) {
	.portfolio-wrap.pf_full_width.pf_4_cols.isotope .portfolio-box {
		width: 100% !important;
	}
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced > a.fancybox-effects-d,
.portfolio-wrap .portfolio-box.aam-portfolio-enhanced > a.fancybox-media {
	display: none !important;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced .aam-portfolio-link {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced .aam-portfolio-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all 0.3s linear;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced:hover .aam-portfolio-link img {
	transform: scale(1.1);
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced .mask {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.72);
	transform: scale(0);
	transition: all 0.3s linear;
	z-index: 1;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced .mask::before {
	content: '+';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 52px;
	line-height: 1;
	font-weight: 300;
	color: #fff;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced h4 {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	z-index: 2;
	text-align: center;
	color: #fff;
	letter-spacing: 0.24em;
	margin: 0;
	width: calc(100% - 30px);
	pointer-events: none;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced .fancybox-button {
	display: none !important;
}

.portfolio-wrap .portfolio-box.aam-portfolio-enhanced:hover .mask {
	transform: scale(1);
}

.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-hover-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: min(84%, 440px);
	text-align: center;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
	opacity: 0;
	max-height: 9.2em;
	overflow: hidden;
	transition: opacity 0.2s linear;
}

.aam-home-module #work .portfolio-wrap .portfolio-box h4 {
	position: absolute;
	bottom: 20px;
	right: -100px;
	z-index: 3;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: 12px;
	background: #292929;
	line-height: 12px;
	opacity: 0;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), -7px 0 5px -3px rgba(0, 0, 0, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.04);
	transition: all 0.2s linear;
	color: inherit;
	text-transform: uppercase;
	letter-spacing: 0;
	padding: 15px;
	pointer-events: none;
}

.aam-home-module #work .portfolio-wrap .portfolio-box .fancybox-button {
	position: absolute;
	bottom: 20px;
	right: -120px;
	height: 42px;
	width: 42px;
	z-index: 4;
	font-family: FontAwesome, sans-serif;
	font-size: 22px;
	text-align: center;
	background: #292929;
	line-height: 42px;
	opacity: 0;
	transition: all 0.2s linear;
	pointer-events: none;
}

.aam-home-module #work .portfolio-wrap .portfolio-box:hover .mask,
.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible .mask {
	transform: scale(1);
}

.aam-home-module #work .portfolio-wrap .portfolio-box:hover .aam-portfolio-hover-text,
.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible .aam-portfolio-hover-text {
	opacity: 1;
}

.aam-home-module #work .portfolio-wrap .portfolio-box:hover h4,
.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible h4 {
	right: 63px;
	opacity: 1;
	transition-delay: 0.1s;
}

.aam-home-module #work .portfolio-wrap .portfolio-box:hover .fancybox-button,
.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible .fancybox-button {
	right: 20px;
	opacity: 1;
	transition-delay: 0.15s;
}

.aam-home-module #work .portfolio-wrap .portfolio-box:hover .fancybox-button {
	font-size: 28px;
	color: #fff;
}

.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible h4,
.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible .fancybox-button {
	color: #fff;
}

.aam-home-module #work .portfolio-wrap .portfolio-box .aam-portfolio-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

body.aam-lightbox-open {
	overflow: hidden;
}

.aam-lightbox {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background: rgba(0, 0, 0, 0.86);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 99999;
}

.aam-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.aam-lightbox-figure {
	margin: 0;
	max-width: min(92vw, 1400px);
	max-height: 86vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.aam-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.aam-lightbox-caption {
	margin-top: 12px;
	color: #fff;
	text-align: center;
	max-width: min(92vw, 900px);
}

.aam-lightbox-title {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.aam-lightbox-description {
	margin: 10px 0 0;
	line-height: 1.5;
	text-transform: none;
}

.aam-lightbox-close,
.aam-lightbox-nav {
	position: absolute;
	border: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
}

.aam-lightbox-close {
	top: 14px;
	right: 16px;
	width: 44px;
	height: 44px;
	font-size: 30px;
	line-height: 1;
	border-radius: 50%;
}

.aam-lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 64px;
	font-size: 38px;
	line-height: 1;
	border-radius: 8px;
}

.aam-lightbox-prev {
	left: 16px;
}

.aam-lightbox-next {
	right: 16px;
}

.aam-lightbox-nav[disabled] {
	opacity: 0.35;
	cursor: default;
}

.aam-lightbox-close:hover,
.aam-lightbox-nav:hover {
	background: rgba(0, 0, 0, 0.75);
}

@media (max-width: 800px) {
	.aam-home-module .aam-about-content,
	.aam-home-module #services,
	.aam-home-module #contact,
	.aam-home-module #blog {
		padding: 45px 0;
	}

	.aam-home-module #work {
		padding: 45px 0;
	}

	.aam-home-module #blog .parallax-blog {
		background-attachment: scroll;
	}

	.aam-home-module #home {
		min-height: 70vh;
	}

	.aam-home-module .aam-about-content .about-what-we-do {
		padding-right: 0;
	}

	.aam-lightbox {
		padding: 26px 12px;
	}

	.aam-lightbox-close {
		top: 8px;
		right: 8px;
	}

	.aam-lightbox-nav {
		width: 40px;
		height: 54px;
		font-size: 30px;
	}

	.aam-lightbox-prev {
		left: 4px;
	}

	.aam-lightbox-next {
		right: 4px;
	}
}
