/* SENTENCE, the skeleton of the new site. The values are the live site's (site/site.css, 17.10-21.11): paper, ink and
   one red pen, Plex Mono for Latin and numbers, Plex Sans Hebrew 500 for Hebrew, hairlines nowhere, motion only on
   opacity, transform and colour. New here: the network, the craft and product pages. No new look: that waits for the
   brand work. */

:root {
  color-scheme: light;
  --paper: #F6F6F3;
  --ink: #141414;
  --graphite: #3A3A37;
  --gray: #6B6B66;
  --red: #C8321F;
  --tint: #EFD7D1;
  --bar: #EEEDE8;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --heb: 'IBM Plex Sans Hebrew';
  --text: 'IBM Plex Mono', var(--heb), ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 5vw, 48px);
  --header: clamp(64px, 7vw, 84px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); background: var(--paper); }
html:lang(he) body, [lang="he"]:not(html) { font-family: var(--heb), var(--mono); }
html:lang(he) [lang="en"], html:lang(he) .phone, html:lang(he) .lg { font-family: var(--mono); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[dir="ltr"] .punch, [dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] .who-lines, [dir="ltr"] .btn { letter-spacing: -0.02em; word-spacing: -0.22em; }
[dir="ltr"] .call .note, [dir="ltr"] .site-footer, [dir="ltr"] .page-line { letter-spacing: -0.01em; word-spacing: -0.14em; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-weight: 500; font-size: 1.125rem; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; font-weight: 500; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, .punch { text-wrap: balance; }
p, li { text-wrap: pretty; }
.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; }
.skip { position: absolute; inset-inline-start: 12px; top: 0; z-index: 40; background: var(--ink); color: var(--paper); padding: 8px 14px; text-decoration: none; transform: translateY(-110%); transition: transform 160ms var(--ease-out); }
.skip:focus { transform: translateY(12px); }

/* ---------- the logo, and the pilcrow that opens things ---------- */
.lg { direction: ltr; unicode-bidi: isolate; white-space: nowrap; line-height: 1; display: inline-block; position: relative; font-family: var(--mono); font-weight: 500; color: var(--ink); }
.lg .pm { display: inline-block; font-size: .56em; vertical-align: .6em; margin-right: .2em; color: var(--red); }
.lg .wdw { position: relative; display: inline-block; }
.lg .wd { display: inline-block; letter-spacing: .08em; }
.lg .tc { position: absolute; opacity: 0; background: var(--red); }
/* a craft's name: the logo, and its small word beside it (¶SENTENCE AI) */
.lg.lockup .dsc { display: inline-block; margin-left: .42em; font-size: .62em; letter-spacing: .06em; color: var(--graphite); vertical-align: .08em; }
.pil { font-family: var(--mono); font-weight: 500; font-style: normal; color: var(--red); font-size: .56em; vertical-align: .6em; line-height: 0; letter-spacing: 0; word-spacing: 0; margin-inline-end: .2em; display: inline-block; }
html[lang="he"] .pil { font-size: .49em; margin-inline-end: .16em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header); background: var(--paper); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr-end { display: flex; align-items: center; gap: 0; }
#langSlot:empty { display: none; }
.home { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.home .lg { font-size: clamp(17px, 2.1vw, 23px); transition: opacity 160ms ease; }
.home:active .lg { opacity: .7; }
@media (max-width: 370px) { .home .lg { font-size: 15px; } }
/* the language links: the picker without scripts; with scripts the typewriter keys stand in their place */
.langs-alt { display: flex; gap: 0 12px; flex-wrap: wrap; justify-content: flex-end; }
.langs-alt a { color: var(--graphite); text-decoration: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: .9375rem; }
.langs-alt a[aria-current="true"] { color: var(--ink); }
/* the ¶ stands on the left of the name in every language, as in the logo */
.langs-alt a[aria-current="true"] { direction: ltr; }
.langs-alt a[aria-current="true"]::before { content: "¶"; font-family: var(--mono); color: var(--red); font-size: .56em; vertical-align: .6em; margin-right: .2em; }
.js.keys-on .langs-alt { display: none; }
@media (max-width: 1099px) { main { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- parts: each one fills a screen, centred and calm ---------- */
.part { position: relative; min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header)); display: grid; align-content: center; padding-block: clamp(48px, 7vh, 96px); text-align: center; }
.part .wrap { display: grid; justify-items: center; gap: clamp(16px, 2.4vw, 26px); }
.part h2 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); line-height: 1.1; max-width: 22ch; }

/* the opening */
.hero { padding-block: clamp(48px, 8vh, 96px); }
.hero .wrap { gap: clamp(22px, 3.4vh, 36px); }
.hero-logo { margin: 0; font-weight: inherit; }
.hero-logo .lg { font-size: clamp(48px, 10.5vw, 132px); }
.hero-logo.paused .lg * { animation-play-state: paused !important; }
.hero-logo.stopped .lg * { animation: none !important; }
.btn { display: inline-block; max-width: 100%; text-wrap: balance; min-height: 44px; padding-block: 8px; color: var(--ink); font-size: clamp(1.125rem, 1.7vw, 1.375rem); text-decoration: none; transition: transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.btn .words, .next-link .words { --ul: var(--red); background: linear-gradient(var(--ul), var(--ul)) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn:active { transform: scale(0.97); }
.btn:active .words { --ul: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn:hover .words, .next-link:hover .words { --ul: var(--ink); } }
.catch-arrow { display: inline-block; margin-inline-start: .4em; font-family: var(--mono); font-size: 1.15em; line-height: 1; color: var(--red); transition: opacity 300ms ease, transform 200ms var(--ease-out); }
.js .btn:not(.done) .catch-arrow { opacity: 0; }
.btn.done .catch-arrow { animation: catch-nod 1100ms cubic-bezier(.45, 0, .55, 1) 260ms 2; }
@keyframes catch-nod { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(5px); } }

/* who: four lines, no names */
.who-lines { list-style: none; margin: 0 auto; padding: 0; display: grid; justify-items: center; gap: .5em; font-size: clamp(1.3125rem, 2.3vw, 1.875rem); line-height: 1.35; max-width: 44ch; }
.who-lines li { text-wrap: balance; }
.who-lines .aside { color: var(--gray); }

/* call: one line, one number */
.call h2 { font-size: clamp(2rem, 5.6vw, 4.5rem); line-height: 1.08; max-width: 18ch; }
.phone { display: inline-flex; align-items: baseline; min-height: 48px; font-family: var(--mono); font-size: clamp(1.625rem, 4.2vw, 3.125rem); letter-spacing: .04em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .22em; text-decoration-thickness: 2px; transition: text-decoration-color 200ms ease, transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.phone span { white-space: nowrap; }
.phone:active { transform: scale(0.98); text-decoration-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .phone:hover { text-decoration-color: var(--ink); } }
.call .note { color: var(--gray); }

/* ---------- the network ---------- */
/* without scripts: the crafts and the systems as two quiet rows of names. With scripts (network.js): the names stand
   in the network and the lines run between them, in the look of HQ's tasks web (look ג). */
.net { padding-block: clamp(24px, 4vh, 56px); }
.net-stage { position: relative; width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 28px; justify-items: center; }
.net-hubs, .net-leaves { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.net-lines, .net-root { display: none; }
.node { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.node .tile { flex: none; display: block; }
/* a paper tile on the paper page keeps its edge: a one-pixel rim, never a shadow (HQ's icons, "כמו במק, בלי צל") */
.tile-paper { border-radius: 22.37%; box-shadow: 0 0 0 1px rgba(20, 20, 20, .16); }
.node .dot { flex: none; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.node.hub .nm { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.node.leaf .nm { font-size: clamp(.9375rem, 1.2vw, 1.0625rem); color: var(--graphite); }
.node .lg { font-size: 1em; }
.js .net-stage.live { display: block; height: clamp(520px, 78svh, 760px); padding: 0; }
@media (max-width: 599px) { .js .net-stage.live { height: clamp(460px, 66svh, 600px); } }
.js .net-stage.live .net-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.js .net-stage.live .net-root { display: block; position: absolute; left: 0; top: 0; font-family: var(--mono); color: var(--red); line-height: 1; font-size: clamp(34px, 4vw, 44px); will-change: transform; }
.js .net-stage.live .net-hubs, .js .net-stage.live .net-leaves { display: contents; }
.js .net-stage.live .node { direction: ltr; position: absolute; left: 0; top: 0; will-change: transform; background: var(--paper); border-radius: 10px; padding: 2px 6px; transition: opacity 240ms ease, color 160ms ease; }
.js .net-stage.live .node.hub { flex-direction: column; gap: 6px; padding: 0 6px 2px; }
.js .net-stage.live .node.leaf[data-side="right"] { flex-direction: row; }
.js .net-stage.live .node.leaf[data-side="left"] { flex-direction: row-reverse; }
.js .net-stage.live .node.leaf[data-side="center"] { flex-direction: column; gap: 4px; }
.js .net-stage.live .node.dim { opacity: .32; }
.js .net-stage.live .node.on .nm { color: var(--ink); }
.node:active { transform-origin: center; }
@media (hover: hover) and (pointer: fine) { .node:hover .nm { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; } }

/* ---------- a craft or a product: its icon, its name, what belongs to it ---------- */
.page-head .wrap { gap: clamp(18px, 2.6vw, 28px); }
.page-icon .tile { display: block; width: clamp(88px, 12vw, 132px); height: auto; }
.page-title { font-size: clamp(2.125rem, 5vw, 3.75rem); line-height: 1.1; max-width: 20ch; }
.page-title .lg { font-size: 1em; }
.page-line { color: var(--graphite); font-size: clamp(1.125rem, 1.8vw, 1.375rem); max-width: 38ch; }
.page-crafts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.craft-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--graphite); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.craft-link .lg { font-size: 1em; }
@media (hover: hover) and (pointer: fine) { .craft-link:hover { color: var(--ink); } }
.items { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.item { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-size: clamp(1.125rem, 1.7vw, 1.3125rem); -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out); }
.item .tile { display: block; flex: none; }
.item:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .item:hover .nm { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; } }
.next { margin-top: clamp(16px, 4vh, 40px); }
.next-link { display: inline-flex; align-items: baseline; min-height: 44px; text-decoration: none; color: var(--graphite); font-size: clamp(1rem, 1.3vw, 1.125rem); }
.next-link .lg { font-size: 1em; }
@media (hover: hover) and (pointer: fine) { .next-link:hover { color: var(--ink); } .next-link:hover .catch-arrow { transform: translateX(3px); } [dir="rtl"] .next-link:hover .catch-arrow { transform: translateX(-3px); } }

/* ---------- the short pages (accessibility, privacy, terms): the live site's a11y.css ---------- */
.statement { max-width: 68ch; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); text-align: start; }
.statement article { display: grid; gap: 14px; }
.statement h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); line-height: 1.15; margin-bottom: 8px; }
.statement h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; margin-top: 18px; }
.statement p, .statement li { color: var(--graphite); }
.statement ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; }
.statement a { color: var(--ink); text-underline-offset: 5px; text-decoration-color: var(--red); }
.statement strong { font-weight: 500; color: var(--ink); }
.statement .updated { color: var(--gray); margin-top: 18px; }
.statement .docs { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 24px 0 0; }
.statement .docs a { color: var(--graphite); text-decoration-color: var(--gray); min-height: 44px; display: inline-flex; align-items: center; }
.statement .nw, .statement a[href^="tel:"] { white-space: nowrap; }
.statement a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }
.back { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-underline-offset: 5px; text-decoration-color: var(--red); margin-top: 24px; }
.lost-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }

/* ---------- footer ---------- */
.site-footer { padding-block: 32px; font-size: 1rem; color: var(--gray); }
.site-footer .wrap { display: flex; justify-content: center; align-items: center; gap: 8px 28px; flex-wrap: wrap; }
.site-footer .punch { flex-basis: 100%; text-align: center; margin-bottom: clamp(10px, 2vh, 20px); font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.35; color: var(--ink); }
.site-footer .legal { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.foot-mark { white-space: nowrap; color: var(--gray); }
.foot-mark .lg { font-size: 1em; margin-inline-end: .35em; }
.a11y-link { color: var(--graphite); text-underline-offset: 5px; text-decoration-color: var(--gray); min-height: 44px; display: inline-flex; align-items: center; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .a11y-link:hover { color: var(--ink); text-decoration-color: var(--red); } }
.motion-toggle { background: none; border: 0; padding: 0 2px; min-height: 44px; cursor: pointer; font-size: inherit; color: var(--gray); text-decoration: underline; text-decoration-color: var(--gray); text-underline-offset: 5px; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .motion-toggle:hover { color: var(--ink); text-decoration-color: var(--red); } }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
/* the strip at the bottom on phones never hides the footer */
@media (max-width: 1099px) { html[data-menu="top"] .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- text that types itself when you reach it: a red draft that turns to ink ---------- */
.type-wait main .part, .type-wait .site-footer .punch { opacity: 0; }
.typed .ch { position: relative; }
.typed .cl { display: inline-block; }
.js .typed:not(.done) .ch { opacity: 0; }
.js .typed .ch.on { opacity: 1; color: var(--red); transition: color 260ms ease; }
.js .typed.settled .ch.on { color: inherit; }
.typed .ch.cur::after { content: ""; position: absolute; inset-inline-start: 100%; top: .25em; width: .06em; height: .85em; background: var(--red); }
html[lang="he"] .typed .ch.cur::after { top: .3em; height: .8em; }
.typed .ch.cur.forever::after { animation: caret-blink 1060ms steps(1, end) 3 forwards; }
.js .typed:not(.started) > .pil { opacity: 0; }
html.motion-stopped .typed .ch.cur.forever::after, html.motion-stopped .catch-arrow { animation: none; }
@keyframes caret-blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .typed .ch.cur.forever::after, .catch-arrow { animation: none !important; }
  .btn, .phone, .item, .skip { transition: none; }
  .btn:active, .phone:active, .item:active { transform: none; }
}
@media print {
  .js .typed .ch, .js .typed > .pil { opacity: 1 !important; color: inherit !important; }
  .typed .ch.cur::after, .motion-toggle, .mt-bar, .mt-nav { display: none; }
  .hero-logo .lg * { animation: none !important; }
  .site-header { position: static; }
}

/* ================= brand book 3.0 (approved 24.11.2026) =================
   The logo and the marks are the final files (parts/brand.mjs). Measurements from the book: the mark is two thirds of
   a capital's height with its top on the cap line, a third of its height before the name; the name at .08 letter
   spacing; the small word at .62 of the name, .06 spacing, .31 after the name, in grey, never red. Logo letters never
   below 18 px (an outlined logo file at 16 px tall carries letters of about 19 px); a mark alone never below 16 px.
   Type: headings 34-56 px, subtitles 22-26, lead 20-27, text 17-20, footer 16; one weight, 500. Motion happens once
   and rests: no endless blinking. */
svg.logo { display: block; width: auto; height: 1em; }
/* forced colours (high contrast): the letters of a logo take the system's text colour, so a dark scheme does not swallow
   the ink; the red ¶ keeps its colour (checked 28.11.2026: the header's name could not be read on black) */
@media (forced-colors: active) { svg.logo [fill="#141414"], svg.logo [fill="#6B6B66"] { fill: CanvasText; } }
svg.mark { display: inline-block; width: auto; height: 1em; }
.home { min-height: 44px; }
.home svg.logo { height: clamp(16px, 1.75vw, 21px); }
/* the ¶ that opens a heading: the brand's mark at the size of the line, raised to the cap line */
svg.pil { font-size: 1em; line-height: 1; height: .62em; width: .62em; vertical-align: .156em; margin-inline-end: -.02em; }
/* Hebrew letters stand about .62 of the size (Plex Sans Hebrew), lower than Latin capitals */
html[lang="he"] svg.pil { font-size: 1em; height: .55em; width: .55em; vertical-align: .13em; }

/* the opening: the logo writes itself, the ¶ first and the name after it */
.hero .wrap { min-height: 40vh; align-content: center; }
.hero-logo { font-family: var(--mono); font-weight: 500; font-size: clamp(40px, 9.2vw, 124px); line-height: 1; white-space: nowrap; margin: 0; color: var(--ink); }
.hero-logo .hl-mark { height: .62em; width: .62em; vertical-align: .156em; margin-right: -.02em; }
.hero-logo .hl-name { letter-spacing: .08em; }
.hero-logo .hl-word { font-size: .62em; letter-spacing: .06em; margin-left: .5em; color: var(--gray); }
.hero-logo .typed .ch.cur::after, .hero-logo.typed .ch.cur::after { top: .1em; height: .8em; }

/* the three divisions on the home */
.dv-list { list-style: none; margin: 0; padding: 0; display: grid; justify-items: center; gap: clamp(34px, 5vw, 56px); }
.division { display: grid; justify-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; -webkit-tap-highlight-color: transparent; }
.division svg.logo { height: clamp(18px, 2.6vw, 28px); max-width: 86vw; }
.dv-line { color: var(--graphite); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; text-wrap: balance; }
.division .catch-arrow { opacity: .9; }
@media (hover: hover) and (pointer: fine) { .division:hover .dv-line { color: var(--ink); } .division:hover .catch-arrow { transform: translateX(3px); } [dir="rtl"] .division:hover .catch-arrow { transform: translateX(-3px); } }

/* a division page */
.page-head { min-height: 0; padding-block: clamp(56px, 12vh, 128px) clamp(24px, 4vh, 40px); }
.page-title { margin: 0; line-height: 1; }
.page-title svg.logo { height: clamp(26px, 5vw, 52px); max-width: 90vw; margin-inline: auto; }
.page-line { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.5; color: var(--graphite); max-width: 42ch; text-wrap: balance; }
.division-body { max-width: 760px; padding-bottom: clamp(56px, 10vh, 112px); }
.block { margin-top: clamp(44px, 7vw, 72px); }
.block h2 { font-size: clamp(22px, 2.6vw, 26px); line-height: 1.25; margin-bottom: 20px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.items li { scroll-margin-top: calc(var(--header) + 24px); }
.it-name { font-size: clamp(20px, 2vw, 22px); line-height: 1.3; margin: 0; font-weight: 500; }
.it-line { margin: 4px 0 0; color: var(--graphite); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.items li:target .it-name { color: var(--red); }
.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: var(--graphite); font-size: clamp(17px, 1.6vw, 20px); }
.division-body .next { margin-top: clamp(52px, 8vw, 84px); }
.next-link { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; text-decoration: none; }
.next-link svg.logo { height: 16px; }

/* the map */
.node svg.mark { height: 24px; width: 24px; flex: none; }
.net-root svg.mark { height: clamp(40px, 4.4vw, 52px); width: auto; display: block; }
.js .net-stage.live .net-root { font-size: 16px; }
.node.leaf .nm { font-size: clamp(.875rem, 1.1vw, 1rem); }

/* SENTENCE AI: only the chevron blinks, twice, 0.43 s each, then rests (brand book, Motion) */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-stopped) .page-title svg.logo-ai .chev,
  html:not(.motion-stopped) .division svg.logo-ai .chev { animation: chev-blink 430ms steps(1, end) 700ms 2; }
}
@keyframes chev-blink { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }

/* the footer: the signature of SENTENCE's own site, the logo and the year (brand book, Signature) */
.site-footer .wrap { gap: 10px 28px; }
.foot-mark { display: inline-flex; align-items: center; gap: .5em; color: var(--gray); }
.foot-mark svg.logo { height: 16px; }

/* the first screen says there is more below: one red arrow under the logo, once the name is written; it nods twice and rests */
.scroll-cue { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-top: clamp(18px, 4vh, 40px); text-decoration: none; color: var(--red); font-family: var(--mono); font-size: 1.4rem; opacity: 0; transition: opacity 400ms ease; -webkit-tap-highlight-color: transparent; }
.no-js .scroll-cue, html:not(.js) .scroll-cue, .hero.cue-on .scroll-cue { opacity: 1; }
.hero.cue-on .scroll-cue span { display: inline-block; animation: catch-nod 1100ms cubic-bezier(.45, 0, .55, 1) 200ms 2; }
@media (prefers-reduced-motion: reduce) { .hero.cue-on .scroll-cue span { animation: none; } }

/* ---------- the new home, direction C (Ron 24.11.2026: "ג, פירוק והרכבה") ----------
   The film and every scene sit straight on the page's paper; their edges fade into it (a mask, no blur, no glass),
   so no box shows around them. Text never moves with a scene: it stands beside it and reads on its own. */
.film-box, .scene-box { position: relative; width: 100%; margin-inline: auto; aspect-ratio: 16 / 9; }
.film-box { max-width: 1280px; }
.film, .scene, .film-still { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper);
  -webkit-mask-image: radial-gradient(ellipse 74% 70% at 50% 50%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 74% 70% at 50% 50%, #000 60%, transparent 100%); }
.film-still { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.film-box.is-still .film-still { opacity: 1; }
.film-box.is-still .film { visibility: hidden; }
html:not(.js) .film-still { opacity: 1; }
.scene { cursor: pointer; }
.motion-stopped .scene { cursor: default; }

.part.opening { min-height: auto; align-content: start; padding-block: 0 clamp(36px, 6vh, 72px); }
.op-text { margin-top: clamp(-72px, -5vw, -16px); position: relative; }
.op-title { margin: 0; line-height: 1; }
.op-title svg.logo { height: clamp(30px, 5.2vw, 66px); width: auto; max-width: 88vw; }
.op-line { margin: 0; font-size: clamp(1.1875rem, 2.1vw, 1.625rem); line-height: 1.4; color: var(--graphite); }


section.division { min-height: auto; justify-items: stretch; gap: 0; text-align: start; padding-block: clamp(64px, 11vh, 150px); }
section.division .wrap { justify-items: stretch; gap: clamp(40px, 6vw, 92px); }
.dv-head { display: grid; justify-items: center; text-align: center; gap: clamp(12px, 1.6vw, 18px); }
.dv-title { margin: 0; line-height: 1; }
section.division .dv-title svg.logo { height: clamp(30px, 4.6vw, 58px); width: auto; max-width: 88vw; }
section.division .dv-line { margin: 0; font-size: clamp(1.1875rem, 2vw, 1.5625rem); line-height: 1.45; color: var(--graphite); max-width: 42ch; }
.svc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 5vw, 60px); }
.svc { text-align: center; scroll-margin-top: calc(var(--header) + 16px); }
.svc-name { margin: 0 0 10px; font-size: clamp(1.75rem, 3.1vw, 2.5rem); line-height: 1.15; font-weight: 500; }
.svc-line { margin: 0 auto; font-size: clamp(1.0625rem, 1.55vw, 1.3125rem); line-height: 1.6; color: var(--graphite); max-width: 36ch; text-wrap: pretty; }
.svc:target .svc-name { color: var(--red); }
.division-body { max-width: 1120px; }
/* the bar marks the division that is open (Ron 24.11: "החטיבה שאתה נמצא בה מסומנת באדום"; 25.11, of a division chosen on
   the stage: "שזה יהיה לחוץ למעלה שזה לחוץ למטה"): its name turns red, in the header's row and in the phone's strip
   alike. ui/menu-top.css carries the rule (aria-current); this line is for a page that has no such menu. */
.mt-link.is-here, .mt-blink.is-here { color: var(--red); }

/* the bar (Ron 24.11, the new site: "למעלה תמיד: הלוגו, שלוש החטיבות ולהתקשר"): on wide screens the menu sits in the
   header row, beside the logo; the division you are in turns red. Phones keep the strip at the bottom. */
@media (min-width: 1100px) {
  /* the room between the names is each name's own padding, so every name is a target a finger wide, the short "AI" too */
  html[data-menu="top"] .site-header .mt-nav { position: static; transform: none; flex-direction: row; align-items: center; gap: 0; }
  html[data-menu="top"] .site-header .hdr-end { gap: clamp(11px, 1.5vw, 23px); }
  html[data-menu="top"] .site-header .mt-link { font-size: 1rem; padding-inline: clamp(9px, 1.1vw, 17px); min-width: 44px; text-align: center; }
}

/* the film and the scenes melt into the page: their white paper multiplies into ours, so no box shows, and the red
   stays the brand's red (brightness 1.05 times the paper's 0.965 is about 1.01) */
.film, .scene, .film-still { mix-blend-mode: multiply; filter: brightness(1.05);
  -webkit-mask-image: radial-gradient(ellipse 78% 76% at 50% 50%, #000 66%, transparent 100%);
          mask-image: radial-gradient(ellipse 78% 76% at 50% 50%, #000 66%, transparent 100%); }

/* a division's name writes itself from its mark, letter by letter (brand book, Motion: "the ¶ is the cursor; the name is
   written after it, letter by letter"), once, when its section is reached */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.motion-stopped) section.division .dv-title svg.logo { clip-path: inset(0 100% 0 0); }
  html.js:not(.motion-stopped) section.division.is-in .dv-title svg.logo { clip-path: inset(0 0 0 0); transition: clip-path 760ms steps(20, end); }
}



/* the close: the three marks fold back into the ¶, the ¶ unwrites itself into the cursor, and the call is written
   under it (the opening film, the other way round) */
.call-scene-box { position: relative; width: 100%; max-width: 760px; margin: 0 auto clamp(-80px, -6vw, -24px); aspect-ratio: 16 / 9; }
.call-scene { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper); mix-blend-mode: multiply; filter: brightness(1.05); cursor: pointer;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 58%, transparent 100%); }
.part.call { min-height: auto; padding-block: clamp(40px, 8vh, 96px) clamp(72px, 12vh, 140px); }

/* ---------- the live stage (assets/stage.js; Ron 24.11.2026: "עומק ופרספקטיבה בין כל הסימנים שלקוח לא יגלול לנצח
   אינטראטיבי") ----------
   One screen. The canvas is the page's own paper (the same colour to the last digit), so there is no box around the
   picture. Everything one reads or presses is ordinary HTML laid over it. */
.stage { display: none; }
html.stage-want .stage, html.stage-on .stage { display: block; position: relative; overflow: hidden; overflow: clip; height: calc(100vh - var(--header)); height: calc(100svh - var(--header) - var(--strip, 0px)); min-height: 520px; }
@media (max-width: 1099px) { html.stage-want, html.stage-on { --strip: calc(52px + env(safe-area-inset-bottom, 0px)); } }
/* a phone held sideways (Ron, 27.11.2026): the stage is as high as the screen shows, not 520 px that run under the menu and the fold, and the header's row is lower */
@media (orientation: landscape) and (max-height: 560px) {
  html.stage-want, html.stage-on { --header: 48px; }
  html.stage-want .stage, html.stage-on .stage { min-height: 0; }
}
html.stage-want main > .part, html.stage-on main > .part { display: none; }
.stage [hidden] { display: none !important; }
.st-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y pinch-zoom; }   /* two fingers enlarge the page here as anywhere (the accessibility statement promises it; pan-y alone forbade it on the picture) */

/* a mark is a door: its button lies exactly over it (stage.js moves it every frame), its name and line hang under it */
.st-mark { all: unset; box-sizing: border-box; position: absolute; left: 0; top: 0; cursor: pointer; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.st-mark:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
/* the name and the line under a mark are pressed with it (Ron, 25.11.2026: "שגם הטקסט יהיה לחיץ לא רק הכותרת") */
.st-label { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(32ch, 40vw); display: grid; justify-items: center; gap: 3px; text-align: center; cursor: pointer; }
.st-name { font-family: var(--mono); font-size: clamp(1.0625rem, 1.5vw, 1.4375rem); letter-spacing: .04em; line-height: 1.2; color: var(--ink); transition: color 160ms ease; }
.st-line { font-size: clamp(.875rem, 1.05vw, 1rem); line-height: 1.45; color: var(--graphite); text-wrap: balance; }
.st-mark.is-far .st-line { display: none; }
.st-mark.is-far .st-name { font-size: 1rem; color: var(--graphite); animation: none !important; }
/* the page one leaves goes out softly while the camera starts on its way to the next */
html.stage-on .st-panel > section.is-out { opacity: 0; transition: opacity 220ms ease; }
html.stage-on .st-panel > section.is-out * { pointer-events: none !important; }
/* while the camera flies from one division to another the names stay out of the way; they come back when it has landed */
.st-label { transition: opacity 260ms ease; }
.stage.flying .st-label { opacity: 0; transition: none; }
/* a mark seen from an open division carries its name beside it: under it lies the open page's heading */
.st-mark.is-far .st-label { top: 50%; left: calc(100% + 12px); transform: translateY(-50%); justify-items: start; }
@media (hover: hover) and (pointer: fine) { .st-mark:hover .st-name { color: var(--red); } .st-mark:hover .st-line { color: var(--ink); } }
.st-mark:focus-visible .st-name { color: var(--red); }
@media (max-width: 899px) { .st-line { display: none; } }
/* the names are written when the marks have landed (brand book, Motion: the name is written, letter by letter) */
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-stopped) .st-name { animation: st-write 520ms steps(12, jump-none) both; }
  html:not(.motion-stopped) .st-line { animation: st-in 420ms ease 380ms both; }
}
@keyframes st-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes st-in { from { opacity: 0; } to { opacity: 1; } }

/* the panels: the divisions' own sections and the call, standing beside the picture */
.st-panel { position: absolute; inset: 0; pointer-events: none; z-index: 50; }
html.stage-on .st-panel > section { pointer-events: auto; position: absolute; margin: 0; min-height: 0; display: grid; text-align: start; }
html.stage-on .st-panel > section.division .wrap { padding: 0; max-width: none; justify-items: start; gap: clamp(16px, 3vh, 34px); }
html.stage-on .st-panel .dv-head { justify-items: start; text-align: start; gap: 10px; }
html.stage-on .st-panel section.division .dv-title svg.logo { height: clamp(20px, 2.3vw, 32px); }
html.stage-on .st-panel section.division .dv-line { font-size: clamp(1rem, 1.25vw, 1.1875rem); max-width: 34ch; }
html.stage-on .st-panel .svc-rows { gap: clamp(10px, 2.2vh, 24px); width: 100%; }
html.stage-on .st-panel .svc { display: block; text-align: start; cursor: pointer; }   /* a service is pressed anywhere on it, its line as well as its name */
html.stage-on .st-panel .svc-name { font-size: clamp(1.25rem, 1.9vw, 1.75rem); margin: 0 0 4px; }
.svc-btn { all: unset; cursor: pointer; transition: color 160ms ease; -webkit-tap-highlight-color: transparent; }
.svc-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }
.svc.is-hot .svc-btn, .svc.is-open .svc-btn { color: var(--red); }
html.stage-on .st-panel .svc-line { font-size: clamp(.9375rem, 1.1vw, 1.0625rem); max-width: 36ch; margin-inline: 0; }
html.stage-on .st-panel .call-scene-box { display: none; }
@media (min-width: 900px) {
  html.stage-on .st-panel > section.division { inset-block: 0; inset-inline-start: 0; width: 40%; align-content: center; padding: 64px clamp(12px, 2vw, 28px) 24px var(--gutter); overflow-y: auto; }
  html[dir="rtl"].stage-on .st-panel > section.division { padding: 64px var(--gutter) 24px clamp(12px, 2vw, 28px); }
  html.stage-on .st-panel > section.call { inset-inline: 0; bottom: 0; height: 40%; justify-items: center; align-content: start; text-align: center; padding: 0 var(--gutter); }
}
@media (max-width: 899px) {
  html.stage-on .st-panel > section.division { inset-inline: 0; bottom: 0; height: 60%; align-content: start; padding: 4px var(--gutter) 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  html.stage-on .st-panel > section.call { inset-inline: 0; bottom: 0; height: 54%; justify-items: center; align-content: start; text-align: center; padding: 0 var(--gutter); }
}
html.stage-on .st-panel > section.call .wrap { padding: 0; }

/* the panel's words arrive once, quietly, when the panel opens */
@media (prefers-reduced-motion: no-preference) {
  /* when the table turns, a page waits for its mark to arrive in front (--wait, set by stage.js) */
  html.stage-on:not(.motion-stopped) .st-panel section.division.is-in .dv-title svg.logo { transition-delay: var(--wait, 0ms); }
  html.stage-on:not(.motion-stopped) .st-panel section.is-in .dv-line { animation: st-in 420ms ease calc(520ms + var(--wait, 0ms)) both; }
  html.stage-on:not(.motion-stopped) .st-panel section.is-in .svc { animation: st-in 420ms ease both; }
  html.stage-on:not(.motion-stopped) .st-panel section.is-in .svc:nth-child(1) { animation-delay: 620ms; }
  html.stage-on:not(.motion-stopped) .st-panel section.is-in .svc:nth-child(2) { animation-delay: 740ms; }
  html.stage-on:not(.motion-stopped) .st-panel section.is-in .svc:nth-child(3) { animation-delay: 860ms; }
  html.stage-on:not(.motion-stopped) .st-panel section.call.is-in .wrap > * { animation: st-in 420ms ease 1900ms both; }
}

/* ---------- Media's three bars are pressed directly (Ron 24.11: "שכן יהיה מובן בסוף שלוחצים") ----------
   A clear area over each bar (stage.js places it); the bar under the pointer rises a little off the paper. */
.st-piece { all: unset; box-sizing: border-box; position: absolute; left: 0; top: 0; z-index: 45; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* a service's name carries no line under it (Ron, 24.11.2026: "הקו התחתון מתחת ל־website ... קצת גרוטסקי אולי נוותר עליו שיהיה נקי
   יותר"): it turns red under the pointer, and its mark's cursor comes to it */
.svc-t { display: inline-block; }
html.stage-on .st-panel .svc { transition: opacity 240ms ease; }
html.stage-on .st-panel .svc-rows:has(.is-open) .svc:not(.is-open) { opacity: .55; }
/* ---------- the words on the paper (Ron, 24.11.2026: "layout חדשני תתפרע", then "פרספקטיבה זה נחמד ממש אבל תעדן תהדק
   פרופורציות") ----------
   The picture is clear wherever there is only paper, and it lies over the page's own words: the marks pass in front of
   the text and their shadows fall on it. On a wide screen stage.js lays the open division's heading and services
   through the camera, so they lie on the paper in the picture's own perspective, in one column beside the mark. Every
   size here is a part of the mark's grid (--ppu is the pixels of one unit), so the type keeps its proportion to the
   mark at any screen: a name is a little under a tenth of the mark's height, its line a little over a twentieth. */
.st-canvas { z-index: 20; pointer-events: none; }
/* the far edge of the picture fades into the paper, so a mark lying just past it is never seen cut (Ron, 27.11.2026: "שזה באמת ייראה כאילו הם מונחים שם") */
@media (min-width: 900px) { .st-canvas { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 7%, #000 15%); mask-image: linear-gradient(to bottom, transparent 0, transparent 7%, #000 15%); } }   /* a narrow screen frames the open mark alone, close to its top */
/* a name is written by its mark's cursor: stage.js says how much of it is there (--typed, 0 to 1), from the side the
   language starts on; the service's line arrives when its name is whole */
.to-type .svc-t { clip-path: inset(-25% calc((1 - var(--typed, 1)) * 100%) -25% -3%); }
[dir="rtl"] .to-type .svc-t { clip-path: inset(-25% -3% -25% calc((1 - var(--typed, 1)) * 100%)); }
/* every word is written (Ron, 27.11.2026: "למה האפקט לא בכלל ... בטקסט ?"): a line's letters wait unseen from the first frame and come one by one */
.to-type .ch { opacity: 0; }
.to-type .ch.on { opacity: 1; }
html.stage-on .st-panel section.to-type .dv-line { animation: none !important; }
@media (min-width: 900px) { html.stage-on .st-panel { z-index: 10; } }
/* a screen wider than it is high is laid out as the wide screen is, whatever its width (stage.js sets .land): the far edge fades, the words lie in a column beside the mark, and the call stands under its cursor */
.stage.land .st-canvas { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 7%, #000 15%); mask-image: linear-gradient(to bottom, transparent 0, transparent 7%, #000 15%); }
html.stage-on .stage.land .st-panel { z-index: 10; }
html.stage-on .stage.land .st-panel > section.call { inset-inline: 0; top: auto; bottom: 0; height: 40%; justify-items: center; align-content: start; text-align: center; padding: 0 var(--gutter); }
html.stage-on .stage.land.on-paper .st-panel .dv-head { justify-items: start; text-align: start; }
html.stage-on .stage.land.on-paper .st-panel .svc { text-align: start; }
html.stage-on .stage.land.on-paper .st-panel section.division .dv-line, html.stage-on .stage.land.on-paper .st-panel .svc-line { margin-inline: 0; }
/* in the open view of a low stage nothing lies past the far edge, so the edge does not fade there: the two marks at the back stand whole */
.stage.low:not(.on-paper) .st-canvas { -webkit-mask-image: none; mask-image: none; }
/* on a low stage each mark carries its name alone, a size smaller */
.stage.low .st-line { display: none; }
.stage.low .st-name { font-size: .9375rem; }
.stage.low .st-label { top: calc(100% + 6px); }
/* on a low stage the call's words are a size smaller, so they stand whole under the cursor */
html.stage-on .stage.low .st-panel > section.call h2 { font-size: 1.5rem; }
html.stage-on .stage.low .st-panel > section.call .phone { font-size: 1.375rem; min-height: 40px; }
html.stage-on .stage.low .st-panel > section.call .note { font-size: .8125rem; margin-top: 2px; }
/* the words on the paper: a wide screen, and the row of a screen held upright */
html.stage-on .stage.on-paper .st-panel { z-index: 10; }
html.stage-on .stage.on-paper .st-panel > section.division { inset: 0; width: auto; height: auto; padding: 0; overflow: visible; pointer-events: none; display: block; }
html.stage-on .stage.on-paper .st-panel > section.division .wrap { display: block; padding: 0; max-width: none; }
html.stage-on .stage.on-paper .st-panel .svc-rows { display: block; }
html.stage-on .stage.on-paper .st-panel .dv-head, html.stage-on .stage.on-paper .st-panel .svc { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: auto; margin: 0; max-width: none; }
html.stage-on .stage.on-paper .st-panel .svc { animation: none !important; }
.on-paper .dv-head { display: grid; gap: calc(var(--ppu) * .8px * var(--ts, 1)) !important; justify-items: start; text-align: start; }
.on-paper .dv-title { line-height: 0; }
.on-paper .dv-title svg.logo { height: calc(var(--ppu) * 2px * var(--ts, 1)) !important; max-width: none !important; }   /* the page is measured in the paper's own units, so a limit in the screen's would press the logo small */
.on-paper .dv-line { font-size: calc(var(--ppu) * 1.25px * var(--ts, 1)) !important; line-height: 1.42 !important; max-width: none !important; margin: 0; }
.on-paper .svc-name { font-size: calc(var(--ppu) * 2.25px * var(--ts, 1)) !important; line-height: 1.15 !important; margin: 0 0 calc(var(--ppu) * .28px * var(--ts, 1)) !important; }
.on-paper .svc-line { font-size: calc(var(--ppu) * 1.2px * var(--ts, 1)) !important; line-height: 1.5 !important; max-width: none !important; margin: 0; }
html.stage-on .stage.on-paper .st-panel > section.division { background: none; }
/* on the table of a screen held upright each mark has its name and its line under it, as on a wide screen, a size smaller */
.stage.table .st-name { font-size: 1rem; }
.stage.table .st-line { display: block; font-size: .75rem; line-height: 1.4; }
.stage.table .st-label { max-width: 36vw; top: calc(100% + 8px); }
.stage.table .st-mark[data-id="strategies"] .st-label { max-width: 62vw; }   /* the nearest mark has the paper in front of it to itself */
.stage.table .st-mark.is-far .st-line { display: none; }
/* on a screen held upright the call lies on the paper too, and the cursor writes it (stage.js: measureCall, writeCall) */
html.stage-on .stage.table.on-paper .st-panel > section.call { inset: 0; width: auto; height: auto; padding: 0; overflow: visible; pointer-events: none; display: block; background: none; }
html.stage-on .stage.table.on-paper .st-panel > section.call .wrap { display: block; padding: 0; max-width: none; }
html.stage-on .stage.table.on-paper .st-panel > section.call .wrap > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; margin: 0; max-width: none; pointer-events: auto; text-align: center; animation: none !important; }
.stage.table.on-paper section.call h2 { font-size: calc(var(--ppu) * 2.1px * var(--ts, 1)) !important; line-height: 1.15 !important; }
.stage.table.on-paper section.call .phone { font-size: calc(var(--ppu) * 2.55px * var(--ts, 1)) !important; min-height: 0; line-height: 1.3; text-underline-offset: .22em; }
.stage.table.on-paper section.call .note { font-size: calc(var(--ppu) * 1.2px * var(--ts, 1)) !important; line-height: 1.42 !important; }
.stage.table.on-paper section.call.to-type h2 svg { opacity: 0; }
.stage.table.on-paper section.call.to-type h2.is-on svg { opacity: 1; }
.stage.table.on-paper section.call.to-type .note { opacity: 0; }
.stage.table.on-paper section.call.to-type.is-written .note { opacity: 1; transition: opacity 420ms ease; }
/* in the row of a screen held upright the page lies centred in front of its mark */
/* and its type is set for a phone: a line of 16 px, a name of 26, the division's logo 20 high (stage.js sets --ts so) */
.stage.table.on-paper .dv-head { gap: calc(var(--ppu) * .6px * var(--ts, 1)) !important; }
.stage.table.on-paper .dv-title svg.logo { height: calc(var(--ppu) * 1.5px * var(--ts, 1)) !important; }
.stage.table.on-paper .dv-title { width: 100% !important; max-width: none !important; justify-self: stretch; }
.stage.table.on-paper .dv-title svg.logo { margin-inline: auto; }   /* the logo stands on the middle of the page, whatever its length */
.stage.table.on-paper .dv-line { font-size: calc(var(--ppu) * 1.2px * var(--ts, 1)) !important; line-height: 1.4 !important; }
.stage.table.on-paper .svc-name { font-size: calc(var(--ppu) * 1.95px * var(--ts, 1)) !important; }
.stage.table.on-paper .svc-line { line-height: 1.42 !important; }
[dir="ltr"] .stage.table.on-paper .svc-line, [dir="ltr"] .stage.table.on-paper .dv-line { line-height: 1.34 !important; }   /* the mono face of the Latin languages runs long: a little closer, so the mark above keeps its size */
[dir="ltr"] .stage.table.on-paper .svc-name { font-size: calc(var(--ppu) * 1.85px * var(--ts, 1)) !important; }
.stage.table.on-paper .dv-head { justify-items: center; text-align: center; }
html.stage-on .stage.table.on-paper .st-panel .svc { text-align: center; }

/* ---------- 27.11.2026, evening (Ron: "בלי הלחצנים מרגיש לי והחצים", "לא מאוזן בתמונה", "שונה בין החטיבות") ----------
   On a narrow screen a division is one block under its mark, centred as the mark is, the same on the three pages. */
@media (max-width: 899px) {
  html.stage-on .st-panel > section.division, html.stage-on .st-panel > section.division .wrap, html.stage-on .st-panel .dv-head { text-align: center; justify-items: center; }
  html.stage-on .st-panel .svc { text-align: center; }
  html.stage-on .st-panel section.division .dv-line, html.stage-on .st-panel .svc-line { margin-inline: auto; }
  /* the panel is a sheet of the same paper laid over the lower part of the scene, its top edge fading in: the marks never go dark, and nothing lies under the words */
  html.stage-on .st-panel > section.division { background: linear-gradient(to bottom, transparent 0, var(--paper) 30px); padding-top: 22px; }
}
/* the way ends in the call, and the brand's cursor waits after its name in the menu ("ושיהיה קל להבין שיש בסוף אחרי
   להתקשר"); at the call itself the cursor on the stage is the one that waits */
.mt-caret { display: inline-block; width: 2px; height: .95em; margin-inline-start: 4px; vertical-align: -.12em; background: var(--red); }
.mt-call[aria-current] .mt-caret, html.cursor-on-stage .mt-caret { visibility: hidden; }   /* one cursor at a time: in a division, at the call and in the opening the cursor on the stage is the one that waits */
@media (prefers-reduced-motion: no-preference) { html:not(.motion-stopped) .mt-caret { animation: caret-blink 1060ms steps(1, end) infinite; } }

/* On a phone the names are written in the panel letter by letter, by a cursor of the division's own kind (Ron, 27.11.2026:
   "אין את האפקט של הכתיבה ?"); stage.js says how much of a name is there (--typed). The cursor stands at the writing end
   of the name and leaves when the name is whole. On a wide screen the mark's own cursor writes on the paper instead. */
.stage:not(.on-paper) .st-panel section.to-type .svc { animation: none !important; }
.stage:not(.on-paper) .st-panel section.to-type .svc-btn { position: relative; display: inline-block; }
.stage:not(.on-paper) .st-panel section.to-type .svc.is-typing .svc-btn::after { content: ""; position: absolute; pointer-events: none; }
[dir="rtl"] .stage:not(.on-paper) .st-panel section.to-type .svc.is-typing .svc-btn::after { right: calc(var(--typed, 0) * 100% + 3px); }
[dir="ltr"] .stage:not(.on-paper) .st-panel section.to-type .svc.is-typing .svc-btn::after { left: calc(var(--typed, 0) * 100% + 3px); }
.stage:not(.on-paper) .st-panel section.to-type[data-div="strategies"] .svc.is-typing .svc-btn::after { top: .16em; bottom: .1em; width: 2px; background: var(--red); }
.stage:not(.on-paper) .st-panel section.to-type[data-div="ai"] .svc.is-typing .svc-btn::after { bottom: .1em; height: 2px; width: .5em; background: var(--red); }
.stage:not(.on-paper) .st-panel section.to-type[data-div="media"] .svc.is-typing .svc-btn::after { top: .22em; bottom: .18em; width: .44em;
  background: linear-gradient(var(--red), var(--red)) 0 60% / 24% 58% no-repeat, linear-gradient(var(--red), var(--red)) 50% 50% / 24% 100% no-repeat, linear-gradient(var(--red), var(--red)) 100% 50% / 24% 34% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-stopped) .stage:not(.on-paper) .st-panel section.to-type[data-div="media"] .svc.is-typing .svc-btn::after { animation: go-voice 260ms ease-in-out infinite alternate; transform-origin: 50% 50%; }
}
@keyframes go-voice { from { transform: scaleY(.72); } to { transform: scaleY(1.12); } }
