/**
 * Single Project — Oct 2026 HARD RESET of the body composition.
 *
 * ONE GRID: every section sits on .kleyman-sp-shell (max 1440px + shared
 * side padding) and, where it has columns, on the 12-column .kleyman-sp-grid.
 * The hero's inner shell uses the same edge math compensated for the
 * global hero inset (--hero-side-gap-*), so hero content, facts, every H2,
 * the gallery, the map, the form and the related cards all start and end on
 * the same two vertical lines.
 *
 * Reuses sitewide tokens from main.css (--kleyman-dark, --kleyman-green,
 * --kleyman-border, --kleyman-light, --kleyman-text(-muted), --kleyman-ease)
 * and the global hero shell (margin / radius / clipping) defined there.
 * True RTL: logical properties throughout. Grid column 1 = the right edge.
 *
 * @package Kleyman
 */

/* --------------------------------------------------------------------------
   Tokens + the one grid
   -------------------------------------------------------------------------- */
.kleyman-sp {
	--sp-max: 1440px;
	--sp-pad: clamp(20px, 5.4vw, 88px);
	--sp-gap: clamp(16px, 2vw, 30px);
	--sp-section: clamp(72px, 7.2vw, 104px);
	--sp-hero-gap: var(--hero-side-gap-desktop, 32px);
	--sp-header-clear: calc(var(--header-top-desktop, 20px) + var(--header-height-desktop, 68px));
	--sp-radius: 20px;
	direction: rtl;
	overflow-x: clip;
}
.kleyman-sp h1, .kleyman-sp h2, .kleyman-sp h3 { margin: 0; }
.kleyman-sp p { margin: 0; }

/* Same right/left edge for every section: centred 1440px box + side
   padding, expressed as padding on a full-width block (padding % resolves
   against the section's width) so nested grids never shift the edges. */
.kleyman-sp-shell {
	box-sizing: border-box;
	width: 100%;
	padding-inline: calc(max((100% - var(--sp-max)) / 2, 0px) + var(--sp-pad));
}
.kleyman-sp-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--sp-gap);
}
.kleyman-sp-section { padding-block: var(--sp-section); }

/* Shared type system (brief §14 / §37) */
.kleyman-sp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--kleyman-green);
}
.kleyman-sp-eyebrow::before {
	content: '';
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.kleyman-sp-h2 {
	margin-block-start: 14px;
	font-size: clamp(40px, 3.8vw, 58px);
	line-height: 1.05;
	letter-spacing: -.015em;
	color: var(--kleyman-dark);
	text-wrap: balance;
}
.kleyman-sp-light { font-weight: 350; }
.kleyman-sp-strong { font-weight: 800; }
.kleyman-sp-head { margin-block-end: clamp(40px, 4.2vw, 62px); text-align: right; }
.kleyman-sp-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

/* ==========================================================================
   01 — HERO
   ========================================================================== */
.kleyman-sp-hero {
	height: clamp(600px, 70vh, 880px);
	background: var(--kleyman-dark);
	isolation: isolate;
}
.kleyman-sp-hero__media { position: absolute; inset: 0; z-index: 0; }
.kleyman-sp-hero__img,
.kleyman-sp-hero__video,
.kleyman-sp-hero__video-frame,
.kleyman-sp-hero__media picture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.kleyman-sp-hero__video-frame { border: 0; pointer-events: none; transform: scale(1.3); }
.kleyman-sp-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(12, 22, 58, .48) 0%, rgba(12, 22, 58, 0) 26%, rgba(12, 22, 58, 0) 70%, rgba(12, 22, 58, .38) 100%),
		linear-gradient(to left, rgba(12, 22, 58, .78) 0%, rgba(12, 22, 58, .46) 38%, rgba(12, 22, 58, .08) 72%, rgba(12, 22, 58, 0) 100%);
}

/* Inner shell: same edges as .kleyman-sp-shell, minus the hero's own inset
   (100% here = the hero's width, which is the page width minus 2 × gap).
   Content sits in the band between the header and the facts rail, which
   puts its centre at ~55% of the hero height (brief §3: 52–58%). */
.kleyman-sp-hero__shell {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding-block: calc(var(--sp-header-clear) + 22px) 56px;
	padding-inline: calc(max((100% + 2 * var(--sp-hero-gap) - var(--sp-max)) / 2, 0px) + var(--sp-pad) - var(--sp-hero-gap));
}
.kleyman-sp-hero__content {
	max-width: min(780px, 62%);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.kleyman-sp-hero__crumbs { margin-block-end: 22px; }
.kleyman-sp-hero__crumbs .kleyman-breadcrumbs { color: rgba(255, 255, 255, .72); font-size: 15px; }
.kleyman-sp-hero__crumbs .kleyman-breadcrumbs a { color: rgba(255, 255, 255, .9); }
.kleyman-sp-hero__crumbs .kleyman-breadcrumbs a:hover { color: #fff; }
.kleyman-sp-hero__crumbs .kleyman-breadcrumbs li:not(:last-child)::after { color: rgba(255, 255, 255, .5); }

.kleyman-sp-hero__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .24);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 15px;
	font-weight: 600;
	margin-block-end: 22px;
}
.kleyman-sp-hero__status-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--kleyman-green);
	box-shadow: 0 0 0 4px rgba(17, 121, 58, .28);
}

.kleyman-sp-hero__title {
	font-size: clamp(56px, 5.7vw, 94px);
	line-height: .96;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.kleyman-sp-hero__title-light { font-weight: 350; }
.kleyman-sp-hero__title-bold { font-weight: 800; }

.kleyman-sp-hero__place {
	margin-block-start: 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-size: clamp(18px, 1.3vw, 21px);
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
}
.kleyman-sp-hero__sep { width: 6px; height: 6px; border-radius: 50%; background: var(--kleyman-green); }

.kleyman-sp-hero__tagline {
	margin-block-start: 12px;
	max-width: 46ch;
	font-size: clamp(17px, 1.2vw, 20px);
	line-height: 1.55;
	color: rgba(255, 255, 255, .78);
}

.kleyman-sp-hero__cta {
	margin-block-start: 32px;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 56px;
	padding-inline: 30px;
	border-radius: 999px;
	background: var(--kleyman-green);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 14px 30px rgba(17, 121, 58, .3);
	transition: background-color .25s var(--kleyman-ease), gap .25s var(--kleyman-ease), transform .25s var(--kleyman-ease);
}
.kleyman-sp-hero__cta:hover { background: #189138; gap: 18px; color: #fff; }
.kleyman-sp-hero__cta svg { width: 22px; height: 22px; }

/* ==========================================================================
   02 — FACTS RAIL (brief §9) — 1px dividers come from the list's own
   background showing through a 1px grid gap, so they stay correct for any
   number of facts and any column count.
   ========================================================================== */
.kleyman-sp-facts-wrap { position: relative; z-index: 3; margin-block-start: -78px; }
.kleyman-sp-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--sp-facts-count, 4), minmax(160px, 1fr));
	gap: 1px;
	background: var(--kleyman-border);
	border: 1px solid var(--kleyman-border);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 26px 60px rgba(12, 22, 58, .10);
}
.kleyman-sp-facts__item {
	background: #fff;
	min-width: 0;
	padding: 30px clamp(22px, 2.2vw, 32px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
/* Duotone icon tile: soft green-tinted rounded square, navy line art,
   brand-green accent stroke, light fill plate behind the main shape. */
.kleyman-sp-facts__icon {
	position: relative;
	width: 66px;
	height: 66px;
	margin-block-end: 10px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(17, 121, 58, .16) 0%, rgba(17, 121, 58, 0) 60%),
		linear-gradient(160deg, #f4f8f5 0%, #eaf1ee 100%);
	box-shadow: inset 0 0 0 1px rgba(17, 121, 58, .14), 0 10px 22px -12px rgba(12, 22, 58, .25);
	transition: transform .35s var(--kleyman-ease, ease), box-shadow .35s ease;
}
.kleyman-sp-facts__icon::after {
	content: "";
	position: absolute;
	inset-block-start: 9px;
	inset-inline-start: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--kleyman-green);
	opacity: .55;
}
.kleyman-sp-facts__icon svg { width: 44px; height: 44px; display: block; overflow: visible; }
.kleyman-sp-facts__icon .ki-f { fill: rgba(17, 121, 58, .16); stroke: none; }
.kleyman-sp-facts__icon .ki-l { stroke: var(--kleyman-dark); }
.kleyman-sp-facts__icon .ki-a { stroke: var(--kleyman-green); stroke-width: 2.2; }
.kleyman-sp-facts__item:first-child .kleyman-sp-facts__icon {
	background: linear-gradient(150deg, #11793A 0%, #0B5E2B 100%);
	box-shadow: 0 14px 26px -12px rgba(17, 121, 58, .65);
}
.kleyman-sp-facts__item:first-child .kleyman-sp-facts__icon::after { background: #fff; opacity: .7; }
.kleyman-sp-facts__item:first-child .kleyman-sp-facts__icon .ki-f { fill: rgba(255, 255, 255, .22); }
.kleyman-sp-facts__item:first-child .kleyman-sp-facts__icon .ki-l { stroke: #fff; }
.kleyman-sp-facts__item:first-child .kleyman-sp-facts__icon .ki-a { stroke: #c8f2d5; }
@media (hover: hover) and (pointer: fine) {
	.kleyman-sp-facts__item:hover .kleyman-sp-facts__icon { transform: translateY(-4px) rotate(-3deg); box-shadow: inset 0 0 0 1px rgba(17, 121, 58, .3), 0 18px 30px -14px rgba(12, 22, 58, .35); }
}
.kleyman-sp-facts__value {
	font-size: clamp(28px, 2.3vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--kleyman-dark);
	white-space: nowrap;
}
.kleyman-sp-facts__label { font-size: 15px; font-weight: 500; color: var(--kleyman-text-muted); }

/* ==========================================================================
   03 — ABOUT (cols 1–5, right) + EDITORIAL GALLERY (cols 6–12, left)
   ========================================================================== */
.kleyman-sp-about { background: #fff; }
.kleyman-sp-about .kleyman-sp-grid { align-items: center; row-gap: 44px; }
.kleyman-sp-about__text { grid-column: 1 / span 5; }
.kleyman-sp-gallery { grid-column: 6 / span 7; }
.kleyman-sp-about--text-only .kleyman-sp-about__text { grid-column: 1 / span 8; }
.kleyman-sp-about--media-only .kleyman-sp-gallery { grid-column: 1 / -1; }

.kleyman-sp-about__role {
	margin-block-start: 18px;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--kleyman-light);
	font-size: 15px;
}
.kleyman-sp-about__role-k { font-weight: 600; color: var(--kleyman-text-muted); }
.kleyman-sp-about__role-v { font-weight: 700; color: var(--kleyman-dark); }
.kleyman-sp-about__body {
	margin-block-start: 26px;
	font-size: clamp(18px, 1.25vw, 20px);
	line-height: 1.75;
	color: var(--kleyman-text);
}
.kleyman-sp-about__lead { font-weight: 500; color: var(--kleyman-dark); }
.kleyman-sp-about__lead + .kleyman-sp-about__block,
.kleyman-sp-about__block + .kleyman-sp-about__block { margin-block-start: 18px; }
.kleyman-sp-about__block-label {
	display: block;
	margin-block-end: 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--kleyman-text-muted);
}
.kleyman-sp-about__body .kleyman-wysiwyg { font-size: inherit; line-height: inherit; color: inherit; }
.kleyman-sp-about__body .kleyman-wysiwyg p { margin-block-end: .9em; }
.kleyman-sp-about__body .kleyman-wysiwyg p:last-child { margin-block-end: 0; }

/* "קרא עוד" — only when JS measured the text as longer than ~5 lines. */
.kleyman-sp-about__body.is-collapsible:not(.is-expanded) {
	max-height: calc(1.75em * 5.4);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.kleyman-sp-readmore {
	margin-block-start: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 0 4px;
	background: none;
	border: 0;
	border-bottom: 2px solid var(--kleyman-green);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--kleyman-dark);
	cursor: pointer;
}
.kleyman-sp-readmore svg { width: 20px; height: 20px; transition: transform .3s var(--kleyman-ease); }
.kleyman-sp-readmore[aria-expanded="true"] svg { transform: rotate(180deg); }
.kleyman-sp-readmore[hidden] { display: none; }

/* Editorial gallery: main image on the outer (left) side, 1–2 secondary
   images stacked next to the text; "+X לכל התמונות" on the last one. */
.kleyman-sp-gallery__grid {
	display: grid;
	gap: 14px;
	height: clamp(440px, 38vw, 580px);
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}
.kleyman-sp-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--sp-radius);
	background: var(--kleyman-light);
}
.kleyman-sp-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .7s var(--kleyman-ease);
}
a.kleyman-sp-gallery__item:hover img { transform: scale(1.045); }
.kleyman-sp-gallery__item--overflow { display: none; }

.kleyman-sp-gallery--count-3 .kleyman-sp-gallery__item:nth-child(1) { grid-column: 2 / span 2; grid-row: 1 / -1; }
.kleyman-sp-gallery--count-3 .kleyman-sp-gallery__item:nth-child(2) { grid-column: 1; grid-row: 1; }
.kleyman-sp-gallery--count-3 .kleyman-sp-gallery__item:nth-child(3) { grid-column: 1; grid-row: 2; }
.kleyman-sp-gallery--count-2 .kleyman-sp-gallery__item:nth-child(1) { grid-column: 2 / span 2; grid-row: 1 / -1; }
.kleyman-sp-gallery--count-2 .kleyman-sp-gallery__item:nth-child(2) { grid-column: 1; grid-row: 1 / -1; }
.kleyman-sp-gallery--count-1 .kleyman-sp-gallery__item:nth-child(1) { grid-column: 1 / -1; grid-row: 1 / -1; }

.kleyman-sp-gallery__more {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	background: rgba(12, 22, 58, .58);
	color: #fff;
	transition: background-color .3s var(--kleyman-ease);
}
.kleyman-sp-gallery__more strong { font-size: 36px; font-weight: 800; line-height: 1; }
.kleyman-sp-gallery__more span { font-size: 15px; font-weight: 600; }
a.kleyman-sp-gallery__item:hover .kleyman-sp-gallery__more { background: rgba(12, 22, 58, .7); }

/* ==========================================================================
   03b — FEATURES (real ACF items only, brief §15: icon 46–56, title 20–24)
   ========================================================================== */
.kleyman-sp-features { background: #fff; padding-block-start: 0; }
.kleyman-sp-features__list { list-style: none; margin: 0; padding: 0; row-gap: 22px; }
.kleyman-sp-features__item {
	grid-column: span 4;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 24px;
	border-radius: var(--sp-radius);
	background: var(--kleyman-light);
	min-width: 0;
}
.kleyman-sp-features__icon {
	flex: none;
	width: 52px;
	height: 52px;
	color: var(--kleyman-green);
}
.kleyman-sp-features__icon svg { width: 100%; height: 100%; display: block; }
.kleyman-sp-features__text { font-size: clamp(18px, 1.35vw, 21px); font-weight: 700; line-height: 1.35; color: var(--kleyman-dark); }

/* ==========================================================================
   04 — PROGRESS — premium stepper (brief §16–20)
   ========================================================================== */
.kleyman-sp-progress { background: var(--kleyman-light); }
.kleyman-sp-progress__rail {
	--node: 72px;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--sp-steps, 5), minmax(0, 1fr));
	column-gap: var(--sp-gap);
}
/* Track from the first node's centre to the last node's centre. */
.kleyman-sp-progress__rail::before,
.kleyman-sp-progress__rail::after {
	content: '';
	position: absolute;
	top: calc(var(--node) / 2 - 2px);
	height: 4px;
	border-radius: 4px;
	inset-inline: calc((100% - (var(--sp-steps, 5) - 1) * var(--sp-gap)) / var(--sp-steps, 5) / 2);
}
.kleyman-sp-progress__rail::before { background: #DDE1E8; }
.kleyman-sp-progress__rail::after {
	background: linear-gradient(to left, var(--kleyman-dark), var(--kleyman-green));
	transform-origin: right center;
	transform: scaleX(var(--sp-progress-fill, 0));
	transition: transform 1.5s var(--kleyman-ease);
}

.kleyman-sp-progress__step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.js-anim-ready .kleyman-sp-progress__step {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s var(--kleyman-ease), transform .6s var(--kleyman-ease);
}
.js-anim-ready .kleyman-sp-progress__step.is-visible { opacity: 1; transform: none; }

.kleyman-sp-progress__node { height: var(--node); display: flex; align-items: center; justify-content: center; }
.kleyman-sp-progress__circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 2px solid #DDE1E8;
	color: #9AA1AD;
	transition: background-color .4s var(--kleyman-ease), border-color .4s var(--kleyman-ease), color .4s var(--kleyman-ease);
}
.kleyman-sp-progress__circle svg { width: 30px; height: 30px; }
.kleyman-sp-progress__step--done .kleyman-sp-progress__circle {
	background: var(--kleyman-dark);
	border-color: var(--kleyman-dark);
	color: #fff;
}
.kleyman-sp-progress__step--current .kleyman-sp-progress__circle {
	width: var(--node);
	height: var(--node);
	background: #fff;
	border: 3px solid var(--kleyman-green);
	color: var(--kleyman-green);
	box-shadow: 0 0 0 10px rgba(17, 121, 58, .12), 0 16px 34px rgba(17, 121, 58, .24);
}
.kleyman-sp-progress__step--current .kleyman-sp-progress__circle svg { width: 42px; height: 42px; }

.kleyman-sp-progress__body {
	margin-block-start: 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.kleyman-sp-progress__flag {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(17, 121, 58, .12);
	color: var(--kleyman-green);
	font-size: 13px;
	font-weight: 700;
}
.kleyman-sp-progress__state { font-size: 13px; font-weight: 600; color: var(--kleyman-text-muted); }
.kleyman-sp-progress__label { font-size: 19px; font-weight: 600; color: #8A919D; }
.kleyman-sp-progress__step--done .kleyman-sp-progress__label { color: var(--kleyman-dark); font-weight: 700; }
.kleyman-sp-progress__step--current .kleyman-sp-progress__label { font-size: 24px; font-weight: 800; color: var(--kleyman-dark); }
.kleyman-sp-progress__note { font-size: 15px; line-height: 1.45; color: var(--kleyman-text-muted); max-width: 18ch; }
.kleyman-sp-progress__step--upcoming .kleyman-sp-progress__note { opacity: .75; }
.kleyman-sp-progress__desc {
	margin-block-start: 8px;
	padding: 12px 18px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(17, 121, 58, .24);
	font-size: 15px;
	line-height: 1.5;
	color: var(--kleyman-dark);
	max-width: 24ch;
}

/* ==========================================================================
   05 — LOCATION (cols 1–5) + MAP (cols 6–12)
   ========================================================================== */
.kleyman-sp-location { background: #fff; }
.kleyman-sp-location .kleyman-sp-grid { align-items: center; row-gap: 36px; }
.kleyman-sp-location__text { grid-column: 1 / span 5; }
.kleyman-sp-location__map { grid-column: 6 / span 7; }
.kleyman-sp-location--no-map .kleyman-sp-location__text { grid-column: 1 / span 8; }

.kleyman-sp-location__desc {
	margin-block-start: 18px;
	font-size: clamp(18px, 1.25vw, 20px);
	line-height: 1.7;
	color: var(--kleyman-text);
}
.kleyman-sp-location__desc p { margin-block-end: .8em; }
.kleyman-sp-location__desc p:last-child { margin-block-end: 0; }
.kleyman-sp-location__list {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.kleyman-sp-location__list li { display: flex; align-items: center; gap: 16px; }
.kleyman-sp-location__icon {
	flex: none;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--kleyman-light);
	color: var(--kleyman-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}
.kleyman-sp-location__icon svg { width: 32px; height: 32px; }
.kleyman-sp-location__k { display: block; font-size: 14px; font-weight: 600; color: var(--kleyman-text-muted); }
.kleyman-sp-location__v { display: block; font-size: clamp(17px, 1.25vw, 19px); font-weight: 600; color: var(--kleyman-dark); line-height: 1.45; }

.kleyman-sp-location__link {
	margin-block-start: 32px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 54px;
	padding-inline: 26px;
	border-radius: 999px;
	border: 1.5px solid var(--kleyman-dark);
	color: var(--kleyman-dark);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .25s var(--kleyman-ease), color .25s var(--kleyman-ease);
}
.kleyman-sp-location__link:hover { background: var(--kleyman-dark); color: #fff; }
.kleyman-sp-location__link svg { width: 22px; height: 22px; }

.kleyman-sp-location__map {
	height: clamp(360px, 28vw, 410px);
	border-radius: var(--sp-radius);
	overflow: hidden;
	background: var(--kleyman-light);
	box-shadow: 0 18px 44px rgba(12, 22, 58, .08);
}
.kleyman-sp-location__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   06 — NAVY LEAD FORM — centred header (the only centred heading on the
   page, brief §26/§36), 4-column real form.
   ========================================================================== */
.kleyman-sp-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(84px, 8vw, 118px);
	background: var(--kleyman-dark);
	color: #fff;
}
.kleyman-sp-cta__symbol {
	position: absolute;
	top: 50%;
	inset-inline-end: -4%;
	height: 150%;
	width: auto;
	transform: translateY(-50%);
	opacity: .045;
	pointer-events: none;
}
.kleyman-sp-cta__inner { position: relative; z-index: 1; }
.kleyman-sp-cta__head { max-width: 860px; margin-inline: auto; text-align: center; }
.kleyman-sp-cta__title {
	font-size: clamp(40px, 4.3vw, 64px);
	line-height: 1.08;
	letter-spacing: -.015em;
	color: #fff;
	text-wrap: balance;
}
.kleyman-sp-cta__title .kleyman-sp-light { color: rgba(255, 255, 255, .86); }
.kleyman-sp-cta__sub {
	margin: 12px auto 38px;
	max-width: 56ch;
	font-size: clamp(18px, 1.3vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .76);
}

.kleyman-sp-lead-form { max-width: 1120px; margin-inline: auto; position: relative; }
.kleyman-sp-lead-form__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 14px;
	align-items: end;
}
.kleyman-sp-lead-form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kleyman-sp-lead-form__field label { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.kleyman-sp-lead-form__field input {
	box-sizing: border-box;
	width: 100%;
	height: 60px;
	border-radius: 14px;
	border: 1.5px solid transparent;
	background: #fff;
	color: var(--kleyman-dark);
	padding-inline: 20px;
	font: inherit;
	font-size: 17px;
	transition: border-color .2s var(--kleyman-ease), box-shadow .2s var(--kleyman-ease);
}
.kleyman-sp-lead-form__field input:focus { outline: none; border-color: var(--kleyman-green); box-shadow: 0 0 0 4px rgba(17, 121, 58, .25); }
.kleyman-sp-lead-form__field.kleyman-form-field--error input { border-color: #e24b4b; }
.kleyman-sp-lead-form__field .kleyman-form-error { font-size: 13px; color: #ffb4b4; }
.kleyman-sp-lead-form__submit {
	height: 60px;
	padding-inline: 38px;
	border: 0;
	border-radius: 14px;
	background: var(--kleyman-green);
	color: #fff;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s var(--kleyman-ease);
}
.kleyman-sp-lead-form__submit:hover { background: #189138; }
.kleyman-sp-lead-form__submit[disabled] { opacity: .7; cursor: progress; }

.kleyman-sp-lead-form__foot {
	margin-block-start: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}
.kleyman-sp-lead-form__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .66); cursor: pointer; }
.kleyman-sp-lead-form__consent input { margin-block-start: 3px; accent-color: var(--kleyman-green); }
.kleyman-sp-lead-form__consent a { color: rgba(255, 255, 255, .9); text-decoration: underline; }
.kleyman-sp-lead-form__phone { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .62); text-decoration: none; }
.kleyman-sp-lead-form__phone:hover { color: #fff; }
.kleyman-sp-lead-form__status { margin-block-start: 18px; font-size: 16px; text-align: center; }
.kleyman-sp-lead-form__status:empty { display: none; }
.kleyman-sp-lead-form__status.is-success {
	padding: 18px 22px;
	border-radius: 14px;
	background: rgba(17, 121, 58, .16);
	border: 1px solid rgba(17, 121, 58, .4);
	color: #fff;
	font-weight: 600;
}
.kleyman-sp-lead-form__status.is-error { color: #ff9a9a; }

/* ==========================================================================
   07 — RELATED PROJECTS — 3 large cards, 4 of 12 columns each
   ========================================================================== */
.kleyman-sp-related { background: var(--kleyman-light); }
.kleyman-sp-related__all {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-block-end: 4px;
	border-bottom: 2px solid var(--kleyman-green);
	font-size: 16px;
	font-weight: 700;
	color: var(--kleyman-dark);
	text-decoration: none;
}
.kleyman-sp-related__all svg { width: 20px; height: 20px; }
.kleyman-sp-related__grid { row-gap: 28px; }
.kleyman-sp-rel { grid-column: span 4; min-width: 0; }
.kleyman-sp-rel__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 22px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(12, 22, 58, .06);
	transition: transform .4s var(--kleyman-ease), box-shadow .4s var(--kleyman-ease);
}
.kleyman-sp-rel__link:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(12, 22, 58, .12); }
.kleyman-sp-rel__media {
	position: relative;
	display: block;
	height: clamp(270px, 21vw, 310px);
	overflow: hidden;
	background: var(--kleyman-dark);
}
.kleyman-sp-rel__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--kleyman-ease); }
.kleyman-sp-rel__link:hover .kleyman-sp-rel__img { transform: scale(1.05); }
.kleyman-sp-rel__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.kleyman-sp-rel__placeholder img { height: 60%; width: auto; opacity: .18; }
.kleyman-sp-rel__status {
	position: absolute;
	top: 18px;
	inset-inline-start: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--kleyman-dark);
	font-size: 13.5px;
	font-weight: 700;
}
.kleyman-sp-rel__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--kleyman-green); }
.kleyman-sp-rel__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 28px; }
.kleyman-sp-rel__city { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--kleyman-text-muted); }
.kleyman-sp-rel__city svg { width: 20px; height: 20px; color: var(--kleyman-green); }
.kleyman-sp-rel__name { font-size: clamp(24px, 1.9vw, 30px); font-weight: 800; line-height: 1.15; color: var(--kleyman-dark); }
.kleyman-sp-rel__desc {
	font-size: clamp(16px, 1.15vw, 18px);
	line-height: 1.55;
	color: var(--kleyman-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kleyman-sp-rel__more {
	margin-block-start: auto;
	padding-block-start: 8px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--kleyman-green);
	transition: gap .25s var(--kleyman-ease);
}
.kleyman-sp-rel__more svg { width: 20px; height: 20px; }
.kleyman-sp-rel__link:hover .kleyman-sp-rel__more { gap: 12px; }

/* ==========================================================================
   TABLET (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.kleyman-sp {
		--sp-hero-gap: var(--hero-side-gap-tablet, 22px);
		--sp-header-clear: calc(var(--header-top-tablet, 18px) + var(--header-height-tablet, 66px));
	}
	.kleyman-sp-hero__content { max-width: 82%; }

	.kleyman-sp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kleyman-sp-facts__item:last-child:nth-child(odd) { grid-column: 1 / -1; }

	.kleyman-sp-about__text,
	.kleyman-sp-about--text-only .kleyman-sp-about__text,
	.kleyman-sp-gallery,
	.kleyman-sp-location__text,
	.kleyman-sp-location--no-map .kleyman-sp-location__text,
	.kleyman-sp-location__map { grid-column: 1 / -1; }

	.kleyman-sp-lead-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kleyman-sp-lead-form__submit { grid-column: 1 / -1; }

	.kleyman-sp-features__item { grid-column: span 6; }
	.kleyman-sp-rel { grid-column: span 6; }
	.kleyman-sp-rel:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ==========================================================================
   MOBILE (≤700px)
   ========================================================================== */
@media (max-width: 700px) {
	.kleyman-sp {
		--sp-section: 64px;
		--sp-radius: 18px;
	}
	.kleyman-sp-h2 { font-size: clamp(36px, 9.6vw, 44px); }
	.kleyman-sp-head--split { flex-direction: column; align-items: flex-start; }

	.kleyman-sp-hero { height: auto; min-height: clamp(560px, 86svh, 720px); }
	.kleyman-sp-hero__shell { justify-content: flex-end; padding-block: calc(var(--sp-header-clear) + 20px) 104px; }
	.kleyman-sp-hero__content { max-width: 100%; }
	.kleyman-sp-hero__title { font-size: clamp(46px, 12.5vw, 58px); line-height: .98; }
	.kleyman-sp-hero__crumbs { margin-block-end: 16px; }
	.kleyman-sp-hero__crumbs .kleyman-breadcrumbs { font-size: 13.5px; }
	.kleyman-sp-hero__status { margin-block-end: 16px; font-size: 14px; }
	.kleyman-sp-hero__cta { margin-block-start: 26px; height: 54px; }
	.kleyman-sp-hero__overlay {
		background: linear-gradient(180deg, rgba(12, 22, 58, .5) 0%, rgba(12, 22, 58, .2) 30%, rgba(12, 22, 58, .55) 62%, rgba(12, 22, 58, .88) 100%);
	}

	.kleyman-sp-facts-wrap { margin-block-start: -64px; }
	.kleyman-sp-facts { border-radius: 20px; }
	.kleyman-sp-facts__item { padding: 22px 18px; }
	.kleyman-sp-facts__icon { width: 54px; height: 54px; border-radius: 16px; margin-block-end: 4px; }
	.kleyman-sp-facts__icon svg { width: 36px; height: 36px; }
	.kleyman-sp-facts__value { font-size: 28px; white-space: normal; }
	.kleyman-sp-facts__label { font-size: 14px; }

	.kleyman-sp-gallery__grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
	.kleyman-sp-gallery .kleyman-sp-gallery__item { grid-column: auto !important; grid-row: auto !important; height: 180px; }
	.kleyman-sp-gallery .kleyman-sp-gallery__item--main { grid-column: 1 / -1 !important; height: 280px; }
	.kleyman-sp-gallery--count-2 .kleyman-sp-gallery__item:nth-child(2) { grid-column: 1 / -1 !important; }

	/* Vertical stepper */
	.kleyman-sp-progress__rail { --node: 64px; grid-template-columns: 1fr; row-gap: 26px; }
	.kleyman-sp-progress__rail::before,
	.kleyman-sp-progress__rail::after {
		inset-inline: auto;
		inset-inline-start: calc(var(--node) / 2 - 2px);
		top: calc(var(--node) / 2);
		bottom: calc(var(--node) / 2);
		width: 4px;
		height: auto;
	}
	.kleyman-sp-progress__rail::after {
		background: linear-gradient(180deg, var(--kleyman-dark), var(--kleyman-green));
		transform-origin: center top;
		transform: scaleY(var(--sp-progress-fill, 0));
	}
	.kleyman-sp-progress__step { flex-direction: row; align-items: flex-start; text-align: start; gap: 18px; }
	.kleyman-sp-progress__node { width: var(--node); flex: none; }
	.kleyman-sp-progress__circle { width: 52px; height: 52px; }
	.kleyman-sp-progress__circle svg { width: 26px; height: 26px; }
	.kleyman-sp-progress__step--current .kleyman-sp-progress__circle svg { width: 36px; height: 36px; }
	.kleyman-sp-progress__body { margin-block-start: 0; align-items: flex-start; min-height: var(--node); justify-content: center; }
	.kleyman-sp-progress__note { max-width: none; }
	.kleyman-sp-progress__step--current .kleyman-sp-progress__label { font-size: 22px; }
	.kleyman-sp-progress__desc { max-width: none; }

	.kleyman-sp-location__map { height: clamp(320px, 88vw, 360px); }

	.kleyman-sp-cta__symbol { height: 120%; inset-inline-end: -30%; }
	.kleyman-sp-lead-form__row { grid-template-columns: 1fr; }
	.kleyman-sp-lead-form__foot { flex-direction: column; align-items: flex-start; }

	.kleyman-sp-features__item { grid-column: 1 / -1; padding: 18px 20px; }
	.kleyman-sp-features__icon { width: 46px; height: 46px; }
	.kleyman-sp-rel,
	.kleyman-sp-rel:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.kleyman-sp-rel__media { height: 250px; }
}

@media (max-width: 640px) {
	.kleyman-sp {
		--sp-hero-gap: var(--hero-side-gap-mobile, 14px);
		--sp-header-clear: calc(var(--header-top-mobile, 12px) + var(--header-height-mobile, 60px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.js-anim-ready .kleyman-sp-progress__step { opacity: 1; transform: none; transition: none; }
	.kleyman-sp-progress__rail::after { transition: none; }
}

/* Mobile QA (Oct 2026): hero copy sat ~6px from the hero card's edge (the
   shell's sp-pad minus hero-gap math) and the tagline lost contrast on
   bright renders. */
@media (max-width: 700px) {
	.kleyman-sp-hero__shell { padding-inline: 22px; }
	.kleyman-sp-hero__overlay {
		background: linear-gradient(180deg, rgba(12, 22, 58, .55) 0%, rgba(12, 22, 58, .25) 26%, rgba(12, 22, 58, .62) 50%, rgba(12, 22, 58, .9) 78%, rgba(12, 22, 58, .95) 100%);
	}
	.kleyman-sp-hero__tagline { font-size: 16px; line-height: 1.5; }
}
/* Consent checkbox inside the fields row (Oct 2026): desktop — button stays
   at the end of row 1, consent spans row 2; ≤1024px the natural order applies
   (fields → consent → button). */
.kleyman-sp-lead-form__consent--row { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
.kleyman-sp-lead-form__row > .kleyman-sp-lead-form__submit { grid-column: 4; grid-row: 1; align-self: end; }
.kleyman-sp-lead-form__field.kleyman-form-field--error ~ .kleyman-sp-lead-form__consent--row,
.kleyman-sp-lead-form__consent--row.kleyman-form-field--error { color: #ffb4ad; }
@media (max-width: 1024px) {
	.kleyman-sp-lead-form__consent--row { grid-row: auto; }
	.kleyman-sp-lead-form__row > .kleyman-sp-lead-form__submit { grid-column: 1 / -1; grid-row: auto; }
}

/* Hero parallax (single-project-progress.js) — the hero clips it. */
.kleyman-sp-hero { overflow: hidden; }
.kleyman-sp-hero__media.is-parallax { transform: scale(1.08); will-change: transform; }

/* Progress: steps light up as the line reaches them. */
.js-anim-ready .kleyman-sp-progress__step--done:not(.is-reached) .kleyman-sp-progress__circle,
.js-anim-ready .kleyman-sp-progress__step--current:not(.is-reached) .kleyman-sp-progress__circle {
	background: #fff; border-color: #DDE1E8; color: #9AA1AD; box-shadow: none;
}
.kleyman-sp-progress__step.is-reached .kleyman-sp-progress__circle { animation: kleyman-step-pop .55s cubic-bezier(.34, 1.56, .64, 1); }
.kleyman-sp-progress__step--current.is-reached .kleyman-sp-progress__circle { position: relative; }
.kleyman-sp-progress__step--current.is-reached .kleyman-sp-progress__circle::after {
	content: ''; position: absolute; inset: -3px; border-radius: 50%;
	border: 2px solid var(--kleyman-green);
	animation: kleyman-step-live 2.2s ease-out .4s infinite;
}
@keyframes kleyman-step-pop { 0% { transform: scale(.8); } 60% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes kleyman-step-live { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.kleyman-sp-progress__step.is-reached .kleyman-sp-progress__circle,
	.kleyman-sp-progress__step--current.is-reached .kleyman-sp-progress__circle::after { animation: none; }
}

/* Oct 2026 — breadcrumbs pinned just under the floating header (same
   position as every other page), out of the bottom-anchored copy block. */
.kleyman-sp-hero__crumbs {
	position: absolute;
	top: calc(var(--header-height-desktop, 68px) + 18px);
	inset-inline-start: calc(max((100% + 2 * var(--sp-hero-gap) - var(--sp-max)) / 2, 0px) + var(--sp-pad) - var(--sp-hero-gap));
	margin: 0;
}
@media (max-width: 1024px) { .kleyman-sp-hero__crumbs { top: calc(var(--header-height-tablet, 66px) + 14px); } }
@media (max-width: 700px)  { .kleyman-sp-hero__crumbs { top: calc(var(--header-height-mobile, 60px) + 12px); inset-inline-start: 22px; } }


/* Oct 2026 — project film (ACF project_film): playable, with sound. */
.kleyman-sp-film__frame {
	position: relative; overflow: hidden; border-radius: 22px; background: var(--kleyman-dark, #0C163A);
	box-shadow: 0 30px 60px rgba(12, 22, 58, .18); aspect-ratio: 16 / 9; max-width: 1100px; margin-inline: auto;
}
.kleyman-sp-film__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
@media (max-width: 700px) { .kleyman-sp-film__frame { border-radius: 16px; } }


/* Oct 2026 — full-bleed photo band between "about" and the rest. */
.kleyman-sp-band { position: relative; margin-block: clamp(10px, 2vw, 30px) clamp(64px, 8vw, 120px); overflow: hidden; background: var(--kleyman-dark, #0C163A); }
.kleyman-sp-band__media { position: relative; height: clamp(220px, 27vw, 420px); }
.kleyman-sp-band__img { position: absolute; inset: -25% 0; width: 100%; height: 150%; object-fit: cover; transform: translateY(var(--band-shift, 0px)); will-change: transform; }
.kleyman-sp-band::after { content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, rgba(12, 22, 58, .18) 0%, rgba(12, 22, 58, 0) 40%); }
@media (max-width: 700px) { .kleyman-sp-band__media { height: 48vw; min-height: 190px; } }
@media (prefers-reduced-motion: reduce) { .kleyman-sp-band__img { transform: none; } }
