/* מסלול ברור — מערכת עיצוב אחת לכל האתר.
   צורניות: פינות חדות, קו דיו 1px, דפי נייר עם צל קשיח, קו טורקיז שמוביל את הדף. */

@font-face { font-family: "Polin"; src: url("assets/fonts/Polin-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Polin"; src: url("assets/fonts/Polin-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Yael Leibushor"; src: url("assets/fonts/OHYaelLeibushor2.0-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Amatic SC"; src: url("assets/fonts/AmaticSC-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gveret Levin"; src: url("assets/fonts/gveret-levin-hebrew-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Gveret Levin"; src: url("assets/fonts/gveret-levin-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --paper: #f8f6f1;
  --sheet: #fffdf9;
  --ink: #17323f;
  --navy: #1e4355;
  --teal: #0197b2;
  --teal-deep: var(--teal);
  --teal-ink: var(--teal);
  --teal-soft: var(--teal);
  /* טורקיז כהה לטקסט קטן בלבד: 4.7:1 על הרקע, לעמידה ב־AA. כותרות וספרות גדולות נשארות בטורקיז הרגיל */
  --teal-text: #00788f;
  /* זהב מט אחד לכל האתר: אזור החץ ומילוי הכפתור במעבר עכבר באותו גוון בדיוק. טקסט וחץ בצבע הדיו עליו: 5.6:1 */
  --accent-green: #c9a45c;
  --accent-deep: var(--accent-green);
  --muted: #4a5f68;
  --rule: rgba(23, 50, 63, .2);
  --error: #a3271c;

  --pad-y: 5vw;
  --pad-x: 5vw;
  --route-inset: 2.5vw;
  --route-chamfer: 22;
  --header-full: 140px;
  --header-h: 86px;
  --btn-h: 56px;
  --gap: 6vw;
  --lh-title: .88;
  --section-title-size: clamp(1.7rem, 3.6vw, 3.85rem);
  --lh-text: 1.4;
  --description-size: clamp(1.125rem, 1.45vw, 1.4rem);
  --after-title: clamp(12px, 1.05vw, 16px);
  --before-action: clamp(14px, 1.2vw, 18px);
  --after-block: clamp(30px, 3vw, 46px);

  --f-display: "Polin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Polin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Yael Leibushor", "Polin", cursive;
  --hand-size: clamp(1.75rem, 2.3vw, 2.125rem);
  --hand-size-small: clamp(1.5rem, 1.9vw, 1.75rem);

  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow: 7px 7px 0 rgba(23, 50, 63, .09);
  interpolate-size: allow-keywords;
}

@media (min-width: 1089px) {
  :root { --description-size: 1.1vw; }
}

@media (max-width: 1088px) {
  :root { --pad-y: 80px; --pad-x: 20px; --route-inset: 10px; --route-chamfer: 8; --gap: 48px; }
}
@media (max-width: 576px) {
  :root { --pad-y: 80px; --pad-x: 10px; --route-inset: 1px; --route-chamfer: 0; --header-full: 125px; --header-h: 80px; --gap: 36px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  padding-top: var(--header-full);
  background-color: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/var(--lh-text) var(--f-body);
  -webkit-font-smoothing: antialiased;
}

body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .2 0 0 0 0 .25 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .5; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip-link:focus { top: 12px; }

/* ---------- טיפוגרפיה ---------- */
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 6rem); line-height: var(--lh-title); }
h2 { font-size: var(--section-title-size); line-height: var(--lh-title); }
h2 em { font-style: normal; color: var(--teal-ink); }
.sl-mask { padding-block: .14em; margin-block: -.14em; }
/* grid keeps the negative mask margins from collapsing, so the leading stays exactly --lh-title */
h1:has(> .line), h2:has(> .sl-mask) { display: grid; }
h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1.85vw, 1.85rem); line-height: 1; }
.lead { font-size: var(--description-size); line-height: var(--lh-text); color: var(--muted); max-width: 31em; }
.kicker { font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: var(--teal-text); }
.hand { font-family: var(--f-hand); font-size: var(--hand-size); font-weight: 400; font-synthesis: none; color: var(--teal-ink); line-height: 1.2; }

/* ---------- כפתורים: משפחה אחת ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: stretch; min-height: var(--btn-h);
  border: 0; padding: 0; cursor: pointer;
  background: var(--ink); color: #fff;
  font: 700 1.0625rem/1.2 var(--f-body);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-deep); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn { transition: color .3s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn__label { display: flex; align-items: center; padding-inline: 28px 24px; }
.btn__arrow { display: grid; place-items: center; flex: none; width: var(--btn-h); background: var(--accent-green); color: var(--ink); }
.btn__arrow svg, .link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: translate .4s var(--ease); }
.btn:hover .btn__arrow svg, .btn:focus-visible .btn__arrow svg, .link:hover svg, .link:focus-visible svg { translate: -5px 0; }
.btn--small { --btn-h: 46px; font-size: .97rem; }
.btn--small .btn__label { padding-inline: 20px 18px; }

.link { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.link span { background: linear-gradient(currentColor, currentColor) no-repeat right calc(100% - 2px) / 0 1.5px; transition: background-size .45s var(--ease); padding-block: 4px; }
.link:hover span, .link:focus-visible span { background-size: 100% 1.5px; }

/* ---------- דף נייר ---------- */
.sheet { background: var(--sheet); border: 1px solid var(--ink); box-shadow: var(--shadow); }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-full); padding: 10px var(--pad-x);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, min-height .45s var(--ease);
}
.site-header.is-scrolled { min-height: var(--header-h); border-bottom-color: var(--rule); }
.site-header.is-scrolled .brand--original { --logo-scale: .44; }
.site-header.is-scrolled ~ .menu { inset-block-start: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand__mark { width: 34px; height: 35px; flex: none; }
.brand__name { font-size: 1.4rem; letter-spacing: .09em; line-height: 1; white-space: nowrap; }
.brand--original { --logo-scale: 1; position: relative; display: block; flex: none; width: calc(176px * var(--logo-scale)); height: calc(120px * var(--logo-scale)); overflow: hidden; transition: width .45s var(--ease), height .45s var(--ease); }
.brand__original { position: absolute; width: calc(282px * var(--logo-scale)); height: calc(282px * var(--logo-scale)); max-width: none; left: calc(-54px * var(--logo-scale)); top: calc(-88px * var(--logo-scale)); mix-blend-mode: darken; transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease); }
.site-header .brand__original { mix-blend-mode: normal; }
.site-header .brand--original { --logo-scale: .8; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav a { position: relative; padding-block: 12px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 8px; height: 1.5px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.menu-btn { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; }
.menu-btn__icon { position: relative; width: 26px; height: 12px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: var(--header-full) 0 0; z-index: 49; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px var(--pad-x); background: var(--paper); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu > a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--rule); font: 700 2rem/1.2 var(--f-display); }
.menu .btn { margin-top: 24px; }

@media (max-width: 1088px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-inline-start: auto; }
}
@media (max-width: 576px) {
  .header-cta { display: none; }
  .brand__mark { width: 28px; height: 29px; }
  .brand__name { font-size: 1.2rem; }
  .brand--original { --logo-scale: .875; }
  .site-header .brand--original { --logo-scale: .7; }
  .site-header.is-scrolled .brand--original { --logo-scale: .4; }
}
@media (min-width: 1089px) { .menu { display: none; } }

/* ---------- מבנה סקשנים + המסלול ---------- */
main { position: relative; }
.section { position: relative; padding: var(--pad-y) var(--pad-x); }
@media (min-width: 1089px) { .section:not(.hero) { padding-block: 7vw; } }
.route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: hidden; }
.route path { fill: none; }
.route__track { stroke: var(--rule); stroke-width: 1; }
.route__line { stroke: var(--teal); stroke-width: 2; }
.route__contrast-track { stroke: var(--navy); stroke-width: 1; }
.route__contrast-line { stroke: #fff; stroke-width: 2; }
.route .route__head { fill: var(--teal); opacity: 0; }
.station { position: absolute; top: 0; inset-inline-start: var(--pad-x); width: 15px; height: 15px; translate: 0 -50%; border: 2px solid var(--teal); border-radius: 50%; background: var(--paper); transition: background-color .5s var(--ease), scale .5s var(--ease); }
.station.is-passed { background: var(--accent-green); scale: 1.15; }
html:not(.js) [data-station] { border-top: 1px solid var(--rule); }

/* ---------- פתיחה ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; column-gap: 3vw; row-gap: var(--after-block); padding-top: calc(var(--pad-y) / 2); }
/* The full office scene shows only toward the centre; the outer fifths stay plain paper. */
.hero { --section-illustration: url("assets/illustrations/hero-office.webp"); --illustration-vertical-mask: linear-gradient(to bottom, transparent 0%, transparent 4%, #000 24%, #000 100%); }
.why { --section-illustration: url("assets/illustrations/team-airy.webp"); --illustration-offset-y: 96px; --illustration-vertical-mask: linear-gradient(to bottom, transparent 0%, transparent 4%, #000 24%, #000 76%, transparent 96%, transparent 100%); }
.illustrated-section { isolation: isolate; }
.illustrated-section::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--section-illustration) center calc(50% + var(--illustration-offset-y, 0px)) / cover no-repeat; opacity: .18; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 20%, #000 35%, #000 65%, transparent 80%, transparent 100%), var(--illustration-vertical-mask); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, transparent 20%, #000 35%, #000 65%, transparent 80%, transparent 100%), var(--illustration-vertical-mask); mask-composite: intersect; }
.why.illustrated-section::before { background-size: cover; opacity: .07; }
.illustrated-section > :not(.station) { position: relative; z-index: 1; }
.illustrated-section > .station { z-index: 1; }
.illustrated-section > .illustration__reveal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .4; -webkit-mask-image: var(--illustration-vertical-mask); mask-image: var(--illustration-vertical-mask); }
.why.illustrated-section > .illustration__reveal { opacity: .14; }
@media (max-width: 1088px) {
  .illustrated-section::before { opacity: .14; background-size: auto 100%; }
  .why { --illustration-offset-y: 64px; }
}
@media (max-width: 576px) { .why { --illustration-offset-y: 40px; } }
.line { display: block; overflow: hidden; padding-block: .14em; margin-block: -.14em; }
.line__in { display: block; }
.word { position: relative; display: inline-block; white-space: nowrap; }
.word svg { position: absolute; inset-inline: 0; bottom: -.08em; width: 100%; height: .2em; overflow: visible; }
.word path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; }
.word--clear { color: var(--teal-ink); }
.word--clear path { stroke: var(--teal); }
.hero .lead { margin-top: var(--after-title); max-width: 42em; text-wrap: pretty; }
@media (max-width: 1088px) { .hero .lead .br-wide { display: none; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: var(--before-action); }

.hero__stage { position: relative; justify-self: end; width: 100%; max-width: 620px; }
/* מסך הפתיחה ממורכז בגובה: הטקסט והאיור יושבים באמצע השטח שמתחת להדר, עם רווח שווה מעל ומתחת */
@media (min-width: 1089px) {
  .hero { --hero-h: calc(100vh - var(--header-full) - 2 * var(--pad-y)); grid-template-rows: minmax(var(--hero-h), auto); row-gap: 0; }
  .hero__stage { max-width: clamp(300px, calc(var(--hero-h) * 540 / 580), 620px); }
  /* האיור והטקסט ממורכזים בין שורת הכפתורים שבהדר לבין תחתית המסך, ולא בין קצה ההדר השקוף לתחתית */
  .hero__copy, .hero__stage { translate: 0 calc(11.5px - var(--header-full) / 4); }
  @supports (height: 100svh) { .hero { --hero-h: calc(100svh - var(--header-full) - 2 * var(--pad-y)); } }
}
.stage { width: 100%; height: auto; overflow: visible; }
.doc__paper { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.5; }
.doc__shadow { fill: rgba(23, 50, 63, .1); }
.doc path { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.doc .doc__bold { stroke-width: 3.5; }
.doc .doc__teal { stroke: var(--teal); stroke-width: 2; }
.doc .doc__bars { stroke: var(--navy); stroke-width: 8; }
.doc__block { fill: var(--ink); }
.doc--dark .doc__paper { fill: var(--navy); }
.doc--dark path { stroke: #fff; }
.doc.doc--dark .doc__bars { stroke: var(--teal-soft); }
.doc__ok circle { fill: var(--accent-green); }
.doc .doc__ok path { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stage__thread { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; }
.stage__head { fill: var(--teal); }
.hero[data-hero-mode="paper"] { overflow: clip; }
.paper-hero { overflow: visible; }
.paper-hero__base { fill: var(--navy); }
.paper-hero__outer-edge { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linejoin: miter; pointer-events: none; }
.paper-hero__sheets { opacity: .92; }
.hero-service-icons { stroke: var(--navy); stroke-width: 1.5; pointer-events: none; }
.hero-service-icon__paper { fill: var(--paper); fill-opacity: .88; }
.hero-service-icons .hero-service-icon__accent { stroke: var(--teal); }
.hero-service-icons .hero-service-icon__check { stroke: var(--accent-green); stroke-width: 2; }

.paper-hero__sheet rect { fill: var(--sheet); stroke: var(--navy); stroke-width: .7; }
.paper-hero__sheet path { fill: none; stroke: var(--navy); stroke-width: .7; opacity: .35; }
.paper-hero__sheet .paper-hero__heading { stroke-width: 2; opacity: .55; }
.paper-hero__sheet .paper-hero__accent { stroke: var(--teal); stroke-width: 2; opacity: .6; }
.paper-hero .doc__paper { stroke-width: 1; }
.paper-hero .doc__ok path { stroke: var(--accent-green); stroke-width: 2; }
.stage.can-drag .doc { cursor: grab; }
.stage.can-drag .doc:active { cursor: grabbing; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--ink); background: var(--sheet); box-shadow: 4px 4px 0 rgba(23, 50, 63, .09); font-size: clamp(.78rem, .95vw, .92rem); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.chip::before { content: ""; width: .38em; height: .72em; margin-top: -.2em; border: solid var(--accent-green); border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
.chip:nth-child(1) { left: 30.5%; top: 90.5%; }
.chip:nth-child(2) { left: 46.3%; top: 77.1%; }
.chip:nth-child(3) { left: 61.9%; top: 64.7%; }
.chip--hand { font-family: var(--f-hand); font-size: var(--hand-size-small); font-weight: 400; font-synthesis: none; line-height: 1.2; }
.chip--hand::before { flex: none; width: 6px; height: 11px; }
.flyer { position: absolute; left: 0; top: 0; z-index: 1; visibility: hidden; pointer-events: none; will-change: transform, width, height; }
.flyer__paper { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--ink); background: var(--sheet); box-shadow: var(--shadow); }
.flyer__art { position: absolute; top: 0; left: 0; }
.flyer__badge { position: absolute; top: 0; left: 0; overflow: visible; }
.flyer__content.service { position: absolute; top: 0; left: 0; rotate: none; text-align: start; }
.motion:not(.ready) .stage, .motion:not(.ready) .chips,
.motion:not(.ready) [data-hero], .motion:not(.ready) .line__in, .motion:not(.ready) .stat { opacity: 0; }

/* מספרי העסק: שלושה דפי נייר שנפלו בחפיפה קלה, מתחת לכפתורים. הגדלים נגזרים מגובה המסך כדי שהכול ייכנס למסך הראשון */
.stats { display: flex; align-items: stretch; width: fit-content; max-width: 100%; margin: clamp(30px, 3.8vh, 42px) 0 0; padding: 0; list-style: none; }
.stat { --tilt: 0deg; display: grid; flex: none; gap: clamp(6px, .9vh, 10px); justify-items: start; width: clamp(150px, 13.5vw, 205px); padding: clamp(8px, 1.3vh, 13px) clamp(12px, 1.9vh, 20px); background: var(--sheet); border: 1px solid var(--ink); box-shadow: var(--shadow); transform: rotate(var(--tilt)); align-content: start; }
.stat:nth-child(1) { --tilt: -2deg; z-index: 1; }
.stat:nth-child(2) { --tilt: 2.2deg; z-index: 2; margin-inline-start: calc(-1 * clamp(14px, 1.6vw, 26px)); position: relative; top: clamp(12px, 1.8vh, 18px); }
.stat:nth-child(3) { --tilt: -1.4deg; z-index: 3; margin-inline-start: calc(-1 * clamp(14px, 1.6vw, 26px)); }
.stat:nth-child(4) { --tilt: 1.6deg; z-index: 4; margin-inline-start: calc(-1 * clamp(14px, 1.6vw, 26px)); position: relative; top: clamp(12px, 1.8vh, 18px); }
.stat strong { color: var(--teal-ink); font: 700 clamp(1.65rem, min(3.6vh, 4.2vw), 2.85rem)/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat > span { color: var(--muted); font-size: clamp(.875rem, 1.4vh, .95rem); line-height: 1.25; }
/* The next card overlaps this one's end edge; keep the label clear of it. */
.stat:not(:last-child) > span { padding-inline-end: clamp(14px, 1.6vw, 26px); }
@media (max-width: 576px) {
  /* ארבעה דפים: שתי שורות של שניים */
  .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; row-gap: 8px; width: 100%; }
  .stat { width: auto; }
  .stat:nth-child(n+2) { margin-inline-start: 0; }
  .stat:nth-child(even) { margin-inline-start: -10px; }
  .stat > span { font-size: .8rem; }
}
/* דסקטופ: ברירת מחדל (מסך נמוך): השורה מתחת לפתיחה */
@media (min-width: 1089px) {
  .hero { --art-w: min(clamp(300px, calc(var(--hero-h) * 540 / 580), 620px), (100vw - 2 * var(--pad-x) - 3vw) * .4); }
  .hero__copy { grid-row: 1; grid-column: 1; }
  .hero__stage { grid-row: 1; grid-column: 2; }
  .stats { grid-row: 2; grid-column: 1 / -1; justify-self: start; margin-top: clamp(52px, 6vh, 68px); }
}
/* מסך רחב וגבוה: השורה יושבת בתחתית המסך הראשון, על קו התחתית של האיור ובציר הימני של הטקסט. בלוק הטקסט מורם מעט מהמרכז כדי להרחיק אותו מהדפים (כ־100px ביניהם) */
@media (min-width: 1200px) and (min-height: 800px) {
  .hero__copy { translate: 0 calc(11.5px - var(--header-full) / 4 - var(--hero-h) * .1); }
  .stats { grid-row: 1; grid-column: 1; align-self: end; justify-self: start; translate: 0 calc(11.5px - var(--header-full) / 4);
    margin: 0 0 calc((var(--hero-h) - var(--art-w) * 580 / 540) / 2 + var(--art-w) * 580 / 540 * .0138); }
}
/* מובייל וטאבלט: מתחת לכפתורים ולפני האיור, עם מרווח ברור מהם */
@media (max-width: 1088px) {
  .hero__copy { order: 1; }
  .stats { order: 2; margin-top: clamp(40px, 4.8vh, 52px); }
  .hero__stage { order: 3; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reels { display: inline-flex; }
.reel { height: 1em; overflow: hidden; text-align: center; }
.reel__in { display: flex; flex-direction: column; align-items: center; }
.reel__in span { height: 1em; line-height: 1; }

@media (max-width: 1088px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(1.9rem, 9.4vw, 5.2rem); }
  .hero__stage { justify-self: center; max-width: min(430px, 82%); }
}
@media (max-width: 576px) {
}

/* ---------- שירותים: שני מסמכים בתוך מעטפת ---------- */
.services h2 { margin-bottom: var(--after-block); text-align: center; }
.wrap { position: relative; --band-h: clamp(96px, 8vw, 132px); }
.wrap__flap { display: none; position: absolute; inset-inline: 0; z-index: 0; height: clamp(150px, 17vw, 250px); background: var(--navy); clip-path: polygon(0 100%, 50% 0, 100% 100%); transform-origin: 50% 100%; }
.wrap__core { position: relative; z-index: 1; clip-path: inset(-80px -80px calc(72px - var(--band-h)) -80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); padding-inline: clamp(12px, 3vw, 56px); }
.service { padding: clamp(24px, 3vw, 52px); padding-bottom: calc(clamp(24px, 3vw, 52px) + 72px); }
.service:first-child { rotate: -1.1deg; }
.service:last-child { rotate: .9deg; }
.service__art { width: clamp(104px, 10vw, 148px); height: auto; margin-bottom: clamp(14px, 1.5vw, 22px); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.service__art .dots { stroke-dasharray: .5 4; stroke-linecap: round; }
.service__art .tick { stroke: var(--accent-green); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.service p { margin-top: .4em; color: var(--muted); font-size: var(--description-size); max-width: 26em; }
.wrap__band {
  --band-cut: 34px;
  position: relative; z-index: 2; margin-top: -72px; height: var(--band-h);
  background: var(--ink);
  clip-path: polygon(0 0, 50% var(--band-cut), 100% 0, 100% 100%, 0 100%);
}
/* „וכל המסביב” — הכרטיס השלישי. כתב היד במקום האיור, כדי שיבלוט מול שני המסמכים */
.service .service__hand { display: flex; margin-top: 0; align-items: flex-end; height: calc(clamp(104px, 10vw, 148px) * 84 / 120); margin-bottom: clamp(14px, 1.5vw, 22px); font-size: calc(var(--section-title-size) * 1.5); line-height: .8; color: var(--teal); }

@media (max-width: 1088px) {
  .wrap__core { grid-template-columns: 1fr; }
  .service { padding-bottom: clamp(24px, 3vw, 52px); }
  .service:last-child { padding-bottom: calc(clamp(24px, 3vw, 52px) + 72px); }
}
@media (max-width: 576px) {
  .wrap__core { grid-template-columns: 1fr; padding-inline: 8px; }
  .service:first-child { padding-bottom: clamp(24px, 3vw, 52px); }
  .wrap__band { --band-cut: 22px; }
}

/* ---------- למה אנחנו: תיקיות שמסתדרות לערימה ---------- */
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.why__head { position: sticky; top: calc(var(--header-h) + 4vw); align-self: start; }
.why__head .lead { margin-block: var(--after-title) var(--before-action); }
.why__head .lead strong { color: var(--ink); }
@media (min-width: 1089px) {
  .why__head { grid-column: 2; grid-row: 1; }
  .why__grid > .files { grid-column: 1; grid-row: 1; }
}
.file { position: sticky; top: calc(var(--header-h) + 28px); margin-bottom: 30px; }
.file__in { position: relative; padding-top: 46px; }
.file:nth-child(2) { top: calc(var(--header-h) + 42px); }
.file:nth-child(3) { top: calc(var(--header-h) + 56px); margin-bottom: 0; }
.file__tab { position: absolute; top: 0; inset-inline-start: 0; z-index: 1; display: grid; place-items: center; width: 31%; height: 47px; border: 1px solid var(--ink); border-bottom: 0; background: var(--sheet); box-shadow: inset 0 3px 0 var(--accent-green); font-weight: 700; }
.file:nth-child(2) .file__tab { inset-inline-start: 34.5%; }
.file:nth-child(3) .file__tab { inset-inline-start: 69%; }
.file__tab { font-family: var(--f-hand); font-size: var(--hand-size); font-weight: 400; font-synthesis: none; line-height: 1.2; color: var(--teal-ink); }
.file__body { min-height: clamp(160px, 14vw, 200px); padding: clamp(24px, 3.2vw, 52px); }
.file__body p, .audience__item p { margin-top: .4em; color: var(--muted); font-size: var(--description-size); max-width: 27em; }

@media (max-width: 1088px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__head { position: static; }
}

/* ---------- קהל: רשימה פתוחה ותיקייה עם הצצה קצרה ---------- */
.audience__grid { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 0; align-items: stretch; }
/* Measured against the 1536 × 1024 concept: divider x936, rows x88–890,
   title x1040–1428, folder x1040–1400. Only the existing route surrounds this section. */
.audience__head { display: flex; flex-direction: column; justify-content: flex-start; border-inline-end: 1px solid var(--rule); padding-inline-end: var(--gap); }
.audience__head h2 { white-space: nowrap; }
.audience__illustration { display: flex; flex-direction: column; align-items: center; width: 50%; margin-top: var(--after-block); }
.audience__folder { display: block; width: 100%; height: auto; overflow: visible; fill: var(--paper); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.audience__businesses { width: 145%; max-width: none; align-self: flex-start; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.business-scene__windows { stroke-width: 1.2; opacity: .8; }
.business-scene__details { stroke: var(--teal); stroke-width: 1.5; }
.business-scene__green { stroke: var(--accent-green); }
.folder__paper { fill: var(--paper); }
.folder__lines, .folder__check { fill: none; }
.folder__check { stroke: var(--accent-green); stroke-width: 4; }
.audience__list { min-width: 0; padding-inline-start: calc(var(--gap) / 2); align-self: center; }
.audience__item { display: flex; gap: 24px; align-items: center; padding-block: var(--after-block); border-bottom: 1px solid var(--ink); overflow: clip; }
.audience__item:first-child { padding-top: 0; }
.audience__item:last-child { padding-bottom: 0; border-bottom: 0; }
.audience__icon { flex: none; width: 60px; height: auto; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.audience__accent { stroke: var(--accent-green); }
@media (max-width: 1088px) {
  .audience__grid { grid-template-columns: 1fr; }
  .audience__grid { gap: var(--gap); }
  .audience__head { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-inline-end: 0; padding-inline-end: 0; }
  .audience__illustration { width: clamp(65px, 13vw, 110px); margin-top: 0; }
  .audience__businesses { width: 100%; }
  .audience__list { padding-inline-start: 0; }
}
@media (max-width: 576px) {
  .audience__item { gap: 18px; }
  .audience__icon { width: 44px; height: 44px; }
}

/* ---------- אודות: פריסה פתוחה וחתימות ---------- */
.about__grid, .faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; }
.about__grid { align-items: stretch; }
.about__head { display: flex; align-items: center; border-inline-end: 1px solid var(--rule); padding-inline-end: calc(var(--gap) / 2); }
@media (min-width: 1089px) {
  .about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .about__head { position: sticky; top: calc(var(--header-h) + (100svh - var(--header-h) - var(--about-group-height, 240px)) / 2 + var(--about-title-lift, 0px)); height: var(--about-group-height, 240px); align-self: start; align-items: flex-start; grid-column: 2; grid-row: 1; border-inline-end: 0; border-inline-start: 0; padding-inline-end: 0; padding-inline-start: calc(var(--gap) / 2); }
  .about__head::before { content: ""; position: absolute; inset-inline-start: 0; top: calc(-1 * var(--about-title-lift, 0px)); height: 100%; border-inline-start: 1px solid var(--rule); pointer-events: none; }
  .about__grid > .letter { grid-column: 1; grid-row: 1; }
}
.letter { position: relative; font-size: var(--description-size); line-height: var(--lh-text); }
.letter > p { max-width: 31em; margin-bottom: var(--after-title); color: var(--muted); }
.letter > p:first-child { color: var(--ink); font-weight: 700; }
.letter > p:last-of-type { margin-bottom: 0; }
.letter__cta { margin-top: var(--before-action, var(--after-block)); }
.letter__signatures { position: relative; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; gap: 24px; margin-top: var(--after-block); padding-inline-end: 88px; }
.letter__sign { display: grid; gap: 8px; margin: 0; }
.letter__name { display: block; padding-bottom: 8px; border-bottom: 1px solid var(--accent-green); font-family: "Amatic SC", var(--f-hand); font-weight: 400; font-size: clamp(1.35rem, 1.6vw, 1.6rem); color: var(--navy); }
.signature { display: block; width: 5.2em; height: 2.25em; overflow: visible; }
.signature__stroke { fill: none; stroke: var(--navy); stroke-width: var(--signature-stroke, 1.3); stroke-linecap: round; stroke-linejoin: round; }
.letter__role { font-size: .95rem; }
.letter__pen-carrier { position: absolute; left: 0; top: 0; width: clamp(54px, 6vw, 82px); aspect-ratio: 160 / 70; pointer-events: none; z-index: 1; transform-origin: 4.375% 82.857%; }
.motion .letter__pen-carrier { visibility: hidden; }
.letter__pen { display: block; width: 100%; height: auto; color: var(--navy); }
.letter__pen-accent { fill: var(--accent-green); }

/* שתי השותפות: דף נייר לכל אחת, באותה שפה של מסמכי השירותים. העט כותב את החתימות בתחתית הדפים */
.about__grid { row-gap: var(--after-block); }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(16px, 2.4vw, 40px); margin-top: 0; padding-inline-end: 0; }
.partner { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 44px); font-size: calc(var(--description-size) * .92); line-height: var(--lh-text); }
.partner:first-child { rotate: -1.1deg; }
.partner:nth-child(2) { rotate: .9deg; }
.partner__role { margin-top: .2em; font-size: .95rem; font-weight: 700; color: var(--teal-text); }
.partner__creds { display: grid; gap: .45em; margin-block: var(--after-title); padding: 0; list-style: none; color: var(--ink); }
.partner__creds li { display: flex; align-items: baseline; gap: .6em; }
.partner__creds li::before { content: ""; flex: none; width: .34em; height: .66em; border: solid var(--accent-green); border-width: 0 2.5px 2.5px 0; rotate: 45deg; translate: 0 -.1em; }
.partner__text { color: var(--muted); }
.about__photo { justify-self: start; width: min(100%, 260px); margin: var(--after-block) 0 0; padding: 10px 10px 0; rotate: 1.6deg; }
.about__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; }
.about__photo figcaption { padding: .35em 0 .45em; text-align: center; font-size: var(--hand-size-small); line-height: 1.1; }
.partner .letter__sign { margin-top: auto; padding-top: var(--after-block); }
/* הקו מתחת לחתימה ברוחב החתימה בלבד, כמו חתימה אמיתית */
.partner .letter__name { justify-self: start; width: fit-content; }
@media (min-width: 1089px) {
  /* הכותרת והטקסט הכללי בטור אחד, דפי השותפות בטור השני, בלי קו מפריד */
  /* הכותרת והטקסט הכללי ממורכזים לגובה מול דפי השותפות: שורות ריקות גמישות מעל ומתחת */
  .about__grid { row-gap: 0; grid-template-rows: 1fr auto auto 1fr; }
  .about__head { position: relative; top: auto; height: auto; grid-column: 2; grid-row: 2; align-self: end; padding-inline-start: 0; margin-bottom: var(--after-title); }
  .about__head::before { content: none; }
  .about__grid > .letter { grid-column: 2; grid-row: 3; align-self: start; }
  .about__grid > .partners { grid-column: 1; grid-row: 1 / -1; align-self: center; }
}
@media (max-width: 576px) {
  .partners { grid-template-columns: 1fr; }
}

/* ---------- שאלות נפוצות ---------- */
/* המלצות: אותה מערכת נייר, עם הטיה וזיגזג עדינים שאינם משנים את סדר הקריאה. */
.testimonials { isolation: isolate; }
.testimonials::before, .site-footer::before { content: ""; position: absolute; inset: 0 var(--route-inset); z-index: -1; pointer-events: none; background: var(--navy); --corner: calc(var(--route-chamfer) * 1px); clip-path: polygon(var(--corner) 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, var(--corner) 100%, 0 calc(100% - var(--corner)), 0 var(--corner)); }
.testimonials > h2, .testimonials > h2 em { color: var(--sheet); }
.testimonials .testimonials__demo, .testimonials .testimonials__count { color: var(--sheet); }
.testimonials .testimonials__arrow { border-color: var(--sheet); }
.testimonials .testimonials__arrow:not(:disabled):hover { background: var(--sheet); color: var(--ink); }
.testimonials .testimonials__arrow:disabled { opacity: .6; }
.testimonials :focus-visible { outline-color: var(--sheet); }
.testimonials > h2 { text-align: center; margin-bottom: var(--after-block); white-space: nowrap; }
.testimonials__grid { --testimonial-gap: clamp(22px, 3vw, 46px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--testimonial-gap) - 24px) / 3); gap: var(--testimonial-gap); overflow-x: auto; padding: 18px 12px 46px; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scrollbar-width: none; cursor: grab; }
.testimonials__grid::-webkit-scrollbar { display: none; }
.testimonials__grid.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.testimonials__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 4px; }
.testimonials__controls[hidden] { display: none; }
.testimonials__arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--ink); background: var(--ink); color: var(--sheet); cursor: pointer; }
.testimonials__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.testimonials__arrow:disabled { opacity: .35; cursor: default; }
.testimonials__arrow:not(:disabled):hover { background: var(--teal-deep); }
.testimonials__count { min-width: 100px; text-align: center; color: var(--muted); font-size: .95rem; }
.testimonial { --testimonial-tilt: -1.2deg; --testimonial-offset: 8px; position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0; padding: clamp(26px, 3vw, 46px) clamp(20px, 2.4vw, 36px) clamp(24px, 2.5vw, 38px); text-align: center; transform: translateY(var(--testimonial-offset)) rotate(var(--testimonial-tilt)); }
.testimonial { scroll-snap-align: start; }
.testimonial:nth-child(3n + 2) { --testimonial-tilt: 1.4deg; --testimonial-offset: 24px; }
.testimonial:nth-child(3n) { --testimonial-tilt: -1deg; --testimonial-offset: 0px; }
.testimonial::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 72px; height: 10px; transform: translateX(-50%); background: var(--accent-green); border: 1px solid var(--ink); border-bottom: 0; }
.testimonial__quote { width: clamp(38px, 4vw, 58px); height: auto; fill: var(--teal-deep); margin-bottom: 24px; }
.testimonial blockquote { margin: 0 0 28px; font-size: var(--description-size); line-height: var(--lh-text); text-wrap: balance; }
.testimonial figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 1.0625rem; }
.testimonial__separator { color: var(--accent-green); font-weight: 700; }
@media (max-width: 768px) {
  .testimonials__grid { --testimonial-gap: 24px; grid-auto-columns: calc(90% - 24px); padding-block: 18px 26px; }
  .testimonial { --testimonial-tilt: -.7deg; --testimonial-offset: 0px; }
  .testimonial:nth-child(3n + 2) { --testimonial-tilt: .7deg; --testimonial-offset: 0px; }
  .testimonial:nth-child(3n) { --testimonial-tilt: -.5deg; --testimonial-offset: 0px; }
}

.faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--after-block); }
.faq__grid > h2 { text-align: center; }
.faq__contact { display: grid; justify-items: center; gap: var(--before-action); text-align: center; }
.faq__contact p { font-size: var(--description-size); color: var(--muted); line-height: var(--lh-text); }
.faq__list { --number-space: 84px; --number-gap: 24px; width: min(100%, 1100px); justify-self: center; }
.faq details { position: relative; border-top: 1px solid var(--ink); }
.faq details::before { content: ""; position: absolute; inset-inline-start: var(--number-space); top: 18px; bottom: 18px; width: 1px; background: var(--accent-green); pointer-events: none; }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { display: grid; grid-template-columns: var(--number-space) minmax(0, 1fr) 22px; align-items: center; gap: var(--number-gap); padding: clamp(20px, 2vw, 30px) 0; cursor: pointer; list-style: none; font: 700 clamp(1.0625rem, 1.4vw, 1.32rem)/1.1 var(--f-display); }
.faq__number { padding-inline-end: 20px; font: 400 clamp(1.75rem, 2.4vw, 2.25rem)/1 var(--f-body); text-align: center; color: var(--muted); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; }
.faq__plus { transform-origin: 12px 12px; transition: scale .3s var(--ease); }
.faq details[open] .faq__plus { scale: 1 0; }
.faq details p { padding-inline-start: calc(var(--number-space) + var(--number-gap)); padding-inline-end: calc(22px + var(--number-gap)); padding-bottom: clamp(20px, 2vw, 30px); color: var(--muted); font-size: var(--description-size); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 576px) {
  .faq__list { --number-space: 42px; --number-gap: 14px; }
  .faq__number { padding-inline-end: 10px; font-size: 1.5rem; }
  .faq details p { padding-inline-end: 0; }
}

@media (max-width: 1088px) {
  .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__head { border-inline-end: 0; padding-inline-end: 0; }
  .letter__signatures { justify-content: flex-start; }
}

/* ---------- יצירת קשר ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.contact > .station { display: none; }
.contact .lead { margin-top: var(--after-title); }
.steps { margin-top: var(--after-block); }
.steps h3 { margin-bottom: .6em; font-size: clamp(1.15rem, 1.45vw, 1.36rem); }
.steps li { position: relative; display: grid; gap: 0; padding-inline-start: 40px; padding-bottom: 14px; }
.steps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; z-index: 1; width: 15px; height: 15px; border: 2px solid var(--teal); border-radius: 50%; background: var(--paper); }
.steps li::after { content: ""; position: absolute; inset-inline-start: 6.5px; top: 17px; bottom: -8px; width: 2px; background: var(--teal); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { background: var(--accent-green); }
.steps li:last-child::after { display: none; }
.steps strong { font-weight: 700; font-size: 1.15rem; }
.steps span { color: var(--muted); }

.form { position: relative; display: grid; gap: clamp(16px, 1.6vw, 24px); padding: clamp(22px, 3.4vw, 54px); }
.form__note { margin-bottom: var(--after-title); }
.stamp { position: absolute; top: 16px; inset-inline-end: 18px; z-index: 2; display: grid; justify-items: center; gap: 1px; padding: 8px 16px 9px; border: 2.5px solid var(--teal-deep); outline: 1px solid var(--teal-deep); outline-offset: 3px; color: var(--teal-deep); line-height: 1.15; rotate: -7deg; opacity: .92; }
.stamp strong { font-size: 1.45rem; }
.stamp span { font-size: .78rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.stamp .stamp__hand { font-family: var(--f-hand); font-size: var(--hand-size-small); font-weight: 400; font-synthesis: none; letter-spacing: 0; }
.field { display: grid; gap: 2px; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; font-size: 1.125rem; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 5.2em; }
.field input::placeholder, .field textarea::placeholder { color: #505050; opacity: 1; font-weight: 400; }
.field input[type="tel"]::placeholder { direction: rtl; text-align: right; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--teal-deep); box-shadow: 0 3px 0 var(--teal-deep); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field__err { min-height: 0; color: var(--error); font-size: .95rem; font-weight: 700; }
.field__err:empty { display: none; }
.form__submit { justify-content: space-between; margin-top: 6px; }
.form__status { font-weight: 700; }
.form__status:empty { display: none; }
.form__status a, .form__fine a { text-decoration: underline; text-underline-offset: 3px; }
.form__fine { color: var(--muted); font-size: .92rem; }

.reach { display: grid; margin-top: var(--after-block); border-top: 1px solid var(--ink); }
.reach > * { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; font-weight: 700; }
.reach span { flex: none; color: var(--muted); font-size: .95rem; font-weight: 400; }
.reach a bdi { transition: color .3s; }
.reach a:hover bdi, .reach a:focus-visible bdi { color: var(--teal-text); }
.reach p { text-align: end; }

@media (max-width: 1088px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 1088px) {
  .stamp { position: static; justify-self: end; margin: 0 6px 8px; }
}

/* ---------- פוטר ---------- */
/* Contact finale: a real, accessible form inside a flat geometric envelope. */
.contact__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.contact__copy { min-width: 0; }
.contact__plane { width: min(100%, 420px); height: auto; margin-bottom: var(--after-block); fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.contact__flight { stroke: var(--teal-deep); }
.reach--contact { border: 0; gap: 14px; }
.reach--contact > * { justify-content: flex-start; padding: 0; border: 0; font-weight: 400; }
.reach--contact span { width: 42px; }
.contact__skyline { width: min(100%, 340px); height: auto; margin-top: var(--after-block); fill: none; stroke: var(--navy); stroke-width: 1.2; }
.envelope { --letter-tip: clamp(48px, 6vw, 90px); isolation: isolate; display: block; padding: 0; }
.envelope::before { content: ""; position: absolute; inset: 30% 0 0; z-index: -1; background: var(--navy); clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
.envelope__opening { position: relative; margin-inline: 8%; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--letter-tip)), 50% 100%, 0 calc(100% - var(--letter-tip))); }
.envelope__letter { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); margin-inline: 0; padding: clamp(20px, 3.5vw, 54px) clamp(20px, 4vw, 62px) calc(var(--letter-tip) + 24px); background: var(--sheet); border-top: 1px solid var(--rule); }
.envelope__letter > .field:nth-last-child(-n+2) { grid-column: 1 / -1; }
.form__annotation { grid-column: 1 / -1; text-align: center; }
.form__annotation .form__note { margin: 0; font-size: var(--hand-size); line-height: 1.15; rotate: none; }
.envelope .field { min-width: 0; }
.envelope .field label { color: var(--muted); font-weight: 400; }
.envelope__folds { position: absolute; inset: auto 0 0; z-index: -1; width: 100%; height: calc(var(--letter-tip) + 140px); fill: none; stroke: var(--teal-soft); stroke-width: .7; opacity: .35; pointer-events: none; }
.envelope__actions { position: relative; display: grid; justify-items: center; gap: 16px; padding: 28px clamp(16px, 3vw, 46px); color: #fff; }
.envelope .form__submit { max-width: 100%; margin: 0; border: 1px solid var(--teal-soft); }
.envelope .form__fine { color: #d3e1e3; text-align: center; }
.envelope .form__status { color: #fff; text-align: center; }
.envelope .btn:focus-visible { outline-color: var(--accent-green); }
@media (max-width: 1088px) {
  .contact { --contact-route-inset: 20px; --contact-route-tail: 64px; --contact-route-clearance: 20px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); row-gap: calc(var(--pad-y) + var(--contact-route-tail) + var(--contact-route-clearance) + 6px); }
  .contact__side { width: 100%; max-width: 650px; justify-self: center; }
  .contact__plane { width: min(65%, 320px); }
  .contact__skyline { display: none; }
}
@media (max-width: 576px) {
  .envelope__opening { margin-inline: 5%; }
  .envelope__letter { padding-inline: 18px; }
  .envelope__actions { padding-inline: 14px; }
  .envelope .btn__label { padding-inline: 12px; font-size: .94rem; }
  .reach--contact > * { font-size: 1rem; }
}

.site-footer { position: relative; isolation: isolate; color: var(--sheet); display: grid; justify-items: center; gap: 24px; padding: 26px var(--pad-x) calc(26px + var(--route-inset)); font-size: .95rem; }
.site-footer::before { bottom: var(--route-inset); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.site-footer a:not(.brand) { display: inline-block; padding-block: 10px; }
.site-footer__policies a, .site-footer__credit a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-green); }
.site-footer .brand__original { mix-blend-mode: normal; filter: brightness(0) invert(1); }
.site-footer a:focus-visible { outline-color: var(--accent-green); }
.site-footer__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px 24px; width: 100%; color: var(--sheet); }
.site-footer__bottom p { margin: 0; }
.site-footer__policies { justify-self: start; }
.site-footer__credit { text-align: center; }
.site-footer__copyright { justify-self: end; text-align: end; }
@media (min-width: 577px) and (max-width: 1088px) {
  .site-footer__bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; font-size: .875rem; }
  .site-footer__credit { justify-self: center; max-width: 100%; }
  .site-footer .site-footer__policies { flex-wrap: nowrap; gap: 12px; }
}
@media (max-width: 576px) {
  .site-footer__bottom { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
  .site-footer__policies, .site-footer__copyright { justify-self: center; text-align: center; }
}

/* ---------- עמודי מידע (נגישות, פרטיות) ---------- */
.page { max-width: 46rem; }
.page h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); margin-bottom: .3em; }
.page h2 { margin: 1.4em 0 .35em; font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: 0; }
.page p, .page li { color: var(--muted); font-size: 1.125rem; }
.page p + p { margin-top: .8em; }
.page ul { display: grid; gap: 6px; padding-inline-start: 1.2em; list-style: square; }
.page a:not(.link) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page .link { margin-top: 2em; }
.page__date { margin-bottom: 1.6em; color: var(--muted); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.reels > span { height: 1em; line-height: 1; }
.testimonials__demo { text-align: center; color: var(--muted, #526874); font-size: .875rem; margin: 12px 0 28px; }

/* ---------- ניסוי 14.10.2026: פתיחה כהה כמו סקשן ההמלצות ----------
   להחזרה לגרסה הבהירה: להסיר את המחלקה hero--dark מהסקשן ב־index.html */
.hero--dark { --thread-start: #d3e1e3; --thread-end: var(--teal); --hero-accent: #5cc8d6; color: var(--sheet); }
.hero--dark::after { content: ""; position: absolute; inset: 0 var(--route-inset); z-index: -1; pointer-events: none; background: var(--navy); --corner: calc(var(--route-chamfer) * 1px); clip-path: polygon(var(--corner) 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, var(--corner) 100%, 0 calc(100% - var(--corner)), 0 var(--corner)); }
.hero--dark.illustrated-section::before { opacity: .62; mix-blend-mode: screen; }
.hero--dark.illustrated-section > .illustration__reveal { opacity: .3; mix-blend-mode: screen; }
.hero--dark h1 { color: var(--sheet); }
.hero--dark .word--clear { color: var(--hero-accent); }
.hero--dark .word--clear path { stroke: var(--hero-accent); }
.hero--dark .lead { color: #d3e1e3; }
.hero--dark .btn { background: var(--sheet); color: var(--ink); }
.hero--dark .btn::before { background: var(--accent-green); }
.hero--dark .link { color: var(--sheet); }
.hero--dark :focus-visible { outline-color: var(--sheet); }
.hero--dark .doc__shadow { fill: rgba(0, 0, 0, .22); }
.hero--dark .doc--dark .doc__paper { fill: #143140; stroke: var(--sheet); }
.hero--dark .stage__head { fill: var(--teal); }
.hero--dark .stat { box-shadow: 5px 5px 0 rgba(0, 0, 0, .22); color: var(--ink); }
.hero--dark .chip { background: none; border-color: transparent; box-shadow: none; color: var(--sheet); }
/* פתיחה כהה: התוכן ממורכז בתוך הפאנל עצמו ולא ביחס להדר, עם ריווח שווה מלמעלה ומלמטה */
@media (min-width: 1089px) {
  .hero--dark { padding-top: var(--pad-y); }
  .hero--dark .hero__copy, .hero--dark .hero__stage { translate: none; }
}
@media (min-width: 1200px) and (min-height: 800px) {
  .hero--dark .hero__copy { translate: 0 calc(var(--hero-h) * -.13); }
  .hero--dark .stats { translate: none; }
}
@media (min-width: 1089px) {
  .hero--dark .hero__stage { justify-self: center; translate: var(--art-shift, 0px) 0; }
}

/* פתיחה „המסלול”: ה־V מתוך החץ בלוגו (אותן זוויות, פינות חדות). הקו נכנס מקצה המסך ולכן הסקשן חותך את מה שמחוץ לו */
.hero[data-hero-mode="route"] { overflow: clip; }
.stage__thread--logo { stroke-width: 100; stroke-linejoin: miter; stroke-miterlimit: 12; stroke-linecap: butt; }

/* Shared desktop size for regular copy; headings and display elements retain their own sizes. */
@media (min-width: 1089px) {
  body,
  .letter__role,
  .testimonial figcaption,
  .testimonials__count,
  .field input,
  .field textarea,
  .field__err,
  .form__fine,
  .reach > *,
  .reach span,
  .site-footer,
  .page p,
  .page li,
  .page__date,
  .testimonials__demo { font-size: var(--description-size); }
  .link { font-size: 1.0625rem; }
}

/* Full-section scene with the same horizontal edge fade as the hero. */
.about.illustrated-section {
  --section-illustration: url("assets/illustrations/about-team.webp");
  --illustration-offset-y: 0px;
  --about-edge-mask: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  --about-vertical-mask: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
}
.about.illustrated-section::before {
  background-size: 100% 100%;
  opacity: .05;
  -webkit-mask-image: var(--about-edge-mask), var(--about-vertical-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--about-edge-mask), var(--about-vertical-mask);
  mask-composite: intersect;
}
.about.illustrated-section > .illustration__reveal {
  opacity: .14;
  -webkit-mask-image: var(--about-edge-mask), var(--about-vertical-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--about-edge-mask), var(--about-vertical-mask);
  mask-composite: intersect;
}

/* Explicit, unchecked consent before preparing the contact message. */
.form__consent { width: 100%; max-width: 38em; color: var(--sheet); }
.form__consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5; }
.form__consent input { flex: none; width: 18px; height: 18px; margin: .2em 0 0; accent-color: var(--accent-green); }
.form__consent input:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 4px; }
.form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__consent .field__err { color: #ffe1d6; }
