.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	clip-path: inset(50%);
}

/* Podstrony V5 korzystają z palety i miar zaakceptowanej strony głównej. */
.editorial {
	padding-block: clamp(44px, 5.6vw, 84px);
}
.editorial h2,
.cover-copy h1 {
	text-wrap: balance;
}
.editorial-head {
	max-width: 800px;
	margin-bottom: clamp(26px, 3vw, 46px);
}
.editorial-head p,
.contents-layout header p,
.analysis-layout p,
.flat-result > div > p {
	margin-top: 16px;
	max-width: 68ch;
}
.editorial-head p,
.cover-copy > p,
.narrative p,
.contents-layout header p,
.scope-stories article > p,
.case-columns p {
	font-size: clamp(1rem, 1.18vw, 1.105rem);
	line-height: 1.65;
}
.v5-cover {
	padding-bottom: clamp(38px, 4.6vw, 72px);
}
.v5-cover .crumb {
	color: var(--tech);
	padding-block: 24px;
	margin: 0;
}
.cover-layout,
.analysis-layout,
.contents-layout,
.heating-layout,
.flat-result {
	display: grid;
	gap: clamp(28px, 5.3vw, 88px);
	align-items: center;
}
.cover-layout {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}
.cover-copy {
	max-width: 65ch;
}
.cover-copy h1 {
	max-width: 15ch;
}
.cover-copy > p {
	margin-top: 20px;
}
.delivery-note {
	border-inline-start: 2px solid var(--orange-light);
	padding-inline-start: 18px;
	margin-block: 24px;
}
.delivery-note > p + p {
	margin-top: 8px;
}

.flat-document {
	background: var(--white);
	color: var(--night);
	padding: clamp(22px, 2.4vw, 38px);
	box-shadow: 0 5px 20px rgb(20 37 45 / 0.09);
	min-width: 0;
}
.doc-imprint {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--night);
	color: var(--night);
	font-size: 0.86rem;
}
.doc-imprint strong {
	font-weight: 800;
}
.doc-imprint span {
	color: var(--muted);
}
.doc-cover > figcaption,
.flat-document h3 {
	margin-block: 20px;
}
.observation-lines dt,
.contents-layout {
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	align-items: start;
}
.contents-layout header {
	max-width: 45ch;
}
.chapter-list {
	padding: 0;
	list-style: none;
	counter-reset: chapter;
}
.chapter-list li {
	position: relative;
	padding-left: 3.3rem;
	counter-increment: chapter;
}
.chapter-list li + li {
	margin-top: 18px;
}
.chapter-list li::before {
	content: counter(chapter, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: var(--orange);
}
.chapter-list h3,
.narrative h3 {
	font-size: clamp(1.16rem, 1.6vw, 1.45rem);
}
.chapter-list p,
.narrative h3 + p {
	margin-top: 5px;
}
.analysis-layout {
	grid-template-columns: minmax(0, 1.17fr) minmax(0, 0.83fr);
}
.analysis-steps {
	list-style-position: inside;
	margin-top: 20px;
	padding: 12px 0 0;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px 16px;
	overflow-wrap: anywhere;
}
.report-end .end-action {
	flex-wrap: wrap;
}
.report-end .actions {
	margin: 0;
}
.report-end .actions .btn {
	flex: 0 1 auto;
}
.analysis-steps li::marker {
	color: var(--orange);
	font-weight: 750;
}
.case-columns,
.house-methods {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(22px, 5vw, 78px);
}
.case-columns p,
.scope-stories article > p,
.combined-scope p,
.narrative p + p {
	margin-top: 12px;
}
.narrative {
	max-width: 72ch;
}
.narrative h3:not(:first-child) {
	margin-top: 25px;
}
.scope-stories article {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	gap: 0 clamp(24px, 4vw, 64px);
	align-content: start;
}
.scope-stories article + article {
	margin-top: clamp(30px, 4vw, 60px);
}
.scope-stories article > figure {
	grid-row: 1 / span 4;
	align-self: start;
}
.scope-stories article > :not(figure) {
	grid-column: 2;
	max-width: 72ch;
}
.scope-stories img {
	width: 100%;
	height: auto;
}
.scope-stories .actions {
	margin-top: 8px;
}
@media (max-width: 760px) {
	.scope-stories article {
		display: block;
	}
	.scope-stories figure {
		margin-bottom: 16px;
		max-width: 420px;
	}
}
#wycena h2 + p {
	margin-top: 14px;
}
#struktura {
	display: block;
}
#struktura header {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 5vw;
	max-width: none;
	align-items: start;
	margin-bottom: 28px;
}
#struktura header p {
	margin: 0;
}
.chapter-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 5vw;
}
.chapter-list li + li {
	margin-top: 0;
}
@media (max-width: 760px) {
	#struktura header,
	.chapter-list {
		grid-template-columns: 1fr;
	}
}
.combined-scope,
.moisture-story {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(18px, 3vw, 46px);
	padding: clamp(22px, 3vw, 42px);
	background: var(--cream);
	margin-top: 32px;
	align-items: start;
}
.combined-scope p {
	margin: 0;
}
.house-methods {
	gap: 20px;
	margin-top: 24px;
}
.house-methods article {
	display: grid;
	grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	background: white;
	padding: 22px;
}
.house-methods h3 + p,
.house-combined {
	margin-top: 12px;
}
.method-packshot img {
	width: 100%;
	height: 166px;
	object-fit: contain;
}
.house-combined {
	max-width: 83ch;
}
.section:has(> .moisture-story) .observations {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.heating-layout {
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.heating-camera {
	padding: clamp(24px, 3vw, 44px);
	background: white;
	display: grid;
	grid-template-columns: minmax(70px, 0.55fr) minmax(0, 1fr);
	align-items: center;
	gap: 22px;
}
.heating-camera img {
	width: 100%;
	max-height: 285px;
	object-fit: contain;
}
.heating-camera p {
	margin-top: 12px;
}
.prep-list {
	margin: 0;
	padding-inline-start: 1.4rem;
	max-width: 70ch;
}
.prep-list li {
	padding-inline-start: 8px;
}
.prep-list li + li {
	margin-top: 13px;
}
.prep-list li::marker {
	color: var(--orange);
}
.flat-result {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.flat-document {
	max-width: 470px;
}
.flat-document p + p {
	margin-top: 12px;
}
.flat-document p strong {
	display: block;
	color: var(--night);
}
.flat-result .actions {
	margin-top: 12px;
}
@media (min-width: 761px) and (max-width: 1050px) {
	.house-methods article,
	.heating-camera {
		grid-template-columns: 1fr;
	}
	.heating-camera img {
		max-height: 185px;
	}
}
@media (max-width: 760px) {
	.cover-layout,
	.analysis-layout,
	.contents-layout,
	.heating-layout,
	.flat-result,
	.case-columns,
	.house-methods,
	.moisture-story,
	.combined-scope {
		grid-template-columns: 1fr;
	}
	.cover-copy h1 {
		max-width: 17ch;
	}

	.contents-layout header {
		max-width: 65ch;
	}
	.analysis-layout > div {
		grid-row: 1;
	}
	.heating-camera {
		grid-row: 2;
	}
	.flat-document {
		width: 100%;
	}
	.chapter-list li {
		padding-inline-start: 2.7rem;
	}
}
@media (max-width: 520px) {
	.analysis-steps,
	.section:has(> .moisture-story) .observations {
		grid-template-columns: 1fr;
	}
	.house-methods article {
		grid-template-columns: 1fr;
	}
	.method-packshot img {
		height: 150px;
	}
	.heating-camera {
		padding: 18px;
		gap: 16px;
	}
}

.report-illustration {
	justify-self: center;
	width: min(100%, 480px);
	height: auto;
	aspect-ratio: 440 / 380;
}
@media (max-width: 760px) {
	.report-illustration {
		width: min(82%, 390px);
	}
}
