/* About Us page: Hero */
.about-hero {
	padding-top: 64px;
	padding-bottom: 32px;
}

@media (min-width: 1024px) {
	.about-hero {
		padding-top: var(--space-section-vertical-desktop);
		padding-bottom: var(--space-section-vertical-desktop);
	}
}

.about-hero__inner {
	position: relative;
}

@media (min-width: 1024px) {
	.about-hero__inner {
		max-width: var(--container-max-width);
		margin-inline: auto;
	}
}

.about-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-4);
	padding-inline: var(--space-4);
}

@media (min-width: 1024px) {
	.about-hero__content {
		gap: var(--space-content-1);
		width: 725px;
		margin-inline: auto;
		padding-inline: 0;
	}
}

.about-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	width: 100%;
}

@media (min-width: 1024px) {
	.about-hero__text {
		gap: var(--space-6);
		padding-inline: var(--space-content-1);
	}
}

.about-hero__heading {
	font-size: var(--font-size-h2);
	font-weight: 400;
	line-height: 1;
	color: var(--color-text-heading);
}

@media (min-width: 1024px) {
	.about-hero__heading {
		font-size: var(--font-size-display);
	}
}

.about-hero__description {
	font-size: var(--font-size-body);
	color: var(--color-text-body);
}

@media (min-width: 1024px) {
	.about-hero__description {
		width: 612px;
	}
}

.about-hero__button {
	width: 100%;
	background-color: var(--color-text-heading);
	color: var(--color-bg-light);
}

@media (min-width: 1024px) {
	.about-hero__button {
		width: auto;
	}
}

.about-hero__photo {
	width: 100%;
	aspect-ratio: 358 / 380;
	border-radius: var(--radius-small);
	overflow: hidden;
}

@media (min-width: 1024px) {
	.about-hero__photo {
		width: 640px;
		height: 720px;
		aspect-ratio: auto;
	}
}

.about-hero__photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-hero__accent {
	display: none;
}

@media (min-width: 1024px) {
	.about-hero__accent {
		display: block;
		position: absolute;
		width: 280px;
		height: 220px;
		border-radius: var(--radius-small);
		overflow: hidden;
	}

	.about-hero__accent--1 {
		top: 74px;
		left: 41px;
		transform: rotate(-2deg);
	}

	.about-hero__accent--2 {
		top: 138px;
		right: 70px;
		transform: rotate(2deg);
	}
}

.about-hero__accent-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translateY(var(--float-shift, 0px));
}

@media (prefers-reduced-motion: reduce) {
	.about-hero__accent-img {
		transform: none;
	}
}

/* About Us page: "The Story Behind Profstep" */
.about-story {
	background-color: var(--color-bg-darker);
	padding-top: var(--space-section-vertical);
	padding-bottom: var(--space-6);
}

@media (min-width: 1024px) {
	.about-story {
		padding-top: var(--space-section-vertical-desktop);
		padding-bottom: 0;
	}
}

.about-story__header {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
	.about-story__header {
		flex-direction: row;
		gap: var(--space-content-1);
		margin-bottom: var(--space-content-1);
	}
}

.about-story__heading-group {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

@media (min-width: 1024px) {
	.about-story__heading-group {
		flex: 1;
	}
}

.about-story__title {
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-text-heading);
}

@media (min-width: 1024px) {
	.about-story__title {
		font-size: var(--font-size-h2);
	}
}

.about-story__description {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	font-size: var(--font-size-body);
	color: var(--color-text-body);
}

@media (min-width: 1024px) {
	.about-story__description {
		flex: 1;
		padding-top: var(--space-6);
	}
}

.about-story__background {
	position: relative;
	width: 100%;
	aspect-ratio: 390 / 520;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.about-story__background {
		aspect-ratio: auto;
		height: 720px;
	}
}

.about-story__background-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-story__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(239deg, rgba(41, 41, 41, 0.6) 10%, rgba(41, 41, 41, 0.25) 45%, rgba(41, 41, 41, 0.5) 100%);
	mix-blend-mode: multiply;
}

/* About Us page: "The People Working on Your Home" */
.about-team {
	padding-block: var(--space-section-vertical);
}

@media (min-width: 1024px) {
	.about-team {
		padding-block: var(--space-section-vertical-desktop);
	}
}

.about-team__header {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
	.about-team__header {
		flex-direction: row;
		gap: var(--space-content-1);
		margin-bottom: var(--space-content-1);
	}
}

.about-team__heading-group {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

@media (min-width: 1024px) {
	.about-team__heading-group {
		flex: 1;
	}
}

.about-team__title {
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-text-heading);
}

@media (min-width: 1024px) {
	.about-team__title {
		font-size: var(--font-size-h2);
	}
}

.about-team__description {
	font-size: var(--font-size-body);
	color: var(--color-text-body);
}

@media (min-width: 1024px) {
	.about-team__description {
		flex: 1;
		padding-top: var(--space-6);
	}
}

.about-team__photos {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
	.about-team__photos {
		flex-direction: row;
		align-items: flex-start;
		height: 640px;
		margin-bottom: var(--space-content-1);
	}
}

.about-team__photo {
	border-radius: var(--radius-small);
	overflow: hidden;
}

.about-team__photo--1 {
	aspect-ratio: 358 / 380;
}

.about-team__photo--2 {
	aspect-ratio: 358 / 286;
}

@media (min-width: 1024px) {
	.about-team__photo {
		flex: 1;
	}

	.about-team__photo--1 {
		aspect-ratio: auto;
		height: 100%;
	}

	.about-team__photo--2 {
		aspect-ratio: auto;
		height: 400px;
		transform: rotate(1deg);
	}
}

.about-team__photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-team__closing {
	font-size: var(--font-size-body);
	color: var(--color-text-body);
	text-align: center;
}

@media (min-width: 1024px) {
	.about-team__closing {
		max-width: 720px;
		margin-inline: auto;
	}
}
