.page-template--about {
	background: #fff;
}

.about-page-modern {
	background: #fff;
	color: #2f2a26;
}

.about-hero {
	background:
		linear-gradient(90deg, rgba(248, 244, 237, 0.98) 0%, rgba(248, 244, 237, 0.93) 58%, rgba(248, 244, 237, 0.78) 100%),
		url("/wp-content/themes/michelangelo-theme/assets/images/ui/about-story-background.webp") center right / cover no-repeat,
		#f8f4ed;
	border: 0;
	min-height: clamp(19rem, 26vw, 24.5rem);
	padding-block: clamp(1.55rem, 3.3vw, 2.65rem) clamp(1.85rem, 3.9vw, 3.05rem);
}

.about-hero__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	padding-inline: var(--michelangelo-container-padding);
	text-align: center;
	width: 100%;
}

.about-breadcrumb {
	align-items: center;
	color: rgba(64, 56, 49, 0.72);
	display: inline-flex;
	font-size: 0.84rem;
	gap: 0.7rem;
	justify-content: center;
	margin-block-end: clamp(0.9rem, 2vw, 1.35rem);
}

.about-breadcrumb .material-symbols-outlined {
	font-size: 1.12rem;
}

.about-breadcrumb__home {
	align-items: center;
	color: #a98453;
	display: inline-flex;
	text-decoration: none;
	transition: color 180ms ease, transform 180ms ease;
}

.about-breadcrumb__home:hover,
.about-breadcrumb__home:focus-visible {
	color: var(--michelangelo-button-hover-bg);
	transform: translateY(-0.06rem);
}

.about-breadcrumb__divider {
	color: rgba(117, 88, 77, 0.48);
}

.about-hero h1 {
	font-size: clamp(2.35rem, 3.8vw, 3.55rem) !important;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.06;
	margin: 0;
	max-width: 28ch;
}

.about-hero__rule,
.about-story__rule,
.about-final-cta__rule {
	background: #a98453;
	display: block;
	height: 2px;
	margin-block: clamp(1.05rem, 2vw, 1.45rem);
	width: 4rem;
}

.about-hero__lead {
	color: #504842;
	font-size: clamp(1rem, 1.35vw, 1.14rem);
	line-height: 1.68;
	margin: 0;
	max-width: 54rem;
}

.about-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	justify-content: center;
	margin-block-start: clamp(1.45rem, 3vw, 2.1rem);
}

.about-button {
	align-items: center;
	background: transparent;
	border: 1px solid var(--michelangelo-button-outline-border);
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: #2f2925;
	display: inline-flex;
	font-weight: 800;
	gap: 1.2rem;
	justify-content: center;
	line-height: 1;
	min-height: 3.35rem;
	min-width: min(100%, 12.8rem);
	padding: 0 1.65rem;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.about-button:hover,
.about-button:focus-visible {
	background: rgba(155, 115, 53, 0.08);
	color: var(--michelangelo-button-hover-bg);
	transform: translateY(-0.08rem);
}

.about-button--primary {
	background: var(--michelangelo-button-bg);
	border-color: var(--michelangelo-button-bg);
	color: #fff;
}

.about-button--primary:hover,
.about-button--primary:focus-visible {
	background: var(--michelangelo-button-hover-bg);
	border-color: var(--michelangelo-button-hover-bg);
	color: #fff;
}

.about-button > span {
	font-size: 1.08rem;
	line-height: 1;
	transition: transform 180ms ease;
}

.about-button:hover > span,
.about-button:focus-visible > span {
	transform: translateX(0.22rem);
}

.about-story {
	background: #fff;
	border: 0;
	padding-block: clamp(2.75rem, 4vw, 3.8rem) clamp(2.6rem, 4vw, 3.8rem);
	position: relative;
}

.about-story__inner {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	padding-inline: var(--michelangelo-container-padding);
	width: 100%;
}

.about-story__intro {
	max-width: 57rem;
}

.about-story .section-eyebrow {
	align-items: center;
	color: #a98453;
	display: inline-flex;
	gap: 1.55rem;
	margin-block: 0 1.5rem;
}

.about-story .section-eyebrow::after {
	background: #a98453;
	content: "";
	height: 1px;
	width: 3.25rem;
}

.about-story h2 {
	font-size: clamp(3rem, 4.8vw, 4.55rem) !important;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.04;
	margin: 0;
	max-width: 56rem;
}

.about-story__copy {
	color: #403b36;
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	line-height: 1.74;
	margin-block-start: 1.7rem;
	max-width: 48rem;
}

.about-story__copy p {
	margin-block: 0 1rem;
}

.about-story__copy p:last-child {
	margin-block-end: 0;
}

.about-story__milestones {
	background: transparent;
	border: 0;
	box-shadow: none;
	display: grid;
	gap: clamp(1.6rem, 3vw, 3.1rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block-start: clamp(4.3rem, 7vw, 6.1rem);
	position: relative;
}

.about-story__milestones::before {
	background: rgba(169, 132, 83, 0.42);
	content: "";
	height: 1px;
	inset-block-start: 2.25rem;
	inset-inline: 2.25rem;
	position: absolute;
	z-index: 0;
}

.about-story__milestone {
	min-height: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.about-story__number {
	color: #a98453;
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1;
	margin-block: 1.25rem 0.78rem;
}

.about-story__icon {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(169, 132, 83, 0.44);
	border-radius: 999px;
	color: #a98453;
	display: inline-flex;
	font-size: 2.15rem;
	height: 4.5rem;
	justify-content: center;
	line-height: 1;
	width: 4.5rem;
}

.about-story__icon-image {
	box-sizing: border-box;
	display: block;
	object-fit: contain;
	padding: 0.8rem;
}

.about-story__milestone h3 {
	font-size: clamp(1.5rem, 2.2vw, 2.12rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.12;
	margin: 0;
}

.about-story__milestone h3::after {
	background: #a98453;
	content: "";
	display: block;
	height: 1px;
	margin-block: 1.05rem 1.15rem;
	width: 3rem;
}

.about-story__milestone p {
	color: #514740;
	font-size: clamp(0.96rem, 1.05vw, 1.02rem);
	line-height: 1.68;
	margin: 0;
	max-width: 19rem;
}

.about-work {
	background: #fff;
}

.about-work.categories-section {
	background: #fff;
	padding-block: clamp(4.75rem, 7vw, 6.75rem);
}

.about-work .categories-section__heading h2 {
	font-size: var(--michelangelo-section-title-size) !important;
}

.about-approach.process-section {
	background: #fff;
	border: 0;
}

.about-final-cta {
	align-items: center;
	background: #fff;
	border: 0;
	box-sizing: border-box;
	display: grid;
	gap: clamp(2rem, 5vw, 5.2rem);
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	min-height: 0;
	padding-block: clamp(4.2rem, 7vw, 6.4rem);
	padding-inline: var(--michelangelo-container-padding);
	width: 100%;
}

.about-final-cta__copy {
	align-self: center;
	box-sizing: border-box;
	margin: 0;
	max-width: 43rem;
	padding: 0;
}

.about-final-cta h2 {
	font-size: clamp(2.55rem, 3.05vw, 3.35rem) !important;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
	max-width: 13.5em;
}

.about-final-cta__copy > p {
	color: #504842;
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	line-height: 1.72;
	margin: 0;
	max-width: 32rem;
}

.about-final-cta .about-actions {
	justify-content: flex-start;
}

.about-final-cta__contacts {
	align-items: flex-start;
	border-block-start: 1px solid rgba(139, 113, 81, 0.18);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem clamp(1.2rem, 3vw, 2.2rem);
	margin-block-start: clamp(2.5rem, 4vw, 3.6rem);
	padding-block-start: 1.8rem;
}

.about-final-cta__contacts > span {
	align-items: center;
	color: #584f48;
	display: inline-flex;
	font-size: 0.95rem;
	gap: 0.7rem;
}

.about-final-cta__contacts .material-symbols-outlined {
	flex: 0 0 auto;
	color: #9a7444;
	font-size: 1.15rem;
}

.about-final-cta__location-text {
	display: block;
	line-height: 1.45;
}

.about-final-cta__location-text strong {
	color: #403832;
	font-weight: 800;
}

.about-final-cta__media {
	align-self: center;
	aspect-ratio: 4 / 3;
	justify-self: end;
	margin: 0;
	max-width: 35rem;
	min-height: 0;
	overflow: hidden;
	width: 100%;
}

.about-final-cta__media img {
	display: block;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

@media (max-width: 1080px) {
	.about-story__milestones {
		gap: 2.7rem 2rem;
		grid-template-columns: 1fr;
	}

	.about-story__milestones::before {
		inset-block: 2.25rem 0;
		inset-inline: 2.25rem auto;
		height: auto;
		width: 1px;
	}

	.about-story__milestone {
		display: grid;
		gap: 0 1.4rem;
		grid-template-columns: 4.5rem minmax(0, 1fr);
	}

	.about-story__icon {
		grid-row: 1 / span 3;
	}

	.about-story__number {
		margin-block-start: 0.15rem;
	}

	.about-final-cta {
		grid-template-columns: 1fr;
	}

	.about-final-cta__copy {
		margin-inline: auto;
		max-width: min(45rem, calc(100% - 2rem));
		padding-inline: 0;
		width: 100%;
	}

	.about-final-cta__media {
		justify-self: center;
		max-width: 36rem;
		min-height: 0;
	}

	.about-final-cta__media img {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.about-hero {
		min-height: 0;
		padding-block: 1.7rem 2.85rem;
	}

	.about-hero h1 {
		font-size: 2rem !important;
		line-height: 1.08;
		max-width: min(100%, 22rem);
		text-wrap: balance;
	}

	.about-breadcrumb {
		margin-block-end: 0.85rem;
	}

	.about-hero__lead {
		font-size: 1rem;
		line-height: 1.55;
		max-width: min(100%, 34rem);
	}

	.about-actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.about-button {
		width: 100%;
	}

	.about-story h2,
	.about-final-cta h2 {
		font-size: clamp(2.55rem, 11vw, 3.35rem) !important;
		max-width: 12ch;
	}

	.about-final-cta h2 {
		font-size: clamp(2rem, 8.4vw, 2.45rem) !important;
		max-width: none;
	}

	.about-story__milestone {
		grid-template-columns: 3.9rem minmax(0, 1fr);
	}

	.about-story__milestones::before {
		inset-inline-start: 1.95rem;
	}

	.about-story__icon {
		font-size: 1.9rem;
		height: 3.9rem;
		width: 3.9rem;
	}

	.about-work .categories-section__heading h2 {
		font-size: clamp(2.55rem, 10vw, 3.35rem) !important;
	}

	.about-final-cta .about-actions {
		justify-content: stretch;
	}

	.about-final-cta__contacts {
		align-items: flex-start;
		flex-direction: column;
	}
}
