/*
Theme Name: Kuttin
Theme URI: https://kuttin-ins.com/
Description: Elementor-free block theme for נועם קוטין. Tokens from kuttin-insurance DESIGN.md + tech/site/app/globals.css (AA-darkened, Gil 14.9).
Version: 0.5.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: kuttin
*/

:root {
	/* One token source (audit 18.10): every color is a theme.json preset; these names are short aliases.
	   Change a color in theme.json only. a11y.css high contrast overrides these aliases on .wp-site-blocks. */
	--paper: var(--wp--preset--color--paper); --ink: var(--wp--preset--color--ink); --muted: var(--wp--preset--color--muted);
	--faint: var(--wp--preset--color--faint); --rule: var(--wp--preset--color--rule); --sunk: var(--wp--preset--color--sunk);
	--accent: var(--wp--preset--color--accent); --accent-ink: var(--wp--preset--color--accent-ink); /* #09787C, decision 45: 4.74:1 on aqua */
	--accent-wash: var(--wp--preset--color--accent-wash); --accent-wash-2: var(--wp--preset--color--accent-wash-2);
	--highlight: var(--wp--preset--color--highlight); --highlight-wash: var(--wp--preset--color--highlight-wash);
	--coral: var(--wp--preset--color--coral); --field-border: var(--wp--preset--color--field-border);
	--err: var(--wp--preset--color--error); /* errors only (6.3:1 on aqua) */
	--white: var(--wp--preset--color--white); --shade: var(--wp--preset--color--black); /* --shade: color-mix darkening only */
	--r-card: 16px; --r-pill: 999px; --shadow: 0 0 15px color-mix(in srgb, var(--ink) 12%, transparent);
	--side: clamp(16px, 4.5vw, 56px); --wide: 1200px; --sec: clamp(36px, 6vw, 56px); /* section rhythm: 36 phone, 56 desktop (layout 19.10) */
	--ease-out: cubic-bezier(.22, 1, .36, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1);
	--hover-stroke: .05em currentColor; /* hover = bolder, not underlined (Gil 11.11): text-stroke thickens the ink only, so no box ever reflows */
	color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
/* Sticky header (decision 47): every anchor and every focused element scrolls clear of it. --head-h is the measured
   header height (site.js, ResizeObserver); 72px is the first-paint guess. */
html { scroll-padding-top: var(--head-h, 72px); } /* + each section's own 12-16px scroll-margin */
body { margin: 0; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* focus + skip link (IS 5568) */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip-link.screen-reader-text:focus { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: 12px 16px; font-weight: 600; z-index: 100000; }
/* Reduced motion (audit 18.10): no global kill. html.k-calm = OS setting OR the a11y menu's "עצירת אנימציות", set before
   first paint and kept live (functions.php head script). Each moving part has its own calm state below, and every
   state change survives it: the lit hive cell stays lit, the active step stays marked, only the movement stops. */
html.k-calm { scroll-behavior: auto; }

/* buttons */
.k-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.5em 1.5em;
	background: var(--accent-ink); color: var(--white); border: 2px solid var(--accent-ink); border-radius: var(--r-pill);
	font: 600 1rem/1.25 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
}
.k-btn:hover { background: color-mix(in srgb, var(--accent-ink) 88%, var(--shade)); color: var(--white); }
.k-btn-ghost { background: transparent; color: var(--accent-ink); }
.k-btn-ghost:hover { background: var(--accent-ink); color: var(--white); }

/* header */
.k-site-header { background: var(--white); box-shadow: 0 1px 0 var(--rule); position: sticky; top: 0; z-index: 10; transition: box-shadow .2s ease; }
.k-scrolled .k-site-header { box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 12%, transparent); } /* shadow only once the page moved under it */
.k-header { position: relative; } /* the services card hangs from the header row */
.k-header { max-width: var(--wide); margin: 0 auto; padding: 8px var(--side); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; } /* wraps at enlarged text (WCAG 1.4.4/1.4.10) */
.k-header > * { min-width: 0; }
.k-logo { display: inline-flex; min-height: 44px; align-items: center; flex: none; }
.k-logo img { width: 128px; height: auto; display: block; }
.k-nav { flex: 1 1 auto; font-weight: 500; }
.k-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; }
.k-nav .wp-block-navigation-item__content:hover { color: var(--accent-ink); text-decoration: underline; }
.k-nav .wp-block-navigation__responsive-container-open, .k-nav .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--ink); }
@media (max-width: 599px) { .k-nav .wp-block-navigation__responsive-container-open { display: inline-flex; } }
.k-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--side); }
.k-nav .is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; }
.k-portal { flex: none; padding-inline: 1.1em; }
/* 600-899: logo, nav and portal button share one row from ~700px (at 768 they wrapped into a 123px two-row sticky
   header, adapt 19.10); 600-699 still wraps, as it does at enlarged text. */
@media (min-width: 600px) and (max-width: 899px) {
	.k-header { gap: 8px 10px; }
	.k-header .k-logo img, .k-header .k-logo svg { width: 112px; }
	.k-nav { font-size: .9375rem; }
	.k-nav .wp-block-navigation__container { gap: 4px; }
	.k-nav .wp-block-navigation-item__content { padding: 0 4px; min-width: 44px; justify-content: center; }
	.k-portal { font-size: .9375rem; padding-inline: .9em; }
}
@media (max-width: 599px) {
	.k-header { gap: 8px; }
	.k-logo img { width: 104px; }
	.k-nav { flex: 0 0 auto; order: 3; }
	.k-portal { font-size: 0.9375rem; padding-inline: 0.9em; }
}

/* home */
.k-home { background: var(--accent-wash); }
.k-home > * { padding-inline: var(--side); }
.k-home > * > * { max-width: var(--wide); margin-inline: auto; }
.k-home section[id] { scroll-margin-top: 12px; }
.k-h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); color: var(--accent-ink); margin-block: 0 32px; }
.k-h1 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); color: var(--ink); margin: 0 0 16px; }

.k-hero {
	position: relative; min-height: clamp(360px, 46vw, 560px); display: grid; align-content: center;
	padding-block: 48px;
}
/* The live hero image redrawn in code (inc/hive.html): same place and size as the old background (46% wide, top right). */
.k-hive { position: absolute; top: -64px; right: 0; /* starts under the header, like the live body background */ width: min(46%, 640px); aspect-ratio: 949 / 905; pointer-events: none; }
.k-hive-svg { display: block; width: 100%; height: 100%; overflow: hidden; }
/* Sentence sync (decision 16): the lit cell grows and stays bright, the rest dims. A state change, so transitions
   (they retarget if the sentence changes mid-way); marketing-scale duration because the eye travels across the hive. */
.k-cell { transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); } /* decision 31: calm, 0.5s */
/* .k-hex: decision 57, no fill transition (paint every frame on the 88KB SVG); the lit fill switches at once, the growth carries the motion */
.k-hive.is-live .k-cell { opacity: .5; }
.k-hive.is-live .k-cell.is-lit { opacity: 1; transform: scale(1.08); }
.k-cell.is-lit .k-hex { fill: var(--highlight-wash); filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--ink) 16%, transparent)); } /* decision 32: always light yellow */
.k-cell.is-vid .k-cico { opacity: 0; }
.k-hive-vid { position: absolute; aspect-ratio: 1; height: auto; opacity: 0; transform: scale(1.08); }
.k-hive-vid.is-on { opacity: 1; }
/* Feedback 17.11: on a phone the clip showed as a white square when the browser drew it without alpha. Safety net: the clip is
   cut to the cell's hexagon (point up, like .k-hex), and on iOS white multiplies away into the lit yellow cell. */
.k-hive-vid { clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%); }
@supports (-webkit-touch-callout: none) { .k-hive-vid { mix-blend-mode: multiply; } }
.k-calm .k-cell { transition: opacity .2s ease; } /* calm: the lit cell still grows and brightens, it just does not travel there */
.k-calm .k-hive-vid { display: none; }
.k-hero-col { width: min(560px, 54%); margin-inline: auto max(0px, calc((100% - var(--wide)) / 2)); display: flex; flex-direction: column; align-items: center; }
.k-hero-track { width: 100%; }
.k-slide { text-align: center; display: flow-root; } /* flow-root: the last margin counts in offsetHeight, so fit() measures the full slide */
.k-slide[hidden] { display: none; }
.k-slide-h { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.875rem); font-weight: 600; line-height: 1.15; color: var(--accent-ink); margin: 0 0 14px; }
.k-slide-d { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.35; margin: 0 0 24px; }
/* Rotation stop control (WCAG 2.2.2), decision 46: icon only, quiet, in the hero's bottom corner (inline end).
   44px hit area, 28px ring; icon in --faint, 3.1:1 on aqua (non-text >= 3). Name toggles in site.js. */
.k-hero-pause {
	position: absolute; bottom: 8px; inset-inline-end: max(var(--side), calc((100% - var(--wide)) / 2)); z-index: 1;
	width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
	background: transparent; color: var(--faint); border: 0; cursor: pointer;
}
.k-hero-pause svg { box-sizing: content-box; width: 12px; height: 12px; padding: 7px; border: 1px solid currentColor; border-radius: 50%; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .k-hero-pause:hover { color: var(--ink); } }
/* Gil 21.11: the control is there for the accessibility law only, so it stays small and faded (32px hit, 20px ring, 55%).
   Full strength on hover and keyboard focus. */
.k-hero-pause { width: 32px; height: 32px; opacity: .55; transition: opacity .2s ease; }
.k-hero-pause svg { width: 10px; height: 10px; padding: 4px; }
.k-hero-pause:focus-visible { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .k-hero-pause:hover { opacity: 1; } }
.k-hero-pause .k-ico-play, .k-hero-pause.is-stopped .k-ico-pause { display: none; }
.k-hero-pause.is-stopped .k-ico-play { display: inline; }
@media (max-width: 781px) {
	/* adapt 19.10: the hive keeps the desktop bleed (flush to the right edge, so its cut edges meet the screen edge, never
	   a hard line mid-screen), capped on tablets; the sentence starts 16px under the art instead of ~90px of empty aqua. */
	.k-hero { --hw: min(80vw, 520px); padding-top: calc(var(--hw) * 905 / 949 - 48px); min-height: 0; }
	.k-hive { width: var(--hw); right: 0; }
	.k-hero-col { width: auto; margin-inline: 0; }
	.k-slide-d br { display: none; }
}

.k-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-block: var(--sec); }
.k-dots, .k-about-text .k-clist { padding-inline-start: 1.2em; margin: 0 0 16px; }
.k-dots li::marker { color: var(--accent); }
.k-about-text .k-clist li { margin-bottom: 2px; }
@media (max-width: 900px) { .k-about { grid-template-columns: 1fr; gap: 24px; } }

/* Noam intro (decision 17, mockup B): stage 100 x 121 units; hex tilted 11.5deg like the brand mark.
   The photo's clip = the hexagon below its two upper vertices, open above them: head and shoulders break out,
   the body ends exactly on the lower edges. Points computed in the pattern's geometry (R 44, centre 50,74). */
.k-intro-stage { position: relative; width: min(420px, 100%); aspect-ratio: 100 / 121; margin-inline: auto; }
.k-intro-hex { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.k-intro-fill { fill: var(--paper); }
.k-intro-line { fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.k-intro-me { position: absolute; inset: 0; clip-path: polygon(17.05% 0, 91.73% 0, 91.73% 49.62%, 82.95% 85.25%, 41.23% 96.79%, 8.27% 72.7%, 17.05% 37.06%); }
.k-intro-me img { position: absolute; left: 4%; top: 6.2%; width: 92%; height: auto; max-width: none; }
.k-intro-dot { position: absolute; width: 11%; aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); rotate: 11.5deg; }
.k-dot1 { background: var(--coral); top: 22%; right: 2%; }
.k-dot2 { background: var(--highlight); top: 12%; right: 16%; width: 7.5%; }
.k-dot3 { background: var(--accent); top: 30%; left: 0; width: 9%; }
/* Scroll-in once (rare, explanatory): outline draws, photo rises. Only with JS and full motion; else shown at rest. */
/* Gated on html.js:not(.k-calm): no JS or calm = shown at rest. */
.js:not(.k-calm) .k-intro:not(.is-in) .k-intro-line { stroke-dashoffset: 1; }
.js:not(.k-calm) .k-intro:not(.is-in) .k-intro-fill, .js:not(.k-calm) .k-intro:not(.is-in) .k-intro-dot { opacity: 0; }
.js:not(.k-calm) .k-intro:not(.is-in) .k-intro-me { opacity: 0; transform: translateY(16px); }
.js:not(.k-calm) .k-intro-line { transition: stroke-dashoffset .9s var(--ease-in-out); }
.js:not(.k-calm) .k-intro-fill { transition: opacity .6s var(--ease-out) .1s; }
.js:not(.k-calm) .k-intro-me { transition: opacity .6s var(--ease-out) .25s, transform .6s var(--ease-out) .25s; }
.js:not(.k-calm) .k-intro-dot { transition: opacity .5s var(--ease-out) .7s; }
.js:not(.k-calm) .k-dot2 { transition-delay: .78s; } .js:not(.k-calm) .k-dot3 { transition-delay: .86s; }

.k-services, .k-clients, .k-contact { padding-block: var(--sec); }
.k-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1023px) { .k-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .k-cards { grid-template-columns: 1fr; } }
.k-card { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 24px; margin: 0; }
.k-svc-ico { position: relative; display: block; width: 80px; height: 80px; margin: 0 0 12px; }
.k-svc-ico > svg, .k-svc-ico > img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Sadeh in the services menu (Adi 23.11): their logo is wide, so the icon slot shows only its round emblem, cropped by CSS
   from the same file the services page uses (no new asset). No clip, nothing animates. */
.k-svc-ico-logo > img { object-fit: cover; object-position: 100% 50%; }
.k-svc h3 { font-size: 1.375rem; margin: 0 0 8px; }
/* home cards use h3, the /services/ hub h2 (audit 18.10: hub links were 29-32px) */
.k-svc :is(h2, h3) a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.k-svc :is(h2, h3) a:hover { color: var(--accent-ink); -webkit-text-stroke: var(--hover-stroke); }
.k-svc p { margin: 0; color: var(--muted); }

.k-quote { border: 0; display: flex; flex-direction: column; gap: 12px; }
.k-quote p { margin: 0; font-size: 1.0625rem; }
.k-quote cite { font-style: normal; font-weight: 600; color: var(--accent-ink); }
.k-quote cite::before { content: "– "; }

.k-logos { padding-block: 32px; }
/* Task 7 (22.10): a self-fitting grid, no sideways scroll at any width: 3 across on phones, 4 on tablets, 6 on desktop. */
.k-logo-row { list-style: none; margin: 0 auto; padding: 8px 0 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; justify-items: center; max-width: 960px; }

/* honeycomb cell: aqua rim (like the hero cells) around a white hexagon, logo in its own colors */
.k-logo-row li { width: 132px; aspect-ratio: .866; padding: 7px; background: var(--accent-wash-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.k-logo-cell { display: grid; place-items: center; width: 100%; height: 100%; background: var(--white); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.k-logo-row img { display: block; width: auto; height: auto; max-width: 78px; max-height: 52px; object-fit: contain; }
.k-logo-row li { width: 100%; max-width: 150px; padding: 6%; }
.k-logo-row li[hidden] { display: none; }
.k-logo-row img { max-width: 72%; max-height: 50%; }
@media (min-width: 600px) { .k-logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .k-logo-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.k-contact .k-lead { font-size: 1.25rem; margin-block: -16px 24px; }
.k-form, .k-form-ok { max-width: 760px; }
.k-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.k-form p { margin: 0 0 16px; }
.k-form label { display: block; font-weight: 500; margin-bottom: 4px; }
.k-form input, .k-form select, .k-form textarea { width: 100%; min-height: 48px; padding: 8px 14px; border: 1px solid var(--field-border); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; }
.k-form fieldset[disabled] { opacity: .75; }
@media (max-width: 599px) { .k-fields { grid-template-columns: 1fr; } }

/* pre-launch: content waiting on Noam / legal / a later sprint */
.k-building { position: relative; border: 2px dashed var(--faint); border-radius: var(--r-card); padding: 40px 20px 8px; }
.k-building::before { content: attr(data-pending); position: absolute; top: 8px; inset-inline-start: 16px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.is-prelaunch .k-pending { outline: 2px dashed var(--faint); outline-offset: 4px; border-radius: 4px; }
.is-prelaunch .k-pending::after { content: " (" attr(data-pending) ")"; font-size: 0.8125rem; color: var(--muted); }

/* reading pages: posts, blog list, accessibility (V10 article look) */
.k-reading { padding: 8px var(--side) 64px; font-size: 1.125rem; line-height: 1.65; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .k-reading { font-size: 1.1875rem; } }
.k-reading h1 { font-size: clamp(2.125rem, 1.4rem + 2.2vw, 2.75rem); line-height: 1.2; margin-block: 16px 12px; }
.k-reading h2 { font-size: clamp(1.5625rem, 1.3rem + .6vw, 1.6875rem); line-height: 1.25; margin-block: 48px 12px; }
.k-reading h3 { font-size: 1.3125rem; line-height: 1.35; margin-block: 28px 6px; }
.k-reading p { margin-block: 0 1em; }
.k-crumbs { font-size: 0.9375rem; color: var(--muted); min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.k-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.k-crumbs a:hover { -webkit-text-stroke: var(--hover-stroke); }
.k-byline, .k-rel .wp-block-post-date { color: var(--muted); font-size: 0.9375rem; margin-block: 0 24px; }
.k-postnav { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 16px; gap: 16px; }
.k-postnav a { display: inline-flex; min-height: 44px; align-items: center; }
.k-rel { list-style: none; margin: 0; padding: 0; }
.k-rel li { padding: 20px 0; border-top: 1px solid var(--rule); }
.k-rel li:last-child { border-bottom: 1px solid var(--rule); }
.k-rel .wp-block-post-title { margin: 0; font-size: 1.3125rem; }
.k-rel .wp-block-post-title a { color: var(--accent-ink); text-decoration: none; display: inline-block; min-height: 44px; }
.k-rel .wp-block-post-title a:hover { -webkit-text-stroke: var(--hover-stroke); }
.k-rel .wp-block-post-date { margin: 0; }
.k-rel .wp-block-post-excerpt p { margin: 4px 0 0; color: var(--muted); font-size: 1rem; }
.k-rel .wp-block-post-excerpt__more-text { display: none; }

/* Post bottom (Gil 22.11): prev/next cards, "more from the blog", calculators card. Markup from
   scripts/post-bottom.mjs. Thumbnails reuse site art: month + chart line for reviews, service icon for
   insurance posts, the post's own image when it has one. Hover lift only on fine pointers. */
.k-reading > .k-pb { max-width: min(1040px, 100%); }
.k-pb { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); display: grid; gap: 48px; }
.k-pb a { color: var(--ink); text-decoration: none; }
.k-pb-kind { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.k-pb-date { display: block; font-size: 0.875rem; color: var(--muted); }

.k-th { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; isolation: isolate; }
.k-th.is-img img { width: 100%; height: 100%; object-fit: cover; }
.k-th.is-icon { background: var(--accent-wash); }
.k-th.is-icon img { width: 46%; height: auto; }
.k-th.is-market { background: var(--ink); color: var(--white); align-content: center; gap: 2px; }
.k-th.is-market::after { /* the blog's market chart line */
	content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 42%; opacity: .55;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 34 L20 30 L40 32 L60 22 L80 25 L100 16 L120 20 L140 10 L160 14 L180 6 L200 8' fill='none' stroke='%23FFC95B' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.k-th.is-market.v1::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 L20 26 L40 18 L60 24 L80 12 L100 18 L120 8 L140 16 L160 10 L180 18 L200 6' fill='none' stroke='%23FFC95B' stroke-width='2'/%3E%3C/svg%3E"); }
.k-th.is-market.v2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 10 L20 14 L40 8 L60 20 L80 16 L100 28 L120 22 L140 30 L160 18 L180 22 L200 12' fill='none' stroke='%23FFC95B' stroke-width='2'/%3E%3C/svg%3E"); }
.k-th-month { font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 700; line-height: 1; }
.k-th-year { font-size: 0.875rem; color: var(--highlight); font-weight: 600; }
.k-th img, .k-th-month { transition: transform .35s var(--ease-out); }

/* prev / next: two wide cards, image beside the text */
.k-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.k-pn-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border: 1.5px solid var(--rule); border-radius: var(--r-card); background: var(--white); transition: border-color .2s ease, transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.k-pn-card.is-next { grid-column: 2; }
.k-pn-card .k-th { aspect-ratio: 1.1; }
.k-pn-card .k-th-month { font-size: 1.375rem; }
.k-pn-body { display: grid; gap: 4px; min-width: 0; }
.k-pn-dir { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--accent-ink); }
.k-pn-card.is-prev .k-pn-dir::before { content: "→"; transition: transform .2s var(--ease-out); }
.k-pn-card.is-next .k-pn-dir::after { content: "←"; transition: transform .2s var(--ease-out); }
.k-pn-title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; text-wrap: pretty; }

/* more from the blog: three tall cards */
.k-pb .k-more-h { display: flex; align-items: center; gap: 14px; font-size: 1.375rem; margin: 0 0 18px; }
.k-more-h::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.k-more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.k-more-list > li { margin: 0; padding: 0; }
.k-more-card { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 16px; border: 1.5px solid var(--rule); border-radius: var(--r-card); background: var(--white); transition: border-color .2s ease, transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.k-more-body { display: grid; gap: 4px; padding: 14px 6px 0; flex: 1; align-content: start; }
.k-more-title { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.k-more-body .k-pb-date { margin-top: 4px; }

@media (hover: hover) and (pointer: fine) {
	.k-pn-card:hover, .k-more-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px color-mix(in srgb, var(--ink) 12%, transparent); }
	.k-pn-card:hover .k-th img, .k-more-card:hover .k-th img, .k-pn-card:hover .k-th-month, .k-more-card:hover .k-th-month { transform: scale(1.06); }
	.k-pn-card.is-prev:hover .k-pn-dir::before { transform: translateX(3px); }
	.k-pn-card.is-next:hover .k-pn-dir::after { transform: translateX(-3px); }
	.k-pn-card:hover .k-pn-title, .k-more-card:hover .k-more-title { -webkit-text-stroke: var(--hover-stroke); }
}
.k-pn-card:active, .k-more-card:active { transform: scale(.98); }
.k-pn-card:focus-visible, .k-more-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* related services: three icon tiles, the site's service-card look */
.k-svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.k-svc-list > li { margin: 0; }
.k-svc-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%; padding: 14px 16px; border-radius: var(--r-card); background: var(--accent-wash); border: 1.5px solid transparent; transition: border-color .2s ease, transform .2s var(--ease-out), background .2s ease; }
.k-svc-art { grid-row: 1 / span 2; display: grid; width: 64px; transition: transform .25s var(--ease-out); }
.k-svc-art > * { grid-area: 1 / 1; width: 100%; height: auto; transition: opacity .3s ease; }
.k-svc-art video { opacity: 0; }
.k-svc-art.is-playing video { opacity: 1; }
.k-svc-art.is-playing img { opacity: 0; }
.k-svc-name { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; align-self: end; }
.k-svc-more { display: inline-flex; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--accent-ink); align-self: start; }
.k-svc-more::after { content: "←"; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.k-svc-card:hover { border-color: var(--accent); }
	.k-svc-card:hover .k-svc-art { transform: scale(1.12); }
	.k-svc-card:hover .k-svc-more::after { transform: translateX(-3px); }
}
.k-svc-card:active { transform: scale(.98); }
.k-svc-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 760px) { .k-svc-list { grid-template-columns: 1fr; gap: 10px; } .k-svc-card { grid-template-columns: 52px minmax(0, 1fr); padding: 10px 14px; } .k-svc-art { width: 52px; } }
@media (prefers-reduced-motion: reduce) { .k-svc-card, .k-svc-art { transition: none; } .k-svc-card:hover .k-svc-art { transform: none; } }
html.k-calm .k-svc-card { transition: none; transform: none !important; }

/* calculators: a compact version of the blog's calculators banner */
.k-pb-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 34%); gap: 8px 28px; align-items: center; padding: 22px 26px; background: var(--accent-wash); border: 1px solid var(--rule); border-inline-start: 6px solid var(--highlight); border-radius: 14px; }
.k-pb-calc-art { grid-column: 2; grid-row: 1; width: 100%; height: auto; }
.k-pb-calc-body { grid-column: 1; grid-row: 1; }
.k-pb-calc-kicker { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--accent-ink); }
.k-pb-calc-title { margin: 2px 0 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; }
.k-pb-calc-title a:hover { -webkit-text-stroke: var(--hover-stroke); }
.k-pb-calc-title a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.k-pb-calc-dek { margin: 6px 0 10px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.k-pb-calc-list { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; border-top: 1px dashed var(--field-border); }
.k-pb-calc-list li { margin: 0; }
.k-pb-calc-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 8px; border: 1px solid var(--rule); border-radius: var(--r-pill); background: var(--paper); font-weight: 500; font-size: .92rem; transition: background .18s ease-out, transform .18s var(--ease-out); }
.k-pb-calc-list a:hover, .k-pb-calc-list a:focus-visible { background: var(--white); transform: translateY(-2px); }
.k-pb-calc-list a:active { transform: scale(.97); }
.k-pb-calc-list img { width: 30px; height: 30px; }

@media (max-width: 760px) {
	.k-pb { margin-top: 44px; gap: 40px; }
	.k-pn { grid-template-columns: 1fr; gap: 12px; }
	.k-pn-card.is-next { grid-column: auto; }
	.k-pn-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 10px; }
	.k-pn-card .k-th-month { font-size: 1.125rem; }
	.k-pn-title { font-size: 1.0625rem; }
	.k-more-list { grid-template-columns: 1fr; gap: 12px; }
	.k-more-card { flex-direction: row; align-items: center; gap: 14px; padding: 10px; }
	.k-more-card .k-th { flex: 0 0 96px; aspect-ratio: 1.1; }
	.k-more-card .k-th-month { font-size: 1.125rem; }
	.k-more-body { padding: 0; }
	.k-pb-calc { grid-template-columns: 1fr; padding: 18px 16px; }
	.k-pb-calc-art { grid-column: 1; grid-row: 1; max-width: 320px; justify-self: center; }
	.k-pb-calc-body { grid-row: 2; }
	.k-pb-calc-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
	.k-pb-calc-list li { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
	.k-pn-card, .k-more-card, .k-th img, .k-th-month, .k-pb-calc-list a { transition: none; }
	.k-pn-card:hover, .k-more-card:hover, .k-pb-calc-list a:hover { transform: none; }
	.k-pn-card:hover .k-th img, .k-more-card:hover .k-th img, .k-pn-card:hover .k-th-month, .k-more-card:hover .k-th-month { transform: none; }
}
html.k-calm .k-pn-card, html.k-calm .k-more-card, html.k-calm .k-th img, html.k-calm .k-th-month, html.k-calm .k-pb-calc-list a { transition: none; transform: none !important; }
.wp-block-query-pagination { margin-top: 32px; gap: 8px; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* footer */
.k-site-footer { background: var(--ink); color: var(--white); }
.k-footer { max-width: var(--wide); margin: 0 auto; padding: 40px var(--side) 24px; }
.k-footer a { color: var(--white); }
.k-foot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.k-foot-contact { font-style: normal; display: grid; gap: 4px; }
.k-foot-line { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; min-height: 44px; text-decoration: none; }
.k-foot-line > * { min-width: 0; overflow-wrap: anywhere; } /* 200% text (audit 18.10): the e-mail line was the real 68px overflow */
a.k-foot-line:hover { -webkit-text-stroke: var(--hover-stroke); }
.k-foot-lbl { min-width: 5.5em; font-weight: 600; color: var(--highlight); }
/* Mobile + WhatsApp line (Adi 21.10 / 26.10): desktop pointer = the number as a WhatsApp Web link; touch = plain number + a choice */
.k-foot-phone a.k-foot-num:hover { -webkit-text-stroke: var(--hover-stroke); }
.k-foot-numtxt, .k-foot-pick { display: none; }
/* Phone line (Gil 11.11): label column 5.5em + the same 12px gap as the e-mail and address lines, the number (and on touch the two pills,
   on their own row) always in the value column, so nothing wraps back under the label. */
.k-foot-phone { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0 12px; align-items: center; }
.k-foot-phone > :not(.k-foot-lbl) { grid-column: 2; justify-self: start; }
.k-foot-phone a.k-foot-num { text-decoration: none; } /* same rest state as the e-mail line (Gil 11.11: the underlined number looked off) */
/* 5-column footer (1200px+): the column is too narrow for label + e-mail on one row, so the e-mail wrapped under its label while
   the phone and the address stayed beside theirs. Here all three lines stack the same way: label on top, value under it. */
@media (min-width: 1200px) {
	.k-foot-contact .k-foot-line { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding-block: 4px; }
	.k-foot-contact .k-foot-lbl { min-width: 0; }
}
.k-foot-pick { gap: 6px; }
.k-foot-pick a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid color-mix(in srgb, var(--white) 55%, transparent); border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: .875rem; }
.k-foot-pick a:first-child { background: var(--white); color: var(--ink); border-color: var(--white); } /* WhatsApp first: most visitors prefer it (Adi 26.10) */
@media not all and (hover: hover) and (pointer: fine) {
	.k-foot-phone a.k-foot-num { display: none; }
	.k-foot-numtxt { display: inline; }
	.k-foot-pick { display: inline-flex; }
}
.k-foot-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; border-top: 1px solid color-mix(in srgb, var(--white) 25%, transparent); margin-top: 32px; padding-top: 12px; font-size: 0.9375rem; }
.k-foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.k-foot-links a, .k-foot-links .k-pending { display: inline-flex; align-items: center; min-height: 44px; }
.k-footer .k-pending, .k-footer .k-pending::after { color: var(--white); }
@media (max-width: 781px) { .k-foot-main { grid-template-columns: 1fr; } .k-foot-bar { flex-direction: column; align-items: flex-start; } }

/* WhatsApp (22.10; official green 26.10; back to a circle 10.11, Adi, shape only, the rest below as it was): the site's hex cell (the honeycomb polygon of the logo strip
   and the services hive: point up, width:height .866) filled with WhatsApp's #25D366 and the official white glyph. That
   pair is 1.98:1 and FAILS WCAG 1.4.11 (3:1). Adi's decision, kept with its gap in docs/plans/2026-10-26-wa-hexagon-
   decision.md and in the accessibility statement. A 2px rim in #16984A (3.73:1 on white, 3.14:1 on the darkest aqua wash)
   keeps the shape distinct on every background; hover fills it with the rim green. clip-path would clip the shadow too, so
   the hex lives in the pseudo-elements (::before rim, ::after fill) and the shadow is a drop-shadow on the link. The whole
   link box (56 x 65, inline 44 x 51) is the click target, corners included. Same corner on every width: inline-end (left
   in RTL), 24px in on desktop, 16px on a phone. The a11y trigger sits on the other side. */
.k-wa, .k-wac { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; color: #fff; text-decoration: none; }
.k-wa::before, .k-wac::before, .k-wa::after, .k-wac::after { content: ""; position: absolute; z-index: -1; clip-path: circle(50%); }
.k-wa::before, .k-wac::before { inset: 0; background: #16984A; }
.k-wa::after, .k-wac::after { inset: 2px; background: #25D366; }
.k-wa:hover, .k-wac:hover { color: #fff; }
@media (hover: hover) and (pointer: fine) { .k-wa:hover::after, .k-wac:hover::after { background: #16984A; } } /* mouse only: on a phone :hover sticks after the tap, so the circle stayed dark when coming back from WhatsApp (Adi 19.11) */
.k-wa, .k-wac, .a11y-trigger { -webkit-tap-highlight-color: transparent; } /* no grey square on tap in mobile browsers (Adi 16.11); the pressed state below is the feedback */
.k-wa:active::after, .k-wac:active::after { background: #16984A; }
/* Adi 17.11: a grey square still showed around the circle on a phone. Coming back from WhatsApp the browser restores focus
   to the circle and draws the global square focus ring around it; the ring stays (keyboard users need it), but round. */
.k-wa:focus-visible, .k-wac:focus-visible { border-radius: 50%; }
.k-wa:focus-visible, .a11y-trigger:focus-visible { box-shadow: 0 0 0 3px #fff; } /* white inner ring under the dark outline: over the dark footer the outline alone was 1:1 (Roni 19.11, approved by Adi) */
.k-sec-contact .k-field-wide, .k-leadbox .k-field-wide { grid-column: 1 / -1; margin-bottom: 16px; } /* optional free text on the home form, full width (Adi 19.11) */
.k-wa { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 50; width: 56px; filter: drop-shadow(0 4px 7px color-mix(in srgb, var(--ink) 25%, transparent)); }
.k-wa svg, .k-wac svg { display: block; }
@media (max-width: 767px) { .k-wa { bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline-end: 16px; } .k-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } } /* the circle (56px) never sits on the last footer line */

/* WhatsApp hexagon, inline (task 6, 22.10): the same green hexagon as the floating one at 44px wide (touch target), with a
   short line beside it that never says WhatsApp. Behavior (the bubble on desktop, WhatsApp on phones): site.js [data-k-bubble]. */
.k-wac { display: inline-grid; flex: none; width: 44px; }
.k-wa svg { width: 30px; height: 30px; }
.k-wa-p { margin: 0; }
.k-wa-row { display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.k-wa-row__t { font-weight: 500; }
.k-cpage .k-sec-cta, .k-cpage .k-sec-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.k-cpage .k-sec-cta > *, .k-cpage .k-sec-contact > * { margin-block: 0; }
.k-sec-contact .k-msgbox { flex: 1 1 100%; margin-top: 8px; }
/* /faq/: "a question that is not here" is its own section, not the tail of the last topic (Gil 12.11): more air than the
   40px between topics. */
#k-faq-ask { margin-top: 72px; }
/* /faq/ form: name, phone and topic open softly with the first typed character instead of popping in (Gil 12.11).
   site.js wraps the block in .k-more-in and holds it shut with .is-shut; height via the 0fr -> 1fr grid row (no
   transform equivalent for a box that pushes the page), with a fade. .is-open (set when the height is done) lets focus
   rings out of the clip. .5s, past the usual .3s UI cap, on purpose: a ~440px block opening once per visit; at .3s the
   strong ease-out covered 94% of the height in 130ms and still read as a pop. Calm: no height travel, only a short fade. Without JS nothing is wrapped and all fields show. */
.k-more.is-anim { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease-out); }
.k-more.is-shut { grid-template-rows: 0fr; }
.k-more-in { min-height: 0; overflow: hidden; transition: opacity .4s ease .08s, visibility 0s; }
.k-more.is-shut .k-more-in { opacity: 0; visibility: hidden; transition: none; }
.k-more.is-open .k-more-in { overflow: visible; }
html.k-calm .k-more.is-anim { transition: none; }
html.k-calm .k-more-in { transition: opacity .2s ease; }

/* Chat bubble (task 5): bottom corner above the 56px circle (24 + 56 + 12), same inline-end side. Non-modal. */
.k-bubble {
	position: fixed; z-index: 55; inset-inline-end: 24px; bottom: 92px; width: min(360px, calc(100vw - 32px));
	max-height: calc(100vh - 116px); overflow-y: auto; background: var(--white); color: var(--ink);
	border: 1px solid var(--rule); border-radius: 20px; box-shadow: 0 8px 28px color-mix(in srgb, var(--ink) 24%, transparent);
}
.k-bubble[hidden] { display: none; }
.k-bubble__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 4px 16px; background: var(--accent-ink); color: var(--white); border-radius: 19px 19px 0 0; }
.k-bubble__head h2 { margin: 0; font-size: 1.125rem; line-height: 1.3; color: inherit; }
.k-bubble__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; color: inherit; border: 0; border-radius: 50%; cursor: pointer; }
.k-bubble__x:hover { background: color-mix(in srgb, var(--white) 18%, transparent); }
.k-bubble__x:focus-visible { outline-color: var(--white); }
.k-bubble__body { padding: 16px; }
.k-bubble .k-form, .k-bubble .k-form-ok { max-width: none; }
.k-bubble .k-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; } /* name and phone in one row (Adi 27.10) */
.k-bubble .k-form p { margin-bottom: 12px; }
.k-chat-acts { display: flex; gap: 8px; }
.k-bubble .k-chat-acts .k-btn { flex: 1 1 0; min-width: 0; min-height: 48px; justify-content: center; font-size: 1rem; padding-inline: .75em; white-space: nowrap; }
.k-bubble .k-form .k-chat-acts { margin-bottom: 12px; }
.k-bubble .k-form-ok { padding: 8px 0 12px; }
.k-bubble .k-ok-text { font-size: 1.125rem; }
html:not(.k-calm) .k-bubble:not([hidden]) { animation: k-bubble-in .18s var(--ease-out); }
@keyframes k-bubble-in { from { opacity: 0; transform: translateY(8px); } }
.k-form textarea { display: block; resize: vertical; min-height: 104px; }
.k-msgbox .k-field-msg label { font-size: 1.0625rem; }
@media (max-width: 599px) { .k-sec-contact .k-msgbox .k-fields { grid-template-columns: 1fr; } }

/* Gentle constant float (Gil/Adi 22.10, motion from harim-studio.vercel.app: 6px up and down every 3.5s, one slide-in 0.8s
   after load). The float uses `translate` and the entrance `transform`, so they do not fight. RTL: the hexagon is at the
   left, so it enters from its own edge (-20px). Stopped by html.k-calm (OS reduced motion or the a11y menu), WCAG 2.2.2. */
html:not(.k-calm) .k-wa { animation: k-wa-in .45s cubic-bezier(.34, 1.56, .64, 1) .8s both, k-wa-float 3.5s ease-in-out 1.25s infinite; }
@keyframes k-wa-in { from { opacity: 0; transform: translateX(-20px); } }
@keyframes k-wa-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
/* iOS 26 Safari (feedback 17.11, note 36): after the keyboard closes the floating buttons can sit too high while the page
   scrolls (WebKit bug 297779: visualViewport keeps a stale offset). site.js measures the drift into --k-drift (0 elsewhere)
   and a negative bottom margin moves them back down; margin, because translate/transform carry the float and entrance. */
.k-wa, .a11y-trigger, .a11y-panel { margin-bottom: calc(-1 * var(--k-drift, 0px)); }

/* ---------- Sprint 2 ---------- */

/* lead form: states (inc/form.php, site.js) */
.k-form [aria-invalid="true"] { border: 2px solid var(--err); }
.k-err { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 500; color: var(--err); }
.k-err:empty { display: none; }
.k-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-leadbox { position: relative; }
.k-form-live { min-height: 0; font-weight: 500; color: var(--err); }
.k-form-live:empty { margin: 0; }
.k-form .k-btn[disabled] { opacity: .7; cursor: progress; }
.k-slot { min-height: 52px; padding: 0; margin: 0 0 16px; }
.k-form-ok { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; text-align: center; outline: none; }
.k-form-ok[hidden] { display: none; } /* the rule above beat [hidden]: an empty 68-84px box sat under every form */
.k-ok-vid { width: 120px; height: 120px; }
.k-ok-vid:not([src]) { display: none; }
.k-ok-text { margin: 0; font-size: 1.25rem; font-weight: 600; transition: opacity .2s var(--ease-out); }
.k-form-ok:not(.is-done) .k-ok-text { opacity: 0; }

/* footer form on navy (every page but home, which has its own contact section) */
.k-foot-form { border-bottom: 1px solid color-mix(in srgb, var(--white) 25%, transparent); padding-bottom: 24px; margin-bottom: 32px; }
.k-foot-h { color: var(--white); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); margin: 0 0 4px; }
.k-foot-lead { margin: 0 0 20px; font-size: 1.125rem; }
/* The home contact art (aria-hidden copy, animated like home since 16.11) balances the form on wide screens (Gil 11.11):
   form on the start side, hex on the end side, same 7fr / 5fr as the home contact section. Hidden where the footer is one column. */
.k-foot-form .k-contact-art { display: none; }
@media (min-width: 782px) {
	.k-foot-form { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: start; }
	.k-foot-form > * { grid-column: 1; }
	.k-foot-form > .k-contact-art { display: grid; grid-column: 2; grid-row: 1 / span 3; align-self: center; }
	.k-foot-form .k-contact-hex { width: min(320px, 100%); }
}
.k-footer .k-form label { color: var(--white); }
.k-footer .k-err, .k-footer .k-form-live { color: var(--highlight); }
.k-footer .k-form [aria-invalid="true"] { border-color: var(--highlight); }
.k-footer .k-btn { background: var(--highlight); border-color: var(--highlight); color: var(--ink); }
.k-footer .k-btn:hover { background: color-mix(in srgb, var(--highlight), var(--shade) 8%); color: var(--ink); }
.k-footer .k-ok-text { color: var(--white); }
.k-footer .k-pend::before { color: var(--white); }

/* pre-launch frame for unapproved JSON content + empty slots (status label on top) */
.k-pend { position: relative; border: 2px dashed var(--faint); border-radius: 12px; padding: 30px 14px 6px; margin-block: 0 16px; }
.k-pend::before { content: attr(data-pending); position: absolute; top: 6px; inset-inline-start: 12px; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--muted); }
li.k-pend { padding-top: 26px; margin-bottom: 8px; }
.k-pend > :first-child, .k-pend > .k-qa > h2:first-child { margin-top: 0; }
.k-pend > :last-child, .k-pend > .k-qa > :last-child { margin-bottom: 0; }
.k-ask { min-height: 64px; }

/* content pages (inc/content.php) */
.k-cpage [id] { scroll-margin-top: 16px; }
.k-cpage h1 { font-size: clamp(2.125rem, 1.4rem + 2.2vw, 2.75rem); line-height: 1.2; margin-block: 16px 12px; }
.k-svc-head { padding-inline-start: 22px; } /* room for the video frame (1.35x) at the screen edge */
.k-svc-head .k-svc-ico { width: 120px; height: 120px; margin: 8px 0 0; }
.k-role-tagline { font-size: 1.25rem; color: var(--muted); }
.k-eyebrow { font-weight: 600; color: var(--accent-ink); margin: 32px 0 8px; }
.k-byline { color: var(--muted); font-size: 0.9375rem; }
.k-clist { padding-inline-start: 1.2em; margin: 0 0 1em; }
.k-clist li { margin-bottom: 8px; }
.k-clist li::marker { color: var(--accent); }
.k-links { list-style: none; padding: 0; margin: 0 0 1em; }
.k-links li { border-top: 1px solid var(--rule); }
.k-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; }
.k-jump { margin-block: 24px 8px; }
.k-jump .k-eyebrow { margin-top: 0; }
.k-jump ul { list-style: none; padding: 0; margin: 0; }
.k-jump a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; }
/* Phones: the calculator jump link and the "about" link beside it were 17px tall, two per card */
@media (max-width: 599px) { .k-cpage-calculators p > a[data-calc-jump], .k-cpage-calculators p > a[data-calc-jump] + a { display: inline-flex; align-items: center; min-height: 44px; } }
.k-qa h2 { margin-top: 40px; }
.k-cquote { margin: 24px 0; padding: 4px 16px; border-inline-start: 4px solid var(--highlight); }
.k-cquote p { font-size: 1.25rem; font-weight: 500; margin: 0 0 4px; }
.k-cquote cite { font-style: normal; color: var(--muted); font-size: 0.9375rem; }
.k-cquote cite::before { content: "– "; }
.k-cfig { margin: 16px 0; }
.k-cfig img { width: 100%; height: auto; display: block; }

/* pension funds Noam works with: logos only */
.k-funds { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 0; margin: 16px 0 24px; }
.k-funds img { display: block; height: 56px; width: auto; }

/* steps strip (V9), port of tech/site article.css. No JS: plain numbered list + the static journey figure. */
.k-steps { display: grid; grid-template-columns: 1fr; margin-block: 8px 24px; }
.k-steps-bar, .k-steps-icon { display: none; }
.js .k-steps { grid-template-columns: 1fr 120px; grid-template-areas: "bar ." "list icon"; column-gap: 12px; align-items: start; }
.js .k-steps-bar { display: block; grid-area: bar; min-height: 44px; margin-bottom: 6px; }
.js .k-steps-noicon { grid-template-columns: 1fr; grid-template-areas: "bar" "list"; }
.js .k-steps-icon { display: block; grid-area: icon; align-self: center; position: relative; width: 120px; height: 120px; }
.k-steps-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .15s; }
.k-steps-icon img.on { opacity: 1; }
.js .k-steps-list { grid-area: list; }
.k-steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.k-step {
	counter-increment: s; display: flex; gap: 8px; padding: 6px 12px; margin-bottom: 6px;
	border-radius: 12px; border-inline-start: 4px solid transparent;
	transition: background-color .15s, color .15s, border-color .15s var(--ease-out);
}
.k-step::before { content: counter(s) "."; flex: none; min-width: 1.4em; font-weight: 600; color: var(--ink); direction: ltr; text-align: end; }
.k-step > div { flex: 1; min-width: 0; }
.k-step p { margin: 0; }
.k-step .k-src { margin: 4px 0 0; font-size: 0.9375rem; }
.js .k-step { color: var(--muted); }
.k-step.on { background: var(--highlight-wash); color: var(--ink); border-inline-start-color: var(--ink); }
.js .k-step.on .k-src { color: var(--ink); }
/* Pause / play for the auto highlight (a11y: moving content over 5s needs a stop control). Gil 18.11: tiny, almost invisible.
   Icon only; the name lives in aria-label (site.js). 24px is the smallest target the standard allows. */
.k-steps-btn {
	position: relative; width: 24px; height: 24px; margin: 0 0 8px; padding: 0; border: 0; border-radius: 50%;
	background: none; color: var(--muted); opacity: .45; cursor: pointer; transition: opacity .2s ease;
}
.k-steps-btn::before, .k-steps-btn::after { content: ""; position: absolute; top: 7px; width: 3px; height: 10px; background: currentColor; border-radius: 1px; }
.k-steps-btn::before { inset-inline-start: 8px; }
.k-steps-btn::after { inset-inline-start: 13px; }
.k-steps-btn[data-state="play"]::after { display: none; }
.k-steps-btn[data-state="play"]::before { inset-inline-start: 9px; width: 0; height: 0; background: none; border-radius: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.k-steps-btn:hover, .k-steps-btn:focus-visible { opacity: 1; }
.k-steps-btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.k-steps-static { margin: 12px 0 0; }
.js .k-steps-static { display: none; }
.k-steps-static img { width: 100%; max-width: 640px; height: auto; display: block; }
@media (max-width: 599px) {
	.js .k-steps { grid-template-columns: 1fr; grid-template-areas: "bar" "icon" "list"; }
	.js .k-steps-icon {
		position: sticky; align-self: start; top: 0; z-index: 4; height: 72px; background: var(--paper);
		width: calc(100% + 2 * var(--side)); margin-inline: calc(-1 * var(--side)); box-shadow: 0 4px 12px color-mix(in srgb, var(--ink) 10%, transparent);
	}
	.k-steps-icon img { inset: 4px calc(50% - 32px); width: 64px; height: calc(100% - 8px); }
}
/* No reduced-motion variant for the strip (Gil 13.10): the pause button is the control; its fades are color/opacity only. */

/* service icon motion (V5, spec 2026-09-14). Rest frame = the original drawing; every keyframe set starts and ends
   there. One duration per icon, offsets are % of the cycle, so the cycle always finishes clean.
   Calm (reduced motion or the a11y menu): site.js stops the clips and never adds .is-play; the rule below stops any
   cycle already running, mid-session too. The icon stays at its rest frame. */
html.k-calm .k-ico :is(.ic-coin, .ic-bill-sign, .ic-arc) { animation: none; }
.k-ico .ic-coin, .k-ico .ic-bill-sign { transform-box: fill-box; transform-origin: center; }
.k-ico .ic-arc { --dx: 0px; --dy: 0px; }
.k-ico-gemel .ic-arc-1 { --dx: 4px; }
.k-ico-gemel .ic-arc-2 { --dx: -4px; --dy: -2px; }

/* health + life: Kling clips since Sprint 4 (see below); gemel stays on CSS (decision 42). */

/* gemel, 2s: the coin drops in and lands, the ₪ on the bill thumps once, the arcs ripple after the landing */
.is-play .k-ico-gemel .ic-coin { animation: k-drop 2s linear; }
.is-play .k-ico-gemel .ic-bill-sign { animation: k-thump 2s ease-in-out; }
.is-play .k-ico-gemel .ic-arc-1 { animation: k-ripple-land 2s var(--ease-out); }
.is-play .k-ico-gemel .ic-arc-2 { animation: k-ripple-land-late 2s var(--ease-out); }
@keyframes k-drop {
	0% { transform: translateY(-14px); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); } /* gravity */
	35% { transform: translateY(1.5px); opacity: 1; animation-timing-function: var(--ease-out); }
	50%, 100% { transform: none; opacity: 1; }
}
@keyframes k-thump { 0%, 36%, 56%, 100% { transform: none; } 44% { transform: scale(1.08); } }
@keyframes k-ripple-land { 0%, 38% { transform: none; opacity: 1; } 80% { transform: translate(var(--dx), var(--dy)); opacity: 0; } 81% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes k-ripple-land-late { 0%, 44% { transform: none; opacity: 1; } 86% { transform: translate(var(--dx), var(--dy)); opacity: 0; } 87% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }

/* health, life, pension, savings, travel: Kling loop over the static SVG. The clip is framed 1.35x around the icon. */
.k-svc-ico > video { position: absolute; inset: -17.5%; width: 135%; height: 135%; opacity: 0; pointer-events: none; }
.is-vid .k-svc-ico > video { opacity: 1; }
.is-vid .k-svc-ico > img { opacity: 0; }

/* ---------- Sprint 3 ---------- */

/* life journey (decision 18, port of mockup C): sticky hex swaps its picture as each step crosses mid-screen */
.k-journey { position: relative; padding-block: var(--sec); } /* anchor for the pause button (the same .k-hero-pause as the hero) */
.k-journey .k-lead { font-size: 1.1875rem; color: var(--muted); margin: -20px 0 32px; }
.k-journey .k-h2, .k-journey .k-lead { text-align: center; } /* heading + lead read as one centered block (Gil 11.11), like the FAQ teaser's heading */
.k-journey .k-hero-pause[hidden] { display: none; } /* .k-hero-pause sets display:grid, which beats [hidden]; shown by site.js on desktop only */
.k-journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.k-journey-steps { list-style: none; margin: 0; padding: 0; }
.k-jstep { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
/* inactive step (audit 18.10): text stays >= 4.5:1 (heading in --muted 6.0:1 on aqua, links accent-ink 4.7:1); only the
   number hex, which is decoration, dims. Color fades only, so calm needs no variant. */
.js .k-journey.is-js .k-jstep:not(.is-on) h3 { color: var(--muted); }
.k-jstep h3, .k-jn { transition: color .3s var(--ease-out), opacity .3s var(--ease-out), background-color .3s var(--ease-out); }
.k-journey.is-js .k-jstep:not(.is-on) .k-jn { color: var(--muted); } /* polish 16.11: was opacity .45 (pale grey on mint, under 3:1); --muted on accent-wash-2 is 5.6:1 */
.k-jn { width: 44px; aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--accent-wash-2); display: grid; place-items: center; font-weight: 700; direction: ltr; }
.k-jstep.is-on .k-jn { background: var(--highlight); }
.k-jstep h3 { margin: 0 0 4px; font-size: 1.375rem; line-height: 1.3; }
.k-jstep p { margin: 0; color: var(--muted); }
.k-jstep a { color: var(--accent-ink); font-weight: 600; }
.k-journey-art { position: sticky; top: 120px; align-self: start; display: grid; place-items: center; }
.k-journey-hex { position: relative; width: min(340px, 100%); aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--paper); }
.k-journey-hex > img, .k-journey-hex > svg { position: absolute; inset: 0; margin: auto; width: 58%; height: auto; opacity: 0; transform: scale(.94); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.k-journey-hex > .is-on { opacity: 1; transform: none; }
.k-calm .k-journey-hex > * { transform: none; transition: opacity .2s ease; }
@media (max-width: 781px) {
	.k-journey-grid { grid-template-columns: 1fr; gap: 0; }
	.k-journey-art { order: -1; top: 0; z-index: 2; background: linear-gradient(var(--accent-wash) 80%, transparent); padding-block: 8px 12px; }
	.k-journey-hex { width: min(220px, 56vw); } /* decision 35: a large hex that sticks to the top */
}

/* footer: license line (decision 12) + the section 21 disclosure slot; room under the bar for the floating buttons */
.k-foot-legal { margin-top: 24px; }
.k-foot-license { margin: 0 0 12px; font-weight: 500; }
.k-footer .k-pend { border-color: color-mix(in srgb, var(--white) 60%, transparent); }
.k-footer .k-pend p { margin: 0 0 8px; }
.k-pend-slot { display: inline-block; padding: 0 8px; border: 1px dashed currentColor; border-radius: 6px; }
@media (min-width: 768px) { .k-footer { padding-bottom: 104px; } } /* WhatsApp bubble (left) and a11y button (right) never cover the bar (QA 6) */
.k-legal .k-privacy-line, .k-legal .k-consent { margin: 0; font-size: 0.9375rem; }
.k-consent { display: flex; gap: 8px; align-items: flex-start; }
.k-consent input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; }
.k-form .k-consent label { display: inline; font-weight: 400; }
.k-reading .k-pend-slot { color: var(--muted); font-size: .9em; }
.k-pslot { color: var(--muted); font-size: 1rem; }

/* testimonials strip (decision 34): constant motion = linear; stops on hover, focus and the pause button */
.k-clients-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.k-strip-btn { min-height: 44px; margin-bottom: 32px; padding: 0 20px; border: 1px solid var(--faint); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 500 .9375rem inherit; font-family: inherit; cursor: pointer; white-space: nowrap; flex: none; } /* never wraps beside the heading on phones (adapt 19.10) */
.k-strip-btn:hover { background: var(--sunk); }
.k-belt { overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 8px 16px; scrollbar-width: none; } /* 26.10: no grey scrollbar under the stopped row; swipe, trackpad and the arrows below move it */
.k-belt::-webkit-scrollbar { display: none; }
.k-strip-nav { display: none; gap: 8px; margin-bottom: 32px; margin-inline-start: auto; }
/* Gil, toolbar 16.11: the heading sits at the middle of the page; the arrows leave the flow so they do not push it off center */
.k-clients-head { position: relative; }
.k-clients-head .k-h2 { flex: 1; text-align: center; }
.k-clients-head .k-strip-nav { position: absolute; inset-inline-end: 0; bottom: 0; }
.k-services > .k-h2 { text-align: center; }
@media (hover: hover) and (pointer: fine) { .k-strip-nav:not([hidden]) { display: flex; } }
.k-strip-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--white); color: var(--ink); font-size: 1.25rem; cursor: pointer; } /* the blog rail's arrows */
.k-strip-nav button:hover { border-color: var(--accent); }
.k-strip-nav button:disabled { opacity: .35; cursor: default; }
.k-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 24px; width: max-content; } /* polish 16.11: each card as tall as its text, no empty bottom; the belt keeps the tallest height so nothing jumps */
.k-track > li { width: min(340px, 80vw); scroll-snap-align: start; display: flex; }
.k-track .k-quote { width: 100%; }
.k-belt.is-moving { overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, var(--shade) 2%, var(--shade) 98%, transparent); mask-image: linear-gradient(90deg, transparent, var(--shade) 2%, var(--shade) 98%, transparent); }
.k-belt.is-moving .k-track { animation: k-strip 65s linear infinite; padding-inline-end: 24px; } /* 26.10: one gap after the copy, so 50% is exactly six quotes and six gaps: the loop no longer jumps 12px at the seam */ /* Gil 19.10: a bit faster (was 90s); SECS in site.js */
.k-belt.is-moving:hover .k-track, .k-belt.is-moving:focus-within .k-track, .k-clients.is-paused .k-track { animation-play-state: paused; }
/* Touch (audit 18.10): while moving, horizontal drags reach site.js (pan-y keeps vertical page scroll native); a tap or
   a drag stops the motion and hands the row over as a plain swipeable, snapping row. Only the button restarts it.
   Manual mode (stopped by touch, or calm) shows the six originals only; the loop copy exists just for the motion. */
.k-belt.is-moving { touch-action: pan-y; }
.k-belt.is-drag { scroll-snap-type: none; }
.k-belt:not(.is-moving) .k-track > [aria-hidden="true"] { display: none; }
@keyframes k-strip { to { transform: translateX(50%); } } /* RTL: the row drifts right, the next quote comes in from the left */

/* static map until clicked (decision 24) */
.k-map-btn { position: relative; display: block; border-radius: 12px; overflow: hidden; text-decoration: none; }
.k-map-btn img { display: block; width: 100%; height: 240px; object-fit: cover; }
.k-map-cta { position: absolute; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.k-footer .k-map-btn .k-map-cta { color: var(--ink); }
.k-map-btn:hover .k-map-cta { -webkit-text-stroke: var(--hover-stroke); }

/* footer hex sign-off (decision 41): the brand's three hexes settle into place once, when the footer comes into view */
.k-signoff { display: inline-flex; gap: 3px; align-items: center; }
.k-signoff i { width: 14px; aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); rotate: 11.5deg; }
.k-signoff i:nth-child(1) { background: var(--coral); } .k-signoff i:nth-child(2) { background: var(--highlight); translate: 0 -5px; } .k-signoff i:nth-child(3) { background: var(--accent); }
.js:not(.k-calm) .k-signoff i { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js:not(.k-calm) .k-signoff i:nth-child(2) { transition-delay: .06s; } .js:not(.k-calm) .k-signoff i:nth-child(3) { transition-delay: .12s; }
.js:not(.k-calm) .k-signoff:not(.is-in) i { opacity: 0; transform: translateY(-8px) scale(.9); }

/* logo intro, first visit only (decision 33): the three hexes travel 0.5s from slightly apart into the mark */
.k-logo svg { width: 128px; height: auto; display: block; overflow: visible; }
@media (max-width: 599px) { .k-logo svg { width: 104px; } }
@media (prefers-reduced-motion: no-preference) {
	html:not(.k-calm).k-first .k-lh { animation: k-join .5s var(--ease-out) .15s both; }
	.k-first .k-lh1 { --jx: -20px; --jy: 100px; } .k-first .k-lh2 { --jx: 100px; --jy: -33px; } .k-first .k-lh3 { --jx: -80px; --jy: -70px; } /* SVG user units: ~10px on screen */
}
@keyframes k-join { from { opacity: 0; transform: translate(var(--jx), var(--jy)); } }

/* service page header (decision 40): light-aqua band, large name, icon in a gentle loop (slower cycle + a rest) */
.k-svc-band { display: flex; align-items: center; gap: 24px; margin: 8px calc(-1 * var(--side)) 24px; padding: 28px var(--side); background: var(--accent-wash); border-radius: 0 0 var(--r-card) var(--r-card); }
.k-svc-band h1 { margin: 0; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); color: var(--accent-ink); }
.k-svc-band .k-svc-head { padding-inline-start: 0; flex: none; }
.k-svc-band .k-pend { margin: 0; }
.is-loop.is-play .k-ico .ic-arc, .is-loop.is-play .k-ico .ic-coin, .is-loop.is-play .k-ico .ic-bill-sign { animation-iteration-count: infinite; animation-duration: 3.4s; }
@media (max-width: 599px) { .k-svc-band { gap: 14px; padding-block: 20px; } .k-svc-band .k-svc-head .k-svc-ico { width: 84px; height: 84px; } }

/* card -> page: the service icon flies from its card into the page header (decision 41). Progressive enhancement:
   browsers without cross-document View Transitions just navigate. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-group(*) { animation-duration: .35s; animation-timing-function: var(--ease-out); }
}
.k-calm::view-transition-group(*), .k-calm::view-transition-old(*), .k-calm::view-transition-new(*) { animation: none; } /* a11y menu */

/* ---------- Sprint 4 ---------- */

/* singular alternative (decision 44): sits right under Noam's original Q&A, indented to read as "a version of the above" */
.k-alt { margin-inline-start: 24px; margin-top: -4px; }
.k-alt .k-alt-q { font-weight: 600; }
@media (max-width: 599px) { .k-alt { margin-inline-start: 12px; } }

/* portal block (about page): illustration beside the text, stacked on phones */
.k-portal-box { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding-block: 36px 20px; }
.k-portal-box img { width: 220px; height: auto; }
.k-portal-box h2 { margin-top: 0; }
@media (max-width: 599px) { .k-portal-box { grid-template-columns: 1fr; gap: 12px; justify-items: center; text-align: center; } .k-portal-box img { width: 160px; } }

/* ---------- Decision 47: services dropdown (pattern of the Tzeadim board's .tz-mega, Noam's tokens) ---------- */
.k-mega__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; }
.js .k-mega__nojs, html:not(.js) .k-mega__btn, html:not(.js) .k-mega__panel { display: none; }
.k-mega__caret { transition: transform .2s var(--ease-out); }
.k-mega.is-open .k-mega__caret { transform: rotate(180deg); }
.k-mega.is-open .k-mega__btn { color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .k-mega__btn:hover { color: var(--accent-ink); -webkit-text-stroke: var(--hover-stroke); } }
.k-mega__panel { display: none; }
.k-mega.is-open .k-mega__panel { display: block; }
.k-mega__list { list-style: none; margin: 0; padding: 0; }
.k-mega__list a, .k-mega__all { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.k-mega__all { width: fit-content; gap: 6px; color: var(--accent-ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .k-mega__list a:hover, .k-mega__all:hover { -webkit-text-stroke: var(--hover-stroke); } }
/* desktop: a card centred under the header row; fades in (enter only, 180ms), nothing under calm */
@media (min-width: 600px) {
	/* core navigation positions its wrappers and items; the card must hang from .k-header instead */
	.k-header .k-nav, .k-header .k-nav .wp-block-navigation__responsive-container, .k-header .k-nav .wp-block-navigation__responsive-close,
	.k-header .k-nav .wp-block-navigation__responsive-dialog, .k-header .k-nav .wp-block-navigation__responsive-container-content,
	.k-header .k-nav .wp-block-navigation__container, .k-header .k-mega { position: static; }
	.k-mega__panel {
		position: absolute; top: calc(100% + 4px); inset-inline: 0; margin-inline: auto; width: min(860px, calc(100% - 2 * var(--side)));
		padding: 16px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card);
		box-shadow: 0 14px 36px color-mix(in srgb, var(--ink) 16%, transparent);
		transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
	}
	@starting-style { .k-mega.is-open .k-mega__panel { opacity: 0; transform: translateY(-6px); } }
	.k-mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
	.k-mega__list a { padding: 8px 10px; border-radius: 12px; }
	@media (hover: hover) and (pointer: fine) { .k-mega__list a:hover { background: var(--accent-wash); } }
	.k-mega__list .k-svc-ico { width: 40px; height: 40px; flex: none; margin: 0; }
	.k-mega__list > li:has(.k-svc-ico-logo) { grid-column: 1 / -1; } /* Sadeh: the full width, so the name stays on one line */
	.k-mega__all { margin: 8px 10px 0; }
	.k-mega.is-open .k-mega__panel:has(.k-mega__cta) { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 20px; align-items: start; }
	.k-mega__walink, .k-mega .k-pend:has(.k-mega__walink) { display: none; }
}
/* decision 50: the "not sure?" box (board's .tz-mega__cta, Noam's tokens) */
.k-mega__cta { position: relative; display: grid; gap: 8px; justify-items: start; padding: 12px 12px 16px; background: var(--accent-wash); border-radius: var(--r-card); }
.k-mega__cta img { width: 56px; height: 56px; }
.k-mega__cta-h { margin: 0; font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--ink); }
.k-mega__cta-p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
/* the whole box is the click target (stretched link); the WhatsApp row sits above it */
.k-mega__cta-link { color: inherit; text-decoration: none; }
.k-mega__cta-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.k-mega__cta .k-wac { z-index: 1; } /* only the WhatsApp button sits above the stretched link; "אפשר לכתוב לי" falls through to /#contact (Gil 11.11) */
.k-mega__cta:has(.k-mega__cta-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.k-mega__cta-link:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .k-mega__cta:hover .k-mega__cta-h { -webkit-text-stroke: var(--hover-stroke); } }
.k-mega .k-pend { margin: 0; }
.k-calm .k-mega__panel, .k-calm .k-mega__caret { transition: none; }
/* phones: a plain sublist inside the core hamburger overlay, no card, no icons */
@media (max-width: 599px) {
	.k-mega { flex-direction: column; align-items: stretch !important; }
	.k-mega__btn { width: 100%; justify-content: space-between; min-height: 44px; font-size: 1.25rem; padding: 0; }
	.k-mega__panel { padding: 0 0 8px; }
	.k-mega__list { padding-inline-start: 16px; border-inline-start: 1px solid var(--rule); }
	.k-mega__list .k-svc-ico { display: none; } /* phones: no icons, nothing animates */
	.k-mega__list a, .k-mega__all { font-size: 1.125rem; font-weight: 400; }
	.k-mega__all { padding-inline-start: 17px; }
	.k-mega__cta, .k-mega .k-pend:has(.k-mega__cta) { display: none; }
	.k-mega__walink { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 4px; padding-inline-start: 17px; color: var(--muted); font-size: 1rem; }
}

/* ---------- Decisions 48/52: home Noam section, short headed blocks (2x2, stacked on phones) ---------- */
.k-noam-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--accent-ink); margin: 8px 0 20px; }
.k-nfacts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.k-nfact { display: flex; gap: 12px; align-items: flex-start; }
.k-nfact h3 { margin: 0 0 2px; font-size: 1.125rem; line-height: 1.35; color: var(--ink); }
.k-nfact p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
/* icon in the hero's hex cell: aqua rim, white hexagon (Omer's layout note) */
.k-nfact-ico { flex: none; display: grid; place-items: center; width: 52px; aspect-ratio: .866; background: var(--accent-wash-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.k-nfact-ico img { width: 72%; height: auto; padding: 3px; background: var(--white); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.k-nlinks { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; }
.k-nlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--accent-ink); }
.k-nlink .k-nfact-ico { width: 36px; }
@media (max-width: 599px) { .k-nfacts { grid-template-columns: 1fr; gap: 16px; } }
/* Bigger badges (Gil 11.11): 52 -> 68px wide (56 on phones), floating gently, staggered. The span moves as a whole, never the clipped img. */
.k-nfacts .k-nfact-ico { width: 68px; }
@media (max-width: 599px) { .k-nfacts .k-nfact-ico { width: 56px; } }
.k-nfact:nth-child(2) { --nd: -1.25s; } .k-nfact:nth-child(3) { --nd: -2.5s; } .k-nfact:nth-child(4) { --nd: -3.75s; }
html:not(.k-calm) .k-about.is-in .k-nfacts .k-nfact-ico { animation: k-nfact-float 5s ease-in-out var(--nd, 0s) infinite alternate; } /* calm = still, WCAG 2.2.2 */
@keyframes k-nfact-float { from { translate: 0 -1.5px; } to { translate: 0 1.5px; } }
/* about "שלב אחרי שלב" (Gil 16.11): the home journey component with sentences instead of headings. Not fitted to one screen
   (the text is longer), and the active step is the sentence itself, so it carries the ink color the heading carries at home. */
.k-journey-how { max-height: none; display: block; padding-block: 0 44px; } /* 44px: room for the pause button under the grid */
.k-journey-how .k-jstep p { color: var(--ink); font-size: inherit; line-height: 1.55; transition: color .3s var(--ease-out); }
.k-journey-how.is-js .k-jstep:not(.is-on) p { color: var(--muted); }
.k-journey-how .k-jstep:last-child { border-bottom: 0; }
.k-journey-how .k-hero-pause { inset-inline-end: 0; bottom: 0; }
.k-journey-how .k-journey-hex { background: var(--accent-wash); } /* the page is paper here, so the hex needs its own tint to read as a hex */
.k-journey-how .k-journey-hex > * { width: 68%; } /* richer pictures than the home icons */
/* Two of the pictures move while their step is active (Gil 16.11, no video): the sheet rises out of the envelope and its checks are
   drawn, the gears turn. Layers cut from the picture + svg strokes in the picture's own gray. Still and complete when calm or when the
   pause button has stopped the step clock. 5s envelope cycle: the step clock is 4s, so it only sinks back when a step is held. */
.k-jgear, .k-jchk { fill: none; stroke: #545353; stroke-width: 27; stroke-linejoin: round; }
.k-jchk { stroke: #4b4a4a; stroke-width: 30; stroke-linecap: round; stroke-dasharray: 1; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jgear { animation: k-jspin 12s linear infinite; }
.k-jgear-b { animation-direction: reverse; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jsheet { animation: k-jrise 5s var(--ease-out) infinite; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jchk { animation: var(--k, k-jchk0) 5s linear infinite; }
.k-jchk:nth-of-type(2) { --k: k-jchk1; }
.k-jchk:nth-of-type(3) { --k: k-jchk2; }
@keyframes k-jspin { to { transform: rotate(360deg); } }
@keyframes k-jrise { 0%, 100% { transform: translateY(64px); } 20%, 90% { transform: none; } }
@keyframes k-jchk0 { 0%, 20% { stroke-dashoffset: 1; opacity: 0; } 21% { stroke-dashoffset: 1; opacity: 1; } 25%, 90% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes k-jchk1 { 0%, 26% { stroke-dashoffset: 1; opacity: 0; } 27% { stroke-dashoffset: 1; opacity: 1; } 31%, 90% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes k-jchk2 { 0%, 32% { stroke-dashoffset: 1; opacity: 0; } 33% { stroke-dashoffset: 1; opacity: 1; } 37%, 90% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Steps 1, 2, 5 (Gil 16.11): typing dots in the call bubble, the chart bars grow and the arrows nudge into the folder, the calendar
   days pop one after another. Same rules as above: active step only, complete picture when still. */
.k-jdot, .k-jsq { fill: #545353; }
.k-jsq { transform-box: fill-box; transform-origin: center; }
.k-jbars { transform-origin: 0 341px; } /* the charts' baseline in picture units */
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jdot { animation: k-jdot 1.2s ease-in-out infinite; }
.k-jdot:nth-of-type(2) { animation-delay: .15s; }
.k-jdot:nth-of-type(3) { animation-delay: .3s; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jbars { animation: k-jbars 3s var(--ease-out) infinite; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jarr { animation: k-jarr 1.5s ease-in-out infinite; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jarr-r { animation-name: k-jarr-r; }
html:not(.k-calm) .k-journey:not(:has(.k-hero-pause.is-stopped)) .k-journey-hex > .is-on .k-jsq { animation: k-jsq 2.5s ease-out infinite; }
.k-jsq:nth-of-type(2) { animation-delay: .25s; }
.k-jsq:nth-of-type(3) { animation-delay: .5s; }
.k-jsq:nth-of-type(4) { animation-delay: .75s; }
.k-jsq:nth-of-type(5) { animation-delay: 1s; }
@keyframes k-jdot { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-16px); } }
@keyframes k-jbars { 0%, 100% { transform: scaleY(.45); } 40%, 85% { transform: none; } }
@keyframes k-jarr { 0%, 100% { transform: none; } 50% { transform: translate(12px, 16px); } }
@keyframes k-jarr-r { 0%, 100% { transform: none; } 50% { transform: translate(-12px, 16px); } }
@keyframes k-jsq { 0%, 24%, 100% { transform: none; } 12% { transform: scale(1.3); } }
@media (min-width: 782px) {
	.k-journey-how .k-journey-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
	.k-journey-how .k-journey-hex { width: min(280px, 100%); } /* the reading column is narrower than the home section */
}
@media (max-width: 781px) { .k-journey-how .k-journey-art { top: var(--head-h, 61px); background: linear-gradient(var(--paper) 80%, transparent); } } /* sticks under the sticky header, on the page's own paper */
/* about page links (TheMarker, Facebook) with their bank icon */
.k-link-ico { width: 32px; height: 32px; margin-inline-end: 14px; flex: none; } /* 14px: the gap inside .k-press-card; only the about page uses it */

/* ---------- Decision 54: life journey fits one screen ---------- */
/* Desktop: heading + 5 stages + hex in one viewport under the sticky header, scaled with svh (1440x900, 1366x768,
   1280x720 checked). Nothing scrolls inside, nothing is clipped: every size is a clamp, no overflow rule. */
@media (min-width: 782px) {
	.k-journey { max-height: calc(100svh - var(--head-h, 72px)); padding-block: clamp(10px, 2.5svh, 40px); display: flex; flex-direction: column; justify-content: center; }
	.k-journey > .k-pend { padding-top: 26px; margin: 0 auto; }
	.k-journey .k-h2 { font-size: clamp(1.75rem, 4.6svh, 3.25rem); margin-bottom: clamp(4px, 1.2svh, 20px); }
	.k-journey .k-lead { font-size: clamp(1rem, 2.1svh, 1.1875rem); margin: 0 0 clamp(6px, 1.8svh, 28px); }
	.k-journey-grid { gap: clamp(24px, 4svh, 56px); align-items: center; }
	.k-jstep { padding-block: clamp(5px, 1.5svh, 20px); gap: 14px; }
	.k-jstep h3 { font-size: clamp(1.0625rem, 2.4svh, 1.375rem); margin-bottom: 0; }
	.k-jstep p { font-size: clamp(.9375rem, 1.95svh, 1.0625rem); line-height: 1.45; }
	.k-jn { width: clamp(32px, 5svh, 44px); }
	.k-journey-art { position: static; }
	.k-journey-hex { width: min(340px, 52svh); }
}
/* Phones (decision 35 kept, sticky hex): the hex is at most ~26svh tall, so the active stage and its text sit under it
   at 375x812 and 375x667. */
@media (max-width: 781px) {
	.k-journey-hex { width: min(220px, 56vw, 22svh); } /* height = width / .866 -> <= 25.4svh */
	.k-journey-art { padding-block: 6px 8px; }
	.k-jstep { padding-block: 18px; }
}

/* ---------- Decision 57 (b): service cards, home + /services/ ---------- */
/* The whole card is one link: the title's <a> stretches over it (::after), so there is still one tab stop and the
   card text stays plain text. Hover/focus: a 1.035 lift with a deeper shadow that fades in on its own layer (opacity
   only), 200ms ease-out; the icon plays (site.js). Calm: no scale, no clip, a static focus ring. */
.k-svc { position: relative; isolation: isolate; transition: transform .2s var(--ease-out); }
.k-svc::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 18%, transparent); opacity: 0; transition: opacity .2s var(--ease-out); }
.k-svc :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); z-index: 1; }
.k-svc :is(h2, h3) a:focus-visible { outline: none; }
.k-svc:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .k-svc:hover { transform: scale(1.035); } .k-svc:hover::before { opacity: 1; } .k-svc:hover :is(h2, h3) a { color: var(--accent-ink); } }
.k-svc:has(a:focus-visible) { transform: scale(1.035); }
.k-svc:has(a:focus-visible)::before { opacity: 1; }
.k-calm .k-svc, .k-calm .k-svc:hover, .k-calm .k-svc:has(a:focus-visible) { transform: none; transition: none; }
.k-calm .k-svc::before { transition: none; }
/* /services/: the lead under the cards sat flush (0px), so a hovered card (1.035 lift + 14px/34px shadow) covered it (Noam 23.11). */
.k-cards + .k-lead { margin-block-start: clamp(28px, 4vw, 52px); }

/* ---------- Decision 57 (d): home contact, form right + large hex left ---------- */
.k-home > .k-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "main art"; gap: 48px; align-items: center; }
.k-home > .k-contact > * { max-width: none; margin-inline: 0; }
.k-contact-main { grid-area: main; }
.k-contact-art { grid-area: art; display: grid; place-items: center; }
.k-contact-hex { width: min(380px, 100%); aspect-ratio: .866; padding: 3.5%; background: var(--accent-wash-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.k-contact-in { display: grid; place-items: center; width: 100%; height: 100%; background: var(--white); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.k-chat { width: 66%; height: auto; overflow: visible; }
.k-chat g { transform-box: fill-box; }
/* "a message arrives" (soft): the front bubble rises in and settles, the back one answers and the sparkle twinkles, all
   once. Then the three dots in the front bubble keep "typing": one small swell passing right to left (the reading
   direction) every 4s, at rest for most of the cycle. Gil asked for the gentle loop on 12.11 because the one-time
   version was missed; the bubbles still never vanish or drift (the loops he disliked on 11.11). It runs past WCAG
   2.2.2's 5s, so the pause is k-calm: the a11y menu's stop-animations and OS reduced motion. The footer copy on inner
   pages moves the same way since 16.11 (Gil); site.js gives it .is-in when it scrolls in. */
.k-chat-front { transform-origin: 30% 100%; }
.k-chat-back { transform-origin: 70% 100%; }
.k-chat-dot { transform-origin: 50% 50%; }
html:not(.k-calm) .k-contact-art.is-in .k-chat-front { animation: k-bubble .7s var(--ease-out) both; }
html:not(.k-calm) .k-contact-art.is-in .k-chat-back { animation: k-bubble .7s var(--ease-out) .18s both; }
html:not(.k-calm) .k-contact-art.is-in .k-chat-dot { animation: k-type 4s ease-in-out .8s infinite; }
html:not(.k-calm) .k-contact-art.is-in .k-chat-dot:nth-of-type(2) { animation-delay: .95s; }
html:not(.k-calm) .k-contact-art.is-in .k-chat-dot:nth-of-type(1) { animation-delay: 1.1s; }
html:not(.k-calm) .k-contact-art.is-in .k-chat-spark { animation: k-spark 1.2s ease-in-out 1.2s; }
@keyframes k-bubble { from { transform: translateY(6%) scale(.96); opacity: 0; } }
@keyframes k-type { 0%, 14%, 100% { transform: none; } 7% { transform: scale(1.3); } } /* .56s swell, then rest */
@keyframes k-spark { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (max-width: 781px) {
	.k-home > .k-contact { grid-template-columns: 1fr; grid-template-areas: "art" "main"; gap: 16px; }
	.k-contact-hex { width: min(180px, 48vw); }
}

/* ---------- Decision 58: about page clients' words, one quote at a time ---------- */
.k-aquotes { position: relative; margin-block: 40px 24px; }
.k-aq-box { display: grid; }
.k-aq { grid-area: 1 / 1; margin: 0; transition: opacity .6s var(--ease-in-out); } /* cross-fade between two on-screen states */
.js .k-aq[hidden] { display: block; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease-in-out), visibility 0s linear .6s; }
.k-aq blockquote { margin: 0; }
.k-aq p { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.k-aq figcaption { font-weight: 600; color: var(--accent-ink); }
.k-aq figcaption::before { content: "– "; }
.k-aq-pause { position: static; margin-top: 8px; }
.k-calm .k-aq, .k-calm .js .k-aq[hidden], html.k-calm .k-aq[hidden] { transition: none; }

/* ---------- Decision 61: footer after the Tzeadim board's .tz-footer, Noam's navy ---------- */
.k-foot-cols { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 600px) { .k-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .k-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* polish 16.11: the services column (widest unbroken link 133px) gives up its slack to the last column (TheMarker + Facebook links need 219px); gap 32 -> 24. Measured 1200-1920px: no link in any other column wraps more than before. */
@media (min-width: 1200px) { .k-foot-cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) 140px minmax(0, 1.1fr) 220px; gap: 24px; } }
.k-foot-colh { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 600; color: var(--highlight); }
.k-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.k-foot-col li a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; text-decoration: none; } /* short words (בלוג) still a 44px target (adapt 19.10) */
.k-foot-col li a:hover { -webkit-text-stroke: var(--hover-stroke); }
.k-foot-ext img { width: 24px; height: 24px; padding: 2px; border-radius: 6px; background: var(--white); }
.k-foot-logo { display: inline-flex; padding: 8px 12px; border-radius: 12px; background: var(--white); } /* the logo's ink text needs a light plate on navy */
.k-foot-logo img { display: block; width: 136px; height: auto; }
.k-foot-tag { margin: 10px 0 12px; }
.k-foot-brand .k-foot-license { margin: 0 0 8px; }
.k-foot-contactcol .k-map { margin-top: 8px; }
.k-foot-contactcol .k-map-btn img { height: 150px; }
.k-faq-line { margin: 0; padding-block: 8px 0; font-weight: 600; }
.k-faq-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-ink); }

.k-foot-contactcol .k-map-cta { font-size: .875rem; min-height: 40px; padding: 6px 12px; inset-inline: 8px; bottom: 8px; } /* fits the 5-column footer without covering the pin */

/* ---------- Motion round 18.10 (animate review, Gil approved "הכל") ----------
   Append at the END of style.css. Every rule uses the existing tokens (--ease-out, --ease-in-out) and the existing
   calm switch (html.k-calm = OS reduced motion OR the a11y menu). Hover motion only on real hover devices. */

/* P1 Noam intro: the portrait steps out of the hex, the three brand hexes drift in toward it (extends the reveal above) */
.js:not(.k-calm) .k-intro-me { transform-origin: 50% 100%; transition: opacity .7s var(--ease-out) .25s, transform .7s var(--ease-out) .25s; }
.js:not(.k-calm) .k-intro:not(.is-in) .k-intro-me { transform: translateY(12px) scale(.97); }
.js:not(.k-calm) .k-intro-dot { transition: opacity .5s var(--ease-out) .7s, translate .6s var(--ease-out) .7s; }
.js:not(.k-calm) .k-intro:not(.is-in) .k-dot1 { translate: 6px 0; }
.js:not(.k-calm) .k-intro:not(.is-in) .k-dot2 { translate: 0 -6px; }
.js:not(.k-calm) .k-intro:not(.is-in) .k-dot3 { translate: -6px 0; }

/* P2 services: the six cards arrive as one hive, once (needs data-reveal on the section, see EDITS.md).
   `translate`, not `transform`, so the card hover scale (decision 57b) is never overridden; fill backwards only. */
.js:not(.k-calm) .k-services[data-reveal]:not(.is-in) .k-cards > * { opacity: 0; }
.js:not(.k-calm) .k-services.is-in .k-cards > * { animation: k-rise .5s var(--ease-out) backwards; }
.js:not(.k-calm) .k-services.is-in .k-cards > :nth-child(2) { animation-delay: 60ms; }
.js:not(.k-calm) .k-services.is-in .k-cards > :nth-child(3) { animation-delay: 120ms; }
.js:not(.k-calm) .k-services.is-in .k-cards > :nth-child(4) { animation-delay: 180ms; }
.js:not(.k-calm) .k-services.is-in .k-cards > :nth-child(5) { animation-delay: 240ms; }
.js:not(.k-calm) .k-services.is-in .k-cards > :nth-child(6) { animation-delay: 300ms; }
@keyframes k-rise { from { opacity: 0; translate: 0 16px; } }

/* P3 anchor landing (FAQ jump list, any #anchor): the heading you land on glows once, then settles */
:is(h2, h3)[id]:target { border-radius: 8px; animation: k-landed 1.6s ease .2s backwards; }
@keyframes k-landed { from { background-color: var(--highlight-wash); } to { background-color: transparent; } }
html.k-calm :is(h2, h3)[id]:target { animation: none; background-color: var(--highlight-wash); } /* calm: state kept, no fade */

/* P4 + M1 + M2 press feedback and eased hover on every button */
.k-btn, .k-wa, .k-strip-btn, .k-steps-btn, .k-n-railnav button {
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .16s var(--ease-out);
}
.k-btn:active, .k-strip-btn:active, .k-steps-btn:active, .k-n-railnav button:active { transform: scale(.97); }
@media (min-width: 768px) { .k-wa:active { scale: .97; } }
html.k-calm :is(.k-btn, .k-wa, .k-strip-btn, .k-steps-btn, .k-n-railnav button):active { transform: none; scale: none; }
.k-btn[disabled]:active { transform: none; }

/* P5 404: a missing cell; the yellow hex settles into its place once */
.k-lost { display: flex; align-items: center; gap: 6px; margin-block: 4px 20px; } /* block margins only: the constrained layout keeps its inline auto margins */
.k-lost > i, .k-lost-slot::before, .k-lost-slot > i { width: 36px; aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); rotate: 11.5deg; }
.k-lost > i { display: block; }
.k-lost > i:first-child { background: var(--coral); }
.k-lost > i:last-child { background: var(--accent); }
.k-lost-slot { position: relative; display: block; width: 36px; aspect-ratio: .866; }
.k-lost-slot::before { content: ""; position: absolute; inset: 0; background: var(--accent-wash-2); }
.k-lost-slot > i { position: absolute; inset: 0; background: var(--highlight); }
html:not(.k-calm) .k-lost-slot > i { animation: k-settle .7s var(--ease-out) .3s backwards; }
@keyframes k-settle { from { opacity: 0; translate: 0 -28px; rotate: 50deg; } }

/* P6 sticky header: the logo steps down once the page scrolls (html.k-scrolled already exists) */
.k-logo svg { transform-origin: right center; transition: scale .25s var(--ease-out); }
html.k-scrolled .k-logo svg { scale: .82; }
html.k-calm .k-logo svg { transition: none; }

/* P7 + M6 form success: a check draws in, then the thank-you line rises in (after the 2s sent clip, decision 38) */
.k-ok-check { width: 40px; height: 40px; fill: none; stroke: var(--accent-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.k-footer .k-ok-check { stroke: var(--highlight); }
.k-ok-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s var(--ease-out); }
.k-form-ok.is-done .k-ok-check path { stroke-dashoffset: 0; }
.k-ok-text { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.k-form-ok:not(.is-done) .k-ok-text { transform: translateY(6px); }
html.k-calm .k-ok-check path { transition: none; }
html.k-calm .k-ok-text { transform: none; }

/* M3 fields: border and focus wash ease in (the global :focus-visible outline stays) */
.k-form input, .k-form select, .k-form textarea { transition: border-color .15s ease, box-shadow .15s ease; }
.k-form :is(input, select, textarea):focus-visible { box-shadow: 0 0 0 4px var(--accent-wash-2); }

/* M4 error text arrives instead of popping (no shake: it reads as scolding) */
.k-err { transition: opacity .18s var(--ease-out), transform .18s var(--ease-out); }
@starting-style { .k-err { opacity: 0; transform: translateY(-4px); } }
html.k-calm .k-err { transform: none; }

/* M5 sending: three brand hexes pulse inside the button while the request runs (removed when it ends) */
.k-busy { display: inline-flex; gap: 3px; margin-inline-start: 10px; vertical-align: middle; }
.k-busy i { width: 8px; aspect-ratio: .866; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: currentColor; animation: k-busy .9s ease-in-out infinite; }
.k-busy i:nth-child(2) { animation-delay: .15s; } .k-busy i:nth-child(3) { animation-delay: .3s; }
@keyframes k-busy { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
html.k-calm .k-busy i { animation: none; opacity: .6; }

/* M8 "more" links: the arrow leans forward on hover */
.k-nlink > span[aria-hidden="true"]:not(.k-nfact-ico) { display: inline-block; transition: transform .2s var(--ease-out); } /* Kop: the arrow only */
@media (hover: hover) and (pointer: fine) { .k-nlink:hover > span[aria-hidden="true"]:not(.k-nfact-ico) { transform: translateX(-3px); } }
html.k-calm .k-nlink > span[aria-hidden="true"]:not(.k-nfact-ico) { transition: none; transform: none; }

/* F testimonials strip: stop the belt while it is off screen (site.js toggles .is-off) */
.k-belt.is-off .k-track { animation-play-state: paused; }

/* ---------- Layout pass 19.10: one content width everywhere ---------- */
/* Grid sections lay their columns on the section itself, so the 1200 cap on children never applied: about and contact ran
   56px past the 1200 column on wide screens. Same cap as the rest, through the padding. */
.k-home > .k-about, .k-home > .k-contact { padding-inline: max(var(--side), calc((100% - var(--wide)) / 2)); }
/* The "question?" line under the logos: its review frame spanned the full screen. */
.k-home > .k-pend { margin-inline: max(var(--side), calc((100% - var(--wide)) / 2)); }
/* /services/: six cards in the 760 reading column were three 230px slivers. The page takes the wide column. */
.k-reading > .k-cpage-services, .k-reading:has(> .k-cpage-services) > .k-crumbs { max-width: var(--wide); }
@media (max-width: 781px) {
	.k-hero { padding-bottom: 24px; }
	/* Gil 21.11: in the corner the floating WhatsApp circle covered half of it. It now sits in the dots row, just past
	   the last dot (dots: 4 x 44px centered, row centre 46px above the hero bottom). */
	.k-hero > .k-hero-pause { bottom: 30px; inset-inline-end: calc(50% - 88px - 32px); }
}

/* ---------- Vercel comments 19.10 (Gil) ---------- */
/* About: the logo is the H1, centred above the facts; "עוד עליי" is a button; TheMarker is a link-preview card. */
.k-h1-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.k-h1-logo img { width: clamp(180px, 22vw, 260px); height: auto; }
.k-nlinks { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 32px; } /* Gil 19.10: more air above the button and the press card; centered under the facts list (Gil 11.11), same block width as .k-nfacts */
.k-nmore { gap: 8px; }
@media (max-width: 599px) { .k-nlinks { gap: 16px; } } /* same rhythm as .k-nfacts */
.k-press-card { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px; max-width: 420px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease-out); }
.k-press-logo { flex: none; display: grid; place-items: center; padding-inline-end: 14px; border-inline-end: 1px solid var(--rule); align-self: stretch; }
.k-press-logo img { width: 112px; height: auto; display: block; }
.k-press-txt { display: grid; gap: 2px; }
.k-press-src { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.k-press-h { font-weight: 600; line-height: 1.35; }
.k-press-cta { font-size: .9375rem; color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .k-press-card:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 16%, transparent); } }
/* FAQ teaser above the contact form: centred heading, three questions that open in place, link to all. */
.k-home > .k-faqt { padding-block: var(--sec) 0; }
.k-faqt > * { max-width: 760px; }
.k-faqt .k-h2 { text-align: center; }
.k-fqas { display: grid; gap: 12px; }
.k-fqa { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); }
.k-fqa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; font-size: 1.125em; font-weight: 700; line-height: 1.4; color: var(--ink); cursor: pointer; list-style: none; } /* question reads clearly above its answer (Gil 22.11): bolder and a step larger than the answer text around it, em so it stays above .k-reading 19px on desktop */
.k-fqa summary::-webkit-details-marker { display: none; }
.k-fqa summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(45deg); transition: transform .2s var(--ease-out); } /* physical sides: a down chevron in both directions */
.k-fqa[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.k-fqas > .k-pend { margin: 0; }
.k-fqa p { margin: 0; padding: 0 20px 16px; color: var(--muted); font-weight: 400; } /* answer: regular weight, softer gray, so it sits under the question */
.k-fqa .k-funds { margin: 0; padding: 0 20px 16px; } /* fund logos inside a service-page answer (pension) */
.k-fqa :is(ul, ol) { margin: 0; padding-block: 0 16px; padding-inline: 40px 20px; color: var(--muted); font-weight: 400; } /* Noam's "•" and "1." lines, built as lists by build-faq.mjs */
.k-fqa li + li { margin-top: 6px; }
.k-fqa p:has(+ :is(ul, ol)) { padding-bottom: 6px; } /* the lead-in line hugs its list */
.k-faqt .k-faq-line { display: flex; justify-content: center; margin: 16px auto 0; }
html.k-calm .k-fqa summary::after { transition: none; }
/* Hover (home teaser and /faq/): the card washes aqua and a closed chevron leans down 2px, a hint it opens. No size change. */
@media (hover: hover) and (pointer: fine) {
	.k-fqa { transition: background-color .18s var(--ease-out); }
	.k-fqa:has(> summary:hover) { background-color: var(--accent-wash); }
	.k-fqa summary::after { transition: transform .2s var(--ease-out), translate .18s var(--ease-out); }
	.k-fqa:not([open]) summary:hover::after { translate: 0 2px; }
}
html.k-calm .k-fqa { transition: none; }
html.k-calm .k-fqa summary::after { translate: none; }
/* Testimonials: the stop button only appears for keyboard focus. */
.k-strip-kbd:not(:focus-visible) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.k-belt.is-moving { cursor: pointer; }
/* Gil 19.10 (Vercel, blog footer): the license line stays, smaller and quieter. */
.k-foot-brand .k-foot-license { font-size: .8125rem; font-weight: 400; opacity: .85; }

/* ---------- Vercel comments 19.10, round 2 (Gil) ---------- */
/* Hero (Gil 22.10, replaces the word-by-word entrance of 19.10): the whole sentence (headline + line under it) fades in
   over 600ms and stays ~7s (site.js STEP). The CTA and the dots sit outside the slides and never animate. Calm: a short fade. */
/* Sentence change (Kai 26.10, "מעבר יותר נעים לעין"): the old sentence fades out first (.is-out, 0.28s, set by site.js),
   then the new one rises 6px into place; the line under the heading follows 80ms later. Calm: plain fade, no lift. */
.k-slide:not([hidden]) :is(.k-slide-h, .k-slide-d) { animation: k-slide-in .6s var(--ease-out) both; }
.k-slide:not([hidden]) .k-slide-d { animation-delay: .08s; }
.k-slide.is-out :is(.k-slide-h, .k-slide-d) { animation: k-slide-out .28s ease-in both; }
@keyframes k-slide-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes k-slide-out { to { opacity: 0; } }
html.k-calm .k-slide:not([hidden]) :is(.k-slide-h, .k-slide-d) { animation: k-fade .3s var(--ease-out) both; }
@keyframes k-fade { from { opacity: 0; } }
.k-hero-dots { display: flex; justify-content: center; gap: 0; margin-top: 12px; }
.k-hero-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; } /* 44px hit area */
.k-hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--faint); box-sizing: border-box; background: transparent; transition: background-color .3s ease, border-color .3s ease; }
.k-hero-dot[aria-current="true"]::before { background: var(--accent-ink); border-color: var(--accent-ink); }
html.k-calm .k-hero-dot::before { transition: none; }
/* Desktop nav: an underline that grows from the start of the word instead of a plain underline. Hover only on a
   mouse; keyboard focus shows it at once. */
.k-nav .wp-block-navigation-item__content { position: relative; }
.k-nav .wp-block-navigation-item__content:hover { text-decoration: none; }
.k-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; inset-inline: 10px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .22s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .k-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); } }
.k-nav .wp-block-navigation-item__content:focus-visible::after, .k-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.k-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
html.k-calm .k-nav .wp-block-navigation-item__content::after { transition: none; }
/* FAQ teaser: the answer opens and closes smoothly (accordion: height is the sanctioned property here). Browsers
   without ::details-content just snap open, as before. */
.k-fqa { interpolate-size: allow-keywords; }
.k-fqa::details-content { block-size: 0; overflow: clip; transition: block-size .28s var(--ease-out), content-visibility .28s allow-discrete; }
.k-fqa[open]::details-content { block-size: auto; }
.k-fqa p, .k-fqa .k-funds, .k-fqa :is(ul, ol) { opacity: 0; transition: opacity .2s ease; }
.k-fqa[open] p, .k-fqa[open] .k-funds, .k-fqa[open] :is(ul, ol) { opacity: 1; transition-delay: .08s; }
html.k-calm .k-fqa::details-content { transition: none; }
/* "All questions" link: the text gets an underline that grows on hover, the arrow is never underlined and leans in. */
.k-faq-all { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.k-faq-all-t { text-wrap: balance; background: linear-gradient(currentColor, currentColor) right bottom / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--ease-out); }
.k-faq-all-a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-wash-2); transition: transform .25s var(--ease-out), background-color .25s ease, color .25s ease; }
@media (hover: hover) and (pointer: fine) {
	.k-faq-all:hover .k-faq-all-t { background-size: 100% 2px; }
	.k-faq-all:hover .k-faq-all-a { transform: translateX(-4px); background: var(--accent-ink); color: var(--white); }
}
.k-faq-all:focus-visible .k-faq-all-t { background-size: 100% 2px; }
html.k-calm :is(.k-faq-all-t, .k-faq-all-a) { transition: none; }
/* Life journey on desktop: steps are pointable now (hover picks one). */
@media (min-width: 782px) { .k-journey.is-js .k-jstep { cursor: pointer; } }
/* Lead forms: a larger send button, centred under the fields. */
.k-form > p:has(> button[type="submit"]) { display: flex; justify-content: center; margin-top: 8px; }
.k-form button[type="submit"] { min-height: 52px; min-width: min(260px, 100%); padding-inline: 2.5em; font-size: 1.125rem; }

/* ---------- About page, Vercel comments 19.10 (Gil) ---------- */
/* "קצת עליי" is a subheading now; the TheMarker sentence is a short bold line, no name under it. */
.k-role-strong { font-size: 1.25rem; font-weight: 600; line-height: 1.45; color: var(--accent-ink); margin: 0 0 16px; }
/* Floating hive of the six service icons beside the services list (decorative; calm = still). */
.k-svc-hive { --c: 92px; float: left; display: grid; grid-template-columns: repeat(3, var(--c)); column-gap: 6px; margin: 4px 24px 12px 0; padding-bottom: calc(var(--c) * .35); }
.k-hv { width: var(--c); aspect-ratio: .866; display: grid; place-items: center; background: var(--accent-wash-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: k-hv-float 4.8s ease-in-out calc(var(--j) * -.8s) infinite alternate; }
.k-hv:nth-child(n+4) { margin-top: calc(var(--c) * -.27); translate: calc(var(--c) * .5 + 3px) 0; }
.k-hv img { width: 64%; height: auto; }
@keyframes k-hv-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } } /* sine-like ease-in-out, not the strong UI curve: no stall-and-jolt at the ends (11.11) */
html.k-calm .k-hv { animation: none; }
/* Hive cells play their service clip through the [data-anim] path in site.js (same rules as the cards: once, whole cycle, then rest on the icon). The 86% frame = 1.35x the 64% icon, like the cards' 135%. */
.k-hv { position: relative; }
.k-hv > video { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 86%; height: auto; aspect-ratio: 1; opacity: 0; pointer-events: none; }
.k-hv.is-vid > video { opacity: 1; }
.k-hv.is-vid > img { opacity: 0; }
.k-sec-intro .k-clist { overflow: hidden; } /* list wraps beside the hive, not under it */
@media (max-width: 599px) { .k-svc-hive { --c: 64px; float: none; margin: 8px auto 20px; width: max-content; } }
/* Client area: one box that sells it. */
.k-portal-promo { background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 28px 32px; border-inline-start: 4px solid var(--highlight); }
.k-portal-kicker { margin: 0 0 4px; font-size: .9375rem; font-weight: 600; color: var(--accent-ink); }
.k-portal-pts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.k-portal-pts li { position: relative; padding-inline-start: 26px; }
.k-portal-pts li::before { content: ""; position: absolute; inset-inline-start: 0; top: .4em; width: 16px; aspect-ratio: .866; background: var(--highlight); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@media (max-width: 599px) { .k-portal-promo { padding: 22px 18px; } .k-portal-pts { text-align: start; } }
/* Testimonials on the about page: set apart by a full-width aqua band and a large quote mark, not by cards. */
.k-aquotes { margin-block: 48px 24px; padding: 40px 0 28px; position: relative; isolation: isolate; }
.k-aquotes::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--accent-wash); z-index: -1; }
.k-aquotes::after { content: "״"; position: absolute; top: 4px; inset-inline-end: 0; font-size: 7rem; line-height: 1; font-weight: 700; color: var(--accent-wash-2); z-index: -1; }
.k-aquotes h2 { margin-top: 0; }
.k-reading:has(> .k-cpage-about) { padding-bottom: 0; } .k-reading > .k-aquotes { margin-bottom: var(--sec); } /* polish 16.11: was 24 + 64 = 88px of white before the footer form; now the normal section gap (36 phone, 56 desktop) */
/* About: the FAQ teaser inside the reading column. */
.k-cpage .k-faqt { margin-block: 40px 8px; }
.k-cpage .k-faqt .k-h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.k-links .k-press-card { margin-block: 8px; }
.k-links li:has(.k-press-card) { border-top: 0; }
/* About: the portrait opens the page, beside the H1 and the intro; the hexagons float and breathe, the photo stays. */
.k-ab-stage { float: left; width: min(300px, 40%); margin: 0 32px 16px 0; }
.k-ab-stage .k-intro-stage { width: 100%; }
.k-svc-hive { clear: left; }
.k-sec-intro::after { content: ""; display: table; clear: both; }
.k-cpage-about .k-sec-intro .k-clist a { font-weight: 600; } /* about services list: bold titles (owner 11.11) */
/* Gil, toolbar 16.11. Line rhythm: a full gap separates thoughts; a line that belongs with the next one (list item, lead-in ending in a colon, a run of one-line sentences) hugs it. scripts/hug-lines.mjs sets the class. */
.k-sec-one-address .k-role-strong { margin-bottom: 4px; }
:is(.k-cpage, .k-reading) p.k-hug { margin-bottom: 6px; }
.k-fqa p.k-hug { margin-bottom: 0; padding-bottom: 6px; } /* FAQ answers space with padding, not margin */
.k-cpage-about .k-sec-cta { justify-content: center; text-align: center; padding-block: var(--sec) 0; } /* about: centered and set apart; the bottom gap is the testimonials band's own 48px margin */
@media (max-width: 599px) { .k-ab-stage { float: none; width: min(240px, 70%); margin: 0 auto 8px; } }
.k-ab-stage.is-in .k-intro-dot { animation: k-breathe 3.6s var(--ease-in-out) 1s infinite alternate backwards; } /* after the dots fade in */
.k-ab-stage.is-in .k-dot2 { animation-delay: -.2s; } .k-ab-stage.is-in .k-dot3 { animation-delay: -1.4s; }
@keyframes k-breathe { from { transform: translateY(0) scale(1); } to { transform: translateY(-6px) scale(1.12); } }
html.k-calm .k-intro-dot { animation: none !important; }
/* FAQ page (built by scripts/build-faq.mjs): topic sections of open-in-place questions. */
.k-faq-topic { padding-block-start: 40px; scroll-margin-top: 96px; }
.k-faq-topic .k-h2 { margin: 0 0 16px; }
.k-faq-nav .k-links { display: flex; flex-wrap: wrap; gap: 8px; }
.k-faq-nav .k-links li { border: 0; }
.k-faq-nav .k-links a { padding: 4px 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); color: var(--accent-ink); font-weight: 600; }

/* Car + home insurance through Sadeh group, /services/#sadeh (decision 29.10; manual hand-off and wording, Adi 10.11).
   Ported from the WordPress theme. The consent sentence and the privacy line are small and quiet (Adi 10.11): they must
   not compete with the fields. */
.k-ref { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 28px clamp(16px, 3vw, 32px); margin-block: 40px 24px; }
.k-ref-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 8px; }
.k-ref-head h2 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.k-ref-logo { display: block; height: 56px; width: auto; }
.k-ref-logo-slot { display: inline-block; width: 160px; height: 56px; padding: 0; margin: 0; }
.k-ref-intro { margin: 8px 0 12px; }
.k-ref-note { margin: 0 0 20px; padding: 12px 16px; border-inline-start: 4px solid var(--accent-ink); background: var(--accent-wash); border-radius: 0 10px 10px 0; font-weight: 500; }
.k-ref .k-form, .k-ref .k-form-ok { max-width: none; }
.k-ref .k-field-wide { grid-column: 1 / -1; }
.k-ref-consent { margin-bottom: 12px; flex-wrap: wrap; }
.k-ref .k-ref-consent label { flex: 1 1 0; min-width: 0; } /* the sentence shrinks beside the box instead of dropping under it */
.k-ref-consent .k-err { flex-basis: 100%; }
.k-ref [aria-invalid="true"][type="checkbox"] { outline: 2px solid var(--err); outline-offset: 2px; border: 0; }
@media (max-width: 599px) { .k-ref .k-fields { grid-template-columns: 1fr; } }
.k-refform .k-btn[disabled] { opacity: .45; cursor: not-allowed; }
.k-refform .k-btn[disabled]:active { transform: none; }
.k-ref .k-ref-consent label { font-size: 0.875rem; color: var(--muted); }
.k-ref .k-ref-privacy { margin: 4px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

/* Fix round before launch (Gil, 16.11, from the Impeccable review) */
.k-cpage .k-sec-faq .k-fqas { margin-top: 8px; } /* service pages: same accordion as /faq/ */
.k-role-brief { padding-inline-start: 1em; text-indent: -1em; } /* polish 16.11: hanging indent, wrapped lines sit under the first word after the typed bullet */
.k-role-brief:has(+ .k-role-brief) { margin-bottom: 8px; } /* claim guide: the summary bullets read as one list (multi-line items keep 8px) */
.k-role-faq:has(> strong) { margin-bottom: 4px; } /* claim guide FAQ: a question sits on its answer */
.k-faq-all-a { background: var(--accent-wash); } /* arrow: accent-ink on aqua is 4.74:1 (decision 45); on wash-2 it was 4.42 */
@media (max-width: 599px) { .k-svc h3 a { display: inline-block; padding-block: 12px; margin-block: -12px; } } /* 44px tap target, same layout */

/* devices pass 16.11 */
@media (min-width: 768px) and (max-width: 1024px) { :root { --side: max(clamp(16px, 4.5vw, 56px), 84px); } } /* floating WhatsApp (24px + 56px) and a11y buttons never sit on body text on a tablet */
.k-cpage-about .k-sec-portal, .k-cpage-about .k-sec-links { margin-top: 40px; } /* last FAQ row no longer touches the portal card or the press card */

/* ---------- Phone side menu (Gil 22.11, after the Tzeadim "list" menu) ----------
   Under 600px the core overlay opens under the header (logo stays, the X sits where the three lines were) and reads as a
   list: rows aligned to the start with a hairline between them, an arrow at each row's end, the page you are on marked by
   weight and a dot. The services sit on top as cards on the site's light aqua (round 3, Gil 22.11): they come in one after
   another and their icons play (no hexagon behind them); a tapped card's icon grows a hexagon over the menu with the service's icon and name, and the icon then flies
   into the service page's header (the card -> page View Transition, decision 41). "כניסת לקוחות" left the header bar: it is the
   main button of a bar that stays at the bottom of the menu, next to the WhatsApp circle. The floating WhatsApp, the
   accessibility button and the cookie card step aside while the menu is open (they sit above the header's layer).
   Calm (reduced motion or the a11y menu): nothing slides or plays. Desktop and 600px+ are untouched. */
.k-menu-foot { display: none; }
@media (max-width: 599px) {
	.k-header > .k-portal { display: none; }
	html.has-modal-open .k-site-header { box-shadow: 0 1px 0 var(--rule); }
	html.has-modal-open :is(.k-wa, .a11y-trigger, .kt-cookie) { visibility: hidden; }

	.k-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed; inset: var(--head-h, 61px) 0 0; padding: 0; background: var(--white); overscroll-behavior: contain; scrollbar-width: none;
		animation: k-menu-reveal .5s cubic-bezier(.65, 0, .35, 1) both; /* replaces core's slide-in. Opens as a circle from the X (Gil 22.11: more motion on opening) */
	}
	/* the three lines turn into an X in place and close the menu (site.js). The core X sat inside the scrolling overlay, and
	   iOS Safari clips a fixed child of a scroller, so on a real phone it never showed (Gil 22.11) */
	.k-nav .wp-block-navigation__responsive-container-open { position: relative; z-index: 1; display: inline-flex; }
	.k-nav .wp-block-navigation__responsive-container-open path { transition: transform .26s var(--ease-out), opacity .18s ease; transform-box: fill-box; transform-origin: center; }
	.k-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open path:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.k-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open path:nth-child(2) { opacity: 0; transform: scaleX(.2); }
	.k-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	html.k-calm .k-nav .wp-block-navigation__responsive-container-open path { transition: none; }
	.k-nav .is-menu-open .wp-block-navigation__responsive-container-close { display: none; }
	.k-nav .is-menu-open :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog) { display: flex; flex-direction: column; min-height: 100%; }
	.k-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { flex: 1 0 auto; display: flex; flex-direction: column; align-items: stretch; padding: 4px var(--side) 0; }
	.k-nav .is-menu-open .wp-block-navigation__container { order: 0; flex: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%; } /* the list carries .k-nav too, so it took the header's order: 3 */
	.k-nav .is-menu-open .wp-block-navigation__container > li { width: 100%; }
	.k-nav .is-menu-open .wp-block-navigation__container > li + li { border-top: 1px solid var(--rule); }

	/* rows: the whole row is the link, an arrow at its end */
	.k-nav .is-menu-open :is(.wp-block-navigation-link, .k-mega) > a.wp-block-navigation-item__content { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 0; font-size: 1.125rem; font-weight: 500; -webkit-tap-highlight-color: transparent; }
	.k-nav .is-menu-open :is(.wp-block-navigation-link, .k-mega) > a.wp-block-navigation-item__content::after {
		display: block; content: ""; position: static; flex: none; width: 16px; height: 16px; border-radius: 0; transform: none;
		background: var(--muted); transition: transform .2s var(--ease-out), background-color .2s ease;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M7.5 2.5 4 6l3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M7.5 2.5 4 6l3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.k-nav .is-menu-open :is(.wp-block-navigation-link, .k-mega) > a.wp-block-navigation-item__content:active::after { transform: translateX(-4px); background: var(--accent-ink); }
	.k-nav .is-menu-open .is-here > .wp-block-navigation-item__content { font-weight: 700; color: var(--accent-ink); }
	.k-nav .is-menu-open .is-here > .wp-block-navigation-item__content > .wp-block-navigation-item__label::before,
	.k-nav .is-menu-open .k-mega.is-here > .k-mega__btn::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 9px; border-radius: 50%; background: var(--accent); vertical-align: .12em; }

	/* the services come first (Gil 22.11): "שירותים" as a row, the six cards under it (the icon straight on the card), then בית, אודות, בלוג and the rest */
	.k-nav .is-menu-open .k-mega { order: -1; border-top: 0 !important; }
	/* the heading row is a row like the others (Gil 22.11, "שיהיה אחיד"): the plain /services/ link with the same arrow, size
	   and color, so "לכל השירותים" under the cells is not needed. The folding button is not used here */
	.js .k-nav .is-menu-open .k-mega > .k-mega__nojs { display: flex; }
	.k-nav .is-menu-open :is(.k-mega__btn, .k-mega__all) { display: none; }
	.k-nav .is-menu-open .k-mega__panel { display: block; padding: 0 0 14px; border-bottom: 1px solid var(--rule); }
	/* each service is a card on the site's light aqua (Gil 22.11, "כרטיס לכל שירות", as the desktop panel's card), its icon
	   on the card, one under the other */
	.k-mega__list { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 2px 0 6px; padding-inline-start: 0; border-inline-start: 0; }
	.k-mega__list a { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 72px; padding: 8px 12px; border-radius: var(--r-card); background: var(--accent-wash); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; transition: background-color .2s ease, scale .16s var(--ease-out); -webkit-tap-highlight-color: transparent; }
	.k-mega__list a:active { scale: .98; }
	/* the icon on the card itself (Gil 22.11: the hexagons around the icons were dropped, "זה לא מתאים שם") */
	.k-mega__list .k-svc-ico { display: block; width: 48px; height: 48px; margin: 0 auto; }
	.k-mega__list li:is(.is-here, .is-picked) > a { background: var(--accent-wash-2); }
	.k-mega__list li.is-here > a { color: var(--accent-ink); font-weight: 700; }
	.k-mega__walink { justify-content: center; margin: 8px 0 0; padding: 0; font-size: 1rem; } /* stays under the services, centered (Gil 22.11) */

	/* a tapped card: a hexagon grows from its icon over the menu in the brand aqua, with the service's icon and name on it, while the page
	   loads (the link is never held back); the icon then flies into the page header (decision 41) */
	.k-menu-wash { position: fixed; inset: var(--head-h, 61px) 0 0; z-index: 3; pointer-events: none; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 22px; padding-bottom: 18vh; }
	.k-menu-wash__hex { position: absolute; left: var(--x); top: var(--y); width: 80px; height: 92px; margin: -46px 0 0 -40px; background: var(--accent-wash-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: scale .5s cubic-bezier(.65, 0, .35, 1); }
	.k-menu-wash.is-on .k-menu-wash__hex { scale: var(--s, 30); }
	.k-menu-wash .k-svc-ico { position: relative; z-index: 1; width: 128px; height: 128px; margin: 0; opacity: 0; translate: 0 10px; transition: opacity .25s ease .2s, translate .35s var(--ease-out) .2s; }
	.k-menu-wash__name { position: relative; z-index: 1; max-width: 16ch; font-size: 1.5rem; font-weight: 700; line-height: 1.25; color: var(--accent-ink); text-align: center; text-wrap: balance; opacity: 0; transition: opacity .25s ease .3s; }
	.k-menu-wash.is-on :is(.k-svc-ico, .k-menu-wash__name) { opacity: 1; translate: 0 0; }

	/* the bar under the thumb */
	.k-menu-foot {
		position: sticky; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 10px;
		margin: auto calc(-1 * var(--side)) 0; padding: 12px var(--side) calc(12px + env(safe-area-inset-bottom));
		background: var(--white); border-top: 1px solid var(--rule);
	}
	.k-menu-foot .k-btn { flex: 1 1 auto; min-height: 50px; font-size: 1.0625rem; }
	.k-menu-foot .k-wac { width: 50px; }

	/* opening: the rows come in one after another; the services the same when they open */
	.k-nav .is-menu-open .wp-block-navigation__container > li:not(.k-mega) { animation: k-menu-row .4s var(--ease-out) backwards; }
	.k-nav .is-menu-open .wp-block-navigation__container > li:not(.k-mega) { animation-delay: calc(380ms + var(--r, 0) * 45ms); }
	.k-nav .is-menu-open .wp-block-navigation__container > li:nth-child(1) { --r: 0; } .k-nav .is-menu-open .wp-block-navigation__container > li:nth-child(2) { --r: 1; }
	.k-nav .is-menu-open .wp-block-navigation__container > li:nth-child(4) { --r: 2; } .k-nav .is-menu-open .wp-block-navigation__container > li:nth-child(5) { --r: 3; }
	.k-nav .is-menu-open .wp-block-navigation__container > li:nth-child(6) { --r: 4; }
	.k-nav .is-menu-open .k-mega > a { animation: k-menu-row .4s var(--ease-out) 60ms backwards; }
	/* the logo's three hexes fly in and join again, as on the first visit (decision 33) */
	html.has-modal-open:not(.k-calm) .k-site-header .k-lh { animation: k-join .55s cubic-bezier(.34, 1.56, .64, 1) .05s both; }
	html.has-modal-open .k-site-header .k-lh1 { --jx: -20px; --jy: 100px; } html.has-modal-open .k-site-header .k-lh2 { --jx: 100px; --jy: -33px; } html.has-modal-open .k-site-header .k-lh3 { --jx: -80px; --jy: -70px; }
	.k-nav .is-menu-open .k-menu-foot { animation: k-menu-up .45s var(--ease-out) .3s backwards; }
	/* the cards come in one after another; each icon pops with a little spin and a slight overshoot */
	.k-nav .is-menu-open .k-mega__list > li { animation: k-menu-row .38s var(--ease-out) backwards; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
	.k-nav .is-menu-open .k-mega__list .k-svc-ico { animation: k-hex-in .5s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(200ms + var(--i, 0) * 55ms); }
	.k-mega__list > li:nth-child(1) { --i: 0; } .k-mega__list > li:nth-child(2) { --i: 1; } .k-mega__list > li:nth-child(3) { --i: 2; }
	.k-mega__list > li:nth-child(4) { --i: 3; } .k-mega__list > li:nth-child(5) { --i: 4; } .k-mega__list > li:nth-child(6) { --i: 5; } .k-mega__list > li:nth-child(7) { --i: 6; }
	.k-nav .is-menu-open .k-mega__walink { animation: k-menu-row .4s var(--ease-out) .5s backwards; }
	html.k-calm .k-nav .is-menu-open :is(.wp-block-navigation__container > li, .k-mega > a, .k-menu-foot, .k-mega__all, .k-mega__walink, .k-mega__list > li, .k-mega__list .k-svc-ico),
	html.k-calm .k-nav .wp-block-navigation__responsive-container.is-menu-open { animation: none; }
	html.k-calm :is(.k-menu-wash__hex, .k-menu-wash .k-svc-ico, .k-menu-wash__name) { transition: none; } /* pseudo-elements cannot sit inside :is() */
}
/* a phone on its side: a slimmer bar, so the list keeps the short screen */
@media (max-width: 599px) and (max-height: 480px) { .k-menu-foot { padding-block: 8px calc(8px + env(safe-area-inset-bottom)); } .k-menu-foot .k-btn { min-height: 44px; } .k-menu-foot .k-wac { width: 44px; } }
@keyframes k-menu-reveal { from { clip-path: circle(0 at calc(var(--side) + 22px) 0); } to { clip-path: circle(150vmax at calc(var(--side) + 22px) 0); } }
@keyframes k-menu-up { from { translate: 0 100%; } }
@keyframes k-menu-x { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }
@keyframes k-menu-row { from { opacity: 0; translate: 0 8px; } }
@keyframes k-hex-in { from { opacity: 0; scale: .3; rotate: -60deg; } }

/* Mortgage advice through Walty (/services/#mortgage, Noam's call 22.11): same box as the Sadeh rubric, no form on our side.
   Two columns: the partner link, and life insurance for the mortgage, which stays Noam's ("for a quote", WhatsApp). */
.k-mort-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 16px; }
.k-mort-col { display: flex; flex-direction: column; padding: 20px clamp(16px, 2vw, 24px); border: 1px solid var(--rule); border-radius: 12px; }
.k-mort-col h3 { margin: 0 0 8px; font-size: 1.25rem; }
.k-mort-col p { margin: 0 0 16px; }
.k-mort-col .k-mort-act { margin: auto 0 0; }
@media (max-width: 599px) { .k-mort-cols { grid-template-columns: 1fr; } .k-mort-act .k-btn { width: 100%; } }
