/******/
/*** SECTIONS ***/
/******/

/* NAV */

.navigation .background-black  {
	border-radius: var(--radius-2xl);
}

.navigation .cta-menu {
	margin-left: auto;
}

/* FOOTER */

p.footer-heading a {
	color: var(--color-coral)!important;
}

/* BLOG */

.truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.blog-card {
	padding: 1rem;
}

.card-image.round-top {
	border-top-left-radius: var(--radius-2xl);
	border-top-right-radius: var(--radius-2xl);
	height: 6.75rem;
	overflow: hidden; /* ensures background respects radius */
}

.category-tag {
	width: max-content;
    padding: .25rem .5rem;
	margin-right: .5rem;
	margin-bottom: .5rem;
}

.category-tag p {
	font-size: .75rem;
	font-weight: 600;
	margin-block-start: 0;
	margin-block-end: 0;
}

.categories {
	
}

.categories .button {
	margin-right: .5rem;
}

.category-link {
	color: var(--color-coral);
	text-decoration: none;
}

.pagination a  {
	text-decoration: none;
	color: var(--color-coral);
	
}

.pagination .current {
	color: var(--color-coral);
	font-weight: var(--font-weight-extrabold);
	text-transform: uppercase;
	font-size: var(--text-base);
}

.archive a {
	color: var(--color-coral);
	text-decoration: none;
}

.archive a:hover {
	color: var(--color-blue);
}

/* ABOUT IMAGE */

.about-images .grid-container {
	aspect-ratio: 1 / 1;
}

.about-images .padding-equalize {
	height: 100%;
}

.about-images .button-container {
	position: relative;
	z-index: 999;
}

/* COLUMNS */

.ui-element {
	left: 0;
	right: 0;
	margin-inline: auto;
	width: 50%;
}

/* FAQS */

.accordion .a-container .a-panel {
	width: 100%;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	opacity: 0;
	height: auto;
	max-height: 0;
	overflow: hidden;
	padding: 0 .625rem;
}

.accordion p.a-btn {
	padding: 1.5rem 1rem 1.5rem 0rem !important;
	font-weight: 700;
}

p.a-btn:hover {
	cursor: pointer;
}

.a-container {
    border-bottom: 0.063rem solid var(--color-white);
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion .a-container.active .a-panel {
	padding: 0rem 0.625rem 0.875rem 0rem;
	width: 90%;
	opacity: 1;
	height: auto;
	max-height: 31.25rem;
	line-height: 1.6;
}

p.a-btn::after {
	border-style: solid;
	border-width: .125rem .125rem 0 0;
	content: " ";
	display: inline-block;
	float: right;
	height: .625rem;
	left: -.125rem;
	position: relative;
	right: 1.5em;
	top: .125rem;
	transform: rotate(135deg);
	transition: 0.3s ease-in-out;
	vertical-align: top;
	width: .625rem;
}

.a-container.active p.a-btn::after {
	transform: rotate(-45deg);
	transition: 0.2s ease-in-out;
}

/* EXPERIENCE */

.experience-tabs {
	gap: 32px;
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}

.experience-tab {
	cursor: pointer;
}

.experience-tab h6, .experience-tab a {
	padding-bottom: 6px;
	border-bottom: 2px solid transparent;
	transition: border-color 200ms ease;
	opacity: 0.5;
}

.experience-tab.is-active h6, .experience-tab.is-active a {
	opacity: 1;
	border-color: var(--color-coral);
}
	
.swiper-pagination {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: #F7F7F7;
	border-radius: 2.125rem;
	padding: 1.25rem 1.375rem;
	width: auto !important;
}

.swiper-pagination-bullet {
	width: 0.5rem;
	height: 0.5rem;
	background: #D9D9D9;
	opacity: 1;
	border-radius: 50%;
	transition: all 200ms ease;
}

.swiper-pagination-bullet-active {
	width: 2.375rem;
	border-radius: 1rem;
	background: var(--color-coral);
}

.background-black .swiper-pagination {
	background: #222222;
}

.swiper-slide .background-neutral {
	border-radius: var(--radius-xl);
	overflow: clip;
}

/* POSTS */

.posts-image {
	height: 16.875rem;
	overflow: hidden;
	z-index: 4;
	position: relative;
}

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

.posts-image {
	border-top-left-radius: var(--radius-2xl);
	border-top-right-radius: var(--radius-2xl);
}

.posts-content {
	border-bottom-left-radius: var(--radius-2xl);
	border-bottom-right-radius: var(--radius-2xl);
	padding: 1rem;
}

@media screen and (min-width: 48rem) {
	
	.experience-swiper {
		-webkit-mask-image: linear-gradient(
			to right,
			rgba(0,0,0,1) 0%,
			rgba(0,0,0,1) 55%,
			rgba(0,0,0,0) 100%
		);
		mask-image: linear-gradient(
			to right,
			rgba(0,0,0,1) 0%,
			rgba(0,0,0,1) 55%,
			rgba(0,0,0,0) 100%
		);
	}
	
}

/* IMAGE GRID */

.grid-bubble {
	border-radius: 1rem;
}

.image-bubble {
	background-color: var(--color-white);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	border-radius: 0.75rem;
	padding: 1rem;
}

/* INTRO HOME */

[data-animate] {
	opacity: 0;
	will-change: auto;
}

.animated {
	transition: all 1s cubic-bezier(0.57, 0.08, 0.9, 0.36);
	opacity: 1;
}

.intro-home {
	min-height: 100vh;
}

.intro-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 100vh;
	transform: translate(-50%, -50%);
	overflow: hidden;
	z-index: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
}

.intro-video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.7777778vh;
	height: 100vh;
	min-width: 100vw;
	min-height: 56.25vw;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.intro-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		0deg,
		rgba(0, 0, 0, 0.60) 0%,
		rgba(0, 0, 0, 0.60) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.intro-video iframe {
	z-index: 0;
}

.intro-home .grid-container {
	z-index: 1;
}

/* SOLUTIONS */

.solution-tile {
	height: 15rem;
	overflow: clip;
	border-radius: var(--radius-2xl);
	background-size: cover;
	-webkit-transition: all .2s ease-in-out, border .2s ease-in-out;
	-moz-transition: all .2s ease-in-out, border .2s ease-in-out;
	-o-transition: all .2s ease-in-out, border .2s ease-in-out;
	transition: all .2s ease-in-out, border .2s ease-in-out;
}

.solution-tile a.link-arrow {
	padding-bottom: 1rem;
	padding-left: 1rem;
}

.solution-tile img.background-pseudo {
	width: 105%;
	-webkit-transition: all .2s ease-in-out, border .2s ease-in-out;
	-moz-transition: all .2s ease-in-out, border .2s ease-in-out;
	-o-transition: all .2s ease-in-out, border .2s ease-in-out;
	transition: all .2s ease-in-out, border .2s ease-in-out;
}

.solution-tile:hover img.background-pseudo {
	transform: scale(1.2);
}

@media (min-width: 48rem) {
	
	/* SECTIONS */
	
	.intro-home-text {
		margin-top: -5rem;
	}
	
}


/* TABS */

.tabs .tab-item {
	border-top: 0.25rem solid transparent;
	opacity: 0.25;
	cursor: pointer;
	color: #00000040;
	transition: opacity 0.25s ease, border-color 0.25s ease;
}

.tabs .tab-item .link-arrow {
	display: none;
}

.tabs .tab-item.is-active .link-arrow {
	display: flex;
}

.tabs .tab-item.is-active {
	opacity: 1;
	color: var(--color-black);
	border-top-color: var(--color-coral);
}

/* TABS VERTICAL */

.case-study-row, .tabs-vertical-row  {
	border-bottom: .125rem solid var(--color-mid-gray);
	color: var(--color-mid-gray);
	cursor: pointer;
	padding: 1rem 0;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.case-study-row.is-active, .tabs-vertical-row.is-active {
	border-bottom-color: var(--color-coral);
	color: inherit;
}

.case-study-image-holder img, .tabs-vertical-image-holder img  {
	max-height: 37.5rem;
	object-fit: cover;
	border-radius: .75rem;
	display: block;
}

.case-study-info, .tabs-vertical-info  {
	display: none;
}

.case-study-row.is-active .case-study-info, .tabs-vertical-row.is-active .tabs-vertical-info {
	display: block;
}

/* TEAM */

.team-entries {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-left: -0.5rem;  /* cancel left padding of first items */
	margin-right: -0.5rem; /* cancel right padding of last items */
}

.team-entries .team-entry-inner {
	padding-bottom: 1rem; /* vertical spacing */
	box-sizing: border-box;
	width: 100%;
}

/* Desktop - 4 columns handled by grid-25 */
.team-entries .grid-25 {
	flex: 0 0 25%;
}

/* Mobile - 2 columns */
@media screen and (max-width: 47.9375rem) {
	.team-entries .mobile-grid-50 {
		flex: 0 0 50%;
	}
	
}

/* TESTIMONIALS */

.testimonials-swiper .swiper-slide {
	transition: background-color 0.3s ease;
}

.testimonial-logo {
	cursor: pointer;
	text-align: center;
}

.testimonial-logo > div {
	padding: 1rem 4rem;
}

.testimonial-logo.is-active > div {
	background: var(--color-coral);
	border-radius: 0.75rem;
}

.testimonial-logo.is-active img {
	filter: invert(1);
}

.swiper-pagination {
	position: relative;
	margin-top: 1rem;
}
	
.testimonial-stars {
	width: 8.5rem
}

/* TEXT IMAGE */

.squares {
	align-items: stretch;
}

.square {
	border-right: .0625rem solid var(--color-white);
	border-bottom: .0625rem solid var(--color-white);
	padding: 1.5rem;
	box-sizing: border-box;
}

/* Remove left padding for 1st and 3rd squares */
.square:nth-child(1),
.square:nth-child(3) {
	padding-left: 0;
}

/* Remove border-bottom for 3rd and 4th squares */
.square:nth-child(3),
.square:nth-child(4) {
	border-bottom: none;
}

/* Remove border-right for 2nd and 4th squares */
.square:nth-child(2),
.square:nth-child(4) {
	border-right: none;
}

@media screen and (max-width: 47.9375rem) {
	
	.square {
		border: none;
		padding: .5rem
		padding-left: 0;
		border-bottom: solid .0625rem var(--color-white);
	}
	
}


/* TEXT IMAGE REPEATER */

.text-image-repeater .background-neutral {
	border-radius: 1rem;
}

.vimeo-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 180%;
	height: 100%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	mix-blend-mode: multiply;
}

.vimeo-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 177.78%;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
}

.repeater-img img {
	max-height: 16rem;
	object-fit: contain;
}


/* TEXT STATS */
.stat-bubble {
	padding-left: 1rem;
	padding-right: 1rem;
}

.text-stats .stat-cta {
	display: none;
	margin-top: 1.5rem;
}

.text-stats .stat-bubble:hover .stat-cta {
	display: block;
}

.two-col .offset-top {
	margin-top: -8rem;
}

/* TITLE TEXT */
.bubble {
	border-radius: var(--radius-2xl);
}

.title-text-columns .grid-33:first-child {
	padding-right: 1.375rem;
}

.title-text-columns .grid-33:nth-child(2) {
	padding-left: 1.375rem;
	padding-right: 1.375rem;
}

.title-text-columns .grid-33:last-child {
	padding-left: 1.375rem;
}

.text-bubble {
	padding-left: 2rem;
	padding-right: 2rem;
}

@media screen and (min-width: 48rem) {
	
	.services-accordion .accordion-panel p {
  		opacity: 0;
  		margin: 0 3rem 3rem 3rem;
  		flex-basis: 100%;
	}
	
	.services-accordion .accordion-panel p.h2 {
		margin-left: 3rem;
		margin-bottom: 1rem;
	}

	.services-accordion .accordion-panel p.description {
		height: 10rem;
	}

	.services-accordion #wrapper {
		display: flex;
		flex-flow: row nowrap;
		height: 40rem;
		min-height: 40rem;
		align-items: stretch;
	}
	
	.services-accordion .accordion-panel {
		flex: 1;
		overflow: hidden;
		display: flex;
		flex-flow: row wrap;
		transition: all 0.6s cubic-bezier(0.65, 0.05, 0.36, 1);
		align-items: flex-end;
		align-content: flex-end;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
	}
	
	.services-accordion .accordion-panel:hover {
		background-position: left center;
		flex-grow: 2.8;
	}
	
	.services-accordion .accordion-panel:hover > p {
		transition-delay: 0.8s;
		opacity: 1;
		-moz-transform: translateX(0);
		-webkit-transform: translateX(0);
		-o-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
	
	.services-accordion .accordion-panel:hover > p.h2 {
		transition-delay: 0.4s!important;
	}
	
	.cards .card {
		min-height: 25rem;
	}
	
}

@media screen and (max-width: 47.9375rem) {
	
	.services-accordion .accordion-panel p {
		margin: 0;
	}
	
	.frame-border {
		border-width: 1rem;
		border-radius: 2rem;
	}

	.border-2 {
		border-radius: 0rem;
	}
	
	.cards .card {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	
	.testimonial-logo > div {
		padding-left: 1rem;
		padding-right: 1rem;
	}

}

@media screen and (max-width: 37.5rem) {
	
  .services-accordion #wrapper {
    display: flex;
    flex-flow: column wrap;
    height: auto;
    min-height: 100vh;
  }
  
  .services-accordion .accordion-panel {
    min-height: 25rem;
    background-position: center top;
  }
	
}
