/* =========================================================
   About Us page (page-about-us.php)

   Live runs the story and Why Us sections full-bleed: the image reaches the
   window edge on one side while the text keeps the site gutter on the other.
   A two-column grid whose text side is padded to the container edge does
   that without any negative margins.
   ========================================================= */

/* ---------------- Story ---------------- */
.sp-story { background: #fff; }
.sp-story__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.sp-story__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2.25rem;
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 5vw, 4.5rem)
	         max(4vw, calc((100vw - 1440px) / 2));
}
.sp-story__block h2 { line-height: 1.04; margin-bottom: 1.25rem; }
.sp-story__block p { line-height: 1.6; margin-bottom: .9rem; }
.sp-story__block p:last-child { margin-bottom: 0; }
.sp-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; }

/* ---------------- Why Us ---------------- */
.sp-whyus { background: #313130; }   /* charcoal, matches live */
.sp-whyus__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.sp-whyus__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; }
.sp-whyus__panel { display: flex; align-items: center; }
.sp-whyus__inner {
	padding: clamp(2.5rem, 5vw, 4.5rem) max(4vw, calc((100vw - 1440px) / 2))
	         clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
}
.sp-whyus__inner h2 { margin-bottom: 1.5rem; }
.sp-whyus__list { margin: 0 0 .5rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .8rem; }
.sp-whyus__list li { line-height: 1.5; font-size: 1.0625rem; }
.sp-whyus__list li::marker { color: rgba(255, 255, 255, .7); }
.sp-whyus__inner .sp-footnote { margin-bottom: 1.75rem; }

/* ---------------- Services we provide ---------------- */
.sp-provide { background: #000; }
/* The section is black but carries no .sp-dark, so the heading was taking the
   default near-black and only its red accent half showed. */
.sp-provide__heading { margin-bottom: 2.25rem; color: #fff; }
.sp-provide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0; }
.sp-provide__item { display: flex; }
/* The red edge is the whole treatment on live: a white plate, red on the left. */
.sp-provide__link {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 64px;
	padding: .9rem 1.1rem;
	background: #fff;
	color: var(--heading-color);
	border-left: 5px solid var(--primary-color);
	text-decoration: none;
	font-size: 1.0625rem;
	line-height: 1.3;
	transition: background .25s ease, color .25s ease;
}
.sp-provide__link:hover { background: var(--primary-color); color: #fff; }

/* Testimonials use the shared slider (global.css), not a page-local grid. */

@media (max-width: 991.98px) {
	.sp-story__grid,
	.sp-whyus__grid { grid-template-columns: 1fr; }
	/* Stacked, the panels no longer sit against a window edge, so the padding
	   goes back to an even gutter. */
	.sp-story__text,
	.sp-whyus__inner { padding-inline: 4vw; }
	.sp-story__media { order: -1; }
	.sp-story__media img,
	.sp-whyus__media img { min-height: 280px; max-height: 380px; }
	.sp-provide__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
	.sp-provide__grid { grid-template-columns: 1fr; }
}
