/* Hero */

.about__hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.hero__left {
	position: relative;
}

	.hero__main:before {
		background: rgb(var(--color-mist-05));
		content: '';
		height: 100%;
		left: calc(0px - var(--grid-gutter) / 2);
		position: absolute;
		top: 0;
		width: 1px;
	}

.hero__right {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.hero__main {
	position: relative;
}

.hero__media {
	background: rgb(var(--color-black));
	position: relative;
	overflow: hidden;
}

.hero__media > img {
	transition: opacity 1.2s var(--transition-handle);
}

.hero__description {
	font-weight: 600;
	margin-top: var(--s-12);
	transition: opacity 1.2s var(--transition-handle);
}

.hero__description strong {
	color:  rgb(var(--color-black));
}

body:not(.page--in) .hero__media > img,
body:not(.page--in) .hero__description  {
	opacity: 0;
}

.page--in .hero__media > img {
	transition-delay: 0.2s;
}

.page--in .hero__description {
	transition-delay: 0.4s;
}

/* Highlight text */

.highlight__fade {
	background: linear-gradient(0deg, rgba(var(--color-mist-01), 0) 20%, rgba(var(--color-mist-01), 1) 100%);
}

	.highlight__media:before {
		background: linear-gradient(0deg, rgba(var(--color-black), 1) 0%, rgba(var(--color-black), 0) 50%);
		content: '';
		height: 100%;
		left: 0;
		position: absolute;
		top: 0;
		width: 100%;
	}

.about__highlight-text {
	position: relative;
	width: 100%;
}

.highlight-text__inner {
	position: relative;
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.char {
	transition: opacity 0.6s var(--transition-handle);
}

@media (min-width: 2001px) {
	
	.hero__media {
		max-height: 50vh;
	}
	
}

@media (min-width: 981px) {

	.hero__media {
		aspect-ratio: 3 / 2;	
	}
	
	.about__hero > div,
	.about__hero > div > div:not(.bar__container),
	.about__hero > div > div > div:not(.bar__container),
	.about__hero > div > div > div > div:not(.bar__container),
	.about__hero > div > div > div > div > div:not(.bar__container) {
		box-sizing: border-box;
		height: 100%;
	}
	
	.hero__right,
	.hero__left {
		height: 100%;
	}
	
}

@media (max-width: 980px) {
	
	.about__hero {
		height: auto !important;
	}
	
	.hero__main {
		display: flex;
		height: 100%;
		flex-direction: column;
		justify-content: flex-end;	
	}
	
}

/* Sketch */

.about__sketch .about__sketch1__texto1 {
	top: 5%;
	left: 50%;
	transform: translateX(-50%);
	transition-delay: 1.4s;
}

.about__sketch .about__sketch1__texto2 {
	top: 39%;
	left: 66.667%;
	transition-delay: 1.5s;
}

.about__sketch .about__sketch1__texto3 {
	position: absolute;
	top: 68%;
	left: 68%;
	transition-delay: 1.6s;
}

.startsvg .about__sketch1__texto1,
.startsvg .about__sketch1__texto2,
.startsvg .about__sketch1__texto3 {
	opacity: 1;
}

@media (max-width: 980px) {

	.about__sketch .sketch__img {
		transform: translateX(-62%);
	}
	
	.about__sketch .about__sketch1__texto1 {
		top: 5%;
		left: 100%;
		transition-delay: 1.4s;
	}
	
	.about__sketch .about__sketch1__texto2 {
		left: auto;
		top: 37%;
		right: -50%;
	}
	
	.about__sketch .about__sketch1__texto3 {
		left: auto;
		top: 70%;
		right: -44%;
		transform: translateX(50%);
	}

}

.about__team p a {
	color: var(--color-text-01);
	font-weight: 600;
}

.about__team p a:not(:hover) {
	opacity: 0.4;
}

/* Slide */

.about__slide__wrp {
	display: flex;
	flex-direction: column;
}

.slide__title,
.slide__text,
.col--counter {
	color: rgb(var(--color-black));
}

.slide__title.text__mono {
	margin-bottom: calc(1em * 1.6);
}

.about__slide__wrp,
.about__slide--text {
	position: relative;
}

.about__slide--block {
	display: grid;
	gap: var(--grid-gutter);
	flex: 1;
	height: 100%;
	padding-bottom:calc(0px + var(--grid-gutter) / 2)
}

	.about__slide__wrp:before {
		background: rgb(var(--color-mist-05));
		content: '';
		height: 100%;
		left: calc(0px - var(--grid-gutter) / 2);
		position: absolute;
		top: 0;
		width: 1px;
	}

	.about__slide--text:before {
		background: rgb(var(--color-mist-05));
		content: '';
		height: calc(100% + var(--grid-gutter));
		left: calc(0px - var(--grid-gutter) / 2);
		position: absolute;
		top: 0;
		width: 1px;
	}

.about__slide--image {
	background: rgb(var(--color-black));
}

.about__slide--image > img {
	transition: opacity 1.2s var(--transition-handle);
}

.hide .about__slide--image > img {
	opacity: 0;
}

.about__slide--block:nth-child(2) .about__slide--image > img {
	transition-delay: 0.2s
}

.about__slide--block:nth-child(3) .about__slide--image > img {
	transition-delay: 0.4s
}

.about__slide--text {
	transition: 1.2s var(--transition-handle);
}

.hide .about__slide--text {
	opacity: 0;
}

.counter__wrp .wrp,
.about__slide--counter {
	height: 100%;
}

.about__slide--counter .about__slide__counter--wrp {
	height: 100%;
	position: relative;
	grid-column: 12 / 13;
}

.about__slide__progress {
	background: rgb(var(--color-black));
	height: 100%;
	left: calc(0px - var(--grid-gutter) / 2);
	position: absolute;
	top: 0;
	transform-origin: bottom;
	width: 1px;
}

.col--counter {
	display: flex;
	justify-content: space-between;
	position: absolute;
	left: 0;
	width: 100%;
}

.about__slide__counter--wrp .col--counter {
	top: 100%;
}

/* Join */

.about__join > div {
	box-sizing: border-box;
	height: 100%;
}

.about__join__inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	width: 100%;
}

.about__join__text {
	align-items: center;
	display: flex;
	height: 100%;
}

.featured__text {
	text-align: center;
}

.featured__text a {
	opacity: 0.2;
	transition: opacity 0.4s ease;
}

@media (min-width: 981px) {
	
	.hero__description {
		padding-right: calc(calc(calc(100vw - calc(var(--grid-margin)) - calc(var(--grid-gutter) * 11)) / 12));
	}
	
	.about__slide {
		height: 100vh;
	}
	
	.about__slide__wrp {
		height: calc(100vh - var(--grid-margin) * 2);
	}
	
	.about__slide--block {
		grid-template-columns: repeat(12, 1fr);
	}
	
	.about__highlight-text,
	.about__join {
		height: 100vh;
	}
	
	.about__slide--image {
		grid-column: 1 / 4;
		height: 100%;
		max-height: calc(calc(100vh - var(--grid-margin) * 2 - var(--grid-gutter) * 1.5) / 3);
	}
	
	.about__slide--text {
		grid-column: 7 / 11;
	}
	
	.about__slide--block .about__slide--image {
		opacity: 0.4;
		transition: opacity 0.4s var(--transition-handle);
	}
	
	.about__slide--block.active .about__slide--image{
		opacity: 1;
		transition: opacity 1.2s var(--transition-handle);
	}
	
	.about__slide--block .about__slide--textcontent{
		opacity: 0;
		transition: opacity 0.4s var(--transition-handle);   
	}
	
	.about__slide--block.active .about__slide--textcontent{
		opacity: 1;
		transition: opacity 1.2s var(--transition-handle);   
	}
	
}

@media (max-width: 980px) {

	.about__slide--image {
		aspect-ratio: 3 / 2;
	}
	
	.counter__wrp {
		display: none;
	}
	
	.highlight__media {
		display: none;
	}
	
	.about__message {
		box-sizing: border-box;
		padding-bottom: var(--s-12);
	}
	
	.highlight-text__inner .title {
		color: rgb(var(--color-black));
	}

}

@media (max-width: 980px) and (min-width: 681px) {
	
	.about__slide--block {
		grid-template-columns: repeat(8, 1fr);
	}
	
	.highlight-text__inner,
	.about__join__text {
		padding: var(--s-160) 0;
	}
	
	.about__slide--image {
		grid-column: 1 / 5;
	}
	
	.about__slide--text {
		grid-column: 5 / 9;
	}
	
}

@media (min-width: 681px) {

	.text-reveal {
		margin: 0 auto;
		max-width: 60%;
	}

}

@media (max-width: 680px) {
	
	.about-us__page .hero__description {
		padding-bottom: var(--s-48);
	}
	
	.about__slide--block {
		grid-template-columns: repeat(4, 1fr);
		margin-bottom: var(--s-56);
	}
	
	.about__slide--image,
	.about__slide--text {
		grid-column: 1 / 5;
	}
	
	.highlight-text__inner,
	.about__join__text {
		padding: var(--s-160) 0;
	}
	
	.about__join__text {
		width: 100%;
	}
	
	.featured__text .title > .mask:nth-child(3) {
		margin: 0 auto;
		max-width: 90%;
	}
	
	.text-reveal,
	.featured__text  {
		margin: 0 auto;
		max-width: 80%;
	}
	
}

@media (hover: hover) {
	
	.featured__text a:hover {
		opacity: 1;
	}	
	
}