/* הגופן Dragon של אלעד מזרחי: כתב עברי קליגרפי, משקל אחד, בלי אותיות לטיניות (אלה נופלות ל-Frank Ruhl Libre) */
@font-face {
  font-family: "Dragon";
  src: url("../fonts/dragon.woff2") format("woff2"), url("../fonts/dragon.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* חנוך גוטובסקי, אתר אישי
   שחור דיו, נייר חם, וצבע אחד שמסמן: כתום אות. הכחול שמור למצב רנטגן בלבד. */

:root {
  --ink: #0a0a0b;
  --ink-2: #121214;
  --ink-3: #1c1c1f;
  --paper: #ede8de;
  --paper-2: #e1dbcd;
  --fg: #ede8de;
  --fg-dim: rgba(237, 232, 222, .56);
  --fg-faint: rgba(237, 232, 222, .14);
  --ink-dim: rgba(10, 10, 11, .64);
  --ink-faint: rgba(10, 10, 11, .14);
  --signal: #ff4f1a;
  --signal-ink: #a8360a; /* כתום כהה לטקסט על נייר: ניגודיות 4.7:1 ומעלה */
  --blue: #3d7bff;

  --f-display: "Dragon", "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --f-body: "Dragon", "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "IBM Plex Sans Hebrew", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(18px, 1.2vw, 21px);
  line-height: 1.6;
  font-synthesis: none; /* לגופן יש משקל אחד: בלי הדגשה מלאכותית */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 4px; }

.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; font-weight: 400; }
.label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--fg-dim); text-transform: uppercase; }
.display { font-family: var(--f-display); font-weight: 400; line-height: .95; letter-spacing: 0; }
.sr-only, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 200; top: 12px; right: 12px; background: var(--signal); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }

/* ---------- שכבות קבועות ---------- */
.gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.gl-on .gl { opacity: 1; }
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain { inset: 0; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, -3%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- פתיח ---------- */
.intro { display: none; }
.motion .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: var(--ink);
  clip-path: inset(0 0 0 0);
}
.intro-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-grid line { stroke: rgba(61, 123, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.intro-grid line.major { stroke: rgba(237, 232, 222, .22); }
.intro-type {
  position: relative; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1; display: flex; align-items: center; gap: .08em; color: var(--fg);
}
.caret { display: inline-block; width: .06em; height: .9em; background: var(--signal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro-meta {
  position: absolute; inset-inline: var(--gutter); bottom: var(--gutter); display: flex; justify-content: space-between;
  color: var(--fg-dim);
}
.intro-pct { color: var(--signal); }

/* ---------- סרגל עליון ---------- */
.bar {
  position: fixed; z-index: 100; top: 0; inset-inline: 0; display: flex; align-items: center; gap: 2rem;
  padding: 18px var(--gutter); mix-blend-mode: difference; color: #ede8de;
}
.bar-mark { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-decoration: none; letter-spacing: 0; }
.bar-mark span { color: var(--signal); mix-blend-mode: normal; }
.bar-nav { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.bar-nav a { font-family: var(--f-mono); font-size: .78rem; text-decoration: none; position: relative; padding: .3rem 0; }
.bar-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.bar-nav a:hover::after { transform: scaleX(1); transform-origin: right; }
.xray-toggle {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: .78rem;
  border: 1px solid currentColor; border-radius: 99px; padding: .45rem .9rem .45rem 1rem;
}
.xray-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s; }
.xray .xray-dot { background: currentColor; }

/* ---------- פתיחה ---------- */
.hero { position: relative; z-index: 1; }
.hero-pin {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 0 var(--gutter); overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; align-items: center;
}
/* הצלילה: הפתיחה נצמדת למסך והמצלמה עוברת דרך הזכוכית */
.stage-on .hero { height: 240vh; height: 240svh; }
.stage-on .hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.hero-ui { position: relative; z-index: 1; }
.hero-flash { position: absolute; inset: 0; z-index: 2; background: var(--paper); opacity: 0; pointer-events: none; }
.hero-title {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(4.4rem, 17vw, 17rem); line-height: .84;
  letter-spacing: 0; display: flex; flex-direction: column; padding-top: 12vh; user-select: none;
}
.hero-title span:last-child { align-self: flex-end; }
.gl-on .hero-title { color: transparent; }
.hero-role { font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 300; white-space: nowrap; margin-bottom: 4vh; }
.hero-meta { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 28px; color: var(--fg-dim); flex-wrap: wrap; }
.hero-hint { color: var(--fg); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--fg-dim); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--fg), transparent); transform-origin: top; }
.motion .scroll-cue i { animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- גיליונות ---------- */
.sheet {
  position: relative; z-index: 2; background: var(--paper); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0;
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .6);
}
.sheet .label { color: var(--ink-dim); }
.sheet-ink { background: var(--ink-2); color: var(--fg); }
.sheet-ink .label { color: var(--fg-dim); }

/* מניפסט */
.manifesto-text {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 5.2vw, 5.4rem); line-height: 1.04;
  letter-spacing: 0; max-width: 19ch; margin: 2.4rem 0 clamp(80px, 10vw, 150px);
}
.manifesto-text .w { opacity: .14; transition: opacity .2s linear; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-text .w.hl { color: var(--signal-ink); font-style: italic; }
.principles-wrap { border-top: 1px solid var(--ink-faint); padding-top: 1.6rem; }
.principles-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin-bottom: 2.4rem; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.principles li {
  display: flex; flex-direction: column; gap: .9rem; padding: clamp(22px, 2.4vw, 34px);
  background: var(--paper-2); border-radius: 18px; border: 1px solid var(--ink-faint);
}
.pr-num { color: var(--signal-ink); font-size: .8rem; }
.principles h2 { font-family: var(--f-display); font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 400; line-height: 1.05; text-wrap: balance; }
.principles p {
  font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1rem; line-height: 1.7;
  color: rgba(10, 10, 11, .78); max-width: 38ch;
}
.pr-proof {
  margin-top: auto; align-self: flex-start; padding: .45rem .8rem; border-radius: 99px;
  background: var(--ink); color: var(--paper); font-size: .72rem;
}

/* ---------- עבודות ---------- */
.work { padding-bottom: clamp(60px, 8vw, 120px); }
.work-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(70px, 10vw, 150px); }
.work-head .label { grid-column: 1 / -1; }
.work-head h2, .work-head h1 { font-size: clamp(3.4rem, 10vw, 10.5rem); font-weight: 400; }
.work-count { font-family: var(--f-display); font-size: clamp(3rem, 10vw, 10.5rem); font-weight: 300; line-height: .8; color: var(--signal); letter-spacing: 0; }

.projects { list-style: none; display: grid; gap: clamp(110px, 16vw, 240px); }
.project { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(28px, 5vw, 90px); }
.project:nth-child(even) .p-media { order: 2; }
.p-media { position: relative; will-change: transform; }
.browser { border-radius: 14px; overflow: hidden; background: #1a1a1d; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #19191c; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3f; }
.browser-bar span { margin-inline: auto; color: var(--fg-dim); font-size: .7rem; direction: ltr; unicode-bidi: plaintext; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #222; }
.p-tall { width: 100%; transform: translate3d(0, var(--y, 0px), 0); transition: transform var(--dur, .9s) var(--ease-io); will-change: transform; }
.p-phone {
  position: absolute; width: 21%; inset-inline-start: -5%; bottom: -12%; border-radius: 18px; border: 5px solid #0d0d0f;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85); background: #111;
}
.project:nth-child(even) .p-phone { inset-inline-start: auto; inset-inline-end: -5%; }
.p-info { position: relative; display: grid; justify-items: start; gap: .6rem; }
.p-num { color: color-mix(in srgb, var(--p) 72%, #fff); font-size: .85rem; }
.p-name {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 6.2vw, 6.6rem); line-height: .9; letter-spacing: 0;
  transition: color .5s var(--ease);
}
.project:hover .p-name { color: var(--p); }
.p-sub { font-family: var(--f-display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 300; }
.p-kind { color: var(--fg-dim); }
.p-open {
  margin-top: 1.2rem; display: inline-flex; gap: .7rem; align-items: center; padding: .85rem 1.3rem; border-radius: 99px;
  border: 1px solid var(--fg-faint); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.p-open:hover, .p-open:focus-visible { background: var(--p); color: var(--ink); border-color: var(--p); }
.p-open span { transition: transform .4s var(--ease); }
.p-open:hover span { transform: translateX(-5px); }
.p-media { cursor: pointer; }


/* ---------- לפני / אחרי ---------- */
.ba { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.ba h2 { font-size: clamp(3rem, 7.4vw, 7.6rem); margin: 1.6rem 0 1.4rem; }
.ba-lead { max-width: 44ch; color: var(--ink-dim); font-size: 1.08em; }
.metrics { margin-top: 2.6rem; border-top: 1px solid var(--ink-faint); }
.metric { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ink-faint); }
.metric dt { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-dim); }
.metric dd { display: flex; align-items: baseline; gap: 1rem; direction: ltr; }
.metric s { font-family: var(--f-mono); font-size: .9rem; color: var(--ink-dim); text-decoration-thickness: 1px; }
.metric b { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; color: var(--ink); min-width: 4.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.metric.done b { color: var(--signal-ink); }

.ba-stage { display: grid; justify-items: center; gap: 1rem; }
.phone { width: min(340px, 74vw, calc((100svh - 150px) * .46)); padding: 12px; border-radius: 48px; background: #0d0d0f; box-shadow: 0 60px 100px -40px rgba(10, 10, 11, .65), inset 0 0 0 1.5px #2a2a2e; }
.phone-screen { position: relative; border-radius: 37px; overflow: hidden; aspect-ratio: 480 / 1039; background: #fff; touch-action: pan-y; cursor: ew-resize; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba-after { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.ba-tag { position: absolute; top: 14px; padding: .3rem .6rem; border-radius: 99px; background: rgba(10, 10, 11, .78); color: var(--fg); backdrop-filter: blur(6px); }
.ba-tag-before { right: 14px; }
.ba-tag-after { left: 14px; background: var(--signal); color: var(--ink); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 0; pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--signal); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 0 2px 2px; margin-top: -4px; }
.ba-handle i::before { left: 11px; transform: rotate(45deg); }
.ba-handle i::after { right: 11px; transform: rotate(-135deg); }
.ba-range-label { color: var(--ink-dim); }
.ba-range { width: min(340px, 74vw); accent-color: var(--signal); direction: ltr; } /* כמו הקו בתמונה: שמאל הוא 0 בשתי השפות */

/* ---------- תהליך ---------- */
.craft { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.craft-pin { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: center; min-height: calc(100vh - 160px); }
.craft h2 { font-size: clamp(3rem, 8vw, 8rem); margin: 1.4rem 0 2.4rem; }
.steps { list-style: none; display: grid; gap: .2rem; }
.step { display: grid; grid-template-columns: 3ch 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--fg-faint); opacity: .32; transition: opacity .5s var(--ease); }
.step.is-on { opacity: 1; }
.step .mono { color: var(--signal); padding-top: .35rem; }
.step h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.step p { color: var(--fg-dim); max-width: 38ch; font-size: .95em; }

.specimen-wrap { display: grid; justify-items: center; gap: 1.2rem; }
.specimen-cap { color: var(--fg-dim); }
.cap-n { color: var(--signal); }

/* הכרטיס שנבנה מול העיניים: ארבעה מצבים */
.specimen {
  --sp-bg: transparent; --sp-line: var(--blue); --sp-ink: transparent; --sp-block: transparent; --sp-accent: transparent;
  position: relative; width: min(620px, 100%); aspect-ratio: 5 / 3.7; border-radius: 18px; padding: 5.5% 6%;
  background: var(--sp-bg); outline: 1px dashed var(--sp-line); outline-offset: -1px;
  display: grid; grid-template-rows: auto 1fr; gap: 7%; overflow: hidden;
  transition: background .8s var(--ease), outline-color .8s, box-shadow .8s;
  font-size: clamp(9px, 1.15vw, 15px);
}
.specimen * { transition: color .7s var(--ease), background .7s var(--ease), outline-color .7s, border-color .7s, opacity .7s, transform .9s var(--ease), border-radius .7s; }
.specimen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 1; transition: opacity .8s;
  background-image: linear-gradient(rgba(61, 123, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(61, 123, 255, .14) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sp-nav { display: flex; align-items: center; gap: 1.2em; }
.sp-logo { font-family: var(--f-display); font-weight: 900; font-size: 1.4em; color: var(--sp-ink); outline: 1px dashed var(--sp-line); padding: 0 .3em; }
.sp-nav i { width: 3.6em; height: .5em; border-radius: 9px; background: var(--sp-block); outline: 1px dashed var(--sp-line); }
.sp-nav i:first-of-type { margin-inline-start: auto; }
.sp-pill { font-size: .85em; padding: .45em 1em; border-radius: 99px; color: var(--sp-ink); outline: 1px dashed var(--sp-line); border: 1px solid transparent; }
.sp-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7%; align-items: stretch; }
.sp-text { display: flex; flex-direction: column; justify-content: center; gap: .9em; }
.sp-eyebrow { font-family: var(--f-mono); font-size: .8em; color: var(--sp-ink); outline: 1px dashed var(--sp-line); align-self: flex-start; padding: 0 .2em; }
.sp-h { font-family: var(--f-display); font-weight: 900; font-size: 3.4em; line-height: .92; color: var(--sp-ink); outline: 1px dashed var(--sp-line); display: block; }
.sp-h b { display: inline-block; font-weight: inherit; }
.sp-p { display: block; height: .55em; width: 92%; border-radius: 9px; background: var(--sp-block); outline: 1px dashed var(--sp-line); }
.sp-p.short { width: 64%; }
.sp-btn { align-self: flex-start; margin-top: .6em; padding: .8em 1.5em; border-radius: 4px; font-size: .95em; color: var(--sp-ink); outline: 1px dashed var(--sp-line); background: transparent; }
.sp-img { position: relative; border-radius: 4px; outline: 1px dashed var(--sp-line); background: var(--sp-block); overflow: hidden; }
.sp-img::before, .sp-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top left, transparent calc(50% - .5px), var(--sp-line) 50%, transparent calc(50% + .5px)); }
.sp-img::after { transform: scaleX(-1); }
.sp-blob { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 18%; border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%; background: transparent; opacity: 0; }
.sp-blob.b2 { width: 34%; left: 8%; top: 58%; }
.sp-dim { position: absolute; color: var(--blue); font-size: .7em; transition: opacity .6s; }
.sp-dim.d1 { top: .6em; left: 50%; transform: translateX(-50%); }
.sp-dim.d2 { top: 44%; right: .6em; writing-mode: vertical-rl; }
.sp-dim.d3 { bottom: .6em; left: 6%; }
.sp-cursor { position: absolute; width: 1.3em; height: 1.3em; left: 64%; top: 86%; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255, 255, 255, .7); opacity: 0; pointer-events: none; }

/* 1: שלד */
.specimen[data-stage="1"] { --sp-bg: #19191c; --sp-line: transparent; --sp-block: #2c2c31; outline-color: transparent; }
.specimen[data-stage="1"]::before, .specimen[data-stage="2"]::before, .specimen[data-stage="3"]::before { opacity: 0; }
.specimen[data-stage="1"] .sp-logo, .specimen[data-stage="1"] .sp-eyebrow, .specimen[data-stage="1"] .sp-h, .specimen[data-stage="1"] .sp-pill, .specimen[data-stage="1"] .sp-btn { background: #2c2c31; border-radius: 6px; }
.specimen[data-stage="1"] .sp-img::before, .specimen[data-stage="1"] .sp-img::after { opacity: 0; }
.specimen:not([data-stage="0"]) .sp-dim { opacity: 0; }

/* 2: חומר */
.specimen[data-stage="2"], .specimen[data-stage="3"] {
  --sp-bg: #efe6d8; --sp-line: transparent; --sp-ink: #2a1d14; --sp-block: rgba(42, 29, 20, .12);
  outline-color: transparent; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
}
.specimen[data-stage="2"] .sp-img, .specimen[data-stage="3"] .sp-img { background: #c4643d; border-radius: 200px 200px 6px 6px; }
.specimen[data-stage="2"] .sp-img::before, .specimen[data-stage="2"] .sp-img::after,
.specimen[data-stage="3"] .sp-img::before, .specimen[data-stage="3"] .sp-img::after { opacity: 0; }
.specimen[data-stage="2"] .sp-blob, .specimen[data-stage="3"] .sp-blob { opacity: 1; background: #e9b48a; }
.specimen[data-stage="2"] .sp-blob.b2, .specimen[data-stage="3"] .sp-blob.b2 { background: #2a1d14; }
.specimen[data-stage="2"] .sp-btn, .specimen[data-stage="3"] .sp-btn { background: #2a1d14; color: #efe6d8; border-radius: 99px; }
.specimen[data-stage="2"] .sp-pill, .specimen[data-stage="3"] .sp-pill { border-color: #2a1d14; }
.specimen[data-stage="2"] .sp-eyebrow, .specimen[data-stage="3"] .sp-eyebrow { color: #c4643d; }

/* 3: תנועה */
.specimen[data-stage="3"] .sp-h b { animation: sp-rise 2.4s var(--ease) infinite; }
.specimen[data-stage="3"] .sp-h b:nth-child(2) { animation-delay: .12s; }
.specimen[data-stage="3"] .sp-h b:nth-child(3) { animation-delay: .24s; color: #c4643d; font-style: italic; }
.specimen[data-stage="3"] .sp-blob { animation: sp-blob 6s ease-in-out infinite; }
.specimen[data-stage="3"] .sp-blob.b2 { animation-duration: 4.5s; animation-direction: reverse; }
.specimen[data-stage="3"] .sp-cursor { opacity: 1; animation: sp-cursor 2.4s var(--ease-io) infinite; }
.specimen[data-stage="3"] .sp-btn { animation: sp-press 2.4s var(--ease-io) infinite; }
@keyframes sp-rise { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-.18em); } }
@keyframes sp-blob { 0%, 100% { border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%; transform: rotate(0) scale(1); } 50% { border-radius: 58% 42% 55% 45% / 42% 58% 44% 56%; transform: rotate(40deg) scale(1.08); } }
@keyframes sp-cursor { 0% { transform: translate(260%, -60%); } 45%, 60% { transform: translate(0, 0); } 100% { transform: translate(260%, -60%); } }
@keyframes sp-press { 0%, 48%, 62%, 100% { transform: scale(1); } 54% { transform: scale(.92); background: #c4643d; } }

/* ---------- קשר ---------- */
.contact {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; padding: 110px var(--gutter) 28px;
  display: grid; justify-items: center; align-content: start; gap: 0; text-align: center;
}
.contact-title { margin: 6vh 0 3vh; }
.contact > .label { align-self: start; }
.contact-title { align-self: center; font-size: clamp(4.2rem, 15vw, 15rem); letter-spacing: 0; user-select: none; }
.gl-on .contact-title { color: transparent; }
.contact-lead { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.2rem, 1.9vw, 1.7rem); max-width: 34ch; margin-bottom: 2.4rem; }
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 9vh; }
.btn {
  display: inline-grid; place-items: center; min-width: 180px; padding: 1.15rem 2.2rem; border-radius: 99px; text-decoration: none;
  font-family: var(--f-mono); font-size: .9rem; letter-spacing: .03em; transition: background .4s, color .4s, border-color .4s;
}
.btn span { display: inline-block; pointer-events: none; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--fg); }
.btn-line { border: 1px solid var(--fg-faint); }
.btn-line:hover { border-color: var(--fg); background: var(--fg); color: var(--ink); }
.foot { width: 100%; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--fg-dim); border-top: 1px solid var(--fg-faint); padding-top: 18px; }
.foot-xray { font: inherit; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- סיפור פרויקט ---------- */
.case { position: fixed; inset: 0; z-index: 110; color: var(--fg); }
.case[hidden] { display: none; }
.case-bg { position: absolute; inset: 0; background: var(--ink-2); }
.case-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 90px var(--gutter) 60px; }
.case-close {
  position: fixed; z-index: 3; top: 18px; left: var(--gutter); padding: .6rem 1.1rem; border-radius: 99px;
  border: 1px solid var(--fg-faint); background: rgba(18, 18, 20, .7); backdrop-filter: blur(8px); font-size: .78rem;
}
.case-close:hover { background: var(--fg); color: var(--ink); }
.case-hero { max-width: 1180px; margin: 0 auto; }
.case-browser { transform-origin: 0 0; }
.case-browser .browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-body { max-width: 1180px; margin: clamp(48px, 7vw, 100px) auto 0; }
.case-num { color: var(--p, var(--signal)); }
.case-title { font-size: clamp(3.4rem, 10vw, 10rem); margin: .8rem 0 .6rem; }
.case-sub { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 2rem); }
.case-kind { color: var(--fg-dim); margin-top: .6rem; }
.case-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 100px); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--fg-faint); padding-top: 2.4rem; }
.case-story { font-family: var(--f-display); font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.35; margin-bottom: 2.6rem; }
.case-points { list-style: none; margin-top: 1rem; counter-reset: pt; }
.case-points li { display: grid; grid-template-columns: 2.6ch 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--fg-faint); }
.case-points li { counter-increment: pt; }
.case-points li::before { content: counter(pt, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--p, var(--signal)); padding-top: .3rem; }
.case-side .label { margin-bottom: .9rem; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.2rem; }
.swatches li { display: grid; justify-items: center; gap: .35rem; font-family: var(--f-mono); font-size: .65rem; color: var(--fg-dim); direction: ltr; }
.swatches i { width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.case-fonts { list-style: none; display: grid; gap: .4rem; margin-bottom: 2.2rem; font-size: .85rem; direction: ltr; text-align: right; }
.case-metrics { display: grid; gap: .6rem; margin-bottom: 2.2rem; }
.case-metrics div { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--fg-faint); padding-bottom: .5rem; }
.case-metrics span { font-family: var(--f-mono); font-size: .75rem; color: var(--fg-dim); }
.case-metrics b { font-family: var(--f-display); font-size: 1.5rem; direction: ltr; }
.case-metrics b s { font-size: .9rem; color: var(--fg-dim); margin-inline-end: .5rem; }
.case-phone { width: min(240px, 70%); border-radius: 22px; border: 5px solid #000; margin-top: 1rem; }
.case-next { display: grid; justify-items: start; gap: .6rem; width: 100%; margin-top: clamp(80px, 10vw, 140px); padding-top: 2rem; border-top: 1px solid var(--fg-faint); text-align: start; }
.case-next-name { font-size: clamp(3rem, 9vw, 9rem); transition: color .4s, transform .6s var(--ease); }
.case-next:hover .case-next-name { color: var(--signal); transform: translateX(-1.5vw); }
.case-reveal { opacity: 0; translate: 0 40px; }

/* ---------- סמן ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .p-media, .has-cursor .phone-screen { cursor: none; }
.cursor { display: none; }
.has-cursor .cursor {
  display: grid; place-items: center; position: fixed; z-index: 140; top: 0; left: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  pointer-events: none; border-radius: 50%; background: var(--fg); mix-blend-mode: difference;
  scale: .18; transition: scale .45s var(--ease), background .3s;
}
.cursor.is-link { scale: .6; }
.cursor.is-view { scale: 1.5; mix-blend-mode: normal; background: var(--signal); }
.cursor.is-drag { scale: 1.1; mix-blend-mode: normal; background: var(--signal); }
.cursor-label { color: var(--ink); font-size: .55rem; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-view .cursor-label, .cursor.is-drag .cursor-label { opacity: 1; }
.xray .cursor { opacity: 0; }

/* ---------- רנטגן ---------- */
.cols { position: fixed; inset: 0 var(--gutter); z-index: 89; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.cols i { background: rgba(61, 123, 255, .06); border-inline: 1px solid rgba(61, 123, 255, .16); }
.xray .cols { opacity: 1; }
.xray main *, .xray .case * { outline: 1px dashed rgba(61, 123, 255, .3); outline-offset: -1px; }
.lens {
  position: fixed; z-index: 95; top: 0; left: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  pointer-events: none; opacity: 0; scale: .4; transition: opacity .35s, scale .5s var(--ease);
  -webkit-backdrop-filter: grayscale(1) invert(1) contrast(1.35) brightness(.85);
  backdrop-filter: grayscale(1) invert(1) contrast(1.35) brightness(.85);
  background:
    linear-gradient(rgba(61, 123, 255, .5) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(61, 123, 255, .5) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(18, 60, 210, .3);
  box-shadow: 0 0 0 1px var(--blue), 0 0 0 8px rgba(61, 123, 255, .12), 0 30px 80px rgba(0, 0, 0, .5);
  mix-blend-mode: normal;
}
.lens::before, .lens::after { content: ""; position: absolute; background: #fff; opacity: .8; }
.lens::before { left: 50%; top: 42%; bottom: 42%; width: 1px; }
.lens::after { top: 50%; left: 42%; right: 42%; height: 1px; }
.xray.lens-on .lens { opacity: 1; scale: 1; }
.inspect { position: fixed; z-index: 96; top: 0; left: 0; pointer-events: none; border: 1px solid var(--blue); background: rgba(61, 123, 255, .08); opacity: 0; transition: opacity .2s; }
.xray .inspect.on { opacity: 1; }
.inspect-label { position: absolute; bottom: 100%; right: -1px; margin-bottom: 4px; background: var(--blue); color: #fff; padding: .2rem .45rem; font-size: .65rem; white-space: nowrap; direction: ltr; border-radius: 3px; }
.inspect.flip .inspect-label { bottom: auto; top: 4px; right: 4px; margin: 0; }

/* ---------- מסכים צרים ---------- */
@media (max-width: 900px) {
  .bar { gap: 1rem; }
  .bar-nav { display: none; }
  .xray-toggle { margin-inline-start: auto; }
  .principles { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: 56px; }
  .project:nth-child(even) .p-media { order: 0; }
  .p-phone { width: 26%; bottom: -16%; }
  .ba { grid-template-columns: 1fr; }
  .craft-pin { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .craft h2 { margin-bottom: 1rem; font-size: clamp(2.6rem, 12vw, 4rem); }
  .step { display: none; border: 0; padding: 0; }
  .step.is-on { display: grid; }
  .case-grid { grid-template-columns: 1fr; }
  .hero-hint { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-title { align-self: start; padding-top: 12vh; font-size: 33vw; line-height: .9; } /* "גוטובסקי" כמעט ברוחב המסך, והח מזכוכית מתחתיו */
  .contact-title { font-size: 19vw; }
  .intro-meta span:nth-child(2) { display: none; }
  .work-head { grid-template-columns: 1fr; }
  .work-count { display: none; }
  .metric { grid-template-columns: 1fr; gap: .2rem; }
  .metric dd { justify-content: flex-end; }
}

/* ---------- בלי תנועה ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .manifesto-text .w { opacity: 1; }
}
.stop-motion *, .stop-motion *::before, .stop-motion *::after { animation: none !important; }

/* הפריימים של AMS בתוך סיפור הפרויקט */
.case-frames { margin-top: 2.6rem; display: grid; gap: .8rem; touch-action: pan-y; }
.case-frames img { width: min(440px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #16110c; box-shadow: 0 0 0 1px var(--fg-faint); }
.case-frames figcaption { color: var(--fg-dim); }

/* ---------- הבמה התלת־ממדית ---------- */
.hero { isolation: isolate; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.stage-on .stage { opacity: 1; }
.hero-title, .hero-role, .hero-meta { position: relative; z-index: 1; }
.scroll-cue { z-index: 1; }
.stage-on .hero-title { color: transparent; }
.relic-hover { cursor: pointer; }
.relic-label {
  position: absolute; z-index: 3; top: 0; left: 0; pointer-events: none; display: grid; gap: .15rem;
  padding: .7rem .95rem; border-radius: 12px; background: var(--paper); color: var(--ink);
  font-size: .8rem; opacity: 0; scale: .9; transition: opacity .25s, scale .35s var(--ease);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); white-space: nowrap;
}
.relic-label b { color: var(--signal); font-weight: 500; margin-inline-end: .4rem; }
.relic-label span { color: var(--ink-dim); font-size: .68rem; }
.relic-hover .relic-label { opacity: 1; scale: 1; }
.xray .relic-label { background: var(--blue); color: #fff; }
.xray .relic-label span, .xray .relic-label b { color: #fff; }

.sound-toggle {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: .78rem;
  border: 1px solid currentColor; border-radius: 99px; padding: .45rem .9rem;
}
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.eq i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.sound-on .eq i { animation: eq 1s ease-in-out infinite; }
.sound-on .eq i:nth-child(2) { animation-delay: -.3s; }
.sound-on .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }
@media (max-width: 900px) { .sound-toggle { margin-inline-start: auto; } .xray-toggle { margin-inline-start: 0; } }

/* ---------- החפץ של כל פרויקט ---------- */
.p-relic, .case-relic, .case-relic-cap { display: none; }
.gallery-on .p-relic {
  display: block; width: clamp(150px, 15vw, 230px); aspect-ratio: 1; margin-bottom: .4rem; border-radius: 50%;
  cursor: grab; touch-action: pan-y; position: relative;
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--p) 22%, transparent), transparent 66%);
}
.gallery-on .p-relic::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 6%; height: 7%; border-radius: 50%;
  background: radial-gradient(rgba(0, 0, 0, .55), transparent 70%);
}
.gallery-on .case-relic {
  display: block; width: min(300px, 100%); aspect-ratio: 1; cursor: grab; touch-action: pan-y; border-radius: 24px;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--p, var(--signal)) 26%, transparent), transparent 68%), var(--ink-3);
}
.gallery-on .case-relic-cap { display: block; color: var(--fg-dim); margin: .7rem 0 2.2rem; }
.p-relic.is-dragging, .case-relic.is-dragging { cursor: grabbing; }
.has-cursor .p-relic, .has-cursor .case-relic { cursor: none; }
.xray .p-relic, .xray .case-relic { background: rgba(61, 123, 255, .08); }

/* מקרן ההולוגרמה בסיפור הפרויקט: דיסקה זוהרת, אלומה עולה וקווי סריקה */
.gallery-on .case-relic {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 46% 9% at 50% 88%, color-mix(in srgb, var(--p, var(--signal)) 70%, transparent), transparent 70%),
    linear-gradient(to top, color-mix(in srgb, var(--p, var(--signal)) 22%, transparent), transparent 75%),
    #07080a;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p, var(--signal)) 30%, transparent);
}
.gallery-on .case-relic::before {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 10%; top: 6%; pointer-events: none;
  clip-path: polygon(38% 100%, 62% 100%, 100% 0, 0 0);
  background: linear-gradient(to top, color-mix(in srgb, var(--p, var(--signal)) 26%, transparent), transparent 85%);
}
.gallery-on .case-relic::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
}
.motion.gallery-on .case-relic::after { animation: holo-scan 3s linear infinite; }
@keyframes holo-scan { to { background-position: 0 40px; } }

/* רצועת הסיבוב: 48 פריימים זה לצד זה */
.relic-sprite {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-repeat: no-repeat; background-size: 4800% 100%; background-position: 0 0;
}
.p-relic .relic-sprite { inset: -4%; }
.case-relic .relic-sprite { inset: 2% 6% 8%; }
.xray .relic-sprite { filter: grayscale(1) brightness(1.5) sepia(1) hue-rotate(185deg) saturate(6); }

/* ---------- סרטונים חיים, אתר חי ומעבר "נשפך" ---------- */
.p-video, .case-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .6s var(--ease); pointer-events: none;
}
.p-video.on, .case-video.on { opacity: 1; }
.case-browser .browser-view { position: relative; }
.case-wipe { position: fixed; inset: 0; z-index: 5; pointer-events: none; clip-path: circle(0% at 50% 50%); }
.case-live, .p-live {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .7rem 1.2rem; border-radius: 99px;
  background: var(--p, var(--signal)); color: var(--ink); text-decoration: none; font-size: .8rem;
}
.case-live[hidden] { display: none; }
.p-live { margin-top: .4rem; }

/* ---------- פס התקדמות ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 130; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: right; }

/* ---------- איך עובדים איתי ---------- */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.process h2 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); margin: 1.4rem 0 1.2rem; }
.process-lead { color: var(--ink-dim); max-width: 34ch; font-size: 1.1em; }
.timeline { --fill: 0; list-style: none; position: relative; display: grid; gap: clamp(22px, 3vw, 40px); padding-inline-start: 34px; }
.timeline::before, .timeline::after { content: ""; position: absolute; inset-inline-start: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--ink-faint); }
.timeline::after { background: var(--signal); transform-origin: top; transform: scaleY(var(--fill)); }
.timeline li { position: relative; display: grid; grid-template-columns: 3ch 1fr; gap: 1rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -34px; top: .5rem; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--signal); }
.tl-num { color: var(--signal-ink); padding-top: .55rem; }
.timeline h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 400; line-height: 1.1; display: inline; margin-inline-end: .8rem; }
.tl-time { display: inline-block; vertical-align: middle; padding: .3rem .7rem; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: .7rem; }
.timeline p { margin-top: .5rem; font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1rem; line-height: 1.7; color: rgba(10, 10, 11, .78); max-width: 46ch; }
.process-note { grid-column: 2; color: var(--ink-dim); }

/* ---------- בריף ---------- */
.brief { width: min(760px, 100%); text-align: start; display: grid; gap: 1.4rem; margin-bottom: 10vh; }
.brief-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brief-steps li { padding-top: .7rem; border-top: 2px solid var(--fg-faint); color: var(--fg-dim); transition: border-color .4s, color .4s; }
.brief-steps li.on { border-color: var(--signal); color: var(--fg); }
.brief-step { border: 0; display: grid; gap: 1.1rem; }
.brief-step legend { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 1.1rem; }
.brief-step legend small, .brief-fields small { font-family: var(--f-mono); font-size: .72rem; color: var(--fg-dim); margin-inline-start: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .85rem 1.25rem; border-radius: 99px; border: 1px solid var(--fg-faint);
  font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1rem; transition: background .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.brief-fields { display: grid; gap: .5rem; margin-top: .8rem; }
.brief-fields label { font-size: 1rem; margin-top: .4rem; }
.brief-fields input {
  font: inherit; font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1rem; color: var(--fg);
  background: var(--ink-3); border: 1px solid var(--fg-faint); border-radius: 12px; padding: .9rem 1rem;
}
.brief-fields input:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.brief-error { min-height: 1.4em; color: var(--signal); font-family: "IBM Plex Sans Hebrew", sans-serif; font-size: .95rem; }
.brief-nav { display: flex; gap: 1rem; align-items: center; }
.brief-back { font-family: var(--f-mono); font-size: .85rem; color: var(--fg-dim); text-decoration: underline; text-underline-offset: 4px; }
.brief-done { display: grid; gap: 1.1rem; padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--ink-3); border: 1px solid var(--fg-faint); }
.brief-done[hidden] { display: none; }
.brief-done-title { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.brief-preview { white-space: pre-wrap; font-family: "IBM Plex Sans Hebrew", sans-serif; font-size: .95rem; line-height: 1.7; color: var(--fg-dim); background: var(--ink-2); border-radius: 14px; padding: 1rem 1.2rem; }
.brief-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.brief-actions .btn[hidden] { display: none; }
.brief-copy, .brief-restart { font-size: .8rem; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; justify-self: start; }
.foot a { color: var(--fg); }

/* ---------- תפריט נגישות ---------- */
html.a11y-font-lg { font-size: 118%; }
html.a11y-font-xl { font-size: 136%; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-readable body, html.a11y-readable button, html.a11y-readable input,
html.a11y-readable .display, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable p {
  font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em;
}
html.a11y-contrast { --fg-dim: #fff; --ink-dim: #000; --fg-faint: rgba(255, 255, 255, .5); --ink-faint: rgba(0, 0, 0, .5); }
html.a11y-contrast .grain { display: none; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path d='M4 2l16 11h-7l4 8-3 1-4-8-6 6z' fill='%23000' stroke='%23fff' stroke-width='1.2'/></svg>") 4 2, auto !important; }
html.a11y-cursor .cursor { display: none !important; }
html.a11y-focus *:focus { outline: 4px solid var(--signal) !important; outline-offset: 2px !important; }
.a11y { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 125; }
.a11y__btn { width: 48px; height: 48px; border-radius: 50%; background: var(--fg); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .4); }
.a11y__btn svg { width: 26px; height: 26px; }
.a11y__panel {
  position: absolute; bottom: 60px; inset-inline-end: 0; width: min(320px, calc(100vw - 36px)); display: none;
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  font-family: "IBM Plex Sans Hebrew", Arial, sans-serif;
  max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; /* מסך נמוך (אייפון SE, טלפון לרוחב): הפאנל נגלל במקום לברוח מלמעלה */
}
.a11y__panel[data-open="true"] { display: block; }
.a11y__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.a11y__head h2 { font-size: 1.05rem; font-family: inherit; }
.a11y__close { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 1.2rem; }
.a11y__list { list-style: none; display: grid; gap: 6px; }
.a11y__list button { width: 100%; text-align: start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ink-faint); color: var(--ink); display: flex; justify-content: space-between; font-family: inherit; font-size: .95rem; }
.a11y__list button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.a11y__list button[aria-pressed="true"]::after { content: "✓"; }
.a11y__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: .9rem; }
.a11y__foot a { color: var(--ink); }
.a11y__reset { color: var(--ink); text-decoration: underline; font-family: inherit; }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .process-note { grid-column: 1; }
  .brief-steps { font-size: .65rem; }
}
@media (max-width: 700px) { .foot { padding-bottom: 64px; } }

.contact-direct { color: var(--fg-dim); margin: -1.2rem 0 2.2rem; font-size: .85rem; }
.contact-direct a { color: var(--fg); text-underline-offset: 4px; }

@media (min-width: 561px) and (max-width: 900px) { .hero-title { font-size: 25vw; } }

/* ---------- לוגו הלקוח ליד השם ---------- */
.p-title, .case-titlebar { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.logo-tile {
  flex: none; display: grid; place-items: center; width: clamp(48px, 4.4vw, 64px); aspect-ratio: 1; border-radius: 14px;
  background: #fff; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.logo-tile img[src$="allenbis.svg"], .logo-tile img[src$="ams.svg"], .logo-tile img[src$="rachel.svg"] { padding: 0; }
.logo-tile img[src$="falafel.webp"] { padding: 4%; }
.logo-tile-lg { width: clamp(60px, 7vw, 96px); border-radius: 18px; }
.case-titlebar { margin: .8rem 0 .6rem; }
.case-titlebar .case-title { margin: 0; }
.xray .logo-tile img { filter: grayscale(1) sepia(1) hue-rotate(185deg) saturate(5); }
.logo-tile img[src$="gotovski.svg"], .logo-tile img[src$="clinic.webp"] { padding: 6%; }

/* ---------- דוגמה חיה ---------- */
.demo { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.demo h2 { font-size: clamp(3rem, 7vw, 7rem); margin: 1.4rem 0 1.2rem; }
.demo-lead { color: var(--fg-dim); max-width: 38ch; font-family: "IBM Plex Sans Hebrew", "Assistant", sans-serif; font-size: 1.05rem; line-height: 1.75; }
.demo-facts { list-style: none; display: grid; gap: .55rem; margin-top: 1.8rem; color: var(--fg); }
.demo-facts li { display: flex; align-items: center; gap: .7rem; }
.demo-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }
.demo-stage { display: grid; gap: .9rem; justify-items: start; min-width: 0; }
.demo-browser { width: 100%; }
.demo-view { position: relative; aspect-ratio: 16 / 9; background: #0b0d10; overflow: hidden; }
.demo-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.demo-view:hover .demo-poster { transform: scale(1.03); }
.demo-view.is-live .demo-poster { filter: blur(6px) brightness(.5); }
.demo-play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.6rem; border-radius: 99px; background: #d63027; color: #fff; font-family: var(--f-mono); font-size: .9rem;
  box-shadow: 0 0 0 0 rgba(229, 55, 43, .55), 0 20px 40px -14px rgba(0, 0, 0, .8); transition: transform .3s var(--ease);
}
.motion .demo-play { animation: demo-pulse 2.2s ease-out infinite; }
.demo-play:hover { transform: scale(1.05); }
.demo-play svg { width: 1.3em; height: 1.3em; }
@keyframes demo-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 55, 43, .55), 0 20px 40px -14px rgba(0, 0, 0, .8); } 70% { box-shadow: 0 0 0 22px rgba(229, 55, 43, 0), 0 20px 40px -14px rgba(0, 0, 0, .8); } 100% { box-shadow: 0 0 0 0 rgba(229, 55, 43, 0), 0 20px 40px -14px rgba(0, 0, 0, .8); } }
.demo-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.demo-full { color: var(--fg); text-underline-offset: 4px; }
.demo-sheet { position: fixed; inset: 0; z-index: 160; height: 100vh; height: 100dvh; background: #0b0d10; opacity: 0; transform: scale(.96); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.demo-sheet.is-open { opacity: 1; transform: none; }
.demo-sheet .demo-iframe { z-index: auto; }
.demo-lock, .demo-lock body { overflow: hidden; overscroll-behavior: none; }
.p-demo { color: color-mix(in srgb, var(--p) 78%, #fff); font-size: .78rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .1rem; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo-play { inset: auto 0 14px; margin: 0 auto; padding: .75rem 1.2rem; font-size: .82rem; } } /* בטלפון ההדמיה נפתחת על כל המסך, אז כאן רואים את כל התמונה ביחס המקורי */

/* כותרת התהליך: מילה אחת גדולה ושורת הסבר מתחתיה */
.process-title { display: grid; gap: .7rem; margin: 0 0 1.4rem; font-weight: 400; }
.pt-big { font-size: clamp(3.6rem, 8vw, 8rem); line-height: .9; }
.pt-sub { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.15; color: var(--ink); }
.process h2.process-title { font-size: inherit; }
@media (max-width: 560px) { .hero-role { font-size: 4.6vw; } }

/* בלי מספרים: השלבים, ציר הזמן והעקרונות בעמודה אחת */
.step { grid-template-columns: 1fr; }
.timeline li { grid-template-columns: 1fr; }

/* ---------- חבילות ומחירים ---------- */
.sheet-ink .pt-sub { color: var(--fg); }
.pricing-head { display: grid; grid-template-columns: 7fr 5fr; gap: 1.6rem clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.pricing-title { display: grid; gap: .7rem; font-weight: 400; }
.pricing-lead, .upgrade p, .tier-for, .tier-value, .tier-list li, .promises span, .faq-a p, .sr-i-desc, .sr-cap-title, .sr-screen {
  font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif;
}
.pricing-lead { color: var(--fg-dim); font-size: 1.05rem; line-height: 1.75; max-width: 46ch; }

.tiers { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
.tier {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.15rem;
  padding: clamp(26px, 2.6vw, 42px); border-radius: 26px; border: 1px solid var(--fg-faint);
  background: linear-gradient(180deg, rgba(237, 232, 222, .045), rgba(237, 232, 222, .01));
  transition: border-color .5s var(--ease);
}
.tier::before { /* אור שעוקב אחרי העכבר */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 79, 26, .14), transparent 65%);
}
.tier:hover { border-color: rgba(237, 232, 222, .3); }
.tier:hover::before { opacity: 1; }
.tier-star { background: var(--paper); color: var(--ink); border-color: transparent; margin-top: -18px; box-shadow: 0 50px 100px -40px rgba(255, 79, 26, .5), 0 0 0 1px rgba(255, 79, 26, .35); }
.tier-star::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 79, 26, .16), transparent 65%); }
.tier-star:hover { border-color: transparent; }
.tier-badge { position: absolute; top: clamp(20px, 2vw, 30px); inset-inline-end: clamp(20px, 2vw, 30px); padding: .4rem .85rem; border-radius: 99px; background: var(--signal); color: var(--ink); font-size: .7rem; }
.tier-top { display: grid; gap: .7rem; }
.tier-name { font-size: clamp(2.8rem, 3.8vw, 3.8rem); }
.tier-for { color: var(--fg-dim); font-size: .98rem; line-height: 1.6; max-width: 32ch; }
.tier-star .tier-for { color: var(--ink-dim); }
.tier-price { display: flex; align-items: baseline; gap: .4rem; padding-top: 1.2rem; border-top: 1px solid var(--fg-faint); }
.tier-star .tier-price { border-color: var(--ink-faint); }
.tp-from, .tp-per { color: var(--fg-dim); font-size: .74rem; }
.tier-star .tp-from { color: var(--ink-dim); }
.tp-num { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 300; font-size: clamp(3.4rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.tp-cur { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 300; font-size: clamp(1.5rem, 2vw, 2rem); }
.tier-time { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; padding: .38rem .8rem; border-radius: 99px; border: 1px solid var(--fg-faint); font-size: .72rem; margin-top: -.3rem; }
.tier-time::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.tier-star .tier-time { border-color: var(--ink-faint); }
.tier-value { font-size: 1rem; line-height: 1.7; padding-inline-start: 1rem; border-inline-start: 2px solid var(--signal); }
.tier-plus { color: var(--signal); font-size: .74rem; }
.tier-star .tier-plus { color: var(--signal-ink); }
.tier-list { list-style: none; display: grid; gap: .7rem; padding-top: .2rem; }
.tier-list li { display: grid; grid-template-columns: 18px 1fr; gap: .75rem; font-size: .95rem; line-height: 1.55; color: rgba(237, 232, 222, .82); }
.tier-star .tier-list li { color: rgba(10, 10, 11, .8); }
.tier-list li::before {
  content: ""; width: 18px; height: 18px; margin-top: .15rem; border-radius: 50%; background: rgba(255, 79, 26, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 79, 26, .5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23ff4f1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat;
}
.tier-star .tier-list li::before {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23ede8de' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4'/%3E%3C/svg%3E");
}
.tier-cta { margin-top: auto; width: 100%; }
.tier-star .btn-signal:hover { background: var(--ink); color: var(--paper); }

.upgrade {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem 3rem; margin-top: clamp(28px, 3vw, 44px);
  padding: clamp(24px, 2.6vw, 38px) clamp(26px, 3vw, 46px); border-radius: 26px; border: 1px dashed rgba(237, 232, 222, .26);
}
.upgrade h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin-bottom: .5rem; }
.upgrade p { color: var(--fg-dim); font-size: 1rem; line-height: 1.7; max-width: 62ch; }
.upgrade .tier-cta { width: auto; margin: 0; flex: none; }

.promises { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(70px, 9vw, 130px) 0; border-block: 1px solid var(--fg-faint); }
.promises li { display: grid; gap: .45rem; align-content: start; padding: clamp(22px, 2.4vw, 34px) clamp(16px, 2vw, 28px); border-inline-start: 1px solid var(--fg-faint); }
.promises li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.promises b { font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; }
.promises span { color: var(--fg-dim); font-size: .92rem; line-height: 1.6; }

.addons-title { display: grid; gap: .6rem; font-weight: 400; margin-bottom: clamp(36px, 4vw, 60px); }
.addons-title .display { font-size: clamp(2.8rem, 5.4vw, 5rem); }
.addons-title .pt-sub { font-size: clamp(1.3rem, 2vw, 1.9rem); }

.care { display: grid; grid-template-columns: 5fr 7fr; gap: 1.4rem clamp(32px, 6vw, 110px); margin-top: clamp(80px, 10vw, 150px); align-items: start; }
.care .addons-title { margin-bottom: 0; }
.care-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.care-plan { display: flex; flex-direction: column; gap: 1rem; padding: clamp(24px, 2.4vw, 36px); border-radius: 22px; border: 1px solid var(--fg-faint); }
.care-plan h4 { font-weight: 400; font-size: clamp(2.1rem, 2.8vw, 2.6rem); }
.care-plan .tp-num { font-size: clamp(2.8rem, 3.8vw, 3.8rem); }
.care-plan .tp-per { margin-inline-start: .3rem; }
.care-star { border-color: rgba(255, 79, 26, .55); background: linear-gradient(180deg, rgba(255, 79, 26, .07), transparent 70%); }
.pricing-note { grid-column: 1 / -1; color: var(--fg-dim); margin-top: .6rem; }

/* ---------- שאלות נפוצות ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .process-lead a { color: var(--signal-ink); text-underline-offset: 4px; }
.faq-list { border-top: 1px solid var(--ink-faint); interpolate-size: allow-keywords; }
.faq-list details { border-bottom: 1px solid var(--ink-faint); }
.faq-list summary { list-style: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; padding: clamp(20px, 2vw, 28px) 0; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.15; transition: color .3s; }
.faq-list summary:hover h3 { color: var(--signal-ink); }
.faq-list summary::after {
  content: ""; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-faint); flex: none;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-a p { font-size: 1.02rem; line-height: 1.8; color: rgba(10, 10, 11, .78); max-width: 62ch; padding: 0 0 clamp(22px, 2.2vw, 30px); }

@media (max-width: 900px) {
  .pricing-head, .care, .faq { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier-star { margin-top: 0; order: -1; }
  .upgrade { flex-direction: column; align-items: stretch; }
  .upgrade .tier-cta { width: 100%; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .promises li:nth-child(n + 3) { border-top: 1px solid var(--fg-faint); }
  .faq-head { position: static; }
}
@media (max-width: 560px) {
  .care-plans { grid-template-columns: 1fr; }
  .promises li { padding-inline: 0 12px; }
  .promises li:nth-child(even) { padding-inline: 14px 0; }
}

/* חבילה שנבחרה מגיעה לבריף */
.brief-plan { display: flex; align-items: center; gap: .8rem; justify-self: start; padding: .45rem .5rem .45rem 1rem; border-radius: 99px; border: 1px solid var(--signal); color: var(--fg); font-size: .8rem; }
.brief-plan b { font-weight: 400; color: var(--signal); }
.brief-plan button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--fg-faint); font-size: .9rem; line-height: 1; }
.brief-plan button:hover { background: var(--fg); color: var(--ink); }

/* ---------- אולם תצוגה: המערכות עובדות מול העיניים ---------- */
.showroom { display: grid; gap: clamp(28px, 3vw, 44px); }
.showroom > *, .sr-body > * { min-width: 0; }
.sr-cats { display: flex; gap: clamp(10px, 1vw, 16px); height: clamp(300px, 30vw, 430px); }
.sr-cat {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; text-align: start; isolation: isolate;
  border: 1px solid var(--fg-faint); background: #0b0b0d; transition: flex-grow .8s var(--ease), border-color .4s;
}
.sr-cat.is-on { flex-grow: 2.4; border-color: rgba(255, 79, 26, .55); }
.sr-cat:hover { border-color: rgba(237, 232, 222, .32); }
.sr-cat.is-on:hover { border-color: rgba(255, 79, 26, .75); }
.sr-media, .sr-media img, .sr-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr-media { z-index: -1; }
.sr-media img, .sr-media video { transition: opacity .6s, transform 1.4s var(--ease), filter .6s; }
.sr-media video { opacity: 0; }
.sr-cat.is-playing .sr-media video { opacity: 1; }
.sr-cat:not(.is-on) .sr-media img { filter: saturate(.55) brightness(.62); transform: scale(1.08); }
.sr-cat:not(.is-on):hover .sr-media img { filter: saturate(.8) brightness(.8); transform: scale(1.04); }
.sr-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, .78) 0%, transparent 38%, transparent 70%, rgba(10, 10, 11, .5)); }
.sr-cat-text { position: absolute; top: clamp(16px, 1.6vw, 24px); inset-inline: clamp(16px, 1.6vw, 24px); display: grid; gap: .45rem; }
.sr-cat-name { font-size: clamp(1.35rem, 1.9vw, 2rem); line-height: 1.05; text-wrap: balance; }
.sr-cat-n { color: var(--fg-dim); font-size: .68rem; transition: color .4s; }
.sr-cat.is-on .sr-cat-n { color: var(--signal); }

.sr-body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 3vw, 56px); align-items: start; }
.sr-js .sr-panel:not(.is-on) { display: none; }
.sr-items { list-style: none; display: grid; gap: 4px; }
.sr-item {
  position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; text-align: start;
  padding: 1.05rem 1.2rem 1.1rem; border-radius: 16px; border: 1px solid transparent; transition: background .35s, border-color .35s;
}
.sr-item:hover { background: rgba(237, 232, 222, .04); }
.sr-item.is-on { background: rgba(237, 232, 222, .06); border-color: var(--fg-faint); }
.sr-item::before { content: ""; position: absolute; inset-inline-start: -1px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--signal); transform: scaleY(0); transition: transform .5s var(--ease); }
.sr-item.is-on::before { transform: scaleY(1); }
.sr-i-name { font-family: var(--f-display); font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.1; }
.sr-i-price { color: var(--signal); font-size: .72rem; align-self: center; white-space: nowrap; }
.sr-i-desc { grid-column: 1 / -1; color: var(--fg-dim); font-size: .9rem; line-height: 1.6; }

.sr-stage { position: sticky; top: 100px; display: grid; gap: .9rem; margin: 0; }
.sr-device { border-radius: 20px; overflow: hidden; border: 1px solid rgba(237, 232, 222, .18); background: #f6f3ec; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 0 6px rgba(237, 232, 222, .03); }
.sr-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9e4d9; color: rgba(10, 10, 11, .6); border-bottom: 1px solid rgba(10, 10, 11, .08); }
.sr-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(10, 10, 11, .16); }
.sr-url { margin-inline-start: 10px; font-size: .68rem; direction: ltr; }
.sr-live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .64rem; color: var(--signal-ink); }
.sr-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 79, 26, .6); animation: sr-live 1.8s ease-out infinite; }
@keyframes sr-live { 70% { box-shadow: 0 0 0 7px rgba(255, 79, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 79, 26, 0); } }
.sr-screen { position: relative; height: clamp(420px, 34vw, 500px); overflow: hidden; color: #141416; font-size: 15px; line-height: 1.5; }
.sr-screen.is-in > * { animation: sr-in .55s var(--ease) both; }
@keyframes sr-in { from { opacity: 0; transform: translateY(14px); } }
.sr-caption { display: flex; justify-content: space-between; gap: .4rem 1.2rem; flex-wrap: wrap; color: var(--fg-dim); font-size: .92rem; }
.sr-cap-title { color: var(--fg); }
.sr-cap-hint { color: var(--signal); font-size: .72rem; }

@media (max-width: 900px) {
  .sr-cats { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .sr-cats::-webkit-scrollbar { display: none; }
  .sr-cat, .sr-cat.is-on { flex: 0 0 58vw; height: 64vw; max-height: 340px; scroll-snap-align: center; }
  .sr-body { grid-template-columns: 1fr; }
  .sr-stage { position: static; order: 2; }
  .sr-panel { order: 1; }
  .sr-items { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-snap-type: x proximity; }
  .sr-items::-webkit-scrollbar { display: none; }
  .sr-items li { flex: none; scroll-snap-align: start; }
  .sr-item { width: auto; grid-template-columns: auto; padding: .7rem 1rem; border-color: var(--fg-faint); border-radius: 99px; gap: .1rem; }
  .sr-item::before { display: none; }
  .sr-item.is-on { background: var(--signal); border-color: var(--signal); color: var(--ink); }
  .sr-item.is-on .sr-i-price { color: var(--ink); }
  .sr-i-name { font-size: 1.15rem; white-space: nowrap; }
  .sr-i-desc { display: none; }
  .sr-screen { height: 440px; font-size: 14px; }
}

/* ---------- ממשקי הדוגמה: אפליקציה בהירה ואמיתית בתוך המסך ---------- */
.sr-screen button { font: inherit; }
.d-wrap { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.d-row { display: flex; align-items: center; gap: 10px; }
.d-sp { margin-inline-start: auto; }
.d-h { font-weight: 500; font-size: 1.15em; }
.d-sub { color: rgba(20, 20, 22, .6); font-size: .86em; }
.d-mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }
.d-card { background: #fff; border-radius: 14px; box-shadow: 0 1px 0 rgba(20, 20, 22, .06), 0 10px 30px -18px rgba(20, 20, 22, .35); }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .62em 1.1em; border-radius: 99px; background: #141416; color: #fff; cursor: pointer; transition: transform .15s, background .3s, opacity .3s; white-space: nowrap; }
.d-btn:hover { transform: translateY(-1px); }
.d-btn:active { transform: scale(.97); }
.d-btn.alt { background: #fff; color: #141416; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .14); }
.d-btn.hot { background: var(--signal); color: #141416; }
.d-btn[disabled] { opacity: .45; pointer-events: none; }
.d-pill { display: inline-flex; align-items: center; gap: 6px; padding: .28em .75em; border-radius: 99px; background: rgba(20, 20, 22, .06); font-size: .8em; }
.d-pill.ok { background: #e2f5ea; color: #1d7a46; }
.d-pill.hot { background: rgba(255, 79, 26, .14); color: #a8360a; }
.d-grid { display: grid; gap: 12px; }
.d-pop { animation: d-pop .5s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes d-pop { from { transform: scale(.6); opacity: 0; } }
.d-up { animation: d-up .5s var(--ease) both; }
@keyframes d-up { from { transform: translateY(16px); opacity: 0; } }
.d-toast { position: absolute; inset-inline: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #141416; color: #fff; font-size: .9em; animation: d-up .5s var(--ease) both; z-index: 3; }
.d-toast b { font-weight: 500; color: #ffb59c; }
.d-check { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #2fbf71; display: grid; place-items: center; }
.d-check::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-inline-end: 0; transform: translateY(-1px) rotate(-45deg); }
.d-bar { height: 8px; border-radius: 99px; background: rgba(20, 20, 22, .08); overflow: hidden; }
.d-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--signal); transition: width .8s var(--ease); }
.d-input { display: flex; align-items: center; gap: 8px; padding: .65em .9em; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .12); min-height: 2.6em; }
.d-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-inline-start: 2px; vertical-align: -2px; background: #141416; animation: d-caret 1s steps(1) infinite; }
@keyframes d-caret { 50% { opacity: 0; } }
.d-scroll { overflow: auto; scrollbar-width: thin; min-height: 0; }
.d-num { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* חנות */
.d-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d-prod { padding: 10px 10px 12px; display: grid; gap: 6px; }
.d-prod-img { aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 50% 60%, #efe9de, #e3dccd); display: grid; place-items: center; overflow: hidden; }
.d-prod-img img { width: 86%; height: 86%; object-fit: contain; transition: transform .6s var(--ease); }
.d-prod:hover .d-prod-img img { transform: scale(1.06) rotate(-2deg); }
.d-prod .d-btn { padding: .5em .8em; font-size: .85em; }
.d-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .12); }
.d-cart b { min-width: 1.5em; height: 1.5em; border-radius: 99px; display: inline-grid; place-items: center; background: var(--signal); color: #141416; font-size: .78em; font-weight: 500; }
.d-cart.bump { animation: d-pop .45s cubic-bezier(.2, 1.6, .4, 1); }
.d-fly { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: #fff center / 80% no-repeat; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); z-index: 5; pointer-events: none; transition: transform .75s cubic-bezier(.5, -.3, .3, 1), opacity .75s; }

/* סליקה */
.d-pay { width: min(340px, 100%); margin: auto; padding: 20px; display: grid; gap: 12px; }
.d-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d-method { padding: .7em .4em; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .14); cursor: pointer; text-align: center; font-size: .88em; transition: box-shadow .25s, background .25s; }
.d-method.on { box-shadow: inset 0 0 0 2px #141416; background: #faf8f4; }
.d-cardnum { display: grid; gap: 8px; }
.d-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: d-spin .8s linear infinite; }
@keyframes d-spin { to { transform: rotate(360deg); } }
.d-done { display: grid; place-items: center; gap: 10px; text-align: center; margin: auto; }
.d-done .d-check { width: 64px; height: 64px; }
.d-done .d-check::after { width: 24px; height: 12px; border-width: 4px; }

/* חשבונית */
.d-doc { width: min(360px, 100%); margin: 0 auto; padding: 20px 22px; display: grid; gap: 10px; font-size: .9em; }
.d-doc .d-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed rgba(20, 20, 22, .14); }
.d-doc .d-line.total { border: 0; font-weight: 500; font-size: 1.1em; }
.d-stamp { justify-self: start; padding: .3em .8em; border: 2px solid #1d7a46; color: #1d7a46; border-radius: 8px; transform: rotate(-6deg); font-weight: 500; }

/* מחשבון */
.d-range { width: 100%; accent-color: var(--signal); }
.d-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.d-opt { padding: .5em .95em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .14); cursor: pointer; font-size: .9em; transition: background .25s, color .25s, box-shadow .25s; }
.d-opt.on { background: #141416; color: #fff; box-shadow: none; }
.d-price { display: flex; align-items: baseline; gap: 6px; }
.d-price .d-num { font-size: 2.6em; line-height: 1; }

/* תורים */
.d-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.d-day, .d-slot { padding: .6em .3em; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .12); text-align: center; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s, transform .15s; }
.d-day small { display: block; color: rgba(20, 20, 22, .55); font-size: .75em; }
.d-day.on, .d-slot.on { background: #141416; color: #fff; box-shadow: none; }
.d-day.on small { color: rgba(255, 255, 255, .6); }
.d-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.d-slot.taken { opacity: .35; text-decoration: line-through; pointer-events: none; }

/* קורסים */
.d-ring { --p: 0; width: 86px; height: 86px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--signal) calc(var(--p) * 1%), rgba(20, 20, 22, .08) 0); transition: --p .8s; }
.d-ring span { width: 68px; height: 68px; border-radius: 50%; background: #f6f3ec; display: grid; place-items: center; font-weight: 500; }
.d-lesson { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; transition: background .25s; }
.d-lesson .d-tick { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(20, 20, 22, .25); flex: none; }
.d-lesson.done .d-tick { background: #2fbf71; box-shadow: none; position: relative; }
.d-lesson.done .d-tick::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-inline-end: 0; transform: translateY(-1px) rotate(-45deg); }
.d-lesson.done .d-ln { text-decoration: line-through; color: rgba(20, 20, 22, .5); }

/* טבלה */
.d-table { width: 100%; border-collapse: collapse; font-size: .84em; }
.d-table th { text-align: start; font-weight: 500; color: rgba(20, 20, 22, .55); padding: 8px 10px; border-bottom: 1px solid rgba(20, 20, 22, .1); background: #f1ede5; }
.d-table td { padding: 8px 10px; border-bottom: 1px solid rgba(20, 20, 22, .07); white-space: nowrap; }
.d-table tr.new td { animation: d-row 2s ease both; }
@keyframes d-row { from { background: rgba(255, 79, 26, .22); } to { background: transparent; } }
.d-flow { display: flex; align-items: center; gap: 8px; }
.d-pipe { position: relative; flex: 1; height: 2px; background: rgba(20, 20, 22, .12); overflow: hidden; }
.d-pipe i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); inset-inline-start: -10px; }
.d-pipe.go i { animation: d-pipe .9s var(--ease) forwards; }
@keyframes d-pipe { to { inset-inline-start: 100%; } }

/* פאנל */
.d-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-kpi { padding: 12px 14px; display: grid; gap: 2px; }
.d-kpi .d-num { font-size: 1.7em; line-height: 1.1; }
.d-chart { padding: 12px 14px; }
.d-chart svg { display: block; width: 100%; height: 110px; }
.d-orders { display: grid; gap: 6px; }
.d-order { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: .88em; }

/* צ'אט */
.d-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: auto; padding-bottom: 6px; }
.d-msg { max-width: 82%; padding: .6em .9em; border-radius: 16px; font-size: .92em; animation: d-up .4s var(--ease) both; }
.d-msg.bot { align-self: flex-start; background: #fff; border-start-start-radius: 4px; box-shadow: 0 6px 18px -12px rgba(20, 20, 22, .4); }
.d-msg.me { align-self: flex-end; background: #141416; color: #fff; border-start-end-radius: 4px; }
.d-typing { display: inline-flex; gap: 4px; }
.d-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(20, 20, 22, .4); animation: d-dot 1s infinite; }
.d-typing i:nth-child(2) { animation-delay: .15s; } .d-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes d-dot { 30% { transform: translateY(-4px); opacity: 1; } 60%, 100% { transform: none; opacity: .5; } }
.d-sugg { display: flex; flex-wrap: wrap; gap: 6px; }

/* לפני / אחרי */
.d-ba { position: absolute; inset: 0; --x: 50%; touch-action: pan-y; cursor: ew-resize; user-select: none; }
.d-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.d-ba .d-ba-after { clip-path: inset(0 0 0 var(--x)); }
.d-ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); }
.d-ba-line::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; color: #141416; display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.d-ba-tag { position: absolute; top: 14px; padding: .3em .8em; border-radius: 99px; background: rgba(20, 20, 22, .72); color: #fff; font-size: .78em; }

/* אובייקט */
.d-obj { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #fff, #e9e3d7 70%); cursor: grab; touch-action: pan-y; }
.d-obj.drag { cursor: grabbing; }
.d-obj i { width: min(62%, 300px); aspect-ratio: 1; background-size: 4800% 100%; background-repeat: no-repeat; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .18)); }
.d-obj .d-opts { position: absolute; bottom: 18px; inset-inline: 18px; justify-content: center; }

/* גוגל */
.d-serp { display: grid; gap: 8px; }
.d-res { padding: 8px 12px; font-size: .9em; transition: transform .8s var(--ease), opacity .5s, box-shadow .4s; }
.d-res .d-mono { color: #1d7a46; font-size: .7em; }
.d-res .d-rt { color: #1a4fd6; font-size: 1em; }
.d-res.me { box-shadow: inset 0 0 0 2px var(--signal), 0 10px 30px -18px rgba(20, 20, 22, .35); }
.d-res.ghost .d-rt, .d-res.ghost .d-sub { color: transparent; background: rgba(20, 20, 22, .08); border-radius: 4px; }

/* קמפיינים */
.d-funnel { display: grid; gap: 8px; }
.d-fstep { display: grid; grid-template-columns: 90px 1fr 64px; align-items: center; gap: 10px; font-size: .88em; }
.d-log { display: grid; gap: 6px; font-size: .82em; }
.d-log div { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: #fff; animation: d-up .4s var(--ease) both; }

/* מותג */
.d-brand { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; transition: background .6s, color .6s; }
.d-brand-hero { display: grid; place-items: center; text-align: center; gap: 10px; padding: 24px; }
.d-logo { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; font-size: 34px; transition: all .6s var(--ease); }
.d-swatches { display: flex; gap: 8px; justify-content: center; }
.d-swatches i { width: 34px; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: background .6s; }
.d-brand-bar { display: flex; justify-content: center; gap: 8px; padding: 14px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }

/* שפות */
.d-site { flex: 1; display: grid; align-content: center; gap: 12px; padding: 10px 6px; transition: opacity .3s; }
.d-site h4 { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 400; font-size: 2em; line-height: 1.1; }
.d-site.fade { opacity: 0; }
.d-langs { display: flex; gap: 6px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .sr-live::before { animation: none; } .sr-screen.is-in > * { animation: none; } }

/* ---------- הצצה לעבודות בדף הבית: שש עבודות וכפתור כניסה ---------- */
.teaser-head { display: grid; grid-template-columns: 7fr 5fr; gap: 1.6rem clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.teaser-head h2 { font-size: clamp(3.4rem, 8.4vw, 8.6rem); }
.teaser-side { display: grid; gap: 1.6rem; justify-items: start; }
.teaser-lead { color: var(--fg-dim); font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1.05rem; line-height: 1.75; max-width: 46ch; }
.teaser-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tg { position: relative; display: block; overflow: hidden; border-radius: 18px; text-decoration: none; isolation: isolate; aspect-ratio: 16 / 10; border: 1px solid var(--fg-faint); background: var(--ink); transition: border-color .4s; }
.tg-media, .tg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.tg-media { z-index: -1; }
.tg-media img { transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.82); }
.tg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, .88)); transition: opacity .5s; }
.tg-info { position: absolute; inset-inline: clamp(14px, 1.4vw, 22px); bottom: clamp(14px, 1.4vw, 20px); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; }
.tg-info .logo-tile { grid-row: span 2; }
.tg-name { font-family: var(--f-display); font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.05; }
.tg-kind { color: var(--fg-dim); font-size: .68rem; }
.tg:hover, .tg:focus-visible { border-color: var(--p); }
.tg:hover .tg-media img, .tg:focus-visible .tg-media img { transform: scale(1.05); filter: none; }
.tg::before { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 4px rgba(10, 10, 11, .4); }

/* ---------- דף תיק העבודות ---------- */
.page-work .work-page { border-radius: 0; box-shadow: none; padding-top: clamp(120px, 13vw, 190px); }
.page-work .work-head { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: clamp(56px, 8vw, 120px); }
.work-back { color: var(--fg-dim); text-decoration: none; justify-self: start; transition: color .3s; }
.work-back:hover { color: var(--signal); }
.work-lead { color: var(--fg-dim); font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1.05rem; line-height: 1.75; max-width: 46ch; }
.contact-mini { min-height: 0; padding-top: clamp(90px, 10vw, 150px); }
.contact-mini .contact-title { margin: 0 0 3vh; font-size: clamp(4.2rem, 12vw, 12rem); }
.contact-mini .contact-actions { margin-bottom: 1.6rem; }
.contact-mini .contact-direct { margin: 0 0 clamp(60px, 8vh, 110px); }

@media (max-width: 900px) {
  .teaser-head { grid-template-columns: 1fr; }
  .teaser-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .teaser-grid::-webkit-scrollbar { display: none; }
  .teaser-grid li { flex: 0 0 78vw; scroll-snap-align: center; }
  .teaser-cta { width: 100%; }
}
@media (max-width: 560px) { .contact-mini .contact-title { font-size: 19vw; } .contact-mini .contact-actions .btn { width: 100%; } }

/* טלפון: החבילות ותוכניות התחזוקה בשורה שנגללת לצד, במקום מגדל של כרטיסים */
@media (max-width: 900px) {
  .tiers, .care-plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
  .tiers::-webkit-scrollbar, .care-plans::-webkit-scrollbar { display: none; }
  .tiers > li { flex: 0 0 min(84vw, 420px); scroll-snap-align: center; }
  .care-plans > * { flex: 0 0 min(78vw, 380px); scroll-snap-align: center; }
}

/* אייקון זכוכית לכל שלב בתהליך (היגספילד) */
.timeline li { grid-template-columns: 1fr auto; align-items: start; }
.tl-ico { grid-column: 2; grid-row: 1; width: clamp(62px, 5.4vw, 84px); height: auto; padding: 6px; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #1d1d21, var(--ink) 72%); box-shadow: 0 16px 30px -14px rgba(10, 10, 11, .55); transition: transform .8s var(--ease); }
.timeline li > div { grid-column: 1; grid-row: 1; }
.timeline li:hover .tl-ico { transform: translateY(-4px) rotate(-4deg); }
@media (max-width: 560px) { .tl-ico { width: 50px; } }

/* סמל חי לכל חבילה (היגספילד): קובייה, מבנה, מונומנט */
.tier-emblem { position: absolute; top: clamp(18px, 1.8vw, 26px); inset-inline-end: clamp(18px, 1.8vw, 26px); width: clamp(92px, 8.4vw, 124px); aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #0d0d0f; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(237, 232, 222, .08); z-index: 0; }
.tier-emblem img, .tier-emblem video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.tier-emblem video { opacity: 0; transition: opacity .6s; }
.tier-emblem video.on { opacity: 1; }
.tier-star .tier-emblem { box-shadow: 0 22px 44px -18px rgba(255, 79, 26, .55), inset 0 0 0 1px rgba(255, 79, 26, .3); }
.tier-top { position: relative; padding-inline-end: calc(clamp(92px, 8.4vw, 124px) + 14px); min-height: clamp(92px, 8.4vw, 124px); }
.tier-badge { position: static; justify-self: start; }

/* כרזות קולנועיות לפרויקטים (היגספילד) */
.tg-media .tg-site { opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.tg:hover .tg-media .tg-site, .tg:focus-visible .tg-media .tg-site { opacity: 1; }
@media (hover: none) { .motion .tg-media .tg-site { animation: tg-swap 9s ease-in-out infinite; } .teaser-grid li:nth-child(2n) .tg-site { animation-delay: -4.5s; } }
@keyframes tg-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.case-hero { position: relative; isolation: isolate; }
.case-hero::before {
  content: ""; position: absolute; z-index: -1; top: -90px; left: 50%; width: 100vw; height: min(78vh, 760px); transform: translateX(-50%);
  background: var(--cine) center 40% / cover no-repeat; opacity: .5;
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent); mask: linear-gradient(180deg, #000 30%, transparent);
}

/* ---------- סרט התדמית (היגספילד) ---------- */
.teaser-head, .page-work .work-head { position: relative; isolation: isolate; }
.film-bg { position: absolute; z-index: -1; inset: calc(clamp(80px, 12vw, 180px) * -1) calc(var(--gutter) * -1) -40px; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 62%, transparent); mask: linear-gradient(180deg, transparent, #000 18%, #000 62%, transparent); }
.film-bg img, .film-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.film-bg video { opacity: 0; transition: opacity 1.2s; }
.film-bg video.on { opacity: 1; }
.film-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(18, 18, 20, .94) 0%, rgba(18, 18, 20, .74) 45%, rgba(18, 18, 20, .6) 100%); }
.page-work .film-bg { inset: calc(clamp(120px, 13vw, 190px) * -1) calc(var(--gutter) * -1) -60px; }
.teaser-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.film-play { display: inline-flex; align-items: center; gap: .8rem; color: var(--fg); font-size: .8rem; padding: .4rem 0; }
.film-play-i { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(237, 232, 222, .4); flex: none; transition: background .3s, border-color .3s; }
.film-play-i::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -7px 0 0 -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.film-play:hover .film-play-i { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.work-head .film-play { justify-self: start; }
.film-dlg { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 4vw, 60px); border: 0; background: rgba(5, 5, 6, .94); display: none; place-items: center; }
.film-dlg[open] { display: grid; }
.film-dlg::backdrop { background: rgba(5, 5, 6, .8); backdrop-filter: blur(6px); }
.film-video { width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.film-close { position: absolute; top: 18px; left: var(--gutter); padding: .6rem 1.1rem; border-radius: 99px; border: 1px solid var(--fg-faint); color: var(--fg); background: rgba(10, 10, 11, .6); }
.film-close:hover { background: var(--fg); color: var(--ink); }
@media (max-width: 900px) { .film-bg::after { background: linear-gradient(180deg, rgba(18, 18, 20, .55), rgba(18, 18, 20, .9)); } .teaser-actions .teaser-cta { width: 100%; } }

/* ---------- הדמות בפתיחה (היגספילד) ---------- */
.hero-portrait { position: absolute; z-index: 1; left: 50%; bottom: 0; width: clamp(240px, 27vw, 420px); transform: translateX(-50%); pointer-events: none; }
.hero-portrait > div { will-change: transform; }
.hero-portrait img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); transform-origin: 50% 100%; }
.motion .hero-portrait img { animation: portrait-idle 6s ease-in-out infinite; }
@keyframes portrait-idle { 50% { translate: 0 -7px; rotate: -.6deg; } }
@media (max-width: 560px) {
  .hero-portrait { width: 52vw; bottom: 112px; }
  .hero-portrait img { -webkit-mask: linear-gradient(180deg, #000 72%, transparent 98%); mask: linear-gradient(180deg, #000 72%, transparent 98%); }
}

/* ---------- העולם שמאחורי האתר (סרטי רקע) ----------
   שכבה קבועה מתחת לכל התוכן. גיליונות הנייר אטומים ומחליקים מעליה, והחלקים הכהים
   שקופים למחצה, כך שהסרט מציץ רק דרכם. */
.site-film { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ink); }
.site-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.site-film video.on { opacity: 1; }
.site-film::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 11, .3); transition: background .8s; }
.site-film[data-mode="light"]::after { background: linear-gradient(180deg, rgba(10, 10, 11, .5) 0%, rgba(10, 10, 11, .62) 45%, rgba(10, 10, 11, .86) 100%); }
.sheet-ink[data-bg="dark"] { background: rgba(18, 18, 20, .76); }
.craft[data-bg="dark"] { background: rgba(18, 18, 20, .84); }

/* ---------- רקע חי לגיליון הגישה (פרחים מרחפים) ----------
   הסרט קבוע במסך ונחתך לגבולות הגיליון, כך שהוא לא נמתח לאורך כל החלק. מעליו שכבת נייר
   שקופה שמשאירה את הטקסט הכהה קריא, ומתבהרת למטה, היכן שהכרטיסים האטומים יושבים. */
.manifesto { isolation: isolate; }
.sheet-film { position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: inset(0 round var(--radius) var(--radius) 0 0); }
.sheet-film video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.sheet-film video.on { opacity: 1; }
.sheet-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(237, 232, 222, .8) 0%, rgba(237, 232, 222, .7) 40%, rgba(237, 232, 222, .32) 75%, rgba(237, 232, 222, .2) 100%); }
.manifesto .principles li { background: rgba(225, 219, 205, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (prefers-reduced-motion: reduce) { .sheet-film { background: url("../work/bg/meadow.webp") center / cover; } }

/* ---------- תהליך כהה: פרח קריסטל חי מאחורי הכותרת ----------
   הרקע הוא בדיוק השחור של הסרט (#0c0c0c), והקצוות נמסים לשחור בתוך הסרט עצמו, כך שהפרח מרחף בלי מסגרת. */
.process-dark { background: #0c0c0c; color: var(--fg); }
.process-dark .process-head { isolation: isolate; }
.process-crystal { position: absolute; z-index: -1; top: 50%; left: 50%; width: clamp(420px, 44vw, 720px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
/* הקצוות הרכים צרובים בתוך הסרט עצמו: ספארי מקפיא וידאו שיש עליו מסכה */
.process-crystal img, .process-crystal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-crystal video { opacity: 0; transition: opacity 1.2s; }
.process-crystal video.on { opacity: 1; }
.process-dark .pt-big { text-shadow: 0 0 40px rgba(17, 17, 17, .9); }
.process-dark .pt-sub { color: var(--fg); text-shadow: 0 2px 24px rgba(17, 17, 17, .9); }
.process-dark .process-lead { color: var(--fg-dim); text-shadow: 0 2px 18px rgba(17, 17, 17, .95); }
.process-dark .timeline::before { background: var(--fg-faint); }
.process-dark .timeline::after { box-shadow: 0 0 14px rgba(255, 79, 26, .6); }
.process-dark .timeline li::before { background: #0c0c0c; }
.process-dark .timeline p { color: rgba(237, 232, 222, .68); }
.process-dark .tl-time { background: rgba(237, 232, 222, .08); color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-faint); }
.process-dark .tl-ico { background: radial-gradient(circle at 50% 40%, #232327, #151517 72%); box-shadow: inset 0 0 0 1px rgba(237, 232, 222, .08), 0 18px 34px -16px rgba(0, 0, 0, .9); }
.process-dark .process-note { color: var(--fg-dim); }
@media (max-width: 900px) {
  .process-dark .process-head { position: relative; top: auto; }
  .process-crystal { width: min(118vw, 560px); top: 46%; }
}

/* ---------- ליטוש אחרי הרקעים החדשים ---------- */
/* 1. הפרח: הילה מאחורי "שבועיים." ולא מאחורי הטקסט הקטן */
.process-crystal { top: 30%; width: clamp(380px, 38vw, 620px); }
.process-dark .process-head { padding-top: clamp(40px, 5vw, 80px); }
@media (max-width: 900px) {
  .process-crystal { top: 0; width: min(96vw, 460px); transform: translate(-50%, -22%); }
  .process-dark .process-head { padding-top: min(52vw, 260px); margin-bottom: 1rem; }
}
/* 2. גיליון כהה על גיליון כהה: קו אור דק בקצה העליון, כדי שהשכבות ייקראו */
.sheet-ink, .process-dark { box-shadow: inset 0 1px 0 rgba(237, 232, 222, .09), 0 -30px 80px -20px rgba(0, 0, 0, .75); }
.sheet-ink::before, .process-dark::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 79, 26, .45), transparent); pointer-events: none; }
/* 3. כרטיסים מעל סרטי הרקע: זכוכית חלבית */
[data-bg] .tier:not(.tier-star), [data-bg] .care-plan, [data-bg] .upgrade { background: rgba(18, 18, 20, .55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
[data-bg] .promises { background: rgba(18, 18, 20, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (min-width: 901px) { [data-bg] .sr-item.is-on { background: rgba(18, 18, 20, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
/* 4. "בואו נבנה." מעל השקיעה: בסיס כהה לכפתורי הטופס */
.contact[data-bg="light"] .chip span { background: rgba(10, 10, 11, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.contact[data-bg="light"] .contact-lead, .contact[data-bg="light"] .contact-direct { text-shadow: 0 2px 18px rgba(10, 10, 11, .9); }
.contact[data-bg="light"] .brief-fields input { background: rgba(10, 10, 11, .5); }

/* הדמות החיה: הווידאו השקוף נכנס מעל התמונה ברגע שהוא מתנגן */
.portrait-anim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transition: opacity .6s; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); pointer-events: none; }
.hero-portrait > div { position: relative; }
.hero-portrait.is-alive .portrait-anim { opacity: 1; }
.hero-portrait.is-alive img { transition: opacity .6s; opacity: 0 !important; }
@media (max-width: 560px) { video.portrait-anim { -webkit-mask: linear-gradient(180deg, #000 72%, transparent 98%); mask: linear-gradient(180deg, #000 72%, transparent 98%); } }

/* ---------- טלפון: כל תמונה נראית במלואה, בלי רצועות שנחתכות בקצה ---------- */
@media (max-width: 900px) {
  /* שישה אתרים ברשת אחת: כולם על המסך, כל תמונה ביחס המקורי שלה */
  .teaser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .teaser-grid li { flex: none; }
  .tg { aspect-ratio: auto; border-radius: 16px; background: rgba(18, 18, 20, .72); }
  .tg-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
  .tg::after { display: none; }
  .tg::before { top: 10px; inset-inline-end: 10px; width: 8px; height: 8px; z-index: 1; }
  .tg-info { position: static; padding: 10px 10px 12px; column-gap: .55rem; }
  .tg-info .logo-tile { width: clamp(30px, 5.6vw, 44px); border-radius: 8px; }
  .tg-name { font-size: clamp(1.05rem, 3vw, 1.5rem); }
  .tg-kind { font-size: clamp(.6rem, 1.4vw, .74rem); }

  /* חמש קטגוריות המערכות: שלוש ושתיים, כל תמונה שלמה (3:4) */
  .sr-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: auto; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sr-cat, .sr-cat.is-on { grid-column: span 2; flex: none; height: auto; max-height: none; aspect-ratio: 3 / 4; border-radius: 16px; }
  .sr-cat:nth-child(4) { grid-column: 2 / span 2; }
  .sr-cat-text { top: 10px; inset-inline: 10px; gap: .25rem; }
  .sr-cat-name { font-size: clamp(.9rem, 2.5vw, 1.35rem); line-height: 1.12; }
  .sr-cat-n { font-size: clamp(.58rem, 1.3vw, .7rem); }
  .sr-cat::after { background: linear-gradient(180deg, rgba(10, 10, 11, .82) 0%, transparent 46%); }
  .sr-cat.is-on { box-shadow: 0 0 0 1px var(--signal); }
  .sr-cat:not(.is-on) .sr-media img { transform: none; }

  /* המערכות בכל קטגוריה: כולן גלויות, בשתי שורות במקום רצועה נגללת */
  .sr-items { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 2px 0; }

  /* הטלפון שליד כל פרויקט נשאר בתוך המסך */
  .p-phone { inset-inline-start: -1%; }
  .project:nth-child(even) .p-phone { inset-inline-end: -1%; }
}

/* ---------- השוואה בין החבילות: סגורה כברירת מחדל, נפתחת בלחיצה ---------- */
.compare { margin-top: clamp(28px, 3vw, 44px); border-radius: 26px; border: 1px solid var(--fg-faint); background: rgba(18, 18, 20, .55); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.compare-toggle {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(18px, 2vw, 26px) clamp(22px, 3vw, 46px); font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.compare-toggle::-webkit-details-marker { display: none; }
.compare-toggle i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--fg-faint); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.compare-toggle i::before, .compare-toggle i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 1.5px; background: currentColor; }
.compare-toggle i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.compare[open] .compare-toggle i { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.compare[open] .compare-toggle i::after { transform: rotate(0); }
.compare-toggle:hover i { border-color: var(--signal); }
.compare-wrap { padding: 0 clamp(14px, 3vw, 46px) clamp(20px, 2.6vw, 38px); }
.compare[open] .compare-wrap { animation: sr-in .5s var(--ease) both; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table thead th { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 1.8vw, 1.6rem); padding: .4rem .5rem 1rem; text-align: center; }
.compare-table thead th.cmp-star { color: var(--signal); }
.compare-table { table-layout: fixed; }
.compare-table thead td { width: 40%; }
.compare-table tbody th { text-align: start; font-weight: 400; color: var(--fg); padding: .8rem .5rem .8rem 0; line-height: 1.45; font-family: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif; font-size: 1rem; }
.compare-table td { text-align: center; padding: .8rem .5rem; color: var(--fg-dim); white-space: nowrap; font-size: .8rem; }
.compare-table tbody tr { border-top: 1px solid var(--fg-faint); }
.compare-table td:nth-child(3), .compare-table thead th.cmp-star { background: rgba(255, 79, 26, .07); }
.compare-table td:nth-child(3) { color: var(--fg); }
.compare-table .cmp-group { border-top: 0; }
.compare-table .cmp-group th { padding: 1.6rem 0 .6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--signal); }
.compare-table .cmp-group:first-child th { padding-top: .2rem; }
.cmp-y, .cmp-n { display: inline-block; vertical-align: middle; }
.cmp-y { width: 22px; height: 22px; border-radius: 50%; background: var(--fg); position: relative; }
.cmp-y::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.compare-table td:nth-child(3) .cmp-y { background: var(--signal); }
.cmp-n { width: 12px; height: 1.5px; background: var(--fg-faint); }
@media (max-width: 560px) {
  .compare-table { font-size: .82rem; }
  .compare-table thead th { font-size: 1.05rem; padding-inline: .2rem; }
  .compare-table thead td { width: 38%; }
  .compare-table tbody th { padding-inline-end: .4rem; font-size: .84rem; }
  .compare-table td { padding: .7rem .15rem; font-size: .66rem; white-space: normal; }
  .cmp-y { width: 19px; height: 19px; }
  .cmp-y::after { left: 6px; top: 4px; width: 4px; height: 8px; }
}
/* מקור הסרט ה"מוערם" של ספארי: מתנגן בדף אבל לא נראה. הקנבס מציג את הדמות */
.portrait-src { position: absolute; top: 0; left: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }

/* ---------- מעבר שפה ---------- */
.lang-switch {
  display: inline-grid; place-items: center; min-width: 2.6rem; padding: .45rem .7rem; border-radius: 99px;
  border: 1px solid currentColor; font-size: .74rem; letter-spacing: .04em; text-decoration: none; transition: background .3s, color .3s;
}
.lang-switch:hover, .lang-switch:focus-visible { background: #ede8de; color: #0a0a0b; }
@media (max-width: 900px) { .lang-switch { margin-inline-start: auto; } .sound-toggle { margin-inline-start: 0; } }

/* ---------- הדף האנגלי: אותו עיצוב, משמאל לימין, עם Fraunces במקום Dragon (שאין בו אותיות לטיניות) ---------- */
html[lang="en"] { --f-display: "Fraunces", Georgia, "Times New Roman", serif; }
html[lang="en"] .display, html[lang="en"] .hero-title, html[lang="en"] .contact-title, html[lang="en"] .pt-big { letter-spacing: -.035em; }
html[lang="en"] .hero-title { font-weight: 800; font-size: clamp(4rem, 13.5vw, 14rem); line-height: .86; }
@media (min-width: 561px) and (max-width: 900px) { html[lang="en"] .hero-title { font-size: 19vw; } }
@media (max-width: 560px) { html[lang="en"] .hero-title { font-size: 21vw; } }
html[lang="en"] .hero-role { white-space: normal; max-width: 34ch; text-wrap: balance; }
@media (max-width: 560px) { html[lang="en"] .hero-role { font-size: 5vw; max-width: none; } }

/* הרקע של "אני לא בונה אתרים" בטלפון: וידאו קבוע בתוך גיליון חתוך לא מוצג בספארי של אייפון,
   אז בטלפון הסרט "נדבק" לראש המסך בתוך הגיליון. התמונה הקבועה מופיעה מיד, גם כשהטלפון חוסם הפעלה אוטומטית */
@media (max-width: 900px) {
  .sheet-film video { position: sticky; inset: auto; top: 0; display: block; height: 100vh; height: 100svh; }
  .sheet-film video[poster] { opacity: 1; }
  .sheet-film::after { background: linear-gradient(180deg, rgba(237, 232, 222, .74) 0%, rgba(237, 232, 222, .5) 30%, rgba(237, 232, 222, .22) 60%, rgba(237, 232, 222, .12) 100%); }
}

/* ספארי מקפיא וידאו שיש עליו מסכה: שם הקצוות של סרט ההצצה נמסים בשכבת צבע במקום במסכה */
.apple .film-bg { -webkit-mask: none; mask: none; }
.apple .film-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--ink-2) 0%, transparent 18%, transparent 62%, var(--ink-2) 100%); }

/* הפרח נושם גם כשהטלפון לא מנגן את הסרט (אייפון במצב חיסכון, דפדפן בתוך אפליקציה):
   התמונה נפתחת ונסגרת לאט באותו קצב של הסרט. כשהסרט עצמו מתנגן הוא מכסה אותה והתנועה נעצרת */
.motion .process-crystal img { transform-origin: 50% 42%; animation: crystal-bloom 8s ease-in-out infinite; will-change: transform, filter; }
.process-crystal.is-live img { animation: none; }
@keyframes crystal-bloom {
  0%, 100% { transform: scale(.93) rotate(-1.5deg); filter: brightness(.88) saturate(.95); }
  50% { transform: scale(1.05) rotate(1.5deg); filter: brightness(1.14) saturate(1.1); }
}

/* ---------- טלפון: "דברו איתי" תמיד בסרגל, ותפריט מסך מלא ---------- */
.bar-cta, .menu-btn { display: none; }
@media (max-width: 900px) {
  .bar .sound-toggle, .bar .xray-toggle { display: none; }
  .bar { gap: .7rem; }
  .bar-cta {
    display: inline-flex; align-items: center; padding: .5rem .95rem; border-radius: 99px; border: 1px solid currentColor;
    font-size: .74rem; text-decoration: none; white-space: nowrap;
  }
  .menu-btn { display: inline-grid; place-content: center; gap: 6px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; }
  .menu-btn i { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
  .menu-open .menu-btn i:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-btn i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
.menu {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--fg); overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .6s var(--ease); overscroll-behavior: contain;
}
[dir="rtl"] .menu { clip-path: circle(0% at 40px 38px); }
.menu.is-open, [dir="rtl"] .menu.is-open { clip-path: circle(150% at 50% 0%); }
.menu[hidden] { display: none; }
.menu::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 110%, rgba(255, 79, 26, .22), transparent 60%);
}
.menu-links { list-style: none; display: grid; gap: .2rem; }
.menu-link { display: block; font-size: clamp(2.6rem, 12vw, 4.4rem); line-height: 1.1; text-decoration: none; padding: .15rem 0; }
.menu-link:active, .menu-link:focus-visible { color: var(--signal); }
.menu-foot { display: grid; gap: 1rem; }
.menu-wa { justify-content: center; width: 100%; }
.menu-tel { justify-self: center; color: var(--fg); font-size: .95rem; }
.menu-tools { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; padding-top: .4rem; border-top: 1px solid var(--fg-faint); }
.menu-tools > * { padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--fg-faint); font-size: .78rem; color: var(--fg-dim); text-decoration: none; }
.menu-tools [aria-pressed="true"] { color: var(--ink); background: var(--fg); border-color: var(--fg); }
.menu-open, .menu-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .menu { transition: none; } }

/* זמין לפרויקטים: נקודה חיה שמובילה לטופס */
.hero-avail { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; }
.hero-avail i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 79, 26, .6); }
.motion .hero-avail i { animation: sr-live 1.8s ease-out infinite; }
.hero-avail:hover, .hero-avail:focus-visible { color: var(--fg); }
@media (max-width: 900px) { .hero-meta { padding-inline-end: 64px; } } /* כפתור הנגישות יושב בפינה */
.motion .timeline .tl-ico { transition: filter .6s, transform .6s var(--ease); }
.motion .timeline li:not(.is-on) .tl-ico { filter: grayscale(1) brightness(.6); transform: scale(.9); }
.motion .timeline li:not(.is-on) h3 { color: var(--fg-dim); }

/* ---------- סיור בהדמיה: שני סרטים, מבחוץ ומבפנים ---------- */
.tours { display: grid; gap: clamp(36px, 5vw, 70px); }
.tours-head { display: grid; grid-template-columns: 7fr 5fr; gap: 1.4rem clamp(32px, 6vw, 110px); align-items: end; }
.tours h2 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); line-height: .95; grid-row: span 2; }
.tours-lead { color: var(--fg-dim); font-family: "IBM Plex Sans Hebrew", "Assistant", sans-serif; font-size: 1.05rem; line-height: 1.75; max-width: 46ch; }
.tours-head .demo-facts { margin-top: 0; }
.tours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.tour { display: grid; gap: .9rem; margin: 0; }
.tour-view { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b0d10; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.tour-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tour-view:not(.is-live):hover .tour-video { transform: scale(1.04); }
.tour-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 11, .55)); transition: opacity .4s; }
.tour-view.is-live::after { opacity: 0; }
.tour-play {
  position: absolute; inset: auto auto 18px 18px; z-index: 1; display: inline-flex; align-items: center; gap: .7rem;
  padding: .8rem 1.2rem .8rem 1rem; border-radius: 99px; background: rgba(237, 232, 222, .92); color: var(--ink);
  font-family: var(--f-mono); font-size: .82rem; backdrop-filter: blur(8px); transition: transform .3s var(--ease), background .3s;
}
[dir="rtl"] .tour-play { inset: auto 18px 18px auto; padding: .8rem 1rem .8rem 1.2rem; }
.tour-play:hover { transform: scale(1.05); background: #fff; }
.tour-play i { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--signal); }
.tour-view.is-live .tour-play { display: none; }
.tour figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; }
.tour figcaption b { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; }
.tour figcaption span { color: var(--fg-dim); font-size: .74rem; }
.tours-note { color: var(--fg-dim); font-size: .72rem; }
@media (max-width: 900px) {
  .tours-head { grid-template-columns: 1fr; }
  .tours h2 { grid-row: auto; }
  .tours-grid { grid-template-columns: 1fr; }
  .tour-play { inset: auto auto 12px 12px; padding: .65rem 1rem .65rem .85rem; font-size: .76rem; }
  [dir="rtl"] .tour-play { inset: auto 12px 12px auto; }
}
html[lang="en"] .tours h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); }

/* ---------- מגע בטלפון: אזור לחיצה נוח (40px ומעלה) בלי לשנות את המראה ---------- */
@media (max-width: 900px) {
  .hero-avail, .work-back, .demo-full, .p-demo, .foot a, .foot-xray, .bar-mark, .lang-switch,
  .brief-back, .brief-copy, .brief-restart { position: relative; }
  .hero-avail::before, .work-back::before, .demo-full::before, .p-demo::before, .foot a::before, .foot-xray::before,
  .bar-mark::before, .lang-switch::before, .brief-back::before, .brief-copy::before, .brief-restart::before {
    content: ""; position: absolute; inset: -12px -8px;
  }
  .bar-mark::before { inset: -8px -10px; }
  .lang-switch::before { inset: -4px -2px; }
  .tg-kind { font-size: .72rem; }
  .ba-range { height: 40px; }
}
/* כשתפריט או סיפור פרויקט פתוחים על כל המסך, כפתור הנגישות הצף לא מסתיר את מה שבתוכם */
.menu-open .a11y, .case-open .a11y { visibility: hidden; }
html[lang="en"] .case-fonts { text-align: left; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- טלפון לרוחב: הפתיחה בפרופורציות של המחשב, לפי גובה המסך ---------- */
@media (orientation: landscape) and (max-height: 520px) {
  .hero-title, html[lang="en"] .hero-title { font-size: 26vh; line-height: .88; padding-top: 72px; }
  html[lang="en"] .hero-title { font-size: 22vh; }
  .hero-portrait { width: 46vh; bottom: 0; }
  .hero-role, html[lang="en"] .hero-role { font-size: 1.05rem; margin-bottom: 1.5vh; }
  .hero-meta { padding-bottom: 14px; }
}
/* הפרח הנושם גדל ומסתובב מעט, ובטלפון הוא כמעט ברוחב המסך: חותכים כדי שהדף לא יזוז הצידה */
@media (max-width: 900px) { .process { overflow-x: clip; } }
/* טלפון: אין טקסט תוכן קטן מ־11px, ואזורי מגע נוחים בהדגמות */
@media (max-width: 900px) {
  .sr-cat-n, .sr-url, .brief-steps { font-size: .72rem; }
  .sr-live { font-size: .7rem; }
  .compare-table td { font-size: .7rem; }
  .brief-plan button, .d-prod .d-btn { position: relative; }
  .brief-plan button::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
  .d-prod .d-btn::before { content: ""; position: absolute; inset: -6px -4px; }
  .d-range { height: 34px; }
}
/* הצל של הגיליון הראשון מציץ מתחת לפתיחה עד שהתלת־ממד מאריך אותה, וזה נמדד כקפיצה. מופיע ברגע שהבמה מוכנה */
.motion:not(.stage-on) .hero + .sheet { box-shadow: none; }

/* ---------- שלושת העקרונות: מספר גדול, זכוכית חלבית, סמל, הוכחה חיה והטיה במעבר עכבר ---------- */
.principles { counter-reset: pr; perspective: 1100px; }
.principles li { position: relative; counter-increment: pr; overflow: hidden; transform-style: preserve-3d; isolation: isolate; }
.principles li::before {
  content: "0" counter(pr); position: absolute; z-index: -1; top: clamp(8px, 1vw, 14px); inset-inline-end: clamp(14px, 1.6vw, 24px);
  font-family: var(--f-display); font-size: clamp(4.6rem, 7vw, 7.4rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(10, 10, 11, .2); pointer-events: none;
}
.manifesto .principles li {
  background: rgba(237, 232, 222, .66); border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 34px 70px -34px rgba(48, 36, 12, .38);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.manifesto .principles li.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.principles li::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}
.principles li.is-tilting::after { opacity: 1; }
.pr-icon { width: 40px; height: 40px; fill: none; stroke: var(--signal-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* הוכחה חיה: מתעוררת כשהכרטיס נכנס למסך */
.pr-viz { margin-top: auto; display: flex; align-items: center; gap: .55rem; min-height: 30px; }
.principles .pr-viz + .pr-proof { margin-top: .2rem; }
.pr-dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 6px 14px -6px var(--c); transform: scale(0); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.pr-dots i:nth-child(2) { transition-delay: .08s; } .pr-dots i:nth-child(3) { transition-delay: .16s; } .pr-dots i:nth-child(4) { transition-delay: .24s; }
.pr-dots i:nth-child(5) { transition-delay: .32s; } .pr-dots i:nth-child(6) { transition-delay: .4s; }
.is-on .pr-dots i { transform: scale(1); }
.pr-meter { font-family: var(--f-mono); font-size: .72rem; color: rgba(10, 10, 11, .62); direction: ltr; }
.pr-meter b { font-weight: 500; }
.pr-meter b:last-child { color: var(--signal-ink); }
.pr-track { position: relative; flex: 1; max-width: 170px; height: 8px; border-radius: 99px; background: rgba(10, 10, 11, .1); overflow: hidden; }
.pr-track i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--signal), #ff8a3d); transition: width 1.8s cubic-bezier(.65, 0, .35, 1) .3s; }
.is-on .pr-track i { width: 4.2%; }
.pr-flip { perspective: 400px; }
.pr-card { position: relative; display: grid; width: 74px; height: 34px; transform-style: preserve-3d; }
.pr-face {
  grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 99px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--ink); color: var(--paper); font-family: var(--f-display); font-size: 1.05rem; direction: ltr;
}
.pr-face i { font-style: normal; font-family: var(--f-mono); font-size: .8rem; color: #ff8a3d; }
.pr-back { transform: rotateY(180deg); }
.motion .is-on .pr-card { animation: pr-flip 4.8s cubic-bezier(.65, 0, .35, 1) .6s infinite; }
@keyframes pr-flip { 0%, 38% { transform: rotateY(0); } 50%, 88% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pr-dots i { transform: none; } .pr-track i { width: 4.2%; }
}

/* טלפון: החלקה לצדדים במקום שלושה כרטיסים זה מתחת לזה */
@media (max-width: 900px) {
  .principles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; }
  .principles::-webkit-scrollbar { display: none; }
  .principles > li { flex: 0 0 min(82vw, 400px); scroll-snap-align: center; }
  .principles li::before { font-size: 4.6rem; }
}

/* תהליך: הפרח מעל "שבועיים." בשטח משלו, בלי לעלות על הכותרת */
.process-crystal {
  position: relative; z-index: auto; top: auto; left: auto; transform: none;
  display: block; width: clamp(300px, 26vw, 420px); margin: 0 auto clamp(-10px, -1vw, -4px);
}
.process-dark .process-head { padding-top: clamp(24px, 3vw, 48px); }
@media (max-width: 900px) {
  .process-crystal { top: auto; width: min(78vw, 340px); transform: none; margin: 0 auto 4px; }
  .process-dark .process-head { padding-top: 8px; margin-bottom: 1rem; }
}

/* ---------- המותג: HGPRO ---------- */
/* הסימן נכתב ב-Fraunces (בדף העברי נטענות רק חמש האותיות שלו), והכותרת נשארת באותה קומפוזיציה: HG למעלה, PRO למטה */
.bar-mark, .hero-title, .intro-type { font-family: "Fraunces", Georgia, serif; font-weight: 800; letter-spacing: -.035em; }
.hero-title { direction: ltr; }
.hero-title, html[lang="en"] .hero-title { font-weight: 800; font-size: clamp(4.4rem, 17vw, 17rem); line-height: .86; }
@media (min-width: 561px) and (max-width: 900px) { .hero-title, html[lang="en"] .hero-title { font-size: 25vw; } }
@media (max-width: 560px) { .hero-title, html[lang="en"] .hero-title { font-size: 32vw; } }
@media (orientation: landscape) and (max-height: 520px) { .hero-title, html[lang="en"] .hero-title { font-size: 26vh; } }

/* ---------- מוצר: סרט פרסומת ב-AI (דוגמה חיה) ---------- */
.d-film { position: absolute; inset: 0; background: #0a0a0b; }
.d-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-film-ui { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: linear-gradient(0deg, rgba(10,10,11,.78), rgba(10,10,11,0)); }
.d-film-tag { color: #ede8de; font-size: .86em; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.d-film-snd { flex: none; }
@media (max-width: 560px) { .d-film-ui { padding: 14px; } .d-film-tag { font-size: .78em; } }
