/* BrainboxAI, round 5: glass + fog + light. Dark cool neutrals, teal light, Hebrew RTL first. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Tektur";
  src: url("./assets/fonts/Tektur-Medium.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("./assets/fonts/IBMPlexSansHebrew-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0020-0022, U+0027-002F, U+003A-003B, U+003F, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

:root {
  --bg: #050505;
  --bg-2: #080a0b;
  --accent: #14b8a6;
  --accent-2: #0d9488;
  --accent-deep: #0f766e;
  --accent-soft: #5eead4;
  --ink: #040b0a;
  --text: #e3e8e8;
  --muted: #a6b0b0;
  --line: #ffffff1a;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);
  --glass-line: rgba(255, 255, 255, 0.11);
  --glow: 0 0 0 1px rgba(20, 184, 166, 0.18), 0 10px 40px -12px rgba(20, 184, 166, 0.35);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "JetBrains Mono", "IBM Plex Sans Hebrew", ui-monospace, monospace;
  --font-he: "IBM Plex Sans Hebrew", "JetBrains Mono", ui-monospace, monospace;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-brand: "Tektur", "IBM Plex Sans Hebrew", "JetBrains Mono", monospace;
  --dir: 1;
  --p: 0;
  --wrap: min(1240px, calc(100% - 96px));
  color-scheme: dark;
}
[dir="rtl"] { --dir: -1; }
:root[lang="he"] { --font: var(--font-he); }

* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  font: 500 15px/1.65 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body { font-size: 16px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ambient fog behind the whole page (static, cheap) + film grain on top */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 0% 0%, rgba(20, 184, 166, 0.10), transparent 60%),
    radial-gradient(55vmax 45vmax at 100% 100%, rgba(47, 111, 208, 0.10), transparent 60%),
    radial-gradient(40vmax 30vmax at 100% 10%, rgba(15, 118, 110, 0.06), transparent 60%),
    var(--bg);
}
@media (max-width: 900px) { .grain { display: none; } } /* full-screen blend layer: not worth the phone battery */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  background-image: var(--grain, none);
  background-size: 160px 160px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(0, 0); }
}

.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 90;
  padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--ink);
  transform: translateY(-160%); transition: transform 200ms ease; text-decoration: none;
}
.skip-link:focus-visible { transform: none; }

/* ---------------------------------------------------------------- preloader (never blocks more than ~1s) */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 420ms ease, visibility 420ms;
  animation: pre-out 1ms 1.2s forwards; /* safety: gone even if scripts fail */
}
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes pre-out { to { opacity: 0; visibility: hidden; } }
.pre-inner { display: grid; justify-items: center; gap: 18px; }
.pre-mark { width: 54px; height: 54px; background: url("./assets/logo-mark-teal.png") center / contain no-repeat; filter: drop-shadow(0 0 18px rgba(20, 184, 166, 0.55)); }
.pre-line { font: 500 13px/1 var(--font-mono); color: var(--accent); letter-spacing: 0.06em; }
.pre-prompt { color: var(--muted); }
.pre-caret { display: inline-block; width: 0.6em; height: 1em; margin-inline-start: 4px; vertical-align: -0.15em; background: var(--accent); animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pre-progress { font: 500 13px/1 var(--font-mono); color: var(--accent); white-space: pre; font-variant-numeric: tabular-nums; }
.pre-ascii { color: var(--accent-soft); letter-spacing: 0.04em; }
.pre-pct { display: inline-block; min-width: 4ch; text-align: end; }

/* ---------------------------------------------------------------- nav: one glass capsule, centred */
.nav {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  inset-inline: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(980px, calc(100% - 48px));
  height: 60px;
  padding: 6px;
  padding-left: 18px; /* the logo is always on the physical left */
  border-radius: 999px;
  background: rgba(14, 18, 20, 0.55);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 50px -18px rgba(20, 184, 166, 0.45);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.nav.is-scrolled .nav-capsule { background: rgba(10, 13, 15, 0.78); }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-inline-end: auto; height: 44px; }
/* the logo sits on the physical left in both languages (in RTL it is moved to the end of the row) */
/* the lockup itself always reads left to right: mark, then the wordmark.
   Physical margins here, because direction: ltr flips this element's own logical margins */
.nav-logo { direction: ltr; margin-inline-end: 0; margin-right: auto; }
[dir="rtl"] .nav-logo { order: 99; }
.logo-mark { width: 30px; height: 30px; flex: none; background: url("./assets/logo-mark-teal.png") center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.45)); }
.logo-word { font: 500 20px/1 var(--font-brand); letter-spacing: 0.01em; color: #fff; }
.logo-word b { font-weight: 700; color: var(--accent); }

.nav-menu, .lang-toggle {
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  transition: background-color 250ms ease, border-color 250ms ease;
}
.nav-menu:hover, .lang-toggle:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--glass-line); }
.nav-menu { font: 500 14px/1 var(--font-mono); }
[dir="rtl"] .nav-menu { font-family: var(--font-he); font-size: 15px; }
.nav-prompt::before, .btn-link-prompt::before, .menu-nav a::before { content: "->"; direction: ltr; unicode-bidi: isolate; display: inline-block; font-family: var(--font-mono); color: var(--accent); }
[dir="rtl"] .nav-prompt::before { content: "<-"; }
.nav-burger { display: none; position: relative; width: 20px; height: 14px; }
.nav-burger span { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor; }
.nav-burger span:first-child { top: 2px; }
.nav-burger span:last-child { bottom: 2px; }
.lang-toggle { font: 500 13px/1 var(--font-mono); direction: ltr; gap: 6px; padding: 0 14px; }
.lang-opt { opacity: 0.55; transition: opacity 250ms ease; }
html[lang="he"] .lang-opt[data-lang="he"], html[lang="en"] .lang-opt[data-lang="en"] { opacity: 1; color: #fff; }
.lang-sep { opacity: 0.35; }

/* sound toggle: a live line drawn from the actual audio when on, flat when off */
.sound-toggle {
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  font: 500 13px/1 var(--font-mono);
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}
[dir="rtl"] .sound-toggle { font-family: var(--font-he); font-size: 14px; }
.sound-toggle:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--glass-line); color: var(--text); }
.sound-toggle[aria-pressed="true"] { color: var(--accent-soft); border-color: rgba(94, 234, 212, 0.32); }
.sound-wave { display: block; width: 26px; height: 14px; flex: none; }
.sound-toggle--menu { display: none; height: 40px; }
.sound-icon { display: none; width: 12px; height: 12px; flex: none; fill: currentColor; }
[dir="rtl"] .sound-icon { transform: scaleX(-1); }
.sound-arc { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }

.nav-cta {
  height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.0), 0 6px 26px -6px rgba(20, 184, 166, 0.75);
  transition: background-color 250ms ease, transform 300ms var(--ease), box-shadow 300ms ease;
}
.nav-cta:hover { background: var(--accent-soft); transform: translateY(-1px); }
.nav-cta:focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- floating WhatsApp lead button */
.wa-float {
  position: fixed;
  z-index: 55;
  inset-inline-end: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 10px 34px -8px rgba(20, 184, 166, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 300ms var(--ease), background-color 250ms ease, opacity 300ms ease;
}
[dir="rtl"] .wa-float { padding: 0 16px 0 20px; }
.wa-float:hover { transform: translateY(-2px); background: var(--accent-soft); }
.wa-float:focus-visible { outline-color: #fff; outline-offset: 4px; }
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex: none; }
/* hidden over the contact block (is-tucked) and while a live demo window is on screen (is-demo, site.js). Same fade
   both ways; once faded out it also leaves the tab order (visibility flips after the fade, back at once on return) */
.wa-float.is-tucked,
.wa-float.is-demo { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform 300ms var(--ease), background-color 250ms ease, opacity 300ms ease, visibility 0s linear 300ms; }
/* past the hero: icon only, so the button never covers a line of text (QA 9.11.2026) */
.wa-float.is-compact,
[dir="rtl"] .wa-float.is-compact { width: 56px; padding: 0; gap: 0; justify-content: center; }
.wa-float.is-compact .wa-float-text { display: none; }

/* ---------------------------------------------------------------- hero */
.journey { position: relative; }
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.fog {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(70vmax 55vmax at 0% 0%, rgba(20, 184, 166, 0.30), transparent 58%),
    radial-gradient(60vmax 50vmax at 100% 100%, rgba(47, 111, 208, 0.26), transparent 60%),
    radial-gradient(40vmax 30vmax at 100% 0%, rgba(15, 118, 110, 0.18), transparent 60%),
    radial-gradient(120vmax 90vmax at 50% 50%, #070a0b, #030404);
}
.fog i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.55), rgba(94, 234, 212, 0) 70%);
  opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}
.fog i:nth-child(1) { width: 18px; height: 18px; top: 18%; left: 12%; }
.fog i:nth-child(2) { width: 34px; height: 34px; top: 68%; left: 22%; animation-duration: 34s; opacity: 0.22; }
.fog i:nth-child(3) { width: 12px; height: 12px; top: 30%; left: 78%; animation-duration: 22s; }
.fog i:nth-child(4) { width: 46px; height: 46px; top: 80%; left: 70%; animation-duration: 40s; opacity: 0.16; background: radial-gradient(circle, rgba(120, 160, 240, 0.6), rgba(120, 160, 240, 0) 70%); }
.fog i:nth-child(5) { width: 22px; height: 22px; top: 10%; left: 56%; animation-duration: 30s; opacity: 0.25; }
.fog i:nth-child(6) { width: 14px; height: 14px; top: 52%; left: 92%; animation-duration: 28s; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, -60px, 0); } }

.hero-poster, .hero-loop, #glass {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.hero-poster {
  width: min(118vw, 54svh);
  height: auto;
  aspect-ratio: 1;
  top: calc(64px + min(118vw, 54svh) * 0.42);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  transition: opacity 900ms ease;
  animation: poster-in 1.2s var(--ease) both;
}
/* phones: the pre-recorded logo loop sits exactly on the poster (same box, same mask) and fades in over it once it plays */
.hero-loop {
  width: min(118vw, 54svh);
  height: auto;
  aspect-ratio: 1;
  top: calc(64px + min(118vw, 54svh) * 0.42);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  max-width: 100%;  /* the poster is an img and gets the global max-width: 100%; the video must match its box exactly */
  object-fit: cover;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-loop.is-live { opacity: 1; }
/* once the loop really plays, the still poster under it fades out, so no frozen logo shows through the moving one */
.hero.loop-live .hero-poster { animation: none; opacity: 0; transition: opacity 1s ease; }
@keyframes poster-in { from { opacity: 0; scale: 0.96; } to { opacity: 1; scale: 1; } }
#glass { display: none; width: 100%; height: 100%; translate: none; top: 0; left: 0; opacity: 0; transition: opacity 1s ease; }

.hero-inner { position: relative; z-index: 2; min-height: 100svh; pointer-events: none; }
/* the empty part of the hero lets clicks through to the office video under it (its sound button); the copy stays clickable */
.hero-inner > * { pointer-events: auto; }
.hero-copy {
  position: relative;
  padding: calc(64px + min(118vw, 54svh) * 0.80) 20px 112px;
  text-align: center;
}
.eyebrow { font: 500 13px/1.4 var(--font-brand); color: var(--accent-soft); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
[dir="rtl"] .eyebrow { letter-spacing: 0.02em; text-transform: none; }
.hero-heading {
  font: 500 clamp(21px, 5.6vw, 27px)/1.45 var(--font);
  color: #fff;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-row { display: block; }
.hero-row .line { display: inline-block; }
.hero-row .line.d { display: none; }
.hero-row--offer .line { color: var(--accent-soft); }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12), 0 14px 44px -10px rgba(20, 184, 166, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 300ms var(--ease), background-color 250ms ease, box-shadow 300ms ease;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-soft); box-shadow: 0 0 0 8px rgba(20, 184, 166, 0.16), 0 18px 50px -10px rgba(20, 184, 166, 1); }
.btn-primary:focus-visible { outline-color: #fff; outline-offset: 5px; }
.btn-primary, .btn-link { white-space: nowrap; }
.btn-sub { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(4, 11, 10, 0.12); }
.btn-link { display: inline-flex; gap: 8px; align-items: center; color: var(--text); text-decoration: none; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.btn-link:hover { color: var(--accent-soft); border-color: currentColor; }
[dir="rtl"] .btn-link-prompt::before { content: "<-"; }

/* the ASCII frame and its full-size stage; on the desktop journey site.js turns them into a shrinking card */
.ho-frame { position: absolute; inset: 0; z-index: 1; overflow: clip; }
.ho-stage { position: absolute; inset: 0; }
.ho-show { display: none; }

/* the office video as a block under the headline: phones, reduced motion, any screen without the journey */
.ho-block { padding: 8px 0 0; }
.ho-sectors--m { max-width: 760px; margin-inline: auto; }
.ho-video-m { width: 100%; min-height: 200px; }
.ho-caption {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 14px; min-height: 1.6em;
  font-size: 14px; line-height: 1.5; color: var(--muted);
  transition: opacity 240ms ease;
}
.ho-caption--m { max-width: 760px; margin-inline: auto; }
.ho-cap-n { flex: none; font: 500 12px/1.5 var(--font-mono); color: var(--accent-soft); letter-spacing: 0.04em; }
.ho-caption.is-swap { opacity: 0; }
.scroll-cue { display: none; }

/* glass surface */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025) 60%);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------------------------- navigator: "what are you looking for?" */
.finder { padding: clamp(56px, 8vw, 110px) 0 8px; }
.finder-term { max-width: 980px; overflow: hidden; }
.finder-bar {
  padding: 12px 22px;
  font: 500 12px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--glass-line);
  text-align: left;
}
[dir="rtl"] .finder-bar { text-align: left; } /* an English terminal line: left in both languages */
.finder-q {
  margin: 26px 28px 18px;
  font: 500 clamp(22px, 2.3vw, 30px)/1.3 var(--font);
  color: #fff;
  letter-spacing: -0.01em;
}
.finder-caret { display: inline-block; width: 0.5em; height: 0.95em; margin-inline-start: 6px; vertical-align: -0.12em; background: var(--accent); animation: caret 1s steps(1) infinite; }
.js .finder:not(.is-typing) .finder-typed { visibility: hidden; }
.finder-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding: 0 28px 22px; }
.finder-list li { border-top: 1px solid var(--line); transition: opacity 500ms ease, transform 500ms var(--ease); }
.finder-list li:nth-child(2) { transition-delay: 70ms; }
.finder-list li:nth-child(3) { transition-delay: 140ms; }
.finder-list li:nth-child(4) { transition-delay: 210ms; }
.finder-list li:nth-child(5) { transition-delay: 280ms; }
.finder-list li:nth-child(6) { transition-delay: 350ms; }
.js .finder:not(.is-typed) .finder-list li { opacity: 0; transform: translateY(8px); }
.finder-list a {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0;
  text-decoration: none; color: var(--text); font-size: 17px;
  transition: color 250ms ease, padding 400ms var(--ease);
}
.finder-list a::before { content: "->"; direction: ltr; unicode-bidi: isolate; display: inline-block; flex: none; font: 500 14px/1 var(--font-mono); color: var(--accent); }
[dir="rtl"] .finder-list a::before { content: "<-"; }
.finder-list a:hover, .finder-list a:focus-visible { color: var(--accent-soft); padding-inline-start: 8px; }
.finder-note { margin-inline-start: auto; padding-inline-start: 12px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.service.is-found { background-color: rgba(20, 184, 166, 0.08); }

/* the services video player. Wide screens: in the sticky aside, the two columns equal so the window gets its full
   layout (it stacks under 480px); minmax(0, ...) so a window with long lines never widens its column */
@media (min-width: 1120px) {
  .services-grid.has-player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.svc-player { display: none; margin: 4px 0 0; }
.is-player-aside .svc-player { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.services-aside { min-width: 0; }
.svc-stage {
  position: relative;
  aspect-ratio: 720 / 460;   /* same box as the window, so nothing jumps while one video replaces another */
  border-radius: 8px;
  background: #0b0e0f;
  opacity: 1;
  transition: opacity 260ms ease;
}
.svc-stage.is-out { opacity: 0; }
.svc-cap { display: flex; align-items: baseline; gap: 10px; min-height: 1.6em; color: var(--muted); font-size: 14px; transition: opacity 260ms ease; }
.svc-cap.is-out { opacity: 0; }
.svc-cap-num { font: 500 13px/1.8 var(--font-mono); color: var(--accent); }
/* the service whose video is showing: a quiet mark, slow to change */
.has-player .service { transition: background-color 400ms ease, box-shadow 400ms ease; }
.service.is-playing { background-color: rgba(20, 184, 166, 0.05); box-shadow: inset -2px 0 0 var(--accent-2); }
[dir="ltr"] .service.is-playing { box-shadow: inset 2px 0 0 var(--accent-2); }
/* narrow screens: the video inside its own service, created only when it is near the screen */
.svc-inline { display: none; }
.is-player-inline .svc-inline { display: block; margin-top: 6px; min-height: 120px; border-radius: 8px; background: #0b0e0f; }

/* ---------------------------------------------------------------- showcase block (phones and reduced motion) */
.showcase-block { padding: 24px 0 48px; }
.showcase-block-inner { padding: 30px 24px; }
.showcase-block p { color: var(--muted); }
.showcase-block .section-title { margin-bottom: 14px; }
.showcase-block .section-title .line { display: inline; }
.showcase-facts { margin-top: 22px; display: grid; }
.showcase-facts li { padding: 16px 0; border-top: 1px solid var(--line); }
.showcase-facts h3 { font-size: 19px; line-height: 1.3; color: #fff; margin-bottom: 4px; font-weight: 500; }
.showcase-facts p { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.section-wrap { width: var(--wrap); margin: 0 auto; }
section { position: relative; }
.section-title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; color: #fff; }
[dir="rtl"] .section-title { letter-spacing: -0.01em; }
.section-title .line { display: block; width: fit-content; }
.section-title .line:last-child { color: var(--accent-soft); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; color: #fff; }
.num { font: 500 12px/1 var(--font-mono); color: var(--accent); letter-spacing: 0.08em; }

.offer, .services, .proof, .how, .faq, .contact { padding: clamp(80px, 11vw, 150px) 0; }
/* the hero stage and the carousel side cards reach past the screen edge on purpose; clip them (clip, not hidden:
   no scroll container, so the sticky hero keeps working), or the page is 141px wider than a 1024 screen (the roles ASCII light: 2px on phones) */
.hero, .roles, .proof { overflow-x: clip; }
.offer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px 56px; align-items: center; }
.offer-grid .section-title { grid-column: 1 / -1; margin-bottom: 12px; }
.offer-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer-points li { padding: 24px; display: grid; gap: 10px; align-content: start; }
.offer-points p { color: var(--muted); font-size: 15px; }
.offer-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
}
.offer-visual img { width: 100%; height: 100%; object-fit: cover; animation: slow-turn 18s ease-in-out infinite alternate; }
@keyframes slow-turn { from { transform: scale(1.04) rotate(-2deg); } to { transform: scale(1.08) rotate(2deg); } }

.services-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
.services-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.services-intro { color: var(--muted); max-width: 44ch; }
.services-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 26px 20px; /* inline room so the number never sits on the highlight line */ border-bottom: 1px solid var(--line); transition: background-color 300ms ease; }
.service-num { font: 500 13px/1.8 var(--font-mono); color: var(--accent); }
.service-body { display: grid; gap: 8px; }
.service-line { color: var(--text); max-width: 64ch; }
.service-proof { color: var(--muted); max-width: 64ch; padding-inline-start: 14px; border-inline-start: 2px solid var(--accent-2); font-size: 14px; }
.service-proof:empty { display: none; }
#service-0 h3 { color: var(--accent-soft); }

/* proof: 3D carousel on desktop, swipe list on phones */
.proof-head { display: grid; gap: 16px; max-width: 62ch; margin-bottom: 48px; }
.proof-intro { color: var(--muted); }
.proof-link { display: inline-flex; gap: 10px; width: fit-content; color: var(--accent-soft); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.carousel { position: relative; }
.carousel-stage { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 20px 24px; }
.carousel-stage::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 14px; width: max-content; }
.carousel-item { scroll-snap-align: center; width: min(82vw, 380px); flex: none; }
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
a.product-card:hover { border-color: rgba(94, 234, 212, 0.5); box-shadow: var(--glow); }
.product-shot { position: relative; aspect-ratio: 16 / 10; padding: 10px 10px 0; overflow: hidden; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 12px 12px 0 0; border: 1px solid var(--glass-line); border-bottom: 0; }
.product-shot::after { content: ""; position: absolute; inset: 10px 10px 0; border-radius: 12px 12px 0 0; background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), transparent 35%); pointer-events: none; }
.product-shot--mark { background: radial-gradient(closest-side, rgba(20, 184, 166, 0.25), transparent) center / 70% no-repeat, url("./assets/logo-mark-teal.png") center / 34% no-repeat; }
.product-shot--mark::after { display: none; }
.product-info { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--glass-line); }
.product-info p { color: var(--muted); font-size: 14px; }
.product-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-soft); margin-top: 4px; transition: gap 300ms var(--ease); }
.product-cta:empty { display: none; }
a.product-card:hover .product-cta { gap: 14px; }
.carousel-controls { display: none; }

.how .section-title { margin-bottom: 40px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { padding: 26px; display: grid; gap: 12px; align-content: start; }
.how-step p { color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--glass-line); border-radius: 18px; background: var(--glass); transition: background-color 300ms ease, border-color 300ms ease; }
.faq-list details[open] { background: var(--glass-2); border-color: rgba(94, 234, 212, 0.35); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; border-radius: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 18px; }
.faq-plus { font: 500 22px/1 var(--font-mono); color: var(--accent); transition: transform 300ms ease; flex: none; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 22px 22px; max-width: 70ch; }

.contact { padding-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-head { display: grid; gap: 28px; }
.contact-portrait { display: flex; align-items: center; gap: 16px; }
.contact-portrait img { width: 92px; height: 92px; flex: none; object-fit: cover; border-radius: 50%; border: 1px solid var(--accent); box-shadow: 0 0 30px -6px rgba(20, 184, 166, 0.6); }
.contact-portrait figcaption { color: #fff; font-size: 17px; }
.contact-body { padding: 30px; display: grid; gap: 22px; }
.contact-text { color: var(--muted); max-width: 52ch; }
.contact-links { border-top: 1px solid var(--line); }
.contact-links li { border-bottom: 1px solid var(--line); }
.contact-link {
  display: grid;
  grid-template-columns: minmax(96px, 0.5fr) 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 14px 0;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  transition: color 250ms ease, padding 450ms var(--ease);
}
.contact-kind { color: var(--muted); font-size: 14px; }
.contact-value { justify-self: start; }
.contact-arrow { color: var(--accent); font-size: 22px; transition: transform 450ms var(--ease); }
.contact-link:hover, .contact-link:focus-visible { color: var(--accent-soft); padding-inline-start: 0.5em; }
.contact-link:hover .contact-arrow { transform: rotate(45deg); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); transition: color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
.social-link:hover, .social-link:focus-visible { color: var(--accent-soft); border-color: var(--accent); transform: translateY(-2px); }
.contact-privacy { color: var(--muted); font-size: 14px; }
.contact-privacy a, .legal-links a { color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; }
.contact-privacy a:hover, .legal-links a:hover { color: var(--accent-soft); }
.site-legal { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: 64px; padding: 24px 0 96px; border-top: 1px solid var(--line); }
.contact-rights { color: var(--muted); font: 500 13px/1.5 var(--font-brand); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.legal-links a { display: inline-block; padding: 8px 0; }

/* ---------------------------------------------------------------- menu: terminal list in a glass panel */
.site-menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden;
}
.site-menu::backdrop { background: rgba(3, 4, 5, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu-shell {
  position: absolute;
  top: calc(max(16px, env(safe-area-inset-top)) + 72px);
  left: 50%;
  width: min(980px, calc(100% - 48px));
  translate: -50% 0;
  padding: 26px 30px 30px;
  background: linear-gradient(160deg, rgba(22, 28, 31, 0.92), rgba(10, 13, 15, 0.94));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 90px -30px rgba(20, 184, 166, 0.45);
  opacity: 0;
  transform: translateY(-14px) scale(0.985);
  transition: opacity 320ms ease, transform 420ms var(--ease);
  max-height: calc(100svh - 120px);
  overflow-y: auto;
}
.site-menu.is-open .menu-shell { opacity: 1; transform: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.menu-info-label { font: 500 12px/1.4 var(--font-brand); color: var(--muted); letter-spacing: 0.06em; }
.menu-close { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 14px; }
.menu-close:hover { background: rgba(255, 255, 255, 0.12); }
.close-icon { position: relative; width: 16px; height: 16px; }
.close-icon span { position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.close-icon span:first-child { transform: rotate(45deg); }
.close-icon span:last-child { transform: rotate(-45deg); }
.menu-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.menu-nav a {
  display: flex; align-items: center; gap: 12px; min-height: 48px;
  text-decoration: none; font-size: 20px; color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 250ms ease, padding 400ms var(--ease);
}
.menu-nav a::before { font-size: 14px; line-height: 1; opacity: 0.7; transition: opacity 250ms ease; }
[dir="rtl"] .menu-nav a::before { content: "<-"; }
.menu-nav a:hover, .menu-nav a:focus-visible { color: var(--accent-soft); padding-inline-start: 8px; }
.menu-nav a:hover::before { opacity: 1; }
.menu-info-text { margin-top: 20px; color: var(--muted); font-size: 14px; max-width: 60ch; }
.menu-journey-only { display: none; }
html.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- desktop layout */
@media (min-width: 901px) {
  .hero-loop { display: none; }
  .hero-poster {
    /* the poster shows the logo at scale 0.36 (bigger for phones). Live desktop logo (site.js heroScale/shiftFrac):
       English 0.30 at 73%, Hebrew 0.35 at 29% (0.31 on screens narrower than 1.45:1). Size = scale / 0.36 * 100svh. */
    width: 83.333svh;
    height: 83.333svh;
    top: 50%;
    left: 73%;
  }
  [dir="rtl"] .hero-poster { left: 29%; width: 97.222svh; height: 97.222svh; }
  .hero-inner { display: flex; align-items: center; min-height: 100svh; width: var(--wrap); margin: 0 auto; }
  .hero-copy { padding: 110px 0 80px; width: min(560px, 46%); text-align: start; }
  .hero-heading { font-size: clamp(22px, 1.85vw, 30px); line-height: 1.38; }
  [dir="ltr"] .hero-copy { width: min(640px, 50%); }
  [dir="rtl"] .hero-heading { font-size: clamp(28px, 2.5vw, 40px); }
  .hero-row .line.d { display: inline-block; }
  .hero-row .line.m { display: none; }
  .hero-actions { flex-direction: row; align-items: center; gap: 22px; margin-top: 34px; }
  .eyebrow { margin-bottom: 18px; }
}

@media (min-width: 901px) and (max-aspect-ratio: 29/20) {
  [dir="rtl"] .hero-poster { width: 86.111svh; height: 86.111svh; }
}

/* the camera journey: wide screens with motion allowed */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .journey { height: 420svh; }
  .hero { position: sticky; top: 0; height: 100svh; }
  .gl-on #glass { display: block; }
  .gl-ready #glass { opacity: 1; }
  .gl-ready .hero-poster { opacity: 0; }
  .hero-copy {
    opacity: var(--copy, 1);
    transform: translateY(calc((1 - var(--copy, 1)) * -48px));
    visibility: var(--copy-vis, visible);
  }
  .showcase-block { display: none; }
  .menu-journey-only { display: list-item; }
  .ho-block { display: none; }

  /* frame shrink: the full-screen ASCII frame becomes a card on the start side (right in Hebrew) */
  .ho-frame {
    inset: auto;
    top: 0; left: 0;
    width: var(--fw, 100%);
    height: var(--fh, 100%);
    transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0);
    border-radius: calc(var(--r, 0) * 18px);
    box-shadow:
      0 0 0 1px rgba(94, 234, 212, calc(var(--r, 0) * 0.22)),
      0 24px 60px -24px rgba(20, 184, 166, calc(var(--r, 0) * 0.55));
  }
  .ho-stage {
    inset: auto;
    top: 0; left: 0;
    width: var(--hw, 100%);
    height: var(--hh, 100%);
    transform-origin: 0 0;
    transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0) scale(var(--ss, 1));
  }
  .ho-show { display: block; position: absolute; inset: 0; z-index: 0; }
  .ho-show-inner {
    display: grid;
    /* start side: logo card and copy; end side: the office video */
    grid-template-columns: clamp(290px, 27vw, 380px) minmax(0, 1fr);
    column-gap: clamp(40px, 4vw, 64px);
    align-items: center;
    width: var(--wrap);
    height: 100%;
    margin: 0 auto;
    padding: 104px 0 44px;
  }
  .ho-media {
    min-width: 0;
    opacity: var(--win, 0);
    transform: translateY(calc((1 - var(--win, 0)) * 24px));
    visibility: var(--win-vis, hidden);
  }
  /* the sector window as wide as the column allows, but never taller than the screen leaves room for:
     the window is 460/720 of its width high, plus about 110px for the tabs and the two-line step caption */
  .ho-sectors { width: min(100%, calc((100svh - 280px) * 720 / 460)); margin-inline: auto; }
  .ho-video { width: 100%; }
  .ho-side { order: -1; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
  .ho-anchor { width: min(100%, 40svh); aspect-ratio: 1; }
  .ho-copy {
    opacity: var(--side, 0);
    transform: translateY(calc((1 - var(--side, 0)) * 20px));
    visibility: var(--side-vis, hidden);
  }
  .ho-copy .eyebrow { margin-bottom: 12px; }
  .ho-title { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.22; letter-spacing: -0.02em; color: #fff; font-weight: 500; margin-bottom: 12px; }
  .ho-title .line { display: block; }
  .ho-title .line:last-child { color: var(--accent-soft); }
  .ho-desc { color: var(--muted); font-size: 15px; line-height: 1.6; }
  [dir="rtl"] .ho-desc { font-size: 16px; }
  .scroll-cue {
    display: flex; align-items: center; gap: 12px;
    position: absolute; z-index: 3; bottom: 32px; inset-inline-start: max(48px, calc((100% - 1240px) / 2));
    font: 500 12px/1 var(--font-mono); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
    opacity: calc(1 - min(1, var(--p) * 4));
  }
  [dir="rtl"] .scroll-cue { font-family: var(--font-he); font-size: 13px; letter-spacing: 0; text-transform: none; }
  .scroll-cue i { position: relative; width: 120px; height: 1px; background: var(--line); overflow: hidden; }
  .scroll-cue b { position: absolute; inset: 0; background: var(--accent); transform-origin: var(--cue-origin, left); animation: cue 2.4s var(--ease) infinite; }
  [dir="rtl"] .scroll-cue b { --cue-origin: right; }
  @keyframes cue { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

  /* desktop carousel: coverflow in 3D */
  .carousel-stage { overflow: visible; padding: 0; perspective: 1600px; height: 490px; touch-action: pan-y; }
  .carousel-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
  .carousel-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: 440px;
    margin-left: -220px;
    transition: transform 900ms var(--ease), opacity 700ms ease, filter 700ms ease;
    will-change: transform;
  }
  .carousel-item .product-card { background: linear-gradient(160deg, rgba(30, 38, 41, 0.97), rgba(10, 13, 15, 0.98)); }
  .carousel-item .product-info { transition: opacity 500ms ease; }
  .carousel-item.is-side .product-info { opacity: 0; }
  .carousel-item.is-side .product-card { pointer-events: none; }
  .carousel-item.is-side:focus-within .product-card { pointer-events: auto; }
  .carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
  .carousel-btn {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--glass-2); border: 1px solid var(--glass-line); color: #fff;
    transition: background-color 250ms ease, border-color 250ms ease;
  }
  .carousel-btn:hover { background: rgba(20, 184, 166, 0.22); border-color: rgba(94, 234, 212, 0.5); }
  .carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  [dir="ltr"] .carousel-btn svg { transform: scaleX(-1); }
  .carousel-status { min-width: 9ch; text-align: center; font: 500 13px/1 var(--font-mono); color: var(--muted); }
  [dir="rtl"] .carousel-status { font-family: var(--font-he); font-size: 14px; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 900px) {
  :root { --wrap: calc(100% - 40px); --radius: 18px; }
  .nav-capsule { width: calc(100% - 20px); height: 56px; padding: 5px; padding-left: 12px; gap: 4px; }
  .nav-menu { width: 46px; padding: 0; justify-content: center; }
  .nav-menu-label, .nav-prompt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-burger { display: block; }
  .lang-toggle { padding: 0 10px; font-size: 12px; height: 44px; }
  .nav-cta { height: 44px; padding: 0 16px; font-size: 14px; }
  .sound-toggle { height: 44px; padding: 0 9px; gap: 4px; }
  .nav .sound-icon { display: block; }
  .nav .sound-wave { width: 20px; }
  .sound-toggle .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sound-toggle--menu .sound-label { position: static; width: auto; height: auto; clip: auto; }
  .sound-toggle--menu { padding: 0 14px; height: 40px; }
  .preloader { animation-delay: 0.8s; }
  .pre-mark { display: none; }
  .finder-list { grid-template-columns: 1fr; padding: 0 20px 14px; }
  .finder-q { margin: 22px 20px 14px; }
  .finder-bar { padding: 11px 20px; }
  .finder-list a { flex-wrap: wrap; row-gap: 2px; }
  .finder-note { flex-basis: 100%; margin: 0; padding-inline-start: 26px; font-size: 13px; }
  .logo-word { font-size: 17px; }
  .offer-grid, .services-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .offer-points { grid-template-columns: 1fr; gap: 12px; }
  .offer-visual { max-width: 340px; margin: 0 auto; width: 100%; order: -1; grid-row: 2; }
  .services-aside { position: static; }
  .service { grid-template-columns: 40px 1fr; padding: 22px 14px; }
  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .menu-shell { padding: 20px; width: calc(100% - 20px); top: calc(max(16px, env(safe-area-inset-top)) + 64px); }
  .menu-nav ul { grid-template-columns: 1fr; }
  .menu-nav a { font-size: 18px; }
  .contact-link { grid-template-columns: 1fr auto; row-gap: 2px; font-size: 18px; }
  .contact-kind { grid-column: 1 / -1; }
  .contact-body { padding: 22px; }
  .site-legal { padding-bottom: 110px; }
  .wa-float { height: 52px; font-size: 14px; }
  .wa-float.is-compact,
  [dir="rtl"] .wa-float.is-compact { width: 52px; }
}
@media (max-width: 420px) {
  .logo-word { display: none; }
  .nav-capsule { padding-left: 10px; }
}
/* very narrow: the CTA keeps its room, the sound toggle moves into the menu */
@media (max-width: 359px) {
  .nav .sound-toggle { display: none; }
  .sound-toggle--menu { display: inline-flex; }
}
@media (max-width: 900px) and (max-height: 520px) {
  .hero-poster, .hero-loop { width: 46svh; top: 52%; left: 78%; }
  [dir="rtl"] .hero-poster, [dir="rtl"] .hero-loop { left: 22%; }
  .hero-copy { padding: 84px 20px 40px; padding-inline-start: 40%; text-align: start; }
  .hero-actions { align-items: flex-start; }
}

/* ---------------------------------------------------------------- reduced motion */
/* short desktop screens (768 high laptops): a smaller card, so the copy under it (taller in English) still fits */
@media (min-width: 901px) and (max-height: 820px) and (prefers-reduced-motion: no-preference) {
  .ho-show-inner { padding-top: 96px; }
  .ho-anchor { width: min(100%, 31svh); }
  .ho-side { gap: 18px; }
  .ho-title { font-size: clamp(24px, 2vw, 30px); }
}

@media (max-width: 900px) {
  .ho-block { padding: 0 0 8px; }
  .ho-caption { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-loop { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .preloader { display: none; }
  .grain { display: none; }
  html { scroll-behavior: auto !important; }
}

/* Hebrew is never letter-spaced or case-transformed */
[dir="rtl"] .contact-kind, [dir="rtl"] .menu-info-label { letter-spacing: 0; text-transform: none; }
.wordmark { font-family: var(--font-brand); }

/* no visible page scrollbar (Netanel, 9.11.2026); scrolling itself still works by wheel, touch and keys */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------- virtual employees: roles list + one live window (9.11.2026, v2)
   Show, don't tell: a list of roles on the start side, the live window of the chosen role on the end side, framed by
   the site's ASCII light. Wide screens: the window is sticky and follows the role being read. Phones: list, then
   the window, then the chosen role's line; the roles play one after another. */
.roles { padding: clamp(80px, 11vw, 150px) 0; }
.roles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-areas: "head player" "list player" "open player";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 5vw, 72px);
}
.roles-head { grid-area: head; display: grid; gap: 14px; max-width: 60ch; margin-bottom: 32px; }
.roles-intro { color: var(--muted); }

/* the list: a role is a row; the chosen one is lit, the rest wait in the dark */
.roles-list { grid-area: list; border-top: 1px solid var(--line); }
.role { position: relative; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.role::before {   /* the chosen row's rule on the inline-start edge */
  content: ""; position: absolute; inset-block: -1px; inset-inline-start: 0; width: 2px;
  background: var(--accent); opacity: 0; transition: opacity 300ms ease;
}
.role.is-active::before { opacity: 1; }
.role h3 { font-size: 20px; line-height: 1.35; }
.role-btn {
  display: flex; align-items: baseline; gap: 14px; width: 100%;
  padding: 0 0 0 0; padding-inline-start: 22px;
  text-align: start; color: var(--muted);
  transition: color 300ms ease;
}
.role-btn:hover, .role.is-active .role-btn { color: #fff; }
.role { cursor: pointer; }
@media (hover: hover) { .role:hover .role-btn { color: #fff; } .role:hover .role-d { color: var(--text); } }
.role-btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 6px; border-radius: 4px; }
.role-mark {
  flex: none; width: 9px; height: 9px; transform: translateY(-2px);
  border: 1.5px solid var(--muted); transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}
.role.is-active .role-mark { background: var(--accent); border-color: var(--accent); transform: translateY(-2px) rotate(12deg); }
.role-d, .role-proof, .role-demo { margin-inline-start: 45px; }
.role-d { margin-top: 6px; color: var(--muted); max-width: 46ch; transition: color 300ms ease; }
.role.is-active .role-d { color: var(--text); }
.role-proof { margin-top: 10px; font-size: 14px; color: var(--muted); padding-inline-start: 12px; border-inline-start: 2px solid var(--accent-2); max-width: 46ch; }
.role-proof:empty { display: none; }
.role-demo {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  color: var(--accent-soft); text-decoration: none; font-size: 14px;
  padding: 2px 0; border-bottom: 1px solid rgba(94, 234, 212, 0.4);
  transition: color 160ms ease, border-color 160ms ease;
}
.role-demo:hover { color: #fff; border-color: currentColor; }
.role-arrow::before { content: "->"; direction: ltr; unicode-bidi: isolate; display: inline-block; font: 500 13px/1 var(--font-mono); }
[dir="rtl"] .role-arrow::before { content: "<-"; }

/* the player: one live window in the site's ASCII light */
.roles-player { grid-area: player; margin: 0; margin-top: 8px; align-self: start; position: sticky; top: 104px; display: grid; gap: 12px; min-width: 0; }
.roles-frame { position: relative; }
.roles-ascii { --pad: 56px; position: absolute; inset: calc(-1 * var(--pad)); width: calc(100% + 2 * var(--pad)); height: calc(100% + 2 * var(--pad)); pointer-events: none; }
.roles-stage {
  position: relative;
  aspect-ratio: 720 / 460;   /* the window's own shape, held before it loads, so nothing jumps */
  border-radius: 8px; background: #0b0e0f;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.22), 0 18px 60px -24px rgba(20, 184, 166, 0.45);
  transition: opacity 220ms ease;
}
.roles-stage.is-out { opacity: 0; }
.roles-cap { display: flex; align-items: baseline; gap: 12px; min-height: 1.7em; color: var(--muted); font-size: 14px; }
.roles-cap-n { flex: none; font: 500 13px/1.8 var(--font-mono); color: var(--accent); direction: ltr; unicode-bidi: isolate; }
.roles-detail { display: none; }

/* the open role: any repeated manual task, straight to the free check */
.role-open {
  grid-area: open; align-self: start;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: start;
  margin-top: 28px; padding: 22px 22px 22px;
  border: 1px solid rgba(94, 234, 212, 0.28); border-radius: 12px; background: rgba(20, 184, 166, 0.06);
}
.role-open .role-icon { width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.role-open h3 { font-size: 19px; line-height: 1.35; color: #fff; }
.role-open-d { color: var(--muted); margin-top: 4px; max-width: 48ch; }
.role-cta {
  grid-column: 2; justify-self: start; margin-top: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  text-decoration: none; font-size: 15px; white-space: nowrap;
  transition: background-color 160ms ease;
}
.role-cta:hover { background: var(--accent-soft); }
.role-cta:focus-visible { outline-color: #fff; outline-offset: 4px; }
.role-icon { width: 22px; height: 22px; flex: none; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* trust: two plain statements under the section, not a headline */
/* outside .roles-grid on purpose: the sticky window must stop above it, never ride over it */
.trust-line { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.trust-line li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border: 1px solid var(--glass-line); border-radius: 12px; background: var(--glass); }
.trust-line p { color: var(--muted); }
.trust-line strong { color: #fff; font-weight: 500; }


/* phones and narrow screens: list, the window, the chosen role's line, the open role, trust */
@media (max-width: 1100px) {
  .roles-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "player" "open"; grid-template-rows: none; }
  .roles-head { margin-bottom: 24px; }
  .roles-head .section-title .line { display: inline; }
  .roles-player { position: static; margin-top: 22px; }
  .role { padding: 0; }
  .role-btn { min-height: 50px; align-items: center; padding-block: 12px; }
  .role h3 { font-size: 17px; }
  .role-d, .role .role-proof, .role .role-demo { display: none; }
  .roles-ascii { --pad: 22px; }
  .roles-detail { display: grid; gap: 10px; justify-items: start; align-content: start; margin-top: 4px; }   /* min-height: tallest role (demos.js) */
  .roles-detail-d { color: var(--text); }
  .roles-detail .role-proof, .roles-detail .role-demo { margin-inline-start: 0; margin-top: 0; }
  .role-open { margin-top: 32px; }
}
@media (max-width: 900px) {
  .roles-cap { font-size: 13px; }
  .role-open { padding: 20px 18px; }
  .role-cta { grid-column: 1 / -1; white-space: normal; }
  .trust-line { grid-template-columns: 1fr; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .role::before, .role-btn, .role-mark, .role-d, .roles-stage { transition: none; }
}
.services-list .service { scroll-margin-top: 24px; } /* "watch the video" lands below the nav */

/* phones: the English hero button ("Free 20-minute check" + "on WhatsApp") was 378px in a 350px column and
   ran 14px past both page edges (QA 9.11.2026); tighter padding keeps it inside */
@media (max-width: 420px) {
  .btn-primary { padding: 0 18px; gap: 8px; font-size: 16px; max-width: 100%; }
  .btn-sub { padding: 4px 8px; }
}

/* skeleton loader: a live window that is still loading (its slot is empty) shows the window's outline,
   a title bar and a few quiet text lines, with a slow sheen passing over it. The moment the window mounts,
   the slot is no longer :empty and the skeleton is gone; no script involved. */
#ho-video:empty, #ho-video-m:empty, #roles-stage:empty, #svc-stage:empty {
  position: relative;
  aspect-ratio: 720 / 460;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(94, 234, 212, 0.08), rgba(94, 234, 212, 0.08)) 0 0 / 100% 34px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 92% 22% / 38% 11px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.045)) 92% 36% / 62% 9px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.045)) 92% 47% / 54% 9px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)) 50% 78% / 84% 30% no-repeat,
    #0b0e0f;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.16);
}
#ho-video:empty::after, #ho-video-m:empty::after, #roles-stage:empty::after, #svc-stage:empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(94, 234, 212, 0.10) 50%, transparent 65%) 0 0 / 250% 100% no-repeat;
  animation: skel-sheen 1.6s ease-in-out infinite;
}
@keyframes skel-sheen { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) {
  #ho-video:empty::after, #ho-video-m:empty::after, #roles-stage:empty::after, #svc-stage:empty::after { animation: none; }
}

/* ================================================================ all-business homepage (dist-allbiz, 12.11.2026)
   Pain (a real to-do list), business types, a hired-employee comparison, the week after. Brand tokens only. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pain, .biz, .compare, .week { padding: clamp(80px, 11vw, 150px) 0; }
.pain { padding-top: clamp(64px, 8vw, 120px); }
.tag {
  display: inline-block; flex: none; font-size: 12px; line-height: 1.6; padding: 0 8px;
  color: var(--accent-soft); border: 1px solid rgba(94, 234, 212, 0.4); border-radius: 6px;
}

/* pain: the head and the cost on the start side, the day's list on the end side */
.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: "head todo" "cost todo";
  grid-template-rows: auto 1fr;
  gap: 32px clamp(40px, 5vw, 80px);
  align-items: start;
}
.pain-head { grid-area: head; display: grid; gap: 16px; }
.pain-intro { color: var(--muted); max-width: 46ch; }
.todo { grid-area: todo; background: #0b0e0f; border: 1px solid var(--glass-line); border-radius: 10px; }
.todo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.todo-head { color: #fff; font-size: 17px; }
.todo-list li { display: flex; align-items: baseline; gap: 14px; padding: 11px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text); font-size: 16px; line-height: 1.5; }
.todo-list li:last-child { border-bottom: 0; }
.todo-box { flex: none; width: 14px; height: 14px; border: 1.5px solid #6d7878; border-radius: 3px; transform: translateY(2px); position: relative; }
.todo-note { margin-inline-start: auto; flex: none; font-size: 12px; line-height: 1.6; padding: 0 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; }
.todo-list .is-done .todo-t { color: #7b8585; text-decoration: line-through; }
.todo-list .is-done .todo-box { background: var(--accent-2); border-color: var(--accent-2); }
.todo-list .is-done .todo-box::after { content: ""; position: absolute; left: 3px; top: 1px; width: 4px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.todo-list .is-pushed .todo-t { color: #fff; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.todo-list .is-pushed .todo-note { color: var(--accent-soft); border-color: rgba(94, 234, 212, 0.4); }
.pain-cost { grid-area: cost; }
.pain-cost h3 { margin-bottom: 10px; }
.cost-list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); max-width: 52ch; }
.pain-end { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--accent-soft); font-size: 18px; line-height: 1.5; max-width: 46ch; }

/* business types: a plain two-column list, one concrete example each */
.biz-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: 32px; }
.biz-intro { color: var(--muted); }
.biz-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 0; }
.biz-item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.biz-item dt { color: #fff; font-size: 17px; line-height: 1.45; }
.biz-item dd { margin: 0; color: var(--muted); }
.role-open--biz { margin-top: 40px; max-width: 780px; }
.biz-item dt span { display: block; }
.biz-item .biz-sub { margin-top: 2px; font-size: 14px; color: var(--muted); }
.biz-item.is-demo { cursor: pointer; }
.biz-item.is-demo dt { position: relative; }
.biz-item.is-demo.is-active dt > span:first-child { color: var(--accent-soft); }
.biz-play-wrap { grid-column: 2; margin: 0; }
.biz-play {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 2px 0;
  color: var(--accent-soft); font-size: 14px;
  border-bottom: 1px solid rgba(94, 234, 212, 0.4);
  transition: color 160ms ease, border-color 160ms ease;
}
.biz-play:hover { color: #fff; border-color: currentColor; }
.biz-play:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; border-radius: 2px; }

/* the sector player in the hero (demos.js createSectorsHero): tabs, one live window, the step line under it */
.ho-sectors { display: grid; gap: 10px; min-width: 0; margin: 0; }
.ho-sectors .ho-caption { margin-top: 0; min-height: 3em; align-items: flex-start; }   /* two lines held, so a longer step never moves the page */
.biz-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.biz-tab {
  position: relative; padding: 10px 0 12px; font-size: 16px; color: var(--muted);
  transition: color 160ms ease;
}
.biz-tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--accent); opacity: 0; transition: opacity 200ms ease; }
.biz-tab:hover, .biz-tab.is-active { color: #fff; }
.biz-tab.is-active::after { opacity: 1; }
.biz-tab:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; border-radius: 3px; }
.biz-stage {
  position: relative;
  aspect-ratio: 720 / 460;
  border-radius: 8px; background: #0b0e0f;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.22), 0 18px 60px -24px rgba(20, 184, 166, 0.45);
  transition: opacity 220ms ease;
}
.biz-stage:has(.ou) { aspect-ratio: auto; }
.biz-stage.is-out { opacity: 0; }
.sc-host:empty {
  position: relative; aspect-ratio: 720 / 460; border-radius: 8px; overflow: hidden;
  background:
    linear-gradient(rgba(94, 234, 212, 0.08), rgba(94, 234, 212, 0.08)) 0 0 / 100% 34px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 92% 22% / 38% 11px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.045)) 92% 36% / 62% 9px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035)) 50% 78% / 84% 30% no-repeat,
    #0b0e0f;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.16);
}
@media (max-width: 700px) {
  .biz-tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .biz-tab { font-size: 15px; white-space: nowrap; }
  .biz-play-wrap { grid-column: 1; }
  .ho-sectors .ho-caption { min-height: 4.5em; }
  .sc-host:empty { aspect-ratio: auto; height: 494px; }
}
@media (prefers-reduced-motion: reduce) { .biz-stage, .biz-tab, .biz-tab::after { transition: none; } }

/* comparison: a real table; the virtual employee's column is the lit one */
.compare-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: 32px; }
.compare-intro { color: var(--muted); }
.compare-box { border: 1px solid var(--glass-line); border-radius: 10px; overflow: hidden; background: #0b0e0f; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 13px 22px; text-align: start; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, 0.06); line-height: 1.5; }
.compare-table thead th { border-top: 0; font-weight: 500; font-size: 15px; color: var(--muted); padding-block: 16px; }
.compare-table thead .is-us { color: var(--accent-soft); }
.compare-table th[scope="row"] { color: #fff; font-weight: 500; width: 27%; }
.compare-table td { color: var(--muted); width: 33%; }
.compare-table .is-us { background: rgba(20, 184, 166, 0.07); }
.compare-table td.is-us { color: #fff; }
.compare-group th { font-size: 13px; font-weight: 500; color: var(--accent-soft); background: rgba(255, 255, 255, 0.025); padding-block: 9px; }
.compare-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* the week after: five days, what you do on top, what ran in the background under it */
.week-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: 32px; }
.week-intro { color: var(--muted); }
.week-cal { border: 1px solid var(--glass-line); border-radius: 10px; background: #0b0e0f; padding: 16px 0 22px; }
.week-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; padding: 0 22px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.week-key { display: inline-flex; align-items: center; gap: 8px; }
.week-key::before { content: ""; width: 10px; height: 10px; border-radius: 2px; flex: none; }
.week-key--you::before { background: var(--accent); }
.week-key--bg::before { border: 1.5px solid #6d7878; }
.week-legend .tag { margin-inline-start: auto; }
.week-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.week-day { padding: 16px 16px 0; border-inline-start: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.week-day:first-child { border-inline-start: 0; }
.week-name { font-size: 14px; color: var(--muted); }
.week-you { padding: 10px 12px; border-radius: 4px; background: rgba(20, 184, 166, 0.12); border-inline-start: 2px solid var(--accent); color: #fff; font-size: 15px; line-height: 1.45; }
.week-bg { padding-inline-start: 12px; border-inline-start: 1.5px solid #3b4444; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* the navigator, now in front of the other services */
.finder--more { padding-bottom: 0; }
/* the other services: tighter, so they read as a list and not as the main offer */
.services--more .service { padding-block: 18px; }
.services--more .service-proof { font-size: 14px; }

@media (max-width: 1100px) {
  .pain-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "todo" "cost"; grid-template-rows: none; }
  .biz-list { grid-template-columns: 1fr; }
  .week-days { grid-template-columns: minmax(0, 1fr); }
  .week-day { grid-template-columns: 5.5rem minmax(0, 1fr); grid-template-rows: none; padding: 14px 18px; border-inline-start: 0; border-top: 1px solid var(--line); gap: 8px 14px; }
  .week-day:first-child { border-top: 0; }
  .week-name { grid-row: span 2; padding-top: 10px; }
}
@media (max-width: 700px) {
  .todo-top { padding: 12px 16px; }
  .todo-list li { padding: 10px 16px; gap: 12px; font-size: 15px; flex-wrap: wrap; }
  .todo-list .todo-t { flex: 1 1 0; min-width: 0; }
  .biz-item { grid-template-columns: minmax(0, 1fr); }
  .compare-table, .compare-table thead, .compare-table tbody { display: block; }
  .compare-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare-table th, .compare-table td { width: auto; padding: 10px 14px; font-size: 14px; }
  .compare-table thead .compare-corner { display: none; }
  .compare-table th[scope="row"] { grid-column: 1 / -1; width: auto; padding-bottom: 2px; font-size: 15px; }
  .compare-table th[scope="row"] + td, .compare-table th[scope="row"] + td + td { border-top: 0; }
  .compare-group th { grid-column: 1 / -1; }
  .week-legend { padding: 0 16px 14px; }
  .week-day { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .week-name { grid-row: auto; padding-top: 0; }
}

/* round 4: links from the business cards, the menu and the footer to the sector pages (/<slug>/) */
.biz-link-wrap { grid-column: 2; margin: 0; }
.biz-link { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--text); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(94, 234, 212, 0.45); }
.biz-link:hover { color: var(--accent-soft); text-decoration-color: currentColor; }
.biz-link:focus-visible, .sector-links a:focus-visible, .menu-sectors a:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 2px; }
.sector-links { flex: 1 0 100%; margin-bottom: 8px; }
.sector-links-h, .menu-sectors-h { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.sector-links ul, .menu-sectors ul { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.sector-links a, .menu-sectors a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(255, 255, 255, 0.25); }
.sector-links a:hover, .menu-sectors a:hover { color: var(--accent-soft); text-decoration-color: currentColor; }
.menu-sectors { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .biz-link-wrap { grid-column: 1; } }

/* round 5, phones: every small link gets a 44px tall touch area without moving its look (the area is an invisible
   strip centred on the link), and the last small text lines go up to 14px */
@media (max-width: 1100px) {
  .role-demo, .biz-play, .biz-link, .proof-link { position: relative; }
  .role-demo::after, .biz-play::after, .biz-link::after, .proof-link::after {
    content: ""; position: absolute; inset-inline: -6px; top: 50%; height: 44px; transform: translateY(-50%);
  }
  .sector-links a, .menu-sectors a, .legal-links a { padding-block: 12px; }
  .sector-links ul, .menu-sectors ul { gap: 0 18px; }
  .nav-logo { min-width: 44px; justify-content: center; }
  .sector-links-h, .menu-sectors-h, .contact-rights, .week-bg, .eyebrow, .btn-sub { font-size: 14px; }
  /* the step line under the roles window: two lines held, so a longer step never pushes the page down */
  .roles-cap { font-size: 14px; min-height: 3.3em; }
  /* finder: a long label stays beside its arrow and wraps under itself (it dropped below the arrow on a phone) */
  .finder-label { flex: 1 1 0; min-width: 0; }
}
/* round 5, phones: the inline video takes the number column and the row's side padding too (350px instead of
   274px on a 390px phone, 320px on a 360px phone, where 292px was narrower than the windows' top bars) */
@media (max-width: 760px) {
  .is-player-inline .svc-inline { margin-inline: -62px -14px; }
}

/* round 5: a narrow roles window has one fixed height (37em at its 11px floor = 407px, demos/roles.css), so the
   slot holds that height before the window loads and after it is dropped; the page below never jumps (it moved
   183px each time the section came near or left, and a menu jump landed 183px off) */
.roles-frame { container-type: inline-size; }
@container (max-width: 480px) {
  .roles-frame #roles-stage, .roles-frame #roles-stage:empty { aspect-ratio: auto; height: 407px; }
}

/* Round 5: the whole role row is the target, so the keyboard focus frame wraps the row */
@supports selector(:has(*)) {
  .role:has(.role-btn:focus-visible) { outline: 2px solid var(--accent-soft); outline-offset: 4px; border-radius: 8px; }
  .role .role-btn:focus-visible { outline: none; }
}

/* 12.11.2026: wide screens, room after the last role so the sticky demo window stays fully in view
   while the last role ("מסמכים ותשובות") crosses the reading line, instead of sliding under the nav */
@media (min-width: 1101px) {
  .roles-list { padding-bottom: 220px; }
}
