/* About story (patterns/about-story.php). Values from the old about-story-section.tsx and section-title.tsx. */
.sp-about-story {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--white);
	padding-top: 40px;
	padding-bottom: clamp(150px, 24.4vw, 360px);
}
@media (min-width: 1024px) {
	.sp-about-story { padding-top: 64px; }
}
.sp-about-story .sp-about-story__grid {
	display: grid;
	gap: 32px;
}
@media (min-width: 1024px) {
	.sp-about-story .sp-about-story__grid {
		grid-template-columns: 1fr 640px;
		gap: 64px;
	}
}
@media (min-width: 1536px) {
	.sp-about-story .sp-about-story__grid { grid-template-columns: 1fr 740px; }
}
.sp-about-story .sp-about-story__heading {
	max-width: 512px;
}
@media (min-width: 1024px) {
	.sp-about-story .sp-about-story__heading.sp-about-story__heading { margin-bottom: 40px; }
}
.sp-about-story .sp-about-story__label.sp-about-story__label {
	margin-bottom: 20px;
	font-size: var(--wp--preset--font-size--label);
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.6;
}
.sp-about-story .sp-about-story__title {
	font-size: var(--wp--preset--font-size--heading-2);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.025em;
}
.sp-about-story .sp-about-story__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.625;
	color: color-mix(in srgb, var(--wp--preset--color--black) 60%, transparent);
}
@media (min-width: 640px) {
	.sp-about-story .sp-about-story__text.sp-about-story__text { margin-bottom: 40px; }
}
@media (min-width: 1024px) {
	.sp-about-story .sp-about-story__text.sp-about-story__text {
		margin-bottom: 0;
		min-height: 350px;
		padding-top: 40px;
		font-size: 20px;
	}
}
.sp-about-story .sp-about-story__shape {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	margin: 0;
}
@media (min-width: 640px) {
	.sp-about-story .sp-about-story__shape { bottom: 0; }
}
.sp-about-story .sp-about-story__shape img,
.sp-about-story .sp-about-story__shape svg {
	display: block;
	width: 100%;
	max-width: 1920px;
	height: auto;
	margin-inline: auto;
}
/* Paths hidden until the shape scrolls in (about-story.js), front end only. */
html.sp-js .sp-about-story__shape svg path {
	/* GSAP power2.out is the cubic ease-out. */
	transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
html.sp-js .sp-about-story__shape:not(.is-in) svg path {
	opacity: 0;
	transform: translateY(16px);
	transition-delay: 0s !important;
}
@media (prefers-reduced-motion: reduce) {
	html.sp-js .sp-about-story__shape:not(.is-in) svg path { opacity: 1; transform: none; }
}
