/**
 * V1.5.5 controlled width and readability corrections.
 *
 * The approved 1280px V1.5.3 container, component geometry, interactions, and
 * responsive rules remain the source of truth. This layer only constrains a
 * small set of desktop reading widths and makes the four KPI columns explicit.
 */

@media (min-width: 1361px) {
	/* Preserve the established hero split while keeping its text column readable. */
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-hero__copy-column {
		width: min(650px, calc(100% - 24px)) !important;
		max-width: 650px !important;
	}
}

@media (min-width: 1181px) {
	/* These short introductions belong to their headings, not to the full grid. */
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) :is(
		.cpt-v110-strength-section,
		.cpsk-section--signature-process,
		.cpsk-section--industry-teaser
	) .cpsk-v7-section-heading__intro {
		max-width: 760px;
	}

	/* Positioning statement: controlled headline and prose measure. */
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-section--positioning .cpsk-v7-section-heading__title {
		max-width: 950px;
	}

	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-section--positioning .cpsk-v7-editorial,
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-section--positioning .cpsk-v7-editorial p {
		max-width: 760px !important;
	}

	/* Remove the legacy 46/17 exception without introducing another type step. */
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-section--key-figures,
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-section--cta {
		--cpt-home-section: 42px;
		--cpt-home-text: 18px;
	}

	/* All four figures receive the same track and shared value/label baselines. */
	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		align-items: stretch;
	}

	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-stat {
		min-width: 0;
	}

	.cpsk-site:is(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-stat :is(dt, dd) {
		width: 100%;
	}

	/* Subpages retain the 1280px axis; only long reading lines are constrained. */
	.cpsk-site:not(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-hero__lead {
		max-width: 760px;
	}

	.cpsk-site:not(.cpsk-page--home, .cpsk-page--en-home) .cpsk-v7-section-heading__title {
		max-width: 950px;
	}

	/* The approved German capabilities heading fits naturally on one line. */
	.cpsk-site.cpsk-page--services #cpsk-section-services-capabilities .cpsk-v7-section-heading__title {
		max-width: 1040px;
	}

	.cpsk-site:is(
		.cpsk-page--supply-chain,
		.cpsk-page--en-supply-chain,
		.cpsk-page--contact,
		.cpsk-page--en-contact
	) .cpsk-v7-hero__copy-column,
	.cpsk-site:is(
		.cpsk-page--supply-chain,
		.cpsk-page--en-supply-chain,
		.cpsk-page--contact,
		.cpsk-page--en-contact
	) .cpsk-v7-hero__title {
		width: min(100%, 820px) !important;
		max-width: 820px !important;
	}
}
