/* ==========================================================================
   KLEYMAN ACTIVITY AREA PAGES — premium editorial redesign (Oct 2026)
   Namespace: .kleyman-a2-* (second-gen "area" pages). Additive only on
   top of main.css (--kleyman-* tokens, .kleyman-container, .kleyman-btn,
   .kleyman-breadcrumbs all reused as-is, never redefined here).

   Section map: hero / manifesto / cap(abilities) / break / process /
   numbers / projects (+ tile hover) / statement / cta. Footer untouched.
   ========================================================================== */

.kleyman-area2 { overflow-x: hidden; }
.kleyman-area2 .kleyman-container { max-width: 1480px; }

/* Shared section rhythm + large-scale typography per brief. */
.kleyman-a2-sectionhead { max-width: 820px; margin-bottom: 56px; }
.kleyman-a2-sectionhead--split { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; max-width: none; }
/* Oct 2026 — premium-feel pass: same small recurring mark as the shared
   .kleyman-section__eyebrow (inner-pages.css) — see that comment. Kept as
   its own rule (not merged into the shared class) since this page's
   eyebrow already has its own color/size/margin conventions. */
.kleyman-a2-sectionhead__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: .05em; color: var(--kleyman-dark); margin-bottom: 14px; text-transform: none; }
.kleyman-a2-sectionhead__eyebrow::before { content: ''; width: 26px; height: 2px; flex-shrink: 0; background: var(--kleyman-green); }
.kleyman-a2-sectionhead__title { font-size: clamp(30px, 4.4vw, 56px); font-weight: 800; line-height: 1.15; color: var(--kleyman-text); letter-spacing: -.01em; margin: 0; }

.kleyman-a2-hero,
.kleyman-a2-manifesto,
.kleyman-a2-cap,
.kleyman-a2-break,
.kleyman-a2-process,
.kleyman-a2-numbers,
.kleyman-a2-projects,
.kleyman-a2-statement,
.kleyman-a2-cta { position: relative; }

.kleyman-a2-manifesto,
.kleyman-a2-cap,
.kleyman-a2-process,
.kleyman-a2-numbers,
.kleyman-a2-projects,
.kleyman-a2-statement { padding-block: clamp(72px, 10vw, 150px); }

/* --------------------------------------------------------------------
   Reveal / stagger / count-up motion primitives (reduced-motion safe).
   JS adds .is-in once each [data-a2-reveal] intersects the viewport.
   -------------------------------------------------------------------- */
[data-a2-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--kleyman-ease), transform .8s var(--kleyman-ease);
	transition-delay: calc(var(--a2-stagger, 0) * 90ms);
}
[data-a2-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	[data-a2-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   01 — CINEMATIC HERO
   ========================================================================== */
.kleyman-a2-hero {
	min-height: 86vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	background: var(--kleyman-dark);
}
.kleyman-a2-hero__media { position: absolute; inset: 0; z-index: 0; }
/* __crumbs is a direct flex child now (was nested inside __content,
   which stays bottom-anchored); margin-bottom:auto pins just this one
   to the top, matching the same fix on the About hero. */
.kleyman-a2-hero__crumbs { position: relative; z-index: 2; margin-bottom: auto; padding-top: 124px; }
.kleyman-a2-hero__img {
	width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.6s var(--kleyman-ease);
	will-change: transform;
}
.kleyman-a2-hero.is-loaded .kleyman-a2-hero__img { transform: scale(1.01); }
.kleyman-a2-hero__overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(8,15,38,.35) 0%, rgba(8,15,38,.42) 45%, rgba(6,11,28,.92) 100%);
}
.kleyman-a2-hero__content { position: relative; z-index: 2; padding-block: 0 72px; width: 100%; }
.kleyman-a2-hero__crumbs .kleyman-breadcrumbs,
.kleyman-a2-hero__crumbs .kleyman-breadcrumbs a { color: rgba(255,255,255,.72); }
.kleyman-a2-hero__eyebrow {
	display: block;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--kleyman-green);
	margin-bottom: 20px;
}
.kleyman-a2-hero__title {
	font-size: clamp(48px, 8vw, 96px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.015em;
	color: #fff;
	max-width: 18ch;
	/* Oct 2026 QA: main hero heading centered on every inner page — see
	   the matching comment on .kleyman-ab-hero__title (about.css).
	   Eyebrow/positioning/meta stay right-aligned, only the H1. The
	   explicit margin:0 above is now margin-inline:auto + margin-block:0
	   so the centering isn't lost. */
	margin-block: 0;
	margin-inline: auto;
	text-align: center;
}
.kleyman-a2-hero__positioning {
	margin-top: 26px;
	font-size: clamp(18px, 1.7vw, 22px);
	line-height: 1.6;
	color: rgba(255,255,255,.86);
	max-width: 46ch;
	font-weight: 500;
}
.kleyman-a2-hero__meta { display: flex; gap: 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.kleyman-a2-hero__meta-item { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: rgba(255,255,255,.7); }
.kleyman-a2-hero__meta-item strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; color: #fff; line-height: 1; }

.kleyman-a2-hero__scroll { position: absolute; bottom: 24px; inset-inline-start: 50%; transform: translateX(50%); z-index: 2; opacity: 0; transition: opacity .6s ease .8s; }
.kleyman-a2-hero.is-loaded .kleyman-a2-hero__scroll { opacity: .8; }
.kleyman-a2-hero__scroll-line { display: block; width: 1px; height: 34px; background: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.kleyman-a2-hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: #fff; animation: kleymanA2ScrollDrip 2s ease-in-out infinite; }
@keyframes kleymanA2ScrollDrip { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
	.kleyman-a2-hero__img { transition: none; transform: none; }
	.kleyman-a2-hero__scroll-line::after { animation: none; }
}

@media (max-width: 1024px) {
	.kleyman-a2-hero { min-height: 72vh; }
	.kleyman-a2-hero__content { padding-block: 0 56px; }
	.kleyman-a2-hero__meta { gap: 22px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
	.kleyman-a2-hero { min-height: 64vh; }
	.kleyman-a2-hero__title { font-size: clamp(38px, 11vw, 52px); max-width: none; }
	.kleyman-a2-hero__positioning { font-size: 17px; max-width: none; }
	.kleyman-a2-hero__crumbs { padding-top: 96px; }
	.kleyman-a2-hero__content { padding-block: 0 44px; }
	.kleyman-a2-hero__scroll { display: none; }
}

/* ==========================================================================
   02 — CATEGORY MANIFESTO
   ========================================================================== */
.kleyman-a2-manifesto__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.kleyman-a2-manifesto__headline h2 {
	font-size: clamp(34px, 4.6vw, 60px);
	font-weight: 800;
	line-height: 1.22;
	color: var(--kleyman-text);
	letter-spacing: -.01em;
	margin: 0;
	position: sticky;
	top: 140px;
}
.kleyman-a2-manifesto__body { max-width: 56ch; padding-top: 10px; }
.kleyman-a2-manifesto__body p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.85; color: var(--kleyman-text-muted); margin: 0 0 22px; }
.kleyman-a2-manifesto__body p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
	.kleyman-a2-manifesto__grid { grid-template-columns: 1fr; gap: 28px; }
	.kleyman-a2-manifesto__headline h2 { position: static; font-size: clamp(30px, 6vw, 42px); }
}

/* ==========================================================================
   03 — CAPABILITIES (big numbers, no icons)
   ========================================================================== */
.kleyman-a2-cap { background: var(--kleyman-light); }
.kleyman-a2-cap__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--kleyman-border);
	border-right: 1px solid var(--kleyman-border);
}
.kleyman-a2-cap__item {
	border-left: 1px solid var(--kleyman-border);
	border-bottom: 1px solid var(--kleyman-border);
	padding: 40px 32px 44px;
	min-height: 260px;
	display: flex;
	flex-direction: column;
	transition: background-color .5s var(--kleyman-ease), color .5s var(--kleyman-ease);
	position: relative;
}
.kleyman-a2-cap__n {
	font-size: clamp(48px, 6vw, 72px);
	font-weight: 800;
	line-height: 1;
	color: var(--kleyman-border);
	transition: color .5s var(--kleyman-ease), transform .5s var(--kleyman-ease);
}
.kleyman-a2-cap__title { margin: 22px 0 10px; font-size: 21px; font-weight: 800; color: var(--kleyman-text); transition: color .5s var(--kleyman-ease); }
.kleyman-a2-cap__text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--kleyman-text-muted); transition: color .5s var(--kleyman-ease); max-width: 26ch; }
.kleyman-a2-cap__item::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 0; height: 3px; background: var(--kleyman-green); transition: width .5s var(--kleyman-ease); }

@media (hover: hover) {
	.kleyman-a2-cap__item:hover { background: var(--kleyman-dark); }
	.kleyman-a2-cap__item:hover .kleyman-a2-cap__n { color: var(--kleyman-green); transform: translateY(-6px); }
	.kleyman-a2-cap__item:hover .kleyman-a2-cap__title,
	.kleyman-a2-cap__item:hover .kleyman-a2-cap__text { color: #fff; }
	.kleyman-a2-cap__item:hover .kleyman-a2-cap__text { color: rgba(255,255,255,.78); }
	.kleyman-a2-cap__item:hover::after { width: 100%; }
}

@media (max-width: 1024px) {
	.kleyman-a2-cap__grid { grid-template-columns: repeat(2, 1fr); }
	.kleyman-a2-cap__item { min-height: 220px; padding: 32px 24px 36px; }
}
@media (max-width: 560px) {
	.kleyman-a2-cap__grid { grid-template-columns: 1fr; }
	.kleyman-a2-cap__item { min-height: 0; }
}

/* ==========================================================================
   04 — VISUAL BREAK
   ========================================================================== */
.kleyman-a2-break {
	height: clamp(420px, 56vw, 640px);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.kleyman-a2-break__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.06); transition: transform 1.6s var(--kleyman-ease); will-change: transform; }
.kleyman-a2-break.is-in .kleyman-a2-break__img { transform: scale(1); }
.kleyman-a2-break__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,15,38,.1), rgba(8,15,38,.55)); }
.kleyman-a2-break__headline {
	position: relative; z-index: 1;
	color: #fff;
	font-size: clamp(26px, 3.4vw, 42px);
	font-weight: 700;
	text-align: center;
	max-width: 24ch;
	padding-inline: 24px;
	line-height: 1.3;
}
@media (prefers-reduced-motion: reduce) { .kleyman-a2-break__img { transition: none; transform: none; } }
@media (max-width: 640px) { .kleyman-a2-break { height: clamp(320px, 70vw, 440px); } }

/* ==========================================================================
   05 — PROCESS EXPERIENCE (horizontal rail desktop, vertical mobile)
   ========================================================================== */
.kleyman-a2-process { background: var(--kleyman-white); }
.kleyman-a2-process .kleyman-a2-sectionhead { margin-bottom: 40px; }

.kleyman-a2-process__rail {
	direction: ltr;
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.kleyman-a2-process__rail::-webkit-scrollbar { display: none; height: 0; }
.kleyman-a2-process__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.kleyman-a2-process__track {
	direction: ltr;
	display: flex;
	flex-direction: row-reverse;
	gap: clamp(0px, 0vw, 0px);
	padding-inline: max(24px, calc((100vw - 1480px) / 2 + 24px));
	position: relative;
}
.kleyman-a2-process__step {
	direction: rtl;
	flex: 0 0 clamp(280px, 24vw, 360px);
	padding: 44px clamp(28px, 3vw, 44px) 40px 0;
	border-right: 1px solid var(--kleyman-border);
	position: relative;
	scroll-snap-align: start;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .7s var(--kleyman-ease), transform .7s var(--kleyman-ease);
	transition-delay: calc(var(--i, 0) * 100ms);
}
.kleyman-a2-process__rail.is-in .kleyman-a2-process__step { opacity: 1; transform: none; }
.kleyman-a2-process__n {
	display: block;
	font-size: clamp(56px, 7vw, 96px);
	font-weight: 800;
	line-height: 1;
	color: var(--kleyman-border);
	margin-bottom: 22px;
	transition: color .4s ease;
}
.kleyman-a2-process__step.is-active .kleyman-a2-process__n { color: var(--kleyman-green); }
.kleyman-a2-process__title { font-size: clamp(20px, 2vw, 26px); font-weight: 800; color: var(--kleyman-text); margin: 0 0 12px; }
.kleyman-a2-process__text { font-size: 15.5px; line-height: 1.75; color: var(--kleyman-text-muted); margin: 0; max-width: 30ch; }

.kleyman-a2-process__progress { max-width: 1480px; width: 90vw; margin: 28px auto 0; height: 2px; background: var(--kleyman-border); border-radius: 2px; overflow: hidden; }
.kleyman-a2-process__progress-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--kleyman-blue), var(--kleyman-green)); transition: width .1s linear; }
.kleyman-a2-process__note { margin-top: 48px; max-width: 72ch; font-size: 15.5px; line-height: 1.8; color: var(--kleyman-text-muted); }

@media (prefers-reduced-motion: reduce) {
	.kleyman-a2-process__step { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1024px) {
	.kleyman-a2-process__step { flex-basis: 78vw; padding-block: 36px 32px; }
	.kleyman-a2-process__track { padding-inline: 20px; }
}
@media (max-width: 640px) {
	.kleyman-a2-process__step { flex-basis: 86vw; }
	.kleyman-a2-process__n { font-size: 54px; }
}

/* ==========================================================================
   06 — NUMBERS / PROOF
   ========================================================================== */
.kleyman-a2-numbers { background: var(--kleyman-dark); color: #fff; }
.kleyman-a2-numbers__row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: clamp(48px, 8vw, 120px); justify-content: center; text-align: center; }
.kleyman-a2-stat__value { display: block; font-size: clamp(72px, 11vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.kleyman-a2-stat__label { display: block; margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.68); letter-spacing: .02em; }

/* ==========================================================================
   07/08 — FEATURED PROJECTS (editorial showcase + hover)
   ========================================================================== */
.kleyman-a2-projects__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(14px, 1.6vw, 24px);
}
.kleyman-a2-tile {
	position: relative;
	display: block;
	grid-column: span 6;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
	background: var(--kleyman-light);
	isolation: isolate;
}
.kleyman-a2-tile__media { position: absolute; inset: 0; display: block; }
/* Oct 2026 — brief spec: "cinematic... controlled hover-scale, 1.15–1.25x".
   This is the actual tile component the category-page grids render
   (.kleyman-a2-tile, not .kleyman-project-card) — was missed in v1.9.27,
   which only bumped the homepage/archive component. Slower duration so the
   zoom reads as deliberate rather than a snap. */
.kleyman-a2-tile__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--kleyman-ease); }
.kleyman-a2-tile__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8,15,38,0) 42%, rgba(8,15,38,.82) 100%);
	opacity: .75;
	transition: opacity .6s var(--kleyman-ease), background-color .6s var(--kleyman-ease);
}
.kleyman-a2-tile__meta {
	position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
	padding: clamp(18px, 2vw, 32px);
	display: flex; flex-direction: column; gap: 4px;
	color: #fff;
	transform: translateY(6px);
	transition: transform .6s var(--kleyman-ease);
}
.kleyman-a2-tile__status { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--kleyman-green); margin-bottom: 4px; opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s var(--kleyman-ease); }
.kleyman-a2-tile__name { font-size: clamp(20px, 2.1vw, 28px); font-weight: 800; }
.kleyman-a2-tile__city { font-size: 14px; color: rgba(255,255,255,.78); opacity: 0; max-height: 0; transition: opacity .5s ease, max-height .5s var(--kleyman-ease); }
.kleyman-a2-tile__arrow {
	position: absolute; top: 20px; inset-inline-end: 20px; z-index: 1;
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.14);
	color: #fff;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .5s var(--kleyman-ease), transform .5s var(--kleyman-ease);
	backdrop-filter: blur(6px);
}
.kleyman-a2-tile__arrow svg { transform: scaleX(-1); }

@media (hover: hover) and (pointer: fine) {
	.kleyman-a2-tile:hover .kleyman-a2-tile__img,
	.kleyman-a2-tile:focus-visible .kleyman-a2-tile__img { transform: scale(1.18); }
	.kleyman-a2-tile:hover .kleyman-a2-tile__overlay,
	.kleyman-a2-tile:focus-visible .kleyman-a2-tile__overlay { opacity: 1; }
	.kleyman-a2-tile:hover .kleyman-a2-tile__meta,
	.kleyman-a2-tile:focus-visible .kleyman-a2-tile__meta { transform: translateY(0); }
	.kleyman-a2-tile:hover .kleyman-a2-tile__status,
	.kleyman-a2-tile:hover .kleyman-a2-tile__city,
	.kleyman-a2-tile:focus-visible .kleyman-a2-tile__status,
	.kleyman-a2-tile:focus-visible .kleyman-a2-tile__city { opacity: 1; max-height: 40px; }
	.kleyman-a2-tile:hover .kleyman-a2-tile__arrow,
	.kleyman-a2-tile:focus-visible .kleyman-a2-tile__arrow { opacity: 1; transform: none; }
}
/* Touch: metadata always legible, no hover state to rely on. */
@media (hover: none) {
	.kleyman-a2-tile__status, .kleyman-a2-tile__city { opacity: 1; max-height: 40px; }
	.kleyman-a2-tile__meta { transform: none; }
	.kleyman-a2-tile__overlay { opacity: .9; }
}
.kleyman-a2-tile:focus-visible { outline: 2px solid var(--kleyman-green); outline-offset: 3px; }

/* Asymmetric editorial layouts, keyed by how many featured projects this
   category actually has — never an empty-feeling forced grid. */
.kleyman-a2-projects__grid--6 .kleyman-a2-tile--1 { grid-column: span 8; aspect-ratio: 16/10; }
.kleyman-a2-projects__grid--6 .kleyman-a2-tile--2 { grid-column: span 4; aspect-ratio: 3/4; }
.kleyman-a2-projects__grid--6 .kleyman-a2-tile--3,
.kleyman-a2-projects__grid--6 .kleyman-a2-tile--4,
.kleyman-a2-projects__grid--6 .kleyman-a2-tile--5 { grid-column: span 4; aspect-ratio: 4/3; }
.kleyman-a2-projects__grid--6 .kleyman-a2-tile--6 { grid-column: span 12; aspect-ratio: 21/9; }

.kleyman-a2-projects__grid--5 .kleyman-a2-tile--1 { grid-column: span 8; aspect-ratio: 16/10; }
.kleyman-a2-projects__grid--5 .kleyman-a2-tile--2 { grid-column: span 4; aspect-ratio: 3/4; }
.kleyman-a2-projects__grid--5 .kleyman-a2-tile--3,
.kleyman-a2-projects__grid--5 .kleyman-a2-tile--4 { grid-column: span 6; aspect-ratio: 4/3; }
.kleyman-a2-projects__grid--5 .kleyman-a2-tile--5 { grid-column: span 12; aspect-ratio: 21/9; }

/* Exactly 3 — e.g. מסחר ותעסוקה — a confident, deliberately spacious
   asymmetric trio rather than a padded-out 4th placeholder slot. */
.kleyman-a2-projects__grid--3 .kleyman-a2-tile--1 { grid-column: span 7; aspect-ratio: 4/3; }
.kleyman-a2-projects__grid--3 .kleyman-a2-tile--2 { grid-column: span 5; aspect-ratio: 3/4; }
.kleyman-a2-projects__grid--3 .kleyman-a2-tile--3 { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 1024px) {
	.kleyman-a2-projects__grid { grid-template-columns: repeat(2, 1fr); }
	.kleyman-a2-projects__grid [class*='kleyman-a2-tile--'] { grid-column: span 2 !important; aspect-ratio: 4/3 !important; }
	.kleyman-a2-projects__grid--3 .kleyman-a2-tile--1 { grid-column: 1 / -1 !important; aspect-ratio: 16/10 !important; }
}
@media (max-width: 640px) {
	.kleyman-a2-projects__grid { grid-template-columns: 1fr; }
	.kleyman-a2-projects__grid [class*='kleyman-a2-tile--'] { grid-column: 1 / -1 !important; aspect-ratio: 4/3 !important; }
	.kleyman-a2-tile__name { font-size: 22px; }
	.kleyman-a2-tile__arrow { width: 36px; height: 36px; }
}

/* ==========================================================================
   09 — DIFFERENTIATOR / STATEMENT
   ========================================================================== */
.kleyman-a2-statement { background: var(--kleyman-dark); text-align: center; }
.kleyman-a2-statement > .kleyman-container { position: relative; z-index: 1; }
.kleyman-a2-statement__text {
	margin: 0 auto;
	max-width: 22ch;
	font-size: clamp(30px, 4.6vw, 60px);
	font-weight: 800;
	line-height: 1.28;
	color: #fff;
	letter-spacing: -.01em;
}

/* ==========================================================================
   10 — CTA
   ========================================================================== */
.kleyman-a2-cta { padding-block: clamp(40px, 6vw, 80px); }
.kleyman-a2-cta__inner {
	position: relative;
	width: min(94vw, 1760px);
	height: clamp(400px, 42vw, 500px);
	margin-inline: auto;
	border-radius: 28px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.kleyman-a2-cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--kleyman-ease); will-change: transform; }
.kleyman-a2-cta.is-in .kleyman-a2-cta__img { transform: scale(1.01); }
.kleyman-a2-cta__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,15,38,.88), rgba(8,15,38,.62)); }
.kleyman-a2-cta__content { position: relative; z-index: 1; text-align: center; padding: 0 28px; color: #fff; }
.kleyman-a2-cta__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin: 0 0 16px; }
.kleyman-a2-cta__sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.84); max-width: 50ch; margin: 0 auto 32px; line-height: 1.6; }
.kleyman-a2-cta__row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.kleyman-btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.kleyman-btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }

@media (prefers-reduced-motion: reduce) { .kleyman-a2-cta__img { transition: none; transform: none; } }
@media (max-width: 640px) {
	.kleyman-a2-cta__inner { width: 94vw; height: clamp(340px, 90vw, 420px); border-radius: 20px; }
	.kleyman-a2-cta__row { flex-direction: column; width: 100%; }
	.kleyman-a2-cta__row .kleyman-btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------
   07b — city/status filter bar for the full project-listing section
   (taxonomy-project_category.php). Plain native <select> elements,
   styled to match the existing button/pill language — a new control,
   not a redesign of anything that already existed. Oct 2026.
   -------------------------------------------------------------------- */
/* Oct 2026 FINAL REBUILD — quiet toolbar, not a floating panel: plain
   inline row on the white background, no card chrome. The exact same
   element becomes a mobile bottom-sheet drawer under the breakpoint
   below (CSS-only repositioning — no duplicate markup). */
.kleyman-a2-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
}
.kleyman-a2-filters__head { display: none; }
.kleyman-a2-filters__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.kleyman-a2-filters__apply { display: none; }
.kleyman-a2-filters__field { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.kleyman-a2-filters__field label { font-size: 12.5px; font-weight: 600; color: var(--kleyman-text-muted); }
.kleyman-a2-filters__field select {
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 1px solid rgba(8, 25, 55, .10);
	border-radius: 9px;
	height: 44px;
	padding: 0 32px 0 14px;
	font-size: 14.5px;
	font-weight: 600;
	font-family: inherit;
	color: var(--kleyman-dark);
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230C163A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	transition: border-color .25s;
}
.kleyman-a2-filters__field select:hover,
.kleyman-a2-filters__field select:focus { border-color: var(--kleyman-dark); outline: none; }
/* Active state (a real value chosen) — a quiet border tint, never a
   solid-green fill, per brief. */
.kleyman-a2-filters__field.is-active select { border-color: var(--kleyman-green); }
.kleyman-a2-filters__reset {
	border: none;
	background: none;
	color: var(--kleyman-text-muted);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	padding: 11px 4px;
}
.kleyman-a2-filters__reset:hover { color: var(--kleyman-dark); }
.kleyman-a2-filters__reset[hidden] { display: none; }
/* Live, always-accurate result count — PHP renders the real initial
   value, JS updates it after each AJAX fetch. */
.kleyman-cat-count {
	margin: 0;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--kleyman-text-muted);
	white-space: nowrap;
}

/* --------------------------------------------------------------------
   MOBILE FILTERS — a single small trigger ("סינון פרויקטים · N"), not
   5 cramped selects. Tap opens the real filter fields as an RTL
   bottom-sheet drawer; closing it keeps whatever was already live.
   -------------------------------------------------------------------- */
@media (max-width: 860px) {
	.kleyman-cat-toolbar__inner { gap: 14px; }
	.kleyman-cat-toolbar__trigger {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 42px;
		padding: 0 16px;
		border: 1px solid rgba(8, 25, 55, .14);
		border-radius: 9px;
		background: #fff;
		font-size: 14px;
		font-weight: 600;
		color: var(--kleyman-dark);
		cursor: pointer;
	}
	.kleyman-cat-toolbar__trigger-count { color: var(--kleyman-green); }
	.kleyman-cat-toolbar__trigger-count[hidden] { display: none; }

	.kleyman-cat-toolbar__backdrop:not([hidden]) {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 9990; /* above the floating call button and header */
		background: rgba(8, 15, 38, .45);
	}

	.kleyman-a2-filters {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 9991;
		max-height: 78vh;
		overflow-y: auto;
		background: #fff;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -10px 34px rgba(8, 25, 55, .18);
		padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		transform: translateY(100%);
		transition: transform .32s var(--kleyman-ease, ease);
	}
	.kleyman-a2-filters.is-open { transform: translateY(0); }
	.kleyman-a2-filters__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 16px;
		font-weight: 700;
		color: var(--kleyman-dark);
		padding-block-end: 16px;
		margin-block-end: 16px;
		border-block-end: 1px solid var(--kleyman-border);
	}
	.kleyman-a2-filters__close { border: none; background: none; font-size: 24px; line-height: 1; color: var(--kleyman-text-muted); cursor: pointer; padding: 4px; }
	.kleyman-a2-filters__fields { flex-direction: column; align-items: stretch; gap: 16px; }
	.kleyman-a2-filters__field { min-width: 0; }
	.kleyman-a2-filters__field select { height: 48px; }
	.kleyman-a2-filters__reset { align-self: flex-start; padding-inline: 0; }
	.kleyman-a2-filters__apply {
		display: block;
		margin-block-start: 20px;
		height: 50px;
		border-radius: 12px;
		border: none;
		background: var(--kleyman-dark);
		color: #fff;
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}
}

/* ==========================================================================
   CAT LISTING REBUILD — Oct 2026 structural fix. Namespace: .kleyman-cat-*.
   Replaces the old hero/manifesto/capabilities/break/process/numbers/
   featured/statement/CTA body entirely: intro (white) → filter bar (reuses
   .kleyman-a2-filters as-is, untouched above) → one project grid. Simple,
   generous, "the projects are the content" — per brief, no busy
   decoration, max 3 columns desktop, real 2–3 line descriptions.
   ========================================================================== */
/* Oct 2026 — FINAL REBUILD. Short navy masthead (330-390px, no photo):
   typography + brand symbol + motion only. The ONE exact Kleyman-mark
   SVG, large and cropped at the screen edge — never the repeating
   wallpaper pattern (.kleyman-navy-pattern is NOT used here). */
.kleyman-cat-masthead {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(330px, 28vw, 390px);
	background: var(--kleyman-dark);
	overflow: hidden;
	padding-block: clamp(110px, 13vw, 140px) 56px;
}
.kleyman-cat-masthead__symbol {
	position: absolute;
	z-index: 0;
	inset-inline-start: -14%;
	top: 50%;
	transform: translateY(-50%);
	height: 190%;
	width: auto;
	max-width: none;
	opacity: .045;
	pointer-events: none;
	user-select: none;
}
.kleyman-cat-masthead__inner { position: relative; z-index: 1; width: 100%; }
.kleyman-cat-masthead .kleyman-breadcrumbs,
.kleyman-cat-masthead .kleyman-breadcrumbs a { color: rgba(255,255,255,.64); }
.kleyman-cat-masthead__eyebrow {
	display: block;
	margin: 18px 0 14px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--kleyman-green);
	position: relative;
	padding-inline-start: 16px;
}
/* Brief: green used sparingly — a short underline/dot, never half the
   H1 colored green. */
.kleyman-cat-masthead__eyebrow::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--kleyman-green);
}
.kleyman-cat-intro__title {
	font-size: clamp(64px, 5vw, 90px);
	line-height: .98;
	color: #fff;
	letter-spacing: -.015em;
	margin: 0;
	white-space: nowrap;
}
.kleyman-cat-masthead__subtitle,
.kleyman-cat-intro__subtitle {
	margin: 18px 0 0;
	max-width: 650px;
	font-size: clamp(18px, 1.4vw, 20px);
	line-height: 1.6;
	color: rgba(255,255,255,.68);
}
.kleyman-cat-masthead__detail {
	margin: 14px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,.5);
}
@media (max-width: 900px) {
	.kleyman-cat-intro__title { white-space: normal; }
}
@media (max-width: 640px) {
	.kleyman-cat-masthead { min-height: 0; padding-block: 100px 48px; }
	.kleyman-cat-masthead__symbol { height: 150%; inset-inline-start: -30%; }
}

/* ==========================================================================
   QUIET FILTER TOOLBAR — Oct 2026 final rebuild. Secondary utility on
   plain white, NOT a floating/overlapping card: no negative margin, no
   shadow, no panel background. Filters left, sort+count on the other
   side of the same row.
   ========================================================================== */
.kleyman-cat-toolbar {
	background: var(--kleyman-white);
	border-bottom: 1px solid var(--kleyman-border);
	padding-block: clamp(42px, 4vw, 55px) clamp(25px, 2.6vw, 35px);
}
.kleyman-cat-toolbar--count-only { padding-block: 28px; }
.kleyman-cat-toolbar__inner {
	max-width: 1550px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}
/* Desktop-only hide. Mobile QA (Oct 2026): these used to be unscoped and,
   coming later in the file than the ≤860px drawer rules, they beat them —
   so on phones the "סינון פרויקטים" trigger never showed and the filters
   were unreachable. */
@media (min-width: 861px) {
	.kleyman-cat-toolbar__trigger { display: none; }
	.kleyman-cat-toolbar__backdrop { display: none; }
}
@media (max-width: 860px) {
	.kleyman-cat-toolbar__backdrop[hidden] { display: none; }
}

.kleyman-cat-toolbar__meta { display: flex; align-items: center; gap: 18px; }
.kleyman-cat-toolbar__sort select {
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 1px solid rgba(8, 25, 55, .10);
	border-radius: 9px;
	height: 44px;
	/*
	 * Oct 2026 fix: the chevron sits at the physical LEFT (see
	 * background-position below), but the padding buffer used to be
	 * reversed — 32px reserved on the RIGHT and only 14px on the LEFT —
	 * so on RTL text (starts flowing from the right, e.g. "החדשים
	 * ביותר") there wasn't enough room on the arrow's own side and the
	 * longer option text ran into/under it. Swapped so the bigger gutter
	 * is on the same side as the icon.
	 */
	padding: 0 14px 0 32px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	color: var(--kleyman-text-muted);
	cursor: pointer;
	direction: rtl;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230C163A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
}

.kleyman-cat-listing { background: var(--kleyman-white); padding-block: clamp(35px, 4vw, 45px) clamp(72px, 9vw, 130px); }

/* Grid — never more than 3 across on desktop, generous air between cards
   per brief (36–50px horizontal, 60–80px vertical), 2 on tablet, 1 on
   mobile. */
.kleyman-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(36px, 3vw, 50px);
	row-gap: clamp(60px, 6vw, 80px);
}
@media (max-width: 1100px) {
	.kleyman-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.kleyman-cat-grid { grid-template-columns: 1fr; row-gap: 44px; }
}

/* Card — image above content, not an overlay caption (deliberately
   distinct from the shared .kleyman-project-card used elsewhere: see
   template-parts/project-card-listing.php for why). */
.kleyman-cat-card { position: relative; }
.kleyman-cat-card__link { display: block; color: inherit; }
.kleyman-cat-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: var(--kleyman-light);
}
.kleyman-cat-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--kleyman-ease);
}
.kleyman-cat-card__link:hover .kleyman-cat-card__img { transform: scale(1.035); }
.kleyman-cat-card__status.kleyman-status-pill { position: absolute; top: 16px; left: 16px; z-index: 2; }

/* On-image hover overlay (desktop only) — a soft navy gradient rising
   from the bottom with a short recap (meta / name / excerpt / link).
   Purely additive to the always-visible text below the image (brief
   calls for both); hidden from assistive tech since it only repeats
   content that's already read from .kleyman-cat-card__body. */
.kleyman-cat-card__hover {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 22px;
	background: linear-gradient(180deg, rgba(8,15,38,0) 35%, rgba(8,15,38,.88) 100%);
	opacity: 0;
	transition: opacity .4s var(--kleyman-ease);
	pointer-events: none;
}
.kleyman-cat-card__hover-meta,
.kleyman-cat-card__hover-name,
.kleyman-cat-card__hover-desc,
.kleyman-cat-card__hover-more {
	color: #fff;
	opacity: 0;
	transform: translateY(15px);
	transition: opacity .4s var(--kleyman-ease), transform .4s var(--kleyman-ease);
}
.kleyman-cat-card__hover-meta { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 6px; transition-delay: .03s; }
.kleyman-cat-card__hover-name { font-size: clamp(20px, 1.6vw, 24px); font-weight: 800; line-height: 1.25; transition-delay: .06s; }
.kleyman-cat-card__hover-desc {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255,255,255,.88);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition-delay: .09s;
}
.kleyman-cat-card__hover-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--kleyman-green);
	transition-delay: .12s;
}
.kleyman-cat-card__hover-more svg { transform: scaleX(-1); flex-shrink: 0; }

@media (hover: hover) and (pointer: fine) {
	.kleyman-cat-card__link:hover .kleyman-cat-card__hover,
	.kleyman-cat-card__link:focus-visible .kleyman-cat-card__hover { opacity: 1; }
	.kleyman-cat-card__link:hover .kleyman-cat-card__hover-meta,
	.kleyman-cat-card__link:hover .kleyman-cat-card__hover-name,
	.kleyman-cat-card__link:hover .kleyman-cat-card__hover-desc,
	.kleyman-cat-card__link:hover .kleyman-cat-card__hover-more,
	.kleyman-cat-card__link:focus-visible .kleyman-cat-card__hover-meta,
	.kleyman-cat-card__link:focus-visible .kleyman-cat-card__hover-name,
	.kleyman-cat-card__link:focus-visible .kleyman-cat-card__hover-desc,
	.kleyman-cat-card__link:focus-visible .kleyman-cat-card__hover-more { opacity: 1; transform: none; }
}
/* Touch/mobile: no hover surface at all — per brief, info stays only
   below the image. */
@media (hover: none) {
	.kleyman-cat-card__hover { display: none; }
}

.kleyman-cat-card__body { display: flex; flex-direction: column; margin-top: 20px; }
.kleyman-cat-card__meta {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--kleyman-text-muted);
	margin-bottom: 8px;
}
.kleyman-cat-card__name {
	font-size: clamp(22px, 1.8vw, 27px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--kleyman-dark);
}
.kleyman-cat-card__desc {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--kleyman-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kleyman-cat-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--kleyman-dark);
	transition: color .25s var(--kleyman-ease), gap .25s var(--kleyman-ease);
}
/* The shared arrow glyph (same path used site-wide) is drawn pointing
   right; mirrored here to point left, the RTL "forward" direction — same
   fix already applied to this icon elsewhere (see showcase.css's
   `.kleyman-project-card__arrow svg { transform: scaleX(-1); }`). */
.kleyman-cat-card__more svg { transition: transform .25s var(--kleyman-ease); flex-shrink: 0; transform: scaleX(-1); }
.kleyman-cat-card__link:hover .kleyman-cat-card__more { color: var(--kleyman-green); gap: 12px; }
.kleyman-cat-card__link:hover .kleyman-cat-card__more svg { transform: scaleX(-1) translateX(3px); }
