/* Natural reading flow with the shared ACON mobile shell. */
body.page-template-page-fields .fields-page { overflow-x: clip; }
body.page-template-page-fields .fields-page > section {
	display: block;
	height: auto;
	min-height: 0;
	max-height: none;
	padding: var(--home-section-space) 0;
	scroll-margin-top: var(--acon-header-height);
	scroll-snap-align: none;
}
body.page-template-page-fields :is(.fields-hero__shell, .fields-section-3__shell, .fields-section-4__shell) {
	width: calc(100% - 2 * var(--acon-shell-gutter));
	margin: 0 auto;
	padding: 0;
}
body.page-template-page-fields :is(.fields-section-3__content, .fields-section-4__content) { width: 100%; margin: 0; }
body.page-template-page-fields .fields-page > .fields-hero {
	display: flex;
	align-items: flex-end;
	min-height: clamp(440px, 72svh, 640px);
	padding: calc(var(--acon-header-height) + 40px) 0 48px;
}
body.page-template-page-fields .fields-hero::after { background: linear-gradient(180deg, #07182d26 0%, #07182d66 40%, #07182de6 100%); }
body.page-template-page-fields .fields-hero__breadcrumb { margin: 0 0 16px; gap: 8px; font-size: 11px; line-height: 1.6; color: #e0eaf2; }
body.page-template-page-fields .fields-hero__breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
body.page-template-page-fields .fields-hero__title { max-width: 16ch; font-size: clamp(34px, 9vw, 44px); line-height: 1.2; letter-spacing: -.025em; }
body.page-template-page-fields :is(.fields-section-3__title, .fields-section-4__title, .closing-v3__message h2) {
	font-size: var(--home-title-size);
	line-height: 1.28;
	letter-spacing: -.025em;
	max-width: none;
	margin: 0;
	text-wrap: pretty;
}
body.page-template-page-fields :is(.fields-section-3__title-light, .fields-section-4__title-light) { margin-top: 4px; font-weight: 500; }
body.page-template-page-fields :is(.fields-section-3__intro, .fields-section-4__intro) {
	max-width: none;
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 1.75;
	font-weight: 400;
}
body.page-template-page-fields .fields-section-4__intro { color: #e0eaf2; }
body.page-template-page-fields .fields-section-3__intro { color: #526174; }

/* Use the same admin-selected illustrations, without the tall background stage. */
body.page-template-page-fields :is(.fields-section-3, .fields-section-4)::before,
body.page-template-page-fields :is(.fields-section-3, .fields-section-4)::after { display: none; }
body.page-template-page-fields .fields-service-media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 28px 0;
	border-radius: 6px;
	overflow: hidden;
}
body.page-template-page-fields .fields-service-media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--field-image) center / cover no-repeat;
	transform: scaleX(var(--field-image-direction, 1));
}
body.page-template-page-fields .fields-mep-register { margin: 0; }
body.page-template-page-fields .fields-mep-row { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; padding: 20px 0; }
body.page-template-page-fields .fields-mep-row__code { font-size: 12px; line-height: 24px; }
body.page-template-page-fields :is(.fields-mep-row h3, .fields-finishing-scope h3) {
	font-size: 17px;
	line-height: 1.45;
	text-transform: none;
	text-wrap: pretty;
	margin: 0 0 8px;
}
body.page-template-page-fields :is(.fields-mep-row p, .fields-finishing-scope p, .fields-mep-commitment) { font-size: 14px; line-height: 1.75; font-weight: 400; }
body.page-template-page-fields .fields-mep-row p { color: #d4e2ed; }
body.page-template-page-fields .fields-mep-commitment { margin: 24px 0 0; color: #d4e2ed; }
body.page-template-page-fields .fields-finishing-scope p { color: #526174; }
body.page-template-page-fields .fields-finishing-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 18px 0;
	font-size: 11px;
	line-height: 1.6;
	letter-spacing: .04em;
}
body.page-template-page-fields .fields-finishing-flow span { display: block; position: relative; white-space: normal; overflow-wrap: anywhere; }
body.page-template-page-fields .fields-finishing-flow span + span::before { position: absolute; left: -17px; top: 0; margin: 0; font-size: 14px; }
body.page-template-page-fields .fields-finishing-scopes { grid-template-columns: minmax(0, 1fr); gap: 0 24px; margin-top: 12px; }
body.page-template-page-fields .fields-finishing-scope { padding: 20px 0; }
body.page-template-page-fields .fields-finishing-scope:first-child { border-top: 0; }
body.page-template-page-fields .fields-finishing-scope:last-child { padding-bottom: 0; }
body.page-template-page-fields .closing-v3__message h2 { font-weight: 800; }

@media (min-width: 600px) {
	body.page-template-page-fields .fields-service-media { aspect-ratio: 16 / 9; }
	body.page-template-page-fields .fields-finishing-scopes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.page-template-page-fields .fields-finishing-scope:nth-child(2) { border-top: 0; }
}
