/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* Animation overrides for hero section */
/* Default visible on mobile */
.hero-will-animate {
	opacity: 1; /* Visible by default (mobile) */
}

/* Only hide elements on desktop where animations will run */
@media screen and (min-width: 1025px) {
	.hero-will-animate {
		opacity: 0; /* Hidden on desktop until animated */
	}
}

/* hero */
.hero {
	width: 100%;
	min-height: 567px;
	position: relative;
	padding-bottom: 30px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.hero-info {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}

.hero-info .main-tagline {
	line-height: 1.1;
	font-size: 3.75rem;
	overflow: hidden;
	margin-bottom: 10px;
	font-family: var(--font-family-heading);
	font-weight: 400;
	color: var(--color-primary);
}

.hero-info .main-tagline strong {
	line-height: 0.9;
	display: block;
	margin-bottom: 5px;
}

.hero-info .main-tagline span {
	display: block;
	font-size: 1.75rem;
}

.hero-info h4 {
	font-size: 1rem;
	letter-spacing: 5px;
	margin-bottom: 20px;
}

.hero-info h4 span {
	display: block;
}

.hero-image {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.hero-image:before,
.hero-image:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 16%;
	content: "";
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-image:after {
	top: unset;
	bottom: 0;
	height: 442px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.87) 52%,
		rgba(255, 255, 255, 0.8) 100%
	);
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (min-width: 768px) {
	.hero {
		min-height: 769px;
		padding-bottom: 70px;
	}

	.hero-info .main-tagline {
		font-size: 5.25rem;
		margin-bottom: 30px;
	}

	.hero-info .main-tagline span {
		font-size: 3.563rem;
	}

	.hero-info .main-tagline strong {
		margin-bottom: 10px;
	}

	.hero-info h4 {
		display: flex;
		flex-wrap: wrap;
		font-size: 1.125rem;
		margin-bottom: 30px;
		justify-content: center;
	}

	.hero-info h4 span:not(:last-child):after {
		content: "|";
		margin: 0 8px;
	}
}

/* intro */
.intro {
	padding-top: 71px;
	padding-bottom: 40px;
}

.intro-left {
	margin-left: 43px;
	margin-bottom: 40px;
	position: relative;
}

.intro-image {
	overflow: hidden;
	margin-bottom: 8px;
}

.intro-image img {
	width: 100%;
	display: block;
	object-fit: cover;
	animation-delay: 400ms;
}

.intro-left h4 {
	font-size: 1rem;
	letter-spacing: 4px;
	line-height: 1.3;
}

.intro-shape {
	position: absolute;
	top: -36px;
	left: -37px;
	z-index: -1;
	pointer-events: none;
}

.intro-shape img {
	width: 110px;
	height: 110px;
	margin-bottom: 0;
}

.intro-content h1 {
	font-size: 2.25rem;
	margin-bottom: 23px;
}

.intro-content p:last-of-type {
	margin-bottom: 20px;
}

.intro-content .button {
	letter-spacing: 3px;
}

@media screen and (min-width: 768px) {
	.intro {
		padding-top: 106px;
		padding-bottom: 75px;
	}

	.intro-holder {
		display: flex;
	}

	.intro-left {
		width: 39%;
		margin-left: 0;
		margin-bottom: 0;
	}

	.intro-left h4 {
		font-size: 1.25rem;
		letter-spacing: 5px;
		max-width: 320px;
		line-height: 1.4;
	}

	.intro-image {
		margin-bottom: 18px;
	}

	.intro-shape {
		top: -32px;
		left: -23px;
	}

	.intro-content {
		flex: 1;
		margin-left: 30px;
	}

	.intro-content h1 {
		margin-bottom: 14px;
	}

	.intro-content p:last-of-type {
		margin-bottom: 45px;
	}
}

@media screen and (min-width: 1025px) {
	.intro-holder {
		margin-left: 61px;
	}

	.intro-shape {
		top: -62px;
		left: -63px;
	}

	.intro-shape img {
		width: auto;
		height: auto;
	}

	.intro-content {
		margin-left: 94px;
	}

	.intro-content h1 {
		font-size: 2.938rem;
	}
}

/* sub-heading */
.sub-heading {
	font-size: 1.125rem;
	font-weight: 800;
	margin-bottom: 7px;
	letter-spacing: 4px;
	text-transform: uppercase;
	font-family: var(--font-family-heading);
}

@media screen and (min-width: 768px) {
	.sub-heading {
		font-size: 1.25rem;
		margin-bottom: 5px;
		letter-spacing: 5.7px;
	}
}

/* action */
.action {
	padding-top: 64px;
	padding-bottom: 64px;
	position: relative;
}

.action-holder {
	position: relative;
	z-index: 1;
	text-align: center;
	background-color: rgba(237, 181, 0, 0.9);
	padding: 34px 15px;
}

.action h2 {
	font-size: 2.25rem;
}

.action-btn .button i {
	font-size: 1rem;
	margin-right: 10px;
	color: var(--color-alternate);
}

.action-btn {
	padding: 0 20px;
}

.action-btn .button {
	display: block;
	margin-bottom: 10px;
	padding: 20px 5px;
}

.action-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.action-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.action .sub-heading {
	font-size: 1rem;
	letter-spacing: 3px;
	margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
	.action {
		padding-top: 150px;
		padding-bottom: 130px;
	}

	.action-holder {
		padding: 72px 25px;
	}

	.action h2 {
		font-size: 3.063rem;
	}

	.action-btn {
		padding: unset;
	}

	.action-btn .button {
		display: inline-flex;
		margin-bottom: 0;
		padding: 21px 32px;
	}

	.action-btn .button + .button {
		margin-left: 17px;
	}

	.action .sub-heading {
		font-size: 1.25rem;
		letter-spacing: 5px;
	}
}

/* services */
.services {
	padding-top: 43px;
	padding-bottom: 96px;
}

.services-left h2 {
	font-size: 2.25rem;
	margin-bottom: 24px;
}

.services-right .button {
	display: block;
}

.services-right .accordion-item:last-of-type {
	border-bottom: 0;
}

@media screen and (min-width: 768px) {
	.services {
		padding-top: 144px;
		padding-bottom: 158px;
	}

	.services-holder {
		display: flex;
	}

	.services-left {
		flex: 1;
		padding-right: 60px;
	}

	.services-left h2 {
		margin-bottom: 30px;
	}

	.services-right {
		width: 49.1%;
	}
}

@media screen and (min-width: 1025px) {
	.services-left {
		padding-right: 80px;
	}

	.services-left h2 {
		font-size: 2.938rem;
	}

	.services-left p:last-of-type {
		margin-bottom: 38px;
	}
}

/* team */
.team {
	padding-bottom: 40px;
	position: relative;
	background-color: var(--color-secondary);
}

.team-holder {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
}

.team-left {
	padding-top: 23px;
	order: 2;
	text-align: center;
}

.team-left .sub-heading {
	margin-bottom: 3px;
}

.team-left h2 {
	font-size: 2.25rem;
	margin-bottom: 16px;
}

.team-right {
	order: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 17px;
	margin-top: -52px;
	margin-left: -30px;
	margin-right: -30px;
	width: calc(100% + 60px);
}

.team-column:nth-child(1) {
	padding-top: 145px;
}

.team-column:nth-child(2) {
	padding-top: 35px;
}

.team-item {
	margin-bottom: 7px;
	position: relative;
	display: block;
	background: radial-gradient(circle, #afbfca, #555b63);
	transition: color 200ms ease-out, background 200ms ease-out, transform 60ms ease-in;
}

.team-item:before {
	width: 100%;
	height: 100%;
	z-index: 2;
	position: absolute;
	bottom: 0;
	left: 0;
	pointer-events: none;
	content: "";
	background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%);
}

.team-image {
	width: 100%;
	height: 130px;
	position: relative;
	overflow: hidden;
}

.team-image:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-secondary);
	opacity: 0;
	z-index: 2;
	transition: opacity 0.3s ease;
}

.team-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
	position: relative;
	z-index: 1;
}

.team-item:hover .team-image img,
.team-item:focus .team-image img {
	transform: scale(1.05);
}

.team-item:hover .team-image:after,
.team-item:focus .team-image:after {
	opacity: 0.3;
}

.team-name {
	z-index: 3;
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: 0.5rem;
	font-weight: 600;
	font-family: var(--font-family-body);
	color: var(--color-white);
	width: 100%;
	padding: 7px 5px;
	text-align: center;
}

.team-bg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.team-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.31;
	mix-blend-mode: luminosity;
}

@media screen and (min-width: 480px) {
	.team-image {
		width: auto;
		height: auto;
	}
}

@media screen and (min-width: 768px) {
	.team {
		padding-bottom: 24px;
	}

	.team-holder {
		align-items: center;
	}

	.team-left {
		flex: 1;
		padding-right: 40px;
		padding-top: 20px;
		order: 1;
		text-align: unset;
	}

	.team-left .sub-heading {
		margin-bottom: 7px;
	}

	.team-right {
		order: 2;
		width: 62.6%;
		grid-column-gap: 30px;
		margin-top: -105px;
		margin-left: 0;
	}

	.team-item {
		margin-bottom: 11px;
	}

	.team-name {
		font-size: 0.75rem;
		padding: 15px;
	}
}

@media screen and (min-width: 1025px) {
	.team-left {
		padding-right: 100px;
	}

	.team-left h2 {
		font-size: 2.938rem;
	}

	.team-column:nth-child(1) {
		padding-top: 275px;
	}

	.team-column:nth-child(2) {
		padding-top: 65px;
	}

	.team-name {
		font-size: 1rem;
	}
}

@media screen and (min-width: 1200px) {
	.team-right {
		width: 62%;
		margin-right: -68px;
	}

	.team-image {
		width: 218px;
		height: 248px;
	}
}

@media screen and (min-width: 1441px) {
	.team-right {
		width: 62.6%;
		margin-right: 0;
	}
}

/* post */
.news {
	padding-top: 36px;
	padding-bottom: 35px;
}

.news-block {
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.news-block h2 {
	font-size: 2.25rem;
	margin-bottom: 0;
}

.news-block .sub-heading {
	margin-bottom: 4px;
}

.news-block .button {
	margin-top: 15px;
}

.news-holder {
	height: 451px;
	padding-right: 10px;
	overflow: auto;
	margin-bottom: 24px;
}

.news-item {
	padding-bottom: 26px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--color-medium-gray);
}

.news-item strong {
	display: block;
	font-size: 0.938rem;
	font-weight: 800;
	margin-bottom: 7px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	font-family: var(--font-family-body);
}

.news-item h3 {
	font-size: 1.5rem;
	margin-bottom: 12px;
}

.news-tag {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.news-tag li {
	font-size: 0.938rem;
	line-height: 1.7;
	color: var(--color-gray);
}

.news-tag li:first-of-type {
	width: 100%;
}

.news-tag li:not(:last-of-type):after {
	display: inline-block;
	margin: 0 12px;
	width: 2px;
	height: 19px;
	vertical-align: middle;
	background-color: var(--color-near-gray);
	content: "";
}

.news-tag li:first-of-type:after {
	display: none;
}

.news-tag li a {
	color: var(--color-gray);
}

.news-tag li a:focus,
.news-tag li a:hover {
	color: var(--color-black);
}

.news-item p {
	margin-bottom: 20px;
	line-height: 1.5;
}

.news-link {
	font-size: 0.688rem;
	font-weight: 800;
	position: relative;
	letter-spacing: 3px;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: var(--font-family-body);
}

.news-link:after {
	position: absolute;
	bottom: -7px;
	left: 0;
	content: "";
	width: 109px;
	height: 3px;
	background-color: var(--color-secondary);
}

.news-scrollbar::-webkit-scrollbar {
	width: 9px;
}

.news-scrollbar::-webkit-scrollbar-track {
	background-color: var(--color-near-gray);
}

.news-scrollbar::-webkit-scrollbar-thumb {
	background-color: var(--color-body-text);
}

.news-btn {
	text-align: center;
}

.news-btn .button {
	display: block;
}

@media screen and (min-width: 768px) {
	.news {
		padding-top: 77px;
		padding-bottom: 115px;
	}

	.news-block {
		margin-bottom: 50px;
	}

	.news-block h2 {
		font-size: 2.938rem;
	}

	.news-holder {
		height: 600px;
		padding-right: 50px;
		margin-bottom: 0;
	}

	.news-tag li:first-of-type {
		width: auto;
	}

	.news-tag li:first-of-type:after {
		display: inline-block;
	}

	.news-tag {
		margin-bottom: 3px;
	}

	.news-item h3 {
		margin-bottom: 6px;
	}

	.news-item p {
		margin-bottom: 31px;
	}
}
