/* ==========================================================================
   David Porat, single-page site. v3: light, in the look of his CRM (consulting-hub).
   The teal-blue-violet line is his CRM's brand line. Motion is sparse: transform/opacity
   only, and animations run only while on screen.
   Every colour and font lives in :root. Motion only under html.motion.
   ========================================================================== */

:root {
  color-scheme: light;
  /* surfaces (consulting-hub app/globals.css) */
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #edf1f5;
  --line: #e3e8ee;
  --line-strong: #cfd8e3;
  --field: #8494a8;              /* field edges, 3.1:1 on white */
  /* type */
  --ink: #16263d;
  --ink-2: #4a5a70;              /* 7.0:1 on white */
  --ink-3: #5f6e84;              /* 5.2:1 on white */
  --navy: #1e3a5f;
  /* the line */
  --teal: #3aa6a0;
  --teal-ink: #2b7f7a;           /* white text 4.8:1 */
  --blue: #2f5c96;               /* white text 6.8:1. Deepened from the CRM's #3d6fa8 on 20/11 (David), so the logo's magenta sits better beside it */
  --violet: #5b6abf;             /* white text 4.9:1 */
  --green: #2d7a4f;
  --wa: #1f8f5a;                 /* WhatsApp-ish green for the message chip icon */
  --wa-btn: #188040;             /* WhatsApp buttons: white text 5.0:1 */
  --wa-btn-hover: #126a34;
  --on-accent: #ffffff;
  --porat: #d6336c;              /* the logo's magenta (his choice, 19/11). Elsewhere only in small doses: where the brand
                                    line ends, and on the one thing an animation wants you to look at */
  --porat-soft: rgba(214, 51, 108, .12);
  /* every call to action ("בואו נכיר", "אשמח לשיחה") is filled in the logo's magenta (David, 20/11: "אני רוצה
     שההנחה לפעולה תהיה בצבע בולט, בצבע של הלוגו"). White on --porat 4.6:1, on --porat-deep 6.0:1 */
  --porat-deep: #b8285a;
  /* ...with a gradient that flows through them like a river ("GRADIENT עדין שעדיין הצבע הראשי יהיה הצבע הנוכחי...
     מונפש", then "יותר תנועתי עם יותר גוונים, אפשר גם להוסיף את הגוון הכחול שבאתר באופן מאוד עדין, שזה יזרום
     כמו נהר במים, שתמיד תהיה תנועה בצבעים"): the logo's magenta all the way, a slightly deeper magenta, and a
     soft light sheen (the magenta with white in it) that passes through like light on water. Turned down on the
     way, all for the same reason (a blue or purple band read as a second colour): the deep `--blue`, `--violet`,
     a light lilac, and an orchid with a hint of blue ("עכשיו הגרדיאנט הפך לסגול, עדיף שתעשה גוון לבן בהיר"). No
     blue or purple in it again. It starts and ends on the same magenta, so it tiles without a seam and flows one
     way forever. White words are 4.6:1 or more everywhere except for the moment the sheen passes behind them
     (3.1:1 at its peak), so the words carry a faint shadow; the still state (no motion) shows only magenta. */
  --porat-violet: #c42d78;
  --porat-sheen: #e16c95;
  --grad-cta: linear-gradient(100deg, var(--porat) 0%, var(--porat-violet) 22%, var(--porat) 42%, var(--porat) 58%, var(--porat-sheen) 70%, var(--porat) 82%, var(--porat-violet) 92%, var(--porat) 100%);
  --cta-shade: linear-gradient(rgba(60, 10, 30, .14), rgba(60, 10, 30, .14)); /* laid over the gradient on hover */
  --shadow-porat: 0 4px 14px rgba(214, 51, 108, .28);
  --shadow-porat-hover: 0 8px 22px rgba(214, 51, 108, .38);
  --on-dark-line: rgba(255, 255, 255, .16);   /* hairlines on the navy strip */
  --dim-word: #808ea1;           /* statement words before they light: 3.3:1, large text only */
  --grad: linear-gradient(90deg, var(--teal), var(--blue) 60%, var(--violet));
  /* the brand line as it is drawn on the page (RTL): teal → blue → violet, and its last stretch is the logo's magenta */
  --grad-rtl: linear-gradient(270deg, var(--teal), var(--blue) 45%, var(--violet) 78%, var(--porat));
  --grad-btn: linear-gradient(90deg, var(--teal-ink), var(--blue) 55%, var(--violet));
  --grad-soft: linear-gradient(90deg, rgba(58, 166, 160, .12), rgba(91, 106, 191, .12));
  --tint-blue: rgba(47, 92, 150, .08);
  --tint-teal: rgba(58, 166, 160, .14);
  --tint-violet: rgba(91, 106, 191, .10);
  --photo-a: rgba(58, 166, 160, .12);   /* a breath of the brand line over the portrait's backdrop */
  --photo-b: rgba(91, 106, 191, .16);
  --clear: rgba(255, 255, 255, 0);
  --veil: rgba(255, 255, 255, .94);
  --scrim: rgba(22, 38, 61, .42);
  --shadow: 0 1px 2px rgba(30, 58, 95, .04), 0 6px 20px rgba(30, 58, 95, .06);
  --shadow-lift: 0 2px 4px rgba(30, 58, 95, .05), 0 14px 36px rgba(30, 58, 95, .11);
  --shadow-ui: 0 2px 6px rgba(30, 58, 95, .08), 0 12px 32px rgba(30, 58, 95, .14);
  --shadow-btn: 0 4px 14px rgba(47, 92, 150, .26);
  --shadow-btn-hover: 0 8px 22px rgba(47, 92, 150, .34);
  --shadow-wa: 0 4px 14px rgba(24, 128, 64, .22);
  --shadow-wa-hover: 0 8px 22px rgba(24, 128, 64, .32);
  --shadow-mail: 0 4px 14px rgba(91, 106, 191, .26);
  --violet-deep: #4a58a8;        /* mail button on hover: white text 6.3:1 */
  /* the CRM building in the hero: faces, windows, and the blueprint it stands on */
  --bx-edge: #c3cedb;
  --bx-side: #e6ecf3;
  --bx-top: #f1f4f8;
  --bx-win: rgba(47, 92, 150, .16);
  --plan-bg: rgba(47, 92, 150, .05);
  --plan-line: rgba(47, 92, 150, .10);
  --plan-line-2: rgba(47, 92, 150, .20);
  --plan-fill: rgba(47, 92, 150, .07);
  --plan-clear: rgba(244, 246, 248, 0);   /* the page background, transparent: where the plan's fade starts */
  /* the contact card: a light wash of the brand line, a thin frame in its colours, a coloured glow under it.
     Navy on any of the three is 8.9:1 or more, ink-2 5.4:1 or more */
  --wash-teal: #d6ede9;
  --wash-blue: #dde5f5;
  --wash-porat: #f4dde9;
  --wash-edge: rgba(91, 106, 191, .26);
  --shadow-invite: 0 2px 6px rgba(30, 58, 95, .06), 0 22px 56px rgba(91, 106, 191, .24);
  --in-blue: #0a66c2;                     /* LinkedIn's blue, for his LinkedIn button: white 5.6:1 */
  --in-blue-deep: #084e96;
  --src-fb: #1f63c6;                      /* the Facebook channel and its bricks: white text 5.6:1 */
  --src-ig: #b3307a;                      /* the Instagram channel and its bricks: white text 5.9:1 */
  --sun: #f2b544;                         /* the morning sun in the WhatsApp-report drawing (decoration only) */
  --hc-paper: #ffffff;
  --hc-ink: #000000;
  --hc-accent: #00306e;
  --focus: #2f5c96;
  --mask: #000000;

  --font: 'Rubik', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;

  --text-scale: 1;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  font-size: calc(100% * var(--text-scale));
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--blue);
  scrollbar-color: var(--line-strong) transparent;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul[role="list"], ol { list-style: none; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3) { font-weight: inherit; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: var(--on-accent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; inset-inline-start: 16px; top: -80px; z-index: 100;
  background: var(--navy); color: var(--on-accent); padding: 12px 20px; border-radius: 999px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.section { padding-block: clamp(56px, 6vw, 88px); }
/* every part of the page is its own band: grey and white alternate, with a hairline where they meet */
/* the white bands. Grey and white alternate in David's order of the page (20/11): hero G, services W, process G,
   ideas W, about (with LESS IS MORE) G, tools W, sectors G, contact W. */
.services, .ideas, .tools, .contact { background: var(--surface); border-block: 1px solid var(--line); }
.section-title {
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.012em; color: var(--navy);
  margin-bottom: clamp(32px, 4vw, 56px);
}
/* every section title is underlined by a short piece of the brand line, drawn as the title arrives */
.section-title::after {
  content: ''; display: block; width: 72px; height: 4px; margin-top: 16px;
  border-radius: 999px; background: var(--grad-rtl); transform-origin: right;
}
.section-lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); color: var(--ink-2); max-width: 34em; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary { color: var(--on-accent); box-shadow: var(--shadow-porat); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-porat-hover); }
/* every call to action ("בואו נכיר" in the header, the hero and the dock; "אשמח לשיחה"): the magenta river, twice
   as wide as the button and repeated, moved by exactly one tile (200%) per loop, so it flows leftward without end
   and without a seam (motion only) */
.btn--primary, .talk {
  background-color: var(--porat); background-image: var(--grad-cta); background-repeat: repeat-x;
  background-size: 200% 100%; background-position: 0% 50%;
  text-shadow: 0 1px 2px rgba(90, 12, 44, .3); /* keeps the white words crisp while the light sheen passes */
}
.btn--primary:hover, .talk:hover { background-image: var(--cta-shade), var(--grad-cta); background-size: 100% 100%, 200% 100%; }
@keyframes cta-flow { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
html.motion .btn--primary, html.motion .talk { animation: cta-flow 9s linear infinite; }
/* the hero's button shakes every few seconds to catch the eye (20/11: "שה'בואו נכיר' ב-HERO יזוז טיפה, במין שיקשוק
   כזה, כדי למשוך תשומת לב"). The first one (4°, 0.75s every 5s) was too easy to miss ("לאן נעלם השיקשוק?"), so it is
   a clear wiggle now: up to 7°, a little bigger, almost a second long, every 4.5s, the first one right away.
   `rotate` and `scale`, so hover's lift still works. */
@keyframes cta-nudge {
  0%, 68%, 100% { rotate: 0deg; scale: 1; }
  71% { rotate: -7deg; scale: 1.08; } 74% { rotate: 6deg; scale: 1.08; } 77% { rotate: -5deg; scale: 1.07; }
  80% { rotate: 4deg; scale: 1.05; } 83% { rotate: -2.5deg; scale: 1.03; } 86% { rotate: 1deg; scale: 1.01; }
  89% { rotate: 0deg; scale: 1; }
}
html.motion .hero__cta { animation: cta-flow 9s linear infinite, cta-nudge 4.5s ease-in-out -2s infinite; }
.btn--outline { color: var(--navy); background: var(--surface); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--blue); transform: translateY(-1px); }
.btn--wa { color: var(--on-accent); background: var(--wa-btn); box-shadow: var(--shadow-wa); }
.btn--wa:hover { background: var(--wa-btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--blue); }
.icon-btn:active { background: var(--surface-2); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 4px; transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .4s var(--ease-out); }
/* the brand line on top doubles as reading progress; it is its own fixed strip, above the header, so it stays
   on screen all the way down even while the header is slid away */
.topline { position: fixed; inset: 0 0 auto 0; z-index: 51; height: 4px; background: var(--line); }
.topline span { display: block; height: 100%; background: var(--grad-rtl); transform: scaleX(var(--sp, 0)); transform-origin: right; }
html:not(.motion) .topline span { transform: none; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.header.is-scrolled { background: var(--veil); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }

/* PORAT: the company name is the logo. A geometric wordmark in one stroke weight, in the one colour that
   nothing else on the page uses (magenta), so it stands out without competing with anything. */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--porat); }
.logo { display: block; height: 28px; width: auto; overflow: visible; color: var(--porat); }
.logo__s { fill: none; stroke: currentColor; stroke-width: 9; }
.logo__f { fill: currentColor; }
/* the AI mark INSIDE the O (David, 20/11, third round: "אני רוצה שסמל ה-AI עדיין יהיה באות O בפנים, ושיהיה
   יותר נוצץ בנוסף לתנועה, ויותר גדול"). A big four-point spark in the site's blue fills the O (radius 20 of the
   ring's inner 21), with a white glint at its heart and two small sparkles beside it, violet and teal, that
   twinkle in turn. Nothing behind it. A spark breaking out of the ring was tried and dropped. */
.logo__o { stroke-dasharray: 1; }
.logo__ai, .logo__glint, .logo__tw { transform-box: fill-box; transform-origin: center; }
.logo__star { fill: var(--blue); }
.logo__glint { fill: var(--surface); }
.logo__tw--1 { fill: var(--violet); }
.logo__tw--2 { fill: var(--teal); }
.footer .logo { height: 20px; margin-bottom: 6px; }
@media (max-width: 600px) { .header .logo { height: 22px; } }

.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); list-style: none; padding: 0; }
.nav__list a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 1rem; padding-block: 8px; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.nav__list a:not(.btn):hover { color: var(--navy); border-bottom-color: var(--porat); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 18px; height: 2px; background: var(--navy); margin-inline: auto; position: relative; transition: transform .3s var(--ease-out); }
.nav-toggle__bars::before { content: ''; position: absolute; top: 6px; }
.nav-toggle__bars { transform: translateY(-3px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 24px; display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a:not(.btn) { display: block; padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); color: var(--navy); }
  .nav__cta-item { padding-top: 20px; }
  .nav__cta-item .btn { width: 100%; }
}


/* ---------- The ideas' panels (the drawings themselves are styled with the ideas, `.p-*`) ---------- */
.scene svg { display: block; width: 100%; overflow: visible; }

/* ---------- Hero ---------- */
.hero { padding: 132px 0 88px; position: relative; }
@media (min-width: 901px) { .hero { min-height: 100svh; display: grid; align-items: center; padding: 112px 0 96px; } }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; color: var(--navy); }
/* the hero's one button, under the title (David, 20/11: "ב-HERO אני רוצה שתוסיף כפתור של בואו נכיר, שיהיה בצבע של
   הלוגו") */
.hero__cta { min-height: 56px; padding: 14px 36px; font-size: 1.125rem; font-weight: 600; }
/* one sentence on what he does (20/11), between the title and the button */
.hero__lead { max-width: 30em; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.55; color: var(--ink-2); }
.hero__more { background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- the CRM building: always under construction ---------- */
/* David, 20/11: "אנימציה שתמיד עובדת, שמרכיבה בניין ששמו CRM. ציורים של שרטוטים, בנייה של קומות, חלקים שכל הזמן
   מצטרפים במהירות לבניין, ותוך כדי מורידים חדר ומעלים קומה ומוסיפים תוספות, ושמות של כלים ומערכות CRM עם
   הלוגואים שלהם. שייראה שהכול כל הזמן משתנה, וכל הזמן צריך להתעדכן ולבנות נכון ולתכנן. שתזוזה של העכבר תשנה
   את זווית הצפייה של מבנה שכל הזמן משתנה ומתוכנן מחדש."
   A real CSS 3D scene (no WebGL): a blueprint grid on the ground, floors that are boxes (five faces each), a
   CRM sign on the roof. The world turns with the pointer (--mx / --my from main.js, the same loop the old stage
   used; with no mouse it drifts by itself). main.js changes the building every ~1.1s. Everything is positioned
   with classes, never inline styles (CSP): a box sits on level --lv (lv-0 … lv-6), 42px per level.
   NOTE: opacity or filter on a preserve-3d element flattens it, so fades always go on the faces. */
.build { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center; perspective: 1300px; perspective-origin: 50% 30%; }
.build__world {
  --sc: 1.12; --fh: 44px;
  position: absolute; left: 50%; top: 72%; width: 0; height: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  transform: scale3d(var(--sc), var(--sc), var(--sc)) rotateX(calc(-24deg + var(--my, 0) * 9deg)) rotateY(calc(-32deg + var(--mx, 0) * 34deg));
}
/* the drawing on the ground: a blueprint grid, a dashed footprint, the edges fading out */
.build__ground {
  position: absolute; left: 0; top: 0; width: 480px; height: 360px;
  transform: translate3d(-240px, -180px, 0) rotateX(90deg);
  background-color: var(--plan-bg);
  /* the edges fade into the page with a top layer in the page colour, NOT a mask: a mask inside a 3D scene is a
     known way to make Safari flatten it */
  background-image:
    radial-gradient(closest-side, var(--plan-clear) 58%, var(--bg) 100%),
    linear-gradient(var(--plan-line-2) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--plan-line-2) 1.5px, transparent 1.5px),
    linear-gradient(var(--plan-line) 1px, transparent 1px), linear-gradient(90deg, var(--plan-line) 1px, transparent 1px);
  background-size: 100% 100%, 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: 0 0;
}
.build__ground::after { /* the footprint, as drawn on the plan */
  content: ''; position: absolute; left: 50%; top: 50%; width: 234px; height: 164px; translate: -50% -50%;
  border: 2px dashed var(--blue); border-radius: 4px; opacity: .45; width: 262px; height: 176px;
}
/* every wrapper between the world and a face must keep the 3D context, or its children flatten */
.build__stack { position: absolute; left: 0; top: 0; width: 0; height: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
/* a box: a 0×0 point on the ground; its five faces are placed around it (bottom-centre = the point) */
.bx {
  --w: 236px; --d: 150px; --h: var(--fh);
  position: absolute; left: 0; top: 0; width: 0; height: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  transform: translate3d(var(--x, 0px), calc(var(--lv, 0) * var(--fh) * -1), var(--z, 0px));
  transition: transform .55s var(--ease-out), translate .5s cubic-bezier(.2, .9, .25, 1.1), scale .5s var(--ease-out);
}
.bx__f {
  position: absolute; left: 0; top: 0; box-sizing: border-box; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--bx-edge); transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.bx__front, .bx__back { width: var(--w); height: var(--h); }
.bx__left, .bx__right { width: var(--d); height: var(--h); }
.bx__top { width: var(--w); height: var(--d); }
.bx__front { transform: translate3d(calc(var(--w) / -2), calc(var(--h) * -1), calc(var(--d) / 2)); }
.bx__back { transform: translate3d(calc(var(--w) / -2), calc(var(--h) * -1), calc(var(--d) / -2)) rotateY(180deg); }
.bx__right { transform: translate3d(calc(var(--w) / 2 - var(--d) / 2), calc(var(--h) * -1), 0) rotateY(90deg); }
.bx__left { transform: translate3d(calc(var(--w) / -2 - var(--d) / 2), calc(var(--h) * -1), 0) rotateY(-90deg); }
.bx__top { transform: translate3d(calc(var(--w) / -2), calc(var(--h) * -1 - var(--d) / 2), 0) rotateX(90deg); }
.lv-0 { --lv: 0; } .lv-1 { --lv: 1; } .lv-2 { --lv: 2; } .lv-3 { --lv: 3; } .lv-4 { --lv: 4; } .lv-5 { --lv: 5; } .lv-6 { --lv: 6; }
/* a floor: white front with its system's logo and name, windows on the sides, a coloured slab at its foot */
.fl .bx__f { background-color: var(--surface); }
.fl .bx__left, .fl .bx__right, .fl .bx__back { background-color: var(--bx-side); }
.fl .bx__left, .fl .bx__right, .fl .bx__front {
  background-image: repeating-linear-gradient(90deg, transparent 0 9px, var(--bx-win) 9px 21px, transparent 21px 30px);
  background-size: 100% 12px; background-position: 0 11px; background-repeat: no-repeat;
}
.fl .bx__front { display: flex; align-items: center; justify-content: flex-start; padding-inline: 10px; background-position: 0 11px; background-size: 46% 12px; background-position-x: left; }
.fl .bx__top { background-color: var(--bx-top); }
.fl .bx__front, .fl .bx__left, .fl .bx__right { border-bottom: 4px solid var(--slab); }
.c1 { --slab: var(--teal); } .c2 { --slab: var(--blue); } .c3 { --slab: var(--violet); } .c4 { --slab: var(--porat); }
.fl__chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap;
  transition: transform .18s var(--ease);
}
.fl__chip img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.fl__chip.is-flip { transform: rotateX(90deg); }
/* the plan of the next part: a dashed wireframe where it is about to go */
.build__ghost .bx__f { background-color: var(--plan-fill); border: 2px dashed var(--blue); opacity: 0; }
.build__ghost.is-on .bx__f { opacity: 1; }
/* moving parts: a new floor slides in from the side, a removed one slides out the other way */
.fl.is-in { translate: 300px 0 0; }
.fl.is-out { translate: -300px 0 0; }
.fl.is-in .bx__f, .fl.is-out .bx__f { opacity: 0; }
/* the wing: an extension on the right; it grows out of the ground and sinks back */
.wing { --w: 96px; --d: 104px; --h: 92px; --x: 166px; --z: 14px; --lv: 0; }
.wing .bx__f { background-color: var(--bx-side); }
.wing .bx__front { background-color: var(--surface); display: grid; place-items: center; border-bottom: 4px solid var(--teal); }
.wing .bx__top { background-color: var(--bx-top); }
.wing__logo { width: 30px; height: 30px; object-fit: contain; }
.wing.is-gone { scale: 1 .02 1; }
.wing.is-gone .bx__f { opacity: 0; }
.wing.is-plan .bx__f { background-color: var(--plan-fill); border: 2px dashed var(--blue); }
.wing.is-plan .wing__logo { opacity: 0; }
/* the roof: the CRM sign, and rooms that come and go */
.build__roof { --w: 0px; --d: 0px; }
.room { --w: 54px; --d: 46px; --h: 34px; --lv: 0; } /* --lv is inherited, so a room on the roof must reset it */
.room .bx__f { background-color: var(--bx-side); }
.room .bx__front { background-color: var(--surface); display: grid; place-items: center; }
.room .bx__top { background-color: var(--bx-top); }
.room img { width: 18px; height: 18px; object-fit: contain; }
.room--a { --x: -78px; --z: 30px; }
.room--b { --x: 82px; --z: 28px; }
.room.is-gone { scale: .02; }
.room.is-gone .bx__f { opacity: 0; }
.build__sign {
  position: absolute; left: 0; top: 0; width: 120px; height: 44px; display: grid; place-items: center;
  transform: translate3d(-60px, -54px, -34px);
  border-radius: 10px; background: var(--navy); color: var(--on-accent); border: 3px solid var(--surface);
  font-size: 26px; font-weight: 800; letter-spacing: .08em; line-height: 1; box-shadow: var(--shadow-ui);
}
.build__sign::after { /* the posts it stands on */
  content: ''; position: absolute; left: 22%; right: 22%; top: 100%; height: 6px;
  border-inline: 4px solid var(--navy);
}
/* the safety net: a browser that does not draw CSS 3D (main.js measures a side face on load) gets the building as
   a straight front elevation, like an architect's drawing, on a flat blueprint grid. Everything keeps changing;
   only the turning is gone. */
.build.is-flat .build__world { transform: scale3d(var(--sc), var(--sc), var(--sc)); }
.build.is-flat .build__ground { display: none; }
.build.is-flat::before {
  content: ''; position: absolute; left: 4%; right: 4%; top: 56%; bottom: 6%;
  background-image:
    radial-gradient(closest-side, var(--plan-clear) 55%, var(--bg) 100%),
    linear-gradient(var(--plan-line) 1px, transparent 1px), linear-gradient(90deg, var(--plan-line) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px, 22px 22px; background-color: var(--plan-bg);
}
.build.is-flat::after { /* the ground line of the elevation */
  content: ''; position: absolute; left: 12%; right: 12%; top: 72%; height: 0; border-top: 2px dashed var(--blue); opacity: .45;
}
/* the data that builds it: channels around the edge, the two connectors (Make, n8n) between them and the building,
   dashed pipes joining them, and bricks of data that stream along the pipes into whatever is being built. A flat
   layer over the 3D scene, so it works in every browser. Positions are % of the square; the pipes' viewBox is the
   same 0..100, so a source at (8%, 10%) is the point 8,10 on the pipes (and HUB_AT in main.js holds the hubs). */
.build__flow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.build__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } /* fine grey flakes (main.js) */
html:not(.motion) .build__dust { display: none; }
.build__pipes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.build__pipes path { fill: none; stroke: var(--plan-line-2); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.src { /* channels and connectors sit above the bricks: a brick comes out of its channel and passes THROUGH the connector */
  position: absolute; z-index: 1; width: 40px; height: 40px; translate: -50% -50%; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-ui);
  /* the channels can be dragged anywhere in the picture, and their pipes follow (David, 20/11: "שיהיה אפשר לגרור את
     העיגולים ב-drag and drop"); main.js moves them with left/top */
  pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: scale .2s var(--ease-out), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.src:hover { scale: 1.08; border-color: var(--line-strong); }
.src.is-drag { cursor: grabbing; scale: 1.18; border-color: var(--blue); box-shadow: var(--shadow-lift); }
.src img, .src svg { pointer-events: none; -webkit-user-drag: none; }
.src svg, .src img { width: 21px; height: 21px; }
/* the flow reads top to bottom (David, 20/11: "מקורות הנתונים יחסית למעלה, מעל הלוגו של מערכות האינטגרציה"): the
   six channels in a row along the top, the two connectors below them, the building below that */
.src--phone { left: 8%; top: 10%; color: var(--navy); }
.src--mail { left: 21%; top: 5%; color: var(--violet); }
.src--fb { left: 34%; top: 10%; color: var(--src-fb); }
.src--wa { left: 66%; top: 10%; }
.src--web { left: 79%; top: 5%; color: var(--teal-ink); }
.src--ig { left: 92%; top: 10%; color: var(--src-ig); }
.hub {
  position: absolute; z-index: 1; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-ui); font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap;
  transition: scale .25s var(--ease-out), border-color .25s var(--ease);
}
.hub img { width: 20px; height: 20px; object-fit: contain; }
.hub.is-pulse { scale: 1.1; border-color: var(--blue); }
.hub--make { left: 21%; top: 27%; }
.hub--n8n { left: 79%; top: 27%; }
/* a brick of data: a real brick shape, and on it data, not words (David, 20/11: "במקום תוויות טקסט ייכנס מידע ולא
   מילים: מספרים, אותיות, מטבעות"). The same brick, as a .tile, becomes part of a wall when it lands. */
.brick, .tile {
  display: grid; place-items: center; width: 50px; height: 18px; border-radius: 3px; direction: ltr;
  font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .02em; white-space: nowrap; color: var(--on-accent);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16);
}
.brick { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16), 0 2px 6px rgba(30, 58, 95, .2); }
.brick--phone, .tile--phone { background: var(--navy); }
.brick--mail, .tile--mail { background: var(--violet); }
.brick--fb, .tile--fb { background: var(--src-fb); }
.brick--wa, .tile--wa { background: var(--wa-btn); }
.brick--web, .tile--web { background: var(--teal-ink); }
.brick--ig, .tile--ig { background: var(--src-ig); }
/* a brick leaves its channel, stops for a beat in the connector, and flies to its place on a wall, shrinking to
   the size the wall shows it at (--ts); there the brick on the wall (.tile) takes over */
@keyframes brick {
  0% { translate: var(--sx) var(--sy); opacity: 0; scale: .5; }
  8% { opacity: 1; scale: 1; }
  46%, 50% { translate: var(--hx) var(--hy); scale: .85; }
  100% { translate: var(--tx) var(--ty); opacity: 1; scale: var(--ts, .7); }
}
html.motion .brick { animation: brick 1.75s cubic-bezier(.45, .05, .4, 1) both; }
html:not(.motion) .brick { display: none; }
/* on the wall: a new floor's front is laid brick by brick (two courses, the second offset by half a brick) and
   becomes solid when it is full; a brick that lands on a standing floor shows for a moment and sinks into it */
.tile { position: absolute; left: var(--l); top: var(--t); z-index: 1; opacity: 0; scale: .5; transition: opacity .15s var(--ease), scale .3s var(--ease-out); }
.tile.is-set { opacity: 1; scale: 1; }
.tile.is-absorb { animation: tile-absorb 1s var(--ease-out) forwards; }
@keyframes tile-absorb { 0% { opacity: 1; scale: 1.15; } 30% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .9; } }
.fl.is-rise .bx__f { opacity: 0; }
@media (max-width: 900px) {
  .src { width: 30px; height: 30px; }
  .src svg, .src img { width: 16px; height: 16px; }
  .hub { padding: 4px 9px 4px 7px; gap: 4px; font-size: 11px; }
  .hub img { width: 15px; height: 15px; }
  .brick { width: 40px; height: 15px; font-size: 8.5px; }
}

/* his portrait, in the about section: a circle with a white rim and the brand line as a ring. Nothing on top of it. */
.portrait { position: relative; isolation: isolate; width: 100%; max-width: 320px; aspect-ratio: 1; justify-self: center; }
.portrait__ring { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.portrait__ring--a {
  inset: 2.500%;
  background: conic-gradient(from 210deg, var(--teal), var(--blue) 30%, var(--violet) 58%, var(--clear) 58%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), var(--mask) calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), var(--mask) calc(100% - 3px));
}
.portrait__ring--b { inset: -3.500%; border: 1.5px dashed var(--line-strong); }
.portrait__photo {
  position: absolute; z-index: 1; inset: 7.500%;
  border-radius: 50%; overflow: hidden; background: var(--surface-2);
  border: 6px solid var(--surface); box-shadow: var(--shadow-lift);
}
.portrait__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, var(--photo-a), var(--clear) 46%, var(--photo-b)); pointer-events: none; }
.portrait__photo picture, .portrait__photo img { display: block; width: 100%; height: 100%; }
.portrait__photo img { object-fit: cover; }

.motion-btn {
  position: absolute; bottom: 24px; inset-inline-start: var(--gutter);
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
}
.motion-btn svg { width: 18px; height: 18px; }
.motion-btn .i-play { display: none; }
.motion-btn[aria-pressed="true"] .i-play { display: block; }
.motion-btn[aria-pressed="true"] .i-pause { display: none; }
.motion-btn:hover { border-color: var(--blue); color: var(--navy); }

@media (max-width: 900px) {
  .hero { padding-top: 100px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .build { order: -1; max-width: 360px; margin-bottom: 8px; }
  .build__world { --sc: .6; top: 72%; }
  .motion-btn { position: static; margin: 24px var(--gutter) 0; }
}

/* ---------- Statement: LESS IS MORE ---------- */
/* his agenda, closing "מי אני" across both columns, under his text (20/11: "שיהיה ברור שזאת האג'נדה שלי"); a
   hairline above sets it apart */
.about__less {
  grid-column: 1 / -1; display: grid; gap: 24px; justify-items: center; text-align: center;
  padding-top: clamp(32px, 4.5vw, 60px); border-top: 1px solid var(--line-strong);
}
/* "האג'נדה שלי:", small, right above the big words (20/11: "תוסיף בקטן מעל ה-LESS IS MORE") */
.about__kicker { margin-bottom: -10px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 700; color: var(--ink-2); }
.statement__text { font-size: clamp(2.6rem, .8rem + 7vw, 6.6rem); font-weight: 800; line-height: 1; letter-spacing: .01em; color: var(--navy); }
html.motion .statement__text .w { color: var(--dim-word); transition: color .5s var(--ease); }
html.motion .statement__text .w.is-lit { color: var(--navy); }
.statement__note { max-width: 34em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); }
/* seven bars become one as the sentence crosses the screen (--lp, 0..1): the principle, drawn */
.less__bars { --lp: 1; display: flex; justify-content: center; gap: 10px; width: min(520px, 100%); }
.less__bars span {
  --v: clamp(0, calc(1 - (var(--lp) * 4 - var(--o, 0))), 1);
  flex: 1; height: 6px; border-radius: 999px; background: var(--line-strong);
  opacity: var(--v); transform: scaleX(var(--v));
}
.less__bars span:nth-child(2), .less__bars span:nth-child(6) { --o: 1; }
.less__bars span:nth-child(3), .less__bars span:nth-child(5) { --o: 2; }
.less__bars span:nth-child(4) { opacity: 1; background: var(--grad-rtl); transform: scaleX(calc(1 + var(--lp) * 2.4)); }

/* ---------- "כל דבר בעיתו" and what a business needs today: one section, two messages ---------- */
/* David, 20/11, note by note on the old story section: the illustration goes ("תוריד את זה"); the AI sentence
   goes, "המסר המרכזי הוא שאין צורך ב-FOMO וכל דבר בעיתו"; station titles are enough ("אין צורך בפירוט"); no
   legend, "שישר יהיה ברור מה העסק ומה המערכת"; and it joins the services below it ("הכול מדבר על אותו נושא...
   תוודא שבמבט כללי זה לא עמוס מדי בעיניים והרבה לקרוא"). So: the statement and one sentence, beside them three
   station titles on a double rail whose two lines grow out of their own names, and under both the four pictograms. */
.pace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 96px); align-items: center; margin-top: clamp(48px, 6.5vw, 92px); } /* under the four needs since 20/11 */
.pace .section-title { margin-bottom: 20px; }
.pace .section-lead { margin-bottom: 0; }
/* the one line about AI he asked to keep (20/11: "כן, להחזיר"): quiet, beside the stations, in the AI colour */
.pace__note { margin-top: 22px; max-width: 30em; padding-inline-start: 16px; border-inline-start: 4px solid var(--violet); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 500; line-height: 1.5; color: var(--navy); }
.story__path { max-width: 400px; }
/* each line starts at its own name and bends into the rail: no legend to decode */
.lines { position: relative; z-index: 1; display: grid; gap: 6px; padding-inline-start: 62px; padding-bottom: 6px; font-size: .9375rem; font-weight: 700; line-height: 26px; pointer-events: none; }
.lines__name--biz { color: var(--navy); }
.lines__name--sys { color: var(--teal-ink); }
.lines__name::before { content: ''; position: absolute; bottom: calc(-1 * var(--rail-t, 32px)); border-block-start: 4px solid; border-inline-start: 4px solid; }
.lines__name--biz::before { top: 11px; inset-inline-start: 19px; width: 33px; border-color: var(--navy); border-start-start-radius: 14px; }
.lines__name--sys::before { top: 43px; inset-inline-start: 29px; width: 23px; border-color: var(--teal); border-start-start-radius: 12px; }
/* the double rail: the business (navy) and the system (the brand line) fill together with the scroll (--sr).
   It runs in front of the stations, from the first dot to the last (main.js measures --rail-t / --rail-h). */
.story__track { position: relative; }
.story__rail { position: absolute; z-index: 1; top: var(--rail-t, 32px); height: var(--rail-h, auto); bottom: 32px; inset-inline-start: 19px; width: 14px; pointer-events: none; }
.rail { position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
.rail--biz { inset-inline-start: 0; }
.rail--sys { inset-inline-end: 0; }
.rail::after { content: ''; position: absolute; inset: 0; border-radius: inherit; transform: scaleY(var(--sr, 1)); transform-origin: top; }
.rail--biz::after { background: var(--navy); }
.rail--sys::after { background: linear-gradient(180deg, var(--teal), var(--blue) 45%, var(--violet) 78%, var(--porat)); }
.story__steps { display: grid; gap: clamp(24px, 5vh, 50px); padding: 0; }
.story__step {
  position: relative; padding: 14px 22px; padding-inline-start: 62px;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.story__dot {
  position: absolute; z-index: 2; inset-inline-start: 12px; top: calc(50% - 13px); width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--line-strong);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), scale .45s var(--ease-out);
}
.story__step.is-on .story__dot { background: var(--teal-ink); border-color: var(--surface); scale: 1.12; box-shadow: 0 0 0 2px var(--teal-ink); }
.story__step:last-child.is-on .story__dot { background: var(--porat); box-shadow: 0 0 0 2px var(--porat); }
.story__step h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 700; color: var(--navy); line-height: 1.3; transition: color .45s var(--ease); }
@media (min-width: 901px) {
  /* with a mouse-sized screen and motion on, the station the rail has just reached is "the current one": a card */
  html.motion .story__step.is-active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
  html.motion .story__step:not(.is-active) h3 { color: var(--ink-3); }
}
@media (max-width: 900px) { .pace { grid-template-columns: minmax(0, 1fr); } .story__path { max-width: none; } }

/* ---------- Services: four pictograms ---------- */
/* David, 20/11, on the small detailed scenes in framed, numbered cards: "לא מבינים כלום מההנפשות, הן קטנות ומפורטות
   מדי... המסגרת נראית מאוד AI, אין צורך במספור. אני רוצה שישר יבינו גם בלי לקרוא". So: no cards, no frames, no
   numbers. One big pictogram per need, drawn in a few thick strokes with one simple motion, and the title under it.
   The picture has to say it alone: people + screen + tick, one screen full of data, systems joined to one centre,
   a person beside an AI spark with a tuning slider. */
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.service { display: grid; justify-items: center; align-content: start; gap: 18px; text-align: center; }
.service__art { width: min(100%, 196px); transition: translate .4s var(--ease-out); }
.service:hover .service__art { translate: 0 -6px; }
.service__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.service__title { max-width: 13em; font-size: clamp(1.125rem, .95rem + .5vw, 1.375rem); font-weight: 700; color: var(--navy); line-height: 1.3; }
.a-line { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.a-thin { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.a-dash { stroke-dasharray: 2 7; }
.a-teal { fill: var(--teal); }
.a-blue { fill: var(--blue); }
.a-violet { fill: var(--violet); }
.a-porat { fill: var(--porat); }
.a-check { fill: none; stroke: var(--porat); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.a-pop, .a-spark, .a-ping, .a-knob { transform-box: fill-box; transform-origin: center; }
.a-track { fill: none; stroke: var(--surface-2); stroke-width: 9; }
.a-donut { fill: none; stroke: var(--teal); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .3; }
.a-bar { transform-box: fill-box; transform-origin: bottom; }
.a-wire { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 9; }
.a-node { stroke: var(--surface); stroke-width: 4; }
.a-hub { fill: var(--navy); stroke: var(--surface); stroke-width: 4; }
.a-ping { fill: none; stroke: var(--porat); stroke-width: 3; opacity: 0; }
.a-plug { fill: none; stroke: var(--on-accent); stroke-width: 4; stroke-linecap: round; }
.a-spark { fill: var(--violet); }
.a-rail { fill: none; stroke: var(--line-strong); stroke-width: 7; stroke-linecap: round; }
.a-knob { fill: var(--porat); stroke: var(--surface); stroke-width: 4; }
@media (max-width: 900px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .service__art { width: min(100%, 150px); } }

/* ---------- Ideas: one stage, three ideas taking turns ---------- */
/* the three titles are tabs; the scene beside them belongs to the selected one. While the block is on screen the
   ideas take turns by themselves (the thin line under the active title is the timer); a click takes over. */
/* ten wishes since 20/11: a compact list of titles beside one drawing that stays in view while the list is read */
.ideas__show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ideas__tabs { display: grid; gap: 6px; }
.ideas__tab {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px;
  width: 100%; padding: 10px 16px; overflow: hidden; text-align: start;
  border-radius: var(--radius); border: 1px solid transparent; background: none; color: var(--ink-2);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.ideas__tab:hover { background: var(--surface); border-color: var(--line); }
.ideas__tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); color: var(--navy); }
/* his sentence: the opening words bold, the rest regular (20/11: "שהדגש במילים יהיה כמו בתמונה") */
.ideas__name { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); font-weight: 400; line-height: 1.45; }
.ideas__name b { font-weight: 700; color: var(--navy); }
.idea__ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  color: var(--blue); background-color: var(--surface-2);
  transition: color .35s var(--ease), background-color .35s var(--ease);
}
.idea__ico svg { width: 22px; height: 22px; }
.ideas__tab[aria-selected="true"] .idea__ico { color: var(--on-accent); background-color: var(--blue); background-image: var(--grad-btn); }
.ideas__tab::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad-rtl); transform: scaleX(0); transform-origin: right; }
.ideas__panels { display: grid; position: sticky; top: 104px; }
html.js .ideas__panels .scene { grid-area: 1 / 1; }
.ideas__panels .scene svg { translate: 0 calc(var(--par, 0) * 12px); }
/* the drawing: one simple pictogram per wish, each its OWN picture of that wish (20/11: first "אנימציה מינימלית...
   משהו אחיד", then on the result, one input-wire-output grammar for all ten: "לא טובות ומוזרות. אני לא רוצה
   שכולם יהיו באותו קונספט, שיהיו פשוטות אבל בקונטקסט של הרעיון"). A chat that answers with a heart, an invoice
   writing itself, a magnifier over a chart, a pointer at the next step, a sunrise and a WhatsApp report, a
   signature, a coin into the till, a lead landing on the right rep, a box leaving the shelf and a bell, a pin on
   a phone. Thick navy lines and brand fills, like the four needs above; one or two small motions each (`.an-*`,
   motion only, a 5s loop; the still state is the finished picture). */
.idea__scene {
  aspect-ratio: auto; display: grid; place-items: center; padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 40px);
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--tint-blue), var(--surface) 72%);
}
.idea__scene[hidden] { display: none; }
.idea__scene .idea__art { width: min(100%, 440px); height: auto; overflow: visible; }
.p-line { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p-thin { fill: none; stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.p-teal { fill: var(--teal); }
.p-blue { fill: var(--blue); }
.p-violet { fill: var(--violet); }
.p-porat { fill: var(--porat); }
.p-navy { fill: var(--navy); }
.p-mute { fill: var(--line-strong); }
.p-tint { fill: var(--tint-blue); }
.p-fb { fill: var(--src-fb); }
.p-wa { fill: var(--wa-btn); }
.p-ray { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; }
.p-sig { fill: none; stroke: var(--porat); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-trend { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p-tick { fill: none; stroke: var(--on-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-tick--lg { stroke-width: 6; }
.p-tick--teal { stroke: var(--teal-ink); stroke-width: 5; }
.p-ring { fill: none; stroke: var(--teal); stroke-width: 3; opacity: .5; }
.p-sym { font-family: var(--font); font-size: 26px; font-weight: 700; fill: var(--blue); text-anchor: middle; }
.p-sym--on { fill: var(--on-accent); font-size: 19px; }
.p-screen { fill: var(--surface); stroke: var(--navy); stroke-width: 4; stroke-linejoin: round; }
.p-lens { fill: var(--surface); fill-opacity: .55; stroke: var(--navy); stroke-width: 4; }
.p-sun { fill: var(--sun); }
.p-on { fill: var(--on-accent); }
.p-teal-ink { fill: var(--teal-ink); }
.p-ring--porat { fill: none; stroke: var(--porat); stroke-width: 3; opacity: .7; }
.p-arc { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; }
.p-map { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-hand { fill: none; stroke: var(--porat); stroke-width: 3; stroke-linecap: round; }
.p-track { fill: none; stroke: var(--line); stroke-width: 9; }
.p-donut { fill: none; stroke: var(--teal); stroke-width: 9; stroke-linecap: round; }
.p-course { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-sunray { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; }
/* the motions: each drawing uses one or two; .d1-.d4 stagger them inside the 5s loop */
.idea__art [class*="an-"] { transform-box: fill-box; transform-origin: center; }
.idea__art .o-right { transform-origin: right center; }
.idea__art .o-bottom { transform-origin: center bottom; }
.idea__art .o-top { transform-origin: center top; }
.idea__art .o-watch { transform-box: view-box; transform-origin: 196px 34px; }
.an-draw { stroke-dasharray: 1; }
@keyframes an-pop { 0%, 10% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.1); } 24%, 84% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes an-grow-x { 0%, 6% { transform: scaleX(0); } 22%, 84% { transform: scaleX(1); } 94%, 100% { transform: scaleX(0); } }
@keyframes an-grow-y { 0%, 6% { transform: scaleY(0); } 24%, 84% { transform: scaleY(1); } 94%, 100% { transform: scaleY(0); } }
@keyframes an-draw { 0%, 8% { stroke-dashoffset: 1; } 36%, 84% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 1; } }
@keyframes an-drop { 0%, 6% { transform: translateY(-46px); opacity: 0; } 12% { opacity: 1; } 24% { transform: translateY(0); } 29% { transform: translateY(-8px); } 34%, 84% { transform: translateY(0); opacity: 1; } 94%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes an-scan { 0%, 10% { transform: translateX(0); } 45%, 55% { transform: translateX(-98px); } 90%, 100% { transform: translateX(0); } }
@keyframes an-twinkle { 0%, 100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes an-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes an-rise { 0%, 6% { transform: translateY(30px); opacity: 0; } 30%, 84% { transform: translateY(0); opacity: 1; } 94%, 100% { transform: translateY(30px); opacity: 0; } }
@keyframes an-ring { 0%, 56%, 100% { transform: rotate(0); } 60% { transform: rotate(14deg); } 64% { transform: rotate(-12deg); } 68% { transform: rotate(9deg); } 72% { transform: rotate(-6deg); } 76% { transform: rotate(3deg); } 80% { transform: rotate(0); } }
@keyframes an-wave { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.2); } }
@keyframes an-lift { 0%, 18% { transform: none; opacity: 1; } 40%, 78% { transform: translate(40px, -26px); opacity: 0; } 79% { transform: translate(0, -20px); opacity: 0; } 92%, 100% { transform: none; opacity: 1; } }
@keyframes an-spin { to { transform: rotate(360deg); } }
html.motion .is-playing .an-pop { animation: an-pop 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-grow-x { animation: an-grow-x 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-grow-y { animation: an-grow-y 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-draw { animation: an-draw 5s var(--ease) infinite both; }
html.motion .is-playing .an-drop { animation: an-drop 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-scan { animation: an-scan 5s var(--ease) infinite both; }
html.motion .is-playing .an-twinkle { animation: an-twinkle 1.6s ease-in-out infinite; }
html.motion .is-playing .an-bounce { animation: an-bounce 1.2s ease-in-out infinite; }
html.motion .is-playing .an-rise { animation: an-rise 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-ring { animation: an-ring 5s var(--ease) infinite; }
html.motion .is-playing .an-wave { animation: an-wave 1.8s var(--ease-out) infinite; }
html.motion .is-playing .an-lift { animation: an-lift 5s var(--ease) infinite; }
html.motion .is-playing .an-spin { animation: an-spin 2.4s linear infinite; }
html.motion .is-playing .an-spin-slow { animation: an-spin 4s linear infinite; }
/* four beats inside the 5s loop: a part pops in on its beat and stays until the loop closes */
@keyframes an-beat1 { 0%, 4% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1.1); } 14%, 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes an-beat2 { 0%, 22% { opacity: 0; transform: scale(.4); } 28% { opacity: 1; transform: scale(1.1); } 32%, 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes an-beat3 { 0%, 42% { opacity: 0; transform: scale(.4); } 48% { opacity: 1; transform: scale(1.1); } 52%, 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes an-beat4 { 0%, 62% { opacity: 0; transform: scale(.4); } 68% { opacity: 1; transform: scale(1.1); } 72%, 90% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.9); } }
html.motion .is-playing .an-beat1 { animation: an-beat1 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-beat2 { animation: an-beat2 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-beat3 { animation: an-beat3 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-beat4 { animation: an-beat4 5s var(--ease-out) infinite both; }
/* journey: the customer walks the four stations right to left (56px apart) and ends where he is drawn */
@keyframes an-walk { 0% { transform: translateX(168px); opacity: 0; } 5%, 8% { transform: translateX(168px); opacity: 1; } 20%, 26% { transform: translateX(112px); } 40%, 46% { transform: translateX(56px); } 60%, 90% { transform: translateX(0); opacity: 1; } 97%, 100% { transform: translateX(0); opacity: 0; } }
html.motion .is-playing .an-walk { animation: an-walk 5s var(--ease) infinite both; }
/* one place: the two halves slide in from their sides and meet */
@keyframes an-join-r { 0%, 6% { transform: translateX(26px); opacity: 0; } 24%, 90% { transform: translateX(0); opacity: 1; } 97%, 100% { transform: translateX(0); opacity: 0; } }
@keyframes an-join-l { 0%, 6% { transform: translateX(-26px); opacity: 0; } 24%, 90% { transform: translateX(0); opacity: 1; } 97%, 100% { transform: translateX(0); opacity: 0; } }
html.motion .is-playing .an-join-r { animation: an-join-r 5s var(--ease-out) infinite both; }
html.motion .is-playing .an-join-l { animation: an-join-l 5s var(--ease-out) infinite both; }
/* insight: the lens climbs along the tops of the bars to the highest one */
@keyframes an-trace { 0%, 6% { transform: translate(-78px, 52px); } 44%, 88% { transform: translate(0, 0); } 100% { transform: translate(-78px, 52px); } }
html.motion .is-playing .an-trace { animation: an-trace 5s var(--ease) infinite both; }
/* collection: the reminder rings first, then the coin lands */
@keyframes an-remind { 0%, 4%, 26%, 100% { transform: rotate(0); } 8% { transform: rotate(14deg); } 12% { transform: rotate(-12deg); } 16% { transform: rotate(9deg); } 20% { transform: rotate(-6deg); } 23% { transform: rotate(3deg); } }
@keyframes an-coin { 0%, 26% { transform: translateY(-44px); opacity: 0; } 32% { opacity: 1; } 44% { transform: translateY(0); } 49% { transform: translateY(-7px); } 54%, 90% { transform: translateY(0); opacity: 1; } 97%, 100% { transform: translateY(0); opacity: 0; } }
html.motion .is-playing .an-remind { animation: an-remind 5s var(--ease) infinite; }
html.motion .is-playing .an-coin { animation: an-coin 5s var(--ease-out) infinite both; }
/* stock: a box leaves the shelf and its mark leaves the system at the same moment, the sign turns half a turn each time */
@keyframes an-stock { 0%, 18%, 82%, 100% { transform: translateY(0); opacity: 1; } 38%, 62% { transform: translateY(-22px); opacity: 0; } }
@keyframes an-stock-mark { 0%, 18%, 82%, 100% { transform: scale(1); opacity: 1; } 38%, 62% { transform: scale(.5); opacity: 0; } }
@keyframes an-sync { 0%, 18% { transform: rotate(0); } 38%, 62% { transform: rotate(180deg); } 82%, 100% { transform: rotate(360deg); } }
html.motion .is-playing .an-stock { animation: an-stock 5s var(--ease) infinite; }
html.motion .is-playing .an-stock-mark { animation: an-stock-mark 5s var(--ease) infinite; }
html.motion .is-playing .an-sync { animation: an-sync 5s var(--ease) infinite; }
/* reach: the waves leave the phone to both sides */
@keyframes an-out-r { 0% { transform: translateX(-7px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateX(7px); opacity: 0; } }
@keyframes an-out-l { 0% { transform: translateX(7px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateX(-7px); opacity: 0; } }
html.motion .is-playing .an-out-r { animation: an-out-r 2s var(--ease-out) infinite; }
html.motion .is-playing .an-out-l { animation: an-out-l 2s var(--ease-out) infinite; }
html.motion .is-playing .d5 { animation-delay: 1.5s; }
html.motion .is-playing .d1 { animation-delay: .3s; }
html.motion .is-playing .d2 { animation-delay: .6s; }
html.motion .is-playing .d3 { animation-delay: .9s; }
html.motion .is-playing .d4 { animation-delay: 1.2s; }
/* on a phone the ten titles are one row of chips that scrolls sideways above the drawing */
@media (max-width: 860px) {
  .ideas__show { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ideas__panels { position: static; }
  .ideas__tabs {
    display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
  }
  .ideas__tabs::-webkit-scrollbar { display: none; }
  .ideas__tab { flex: 0 0 auto; width: auto; max-width: 230px; padding: 8px 12px; gap: 10px; border-color: var(--line); background: var(--surface); }
  .ideas__name { font-size: 1rem; }
  .idea__ico { width: 34px; height: 34px; border-radius: 10px; }
  .idea__ico svg { width: 19px; height: 19px; }
}

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 64px) clamp(32px, 6vw, 88px); align-items: center; }
.about__copy { display: grid; gap: 16px; }
.about__copy .section-title { margin-bottom: 8px; }
.about__lead { font-size: 1.25rem; color: var(--ink); }
/* his paragraphs at the size of "נעים להכיר" (20/11: "שהפונט יהיה יותר גדול, כמו הנעים להכיר") */
.about__copy p { font-size: 1.25rem; line-height: 1.75; color: var(--ink-2); max-width: 36em; }
@media (max-width: 600px) { .about__lead, .about__copy p { font-size: 1.125rem; } }
.about__copy .about__quote {
  margin-top: 8px; padding-inline-start: 18px; border-inline-start: 4px solid var(--teal);
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 700; line-height: 1.3; color: var(--navy);
}
/* his LinkedIn: a button with the logo only, in LinkedIn's own blue */
.about__in {
  justify-self: start; display: grid; place-items: center; width: 48px; height: 48px; margin-top: 8px;
  border-radius: 12px; background: var(--in-blue); color: var(--on-accent); box-shadow: var(--shadow-ui);
  transition: translate .3s var(--ease-out), box-shadow .3s var(--ease), background-color .25s var(--ease);
}
.about__in svg { width: 24px; height: 24px; }
.about__in:hover { translate: 0 -3px; background: var(--in-blue-deep); box-shadow: var(--shadow-lift); }
/* (the four values tiles, הקשבה / עומק / מקצה לקצה / זמינות, were removed on 20/11: "תוריד את החלק הזה") */
@media (max-width: 860px) {
  .about__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .portrait { max-width: 200px; }
}

/* ---------- Process: the journey we walk together ---------- */
/* David, 20/11, on the numbered line with a sentence under each station: "גם כאן מספיקות הכותרות, אין צורך במלל...
   ההנפשה לא מספיק טובה וברורה. אני רוצה שזה יהיה יותר תהליכי ומומחש, שגם הוויזואלי ימחיש את התהליך שעוברים יחד".
   So: four stations, each a simple pictogram and its title, on one line. Two figures, the client (teal) and David
   (blue), stand on the line and walk it with the scroll (--p, 0..1 from the first station to the last); the line
   fills behind them, and every station they reach lights up and plays its one motion. They "walk" (bob) only while
   they move. Motion off: they stand at the last station and everything is lit. On phones the line turns vertical. */
.flow { position: relative; padding-top: 58px; }
.flow__track { position: absolute; top: 68px; inset-inline: 12.5%; height: 4px; border-radius: 999px; background: var(--line-strong); }
.flow__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--grad-rtl); transform: scaleX(var(--p, 1)); transform-origin: right; }
.flow__pair { position: absolute; bottom: calc(100% + 1px); inset-inline-start: calc(var(--p, 1) * 100%); width: 54px; height: 49px; max-width: none; translate: 50% 0; overflow: visible; }
.pair__a, .pair__b { transform-box: fill-box; transform-origin: center bottom; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
.step { display: grid; justify-items: center; align-content: start; gap: 16px; text-align: center; }
.step__dot {
  position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--line-strong);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step.is-on .step__dot { background: var(--blue); border-color: var(--surface); box-shadow: 0 0 0 2px var(--blue); }
.step:last-child.is-on .step__dot { background: var(--porat); box-shadow: 0 0 0 2px var(--porat); } /* the arrival */
.step__art { display: block; width: min(100%, 148px); transition: opacity .5s var(--ease), filter .5s var(--ease); }
.step__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.step:not(.is-on) .step__art { opacity: .3; filter: grayscale(1); }
.step h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; line-height: 1.25; color: var(--ink-3); transition: color .4s var(--ease); }
.step.is-on h3 { color: var(--navy); }
.j-bubble { fill: var(--surface); stroke: var(--navy); stroke-width: 4; stroke-linejoin: round; }
.j-say { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; }
.j-say--2 { stroke: var(--blue); }
.j-row { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; }
.j-tick { fill: none; stroke: var(--on-accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.j-pop, .j-drop, .j-nod { transform-box: fill-box; transform-origin: center bottom; }
@media (max-width: 760px) {
  .flow { padding-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
  .step { grid-template-columns: 44px 92px minmax(0, 1fr); justify-items: start; align-items: center; gap: 0 16px; padding-block: 10px; text-align: start; }
  .step__dot { justify-self: center; }
  .step__art { width: 92px; }
  .flow__track { top: 12.5%; bottom: 12.5%; inset-inline: 20px auto; width: 4px; height: auto; }
  .flow__fill { background: linear-gradient(180deg, var(--teal), var(--blue) 45%, var(--violet) 78%, var(--porat)); transform: scaleY(var(--p, 1)); transform-origin: top; }
  .flow__pair { bottom: auto; top: calc(var(--p, 1) * 100%); inset-inline-start: 50%; width: 38px; height: 35px; translate: 50% -50%; filter: drop-shadow(0 0 2px var(--surface)) drop-shadow(0 0 2px var(--surface)); }
}
/* the statement: what the client brings (David: "המשפט חשוב מאוד, שיהיה יותר בולט", then "שזה יהיה מעל האנימציה
   של התהליך ולא מתחת"; then "יש יותר מדי אחידות בצבעים, שיהיה ברור שזה כותרת וזה טקסט של אותו אזור"). Under the
   title, before the walk: clearly the section's TEXT, not a second title. Smaller than the title, a regular weight
   in the body grey, and only the three qualities stand out, in bold and the brand gradient. */
.process__note {
  margin: -4px 0 clamp(36px, 4.5vw, 60px); max-width: 30em;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 400; line-height: 1.45; color: var(--ink-2);
}
.process__note span { font-weight: 700; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Systems ---------- */
/* a moving banner (David, 20/11: "באנר זז שמערכות נעות בו ואפשר עם גרירה בעכבר להזיז אותו"): two rows that
   glide in opposite directions, built by main.js from the list below. Drag it with the mouse or a finger; let
   go and it keeps the throw for a moment, then returns to its own pace. It is decoration (aria-hidden): the
   real list stays in the page for screen readers, and becomes the visible one when motion is off. */
.marquee {
  display: none; position: relative; overflow: hidden; padding-block: 4px;
  direction: ltr; /* the rows are positioned from the left edge, whatever the page direction is */
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask) 7%, var(--mask) 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--mask) 7%, var(--mask) 93%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee__row { display: flex; width: max-content; padding-block: 10px; will-change: transform; }
.marquee__item { direction: rtl; display: inline-flex; align-items: center; gap: 12px; padding-inline: 26px; font-size: 1.125rem; font-weight: 500; color: var(--navy); white-space: nowrap; }
.marquee__item img { width: 34px; height: 34px; object-fit: contain; flex: none; pointer-events: none; -webkit-user-drag: none; }
html.motion .has-marquee .marquee { display: block; }
html.motion .has-marquee .logos-card, html.motion .has-marquee .sectors { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tools .section-title, .sectors-sec .section-title { margin-bottom: clamp(20px, 2.6vw, 32px); }
/* the sectors are a different kind of information from the systems, so their banner looks different on purpose
   (David, 20/11: "שיבינו שאלה 2 נתונים שונים"): no logos, one slow row of large words. Between every two words
   the same dot in the logo's colour ("שכל המפרידים יהיו נקודות אדומות"; a bar used to alternate with it). */
.marquee--words .marquee__row { padding-block: 4px 10px; align-items: center; }
.marquee__word {
  direction: rtl; display: inline-flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); padding-inline-end: clamp(20px, 2.6vw, 38px);
  font-size: clamp(1.25rem, .95rem + 1.2vw, 1.875rem); line-height: 1.15; letter-spacing: -.01em; white-space: nowrap;
}
/* two words or more: two lines in ONE style (he found a heavy word over a light one odd: "תעשה שזה יהיה אחיד");
   the variety comes from the colours, which walk along the brand line */
.marquee__stack { display: grid; }
.marquee__stack b, .marquee__stack span { font-weight: 800; }
.marquee__word--1 { color: var(--navy); }
.marquee__word--2 { color: var(--teal-ink); }
.marquee__word--3 { color: var(--blue); }
.marquee__word--4 { color: var(--violet); }
.marquee__word::after { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--porat); }
@media (max-width: 600px) { .marquee__item { padding-inline: 18px; font-size: 1rem; gap: 10px; } .marquee__item img { width: 28px; height: 28px; } }
.logos-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.logos li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px;
  border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line);
  font-size: .9375rem; font-weight: 500; color: var(--navy);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.logos li:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface); }
.logos img { width: 28px; height: 28px; object-fit: contain; flex: none; }
/* every sector he worked in, as a quiet four-column index: plain words on hairlines, no pills and no frames
   (David: "זה מאוד AI שזה בבולטים כאלה ממוסגרים") */
.sectors { columns: 4; column-gap: clamp(24px, 4vw, 56px); }
.sectors li { break-inside: avoid; padding: 9px 2px; font-size: 1rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .sectors { columns: 3; } }
@media (max-width: 600px) { .sectors { columns: 2; column-gap: 20px; } .sectors li { font-size: .9375rem; } }

/* ---------- Contact ---------- */
.contact__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  padding: clamp(24px, 4vw, 56px);
}
.contact__card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-rtl); }
/* the card stands out and invites. First (David, 20/11): "שכל הטופס יהיה בצבע נועז שימשוך תשומת לב, שיתאים לצבעים
   של האתר... שיזמין להשאיר פרטים... לא צעקני ופרובוקטיבי". A deep blue card followed, and he turned it down: "הצבע הכחול
   חזק מדי ולא מושך את העין אלא מרתיע, הלבן נעלם בו". So it is LIGHT: a soft wash of the brand line (teal, blue, a breath
   of the logo's magenta), a thin frame and a coloured glow; the words are navy and dark grey, the form a white panel
   with clear field edges, and the one strong colour is the send button, magenta like every call to action. */
.contact__card {
  background: linear-gradient(135deg, var(--wash-teal) 0%, var(--wash-blue) 52%, var(--wash-porat) 100%);
  border-color: var(--wash-edge); box-shadow: var(--shadow-invite);
}
.contact__card::before { height: 6px; }
.contact__card .contact__btn { background: var(--surface); box-shadow: var(--shadow-ui); }
.contact__card .contact__btn:hover { background: var(--surface); box-shadow: var(--shadow-lift); }
.contact__card .btn--wa.contact__btn { color: var(--wa-btn); }
.contact__card .btn--tel.contact__btn { color: var(--blue); }
.contact__card .btn--mail.contact__btn { color: var(--violet); }
.contact__card .form { background-color: var(--surface); background-image: none; border-color: var(--wash-edge); box-shadow: var(--shadow); }
.form__invite { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; color: var(--navy); }
.contact__card .form__submit { min-width: 196px; min-height: 52px; font-size: 1.0625rem; font-weight: 600; }
/* one horizontal band: the invitation on one side, the direct ways to reach him on the other */
.contact__intro {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title actions";
  column-gap: clamp(24px, 5vw, 72px); row-gap: 12px; align-items: center;
}
.contact__intro .section-title { grid-area: title; margin-bottom: 0; }
/* the logo beside "בואו נכיר", on the same baseline, about the height of the letters */
.contact__logo { display: inline-block; height: .64em; margin-inline-start: .4em; vertical-align: baseline; }
/* three ways to reach him, three buttons, three colours; no number and no address on the page (David, 20/11).
   Icons only, no words (he: "עדיין יש מלל על דרכי יצירת הקשר"; the word is there for screen readers): three
   round buttons, and every few seconds each in turn moves a little to draw the eye (WhatsApp pops, the phone
   rings, the envelope bounces), with a soft ring around it. Hover: the button rises and its icon leans in.
   `translate`, because the reveal rule owns `transform`. */
.contact__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 14px; }
.contact__btn {
  position: relative; width: 64px; height: 64px; min-height: 0; padding: 0; border-radius: 50%; justify-content: center;
  transition: translate .3s var(--ease-out), box-shadow .3s var(--ease), background-color .25s var(--ease);
}
.contact__btn .btn__icon { width: 28px; height: 28px; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out); }
.contact__btn:hover { translate: 0 -3px; }
.contact__btn:hover .btn__icon { transform: scale(1.15) rotate(-10deg); }
.contact__btn:active { translate: none; }
.contact__btn::after { /* the soft ring that goes out from a button when it calls */
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; pointer-events: none;
}
.btn--wa.contact__btn::after { border-color: var(--wa-btn); }
.btn--tel.contact__btn::after { border-color: var(--blue); }
.btn--mail.contact__btn::after { border-color: var(--violet); }
@keyframes call-ring { 0%, 70%, 100% { opacity: 0; scale: 1; } 72% { opacity: .55; scale: 1; } 86% { opacity: 0; scale: 1.45; } }
@keyframes call-wa { 0%, 70%, 92%, 100% { scale: 1; rotate: 0deg; } 76% { scale: 1.2; rotate: -8deg; } 82% { scale: .95; rotate: 4deg; } 87% { scale: 1.06; rotate: 0deg; } }
@keyframes call-tel { 0%, 70%, 92%, 100% { rotate: 0deg; } 73% { rotate: -16deg; } 76% { rotate: 14deg; } 79% { rotate: -12deg; } 82% { rotate: 9deg; } 85% { rotate: -5deg; } }
@keyframes call-mail { 0%, 70%, 92%, 100% { translate: 0 0; scale: 1; } 76% { translate: 0 -5px; scale: 1.12; } 82% { translate: 0 0; scale: .96; } 87% { translate: 0 -2px; scale: 1; } }
html.motion .contact__btn::after { animation: call-ring 6s var(--ease-out) infinite; }
html.motion .btn--wa.contact__btn .btn__icon { animation: call-wa 6s var(--ease) infinite; }
html.motion .btn--tel.contact__btn .btn__icon { animation: call-tel 6s var(--ease) infinite; }
html.motion .btn--mail.contact__btn .btn__icon { animation: call-mail 6s var(--ease) infinite; }
html.motion .btn--tel.contact__btn::after, html.motion .btn--tel.contact__btn .btn__icon { animation-delay: 2s; }
html.motion .btn--mail.contact__btn::after, html.motion .btn--mail.contact__btn .btn__icon { animation-delay: 4s; }
html.motion .contact__btn:hover .btn__icon { animation: none; }
.btn--tel { color: var(--on-accent); background: var(--blue); box-shadow: var(--shadow-btn); }
.btn--tel:hover { background: var(--navy); box-shadow: var(--shadow-btn-hover); }
.btn--mail { color: var(--on-accent); background: var(--violet); box-shadow: var(--shadow-mail); }
.btn--mail:hover { background: var(--violet-deep); }
.contact__btn.btn--wa:hover { box-shadow: var(--shadow-wa-hover); }

/* the form: short and wide. A tinted strip, so the white fields stand out without shouting. */
.form {
  display: grid; gap: 16px; padding: clamp(16px, 2.2vw, 28px);
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background-color: var(--bg); background-image: var(--grad-soft);
}
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 16px; align-items: start; }
.form__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px 20px; align-items: center; }
.form__submit { min-width: 168px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .9375rem; color: var(--navy); }
.req { color: var(--navy); }
.opt { color: var(--ink-2); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
  font-size: 1.0625rem; line-height: 1.4; transition: border-color .2s var(--ease);
}
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]:focus, .field input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
/* a field that needs fixing is marked in the logo's colour, with two or three words under it (David, 20/11) */
.field input[aria-invalid="true"] { border-color: var(--porat); border-width: 2px; background: var(--porat-soft); }
.field input[aria-invalid="true"]:focus-visible { outline-color: var(--porat); border-color: var(--porat); }
.field--check input[aria-invalid="true"] { outline: 2px solid var(--porat); outline-offset: 2px; }
/* a field with an icon instead of a word: the label (icon + a small asterisk; its word is for screen readers) sits
   inside the input on the right. The icon is grey-blue at rest, blue while typing, teal when filled, magenta when
   the field needs fixing; while the fields are empty the three icons take turns with a small motion, to draw the
   eye to the form. */
.field--ico { position: relative; }
.field--ico label {
  position: absolute; top: 0; right: 0; width: 48px; height: 48px; display: grid; place-items: center; z-index: 1;
  color: var(--ink-3); cursor: text; transition: color .25s var(--ease);
}
.field--ico .field__ico { width: 23px; height: 23px; transform-box: fill-box; transform-origin: center; }
.field--ico .req { position: absolute; top: 7px; right: 7px; font-size: .8125rem; line-height: 1; color: var(--porat); }
.field--ico input[type] { padding-right: 48px; }
.field--ico:focus-within label { color: var(--blue); }
.field--ico:has(input:not(:placeholder-shown)) label { color: var(--teal-ink); }
.field--ico:has(input[aria-invalid="true"]) label { color: var(--porat); }
@keyframes ico-name { 0%, 22%, 100% { translate: 0 0; } 6% { translate: 0 -4px; } 12% { translate: 0 0; } 17% { translate: 0 -2px; } }
@keyframes ico-phone { 0%, 22%, 100% { rotate: 0deg; } 4% { rotate: -16deg; } 8% { rotate: 14deg; } 12% { rotate: -12deg; } 16% { rotate: 8deg; } }
@keyframes ico-mail { 0%, 22%, 100% { scale: 1; translate: 0 0; } 7% { scale: 1.18; translate: 0 -2px; } 14% { scale: .96; translate: 0 0; } }
html.motion .field--name:not(:focus-within):has(input:placeholder-shown) .field__ico { animation: ico-name 6s var(--ease) infinite; }
html.motion .field--phone:not(:focus-within):has(input:placeholder-shown) .field__ico { animation: ico-phone 6s var(--ease) 2s infinite; }
html.motion .field--mail:not(:focus-within):has(input:placeholder-shown) .field__ico { animation: ico-mail 6s var(--ease) 4s infinite; }
.field__err { display: flex; align-items: center; gap: 6px; color: var(--porat); font-size: .9375rem; font-weight: 700; }
.field__err:empty { display: none; }
.field__err::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); }
.field--check label { font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.field--check .field__err { grid-column: 2; }
.form__req-note { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.form__notice { font-size: .8125rem; color: var(--ink-2); line-height: 1.6; }
.form a { color: var(--navy); text-underline-offset: 3px; }
.form__status:empty { display: none; }
.form__status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--tint-blue); color: var(--navy); border: 1px solid var(--line-strong); }
.form__status a { font-weight: 500; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-done { display: grid; gap: 12px; justify-items: start; padding: 24px 0; }
.form-done svg { width: 56px; height: 56px; color: var(--teal-ink); }
.form-done h3 { font-size: 1.75rem; font-weight: 700; color: var(--navy); }
.form-done p { color: var(--ink-2); }
.form-done:focus { outline: none; }
@media (max-width: 900px) {
  .contact__intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "actions"; }
  .contact__actions { justify-content: flex-start; gap: 14px; margin-top: 4px; }
  .contact__btn { width: 58px; height: 58px; }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row > .field:nth-child(3) { grid-column: 1 / -1; }
  .form__foot { grid-template-columns: minmax(0, 1fr); }
  .form__submit { width: 100%; }
}
@media (max-width: 480px) {
  /* on a phone the form stays short: name and phone share a row */
  .form__row > .field:nth-child(3) { grid-column: 1 / -1; }
  .form { gap: 12px; }
}

/* ---------- Footer ---------- */
.footer { padding-block: 40px; }
.footer__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 40px; border-top: 1px solid var(--line-strong); padding-top: 32px; }
.footer__brand { display: grid; gap: 2px; }
.footer__tag { font-size: .875rem; color: var(--ink-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.footer__links a { color: var(--ink-2); text-underline-offset: 4px; font-size: .9375rem; }
.footer__links a:hover { color: var(--blue); }
.footer__meta { font-size: .875rem; color: var(--ink-3); }
@media (max-width: 860px) { .footer__inner { grid-template-columns: minmax(0, 1fr); justify-items: start; } .footer__links { justify-content: flex-start; } }

/* ---------- Always within reach: the floating dock ---------- */
/* David, 20/11: a way to reach the form at any moment, that the visitor always sees but that does not nag; then
   "תוסיף ליד הכפתור הצף שעוקב אחרי הגלילה גם כפתור עם סמל וואטסאפ". So: a pill to the form and beside it a round
   green WhatsApp button, in the corner opposite the accessibility button. The pill is filled in the logo's magenta
   like every call to action ("גם הכפתור הצף של בואו נכיר"). The hero has its own "בואו נכיר" again, so the dock
   comes in once that button has left the screen, and leaves when the contact section is on screen or a dialog
   is open. */
.dock {
  position: fixed; bottom: 20px; right: 20px; z-index: 55; display: flex; align-items: center; gap: 10px;
  opacity: 0; visibility: hidden; translate: 0 14px;
  transition: opacity .35s var(--ease), translate .45s var(--ease-out), visibility 0s linear .35s;
}
.dock.is-on { opacity: 1; visibility: visible; translate: none; transition-delay: 0s; }
html.has-dialog .dock { opacity: 0; visibility: hidden; }
.talk {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px 10px 16px;
  border-radius: 999px; box-shadow: var(--shadow-porat);
  font-size: .9375rem; font-weight: 700; color: var(--on-accent); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), translate .3s var(--ease-out), box-shadow .3s var(--ease);
}
.talk svg { width: 20px; height: 20px; flex: none; }
.talk:hover { translate: 0 -2px; box-shadow: var(--shadow-porat-hover); }
.dock__wa {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--wa-btn); color: var(--on-accent); box-shadow: var(--shadow-wa);
  transition: background-color .25s var(--ease), translate .3s var(--ease-out), box-shadow .3s var(--ease);
}
.dock__wa svg { width: 24px; height: 24px; }
.dock__wa:hover { background: var(--wa-btn-hover); translate: 0 -2px; box-shadow: var(--shadow-wa-hover); }
@media (max-width: 600px) {
  .dock { bottom: 14px; right: 14px; gap: 8px; }
  .talk { min-height: 44px; padding: 8px 14px 8px 12px; font-size: .875rem; }
  .dock__wa { width: 44px; height: 44px; }
}

/* ---------- Accessibility menu ---------- */
.a11y-fab {
  position: fixed; bottom: 20px; left: 20px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: grid; place-items: center; color: var(--on-accent);
  background-color: var(--blue); background-image: var(--grad-btn); box-shadow: var(--shadow-ui);
}
.a11y-fab svg { width: 28px; height: 28px; }
.a11y-fab:active { transform: scale(.96); }
.a11y {
  position: fixed; bottom: 84px; left: 20px; z-index: 61;
  width: min(360px, 100% - 40px); max-height: calc(100% - 110px); overflow: auto;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-ui); display: grid; gap: 16px;
}
.a11y__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a11y__title { font-weight: 700; font-size: 1.375rem; color: var(--navy); }
.a11y__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.a11y__grid button {
  display: grid; justify-items: center; gap: 4px; text-align: center; min-height: 80px; padding: 12px 8px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); font-size: .9375rem; line-height: 1.3;
}
.a11y__grid button:hover { border-color: var(--blue); }
.a11y__grid button:active { background: var(--surface-2); }
.a11y__grid button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-accent); }
.a11y__ico { font-size: 1.25rem; line-height: 1; }
.a11y__svg { width: 22px; height: 22px; }
.a11y__status { font-size: .875rem; color: var(--ink-3); }
.a11y__status:empty { display: none; }
.a11y__statement { font-size: .9375rem; color: var(--navy); text-underline-offset: 3px; }
@media (max-width: 600px) { .a11y-fab { width: 46px; height: 46px; bottom: 14px; left: 14px; } .a11y-fab svg { width: 24px; height: 24px; } .a11y { bottom: 70px; left: 14px; } }

/* ---------- Legal dialogs ---------- */
.doc {
  width: min(760px, 100% - 32px); max-height: min(86%, 900px); margin: auto; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-ui);
}
.doc[open] { display: flex; flex-direction: column; }
.doc::backdrop { background: var(--scrim); }
.doc__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.doc__title { font-weight: 700; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); color: var(--navy); }
.doc__body { overflow: auto; padding: 24px clamp(20px, 4vw, 40px) 40px; display: grid; gap: 12px; }
.doc__body h3 { font-weight: 500; font-size: 1.125rem; margin-top: 12px; color: var(--navy); }
.doc__body ul { padding-inline-start: 20px; display: grid; gap: 4px; }
.doc__body p, .doc__body li { color: var(--ink-2); }
.doc__body a { color: var(--navy); text-underline-offset: 3px; }
.doc__updated { font-size: .8125rem; color: var(--ink-3) !important; }
html.has-dialog { overflow: hidden; }

/* ==========================================================================
   Motion — few, slow, transform/opacity, and only while on screen
   ========================================================================== */
html.js.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
html.js.motion [data-reveal="rise"] { transform: translateY(48px) scale(.96); }
html.js.motion [data-reveal="zoom"] { transform: scale(.95); }
html.js.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* section titles: the short brand line under each one draws from the right */
html.js.motion .section-title[data-reveal]::after { transform: scaleX(0); transition: transform .9s var(--ease-out) .3s; }
html.js.motion .section-title[data-reveal].is-in::after { transform: none; }

/* services: each pictogram has one simple motion, in a slow loop */
@keyframes a-draw { 0%, 22% { stroke-dashoffset: 1; } 46%, 100% { stroke-dashoffset: 0; } }
@keyframes a-pop { 0% { transform: translateY(10px) scale(.7); opacity: 0; } 16%, 100% { transform: none; opacity: 1; } }
@keyframes a-donut { 0% { stroke-dashoffset: 1; } 40%, 100% { stroke-dashoffset: .3; } }
@keyframes a-grow { 0% { transform: scaleY(.2); } 34%, 100% { transform: scaleY(1); } }
@keyframes a-flow { to { stroke-dashoffset: -24; } }
@keyframes a-ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes a-tune { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(46px); } }
@keyframes a-twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16) rotate(8deg); } }
html.motion .service__art.is-playing .a-check { animation: a-draw 4.6s var(--ease-out) infinite; }
html.motion .service__art.is-playing .a-pop { animation: a-pop 4.6s var(--ease-out) infinite; }
html.motion .service__art.is-playing .a-pop--2 { animation-delay: .18s; }
html.motion .service__art.is-playing .a-pop--3 { animation-delay: .36s; }
html.motion .service__art.is-playing .a-donut { animation: a-donut 4.6s var(--ease-out) infinite; }
html.motion .service__art.is-playing .a-bar { animation: a-grow 4.6s var(--ease-out) infinite; }
html.motion .service__art.is-playing .a-bar--2 { animation-delay: .16s; }
html.motion .service__art.is-playing .a-bar--3 { animation-delay: .32s; }
html.motion .service__art.is-playing .a-wire { animation: a-flow 1.1s linear infinite; }
html.motion .service__art.is-playing .a-ping { animation: a-ping 2.2s var(--ease-out) infinite; }
html.motion .service__art.is-playing .a-knob { animation: a-tune 4.2s ease-in-out infinite; }
html.motion .service__art.is-playing .a-spark { animation: a-twinkle 4.2s ease-in-out infinite; }


/* ideas: the selected scene eases in, and the line under its title times the turn */
@keyframes idea-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes idea-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.js.motion .ideas__panels .scene:not([hidden]) { animation: idea-in .55s var(--ease-out) both; }
html.motion .ideas__show.is-auto .ideas__tab[aria-selected="true"]::after { animation: idea-timer 5s linear both; } /* one turn (TURN in main.js) */

/* logo: the O draws itself once, when the page opens */
@keyframes logo-o { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html.motion .logo--draw .logo__o { animation: logo-o 1.3s var(--ease-out) .25s both; }
/* the AI mark sparkles: the big spark breathes (a slow quarter turn with a small dip; a four-point spark looks the
   same after 90 degrees, so the loop has no seam), the glint at its heart flares, and the two small sparkles
   twinkle in turn (each appears, turns, and goes out). In the header it all starts after the O has drawn itself. */
@keyframes logo-ai { 0% { rotate: 0deg; scale: 1; } 50% { rotate: 45deg; scale: .82; } 100% { rotate: 90deg; scale: 1; } }
@keyframes logo-ai-in { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
@keyframes logo-glint { 0%, 55%, 100% { scale: .45; } 72% { scale: 1.35; } 85% { scale: .8; } }
@keyframes logo-tw { 0%, 70%, 100% { scale: 0; rotate: 0deg; } 20% { scale: 1.2; rotate: 45deg; } 42% { scale: 1; rotate: 90deg; } }
html.motion .logo__ai { animation: logo-ai 5.5s ease-in-out infinite; }
html.motion .logo__glint { animation: logo-glint 2.75s ease-in-out infinite; }
html.motion .logo__tw--1 { animation: logo-tw 2.6s ease-in-out infinite both; }
html.motion .logo__tw--2 { animation: logo-tw 2.6s ease-in-out 1.3s infinite both; }
html.motion .logo--draw .logo__ai { animation: logo-ai-in .7s var(--ease-out) 1.3s both, logo-ai 5.5s ease-in-out 2s infinite; }
html.motion .logo--draw .logo__glint { animation-delay: 2s; }
html.motion .logo--draw .logo__tw--1 { animation-delay: 2.1s; }
html.motion .logo--draw .logo__tw--2 { animation-delay: 3.4s; }

/* hero: the brand ring turns slowly around the portrait */
@keyframes spin { to { transform: rotate(360deg); } }
html.motion .portrait.is-playing .portrait__ring--a { animation: spin 48s linear infinite; }


html:not(.motion) .flow__fill { transform: none; }
/* process: the two figures bob in turn while they walk; each lit station plays its one motion (4.6s loop) */
@keyframes j-walk { from { translate: 0 0; } to { translate: 0 -4px; } }
@keyframes j-drop { 0%, 18% { translate: 0 -26px; opacity: 0; } 36% { translate: 0 0; opacity: 1; } 42% { translate: 0 -4px; } 48%, 100% { translate: 0 0; opacity: 1; } }
@keyframes j-nod { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
html.motion .flow.is-moving .pair__a { animation: j-walk .32s ease-in-out infinite alternate; }
html.motion .flow.is-moving .pair__b { animation: j-walk .32s ease-in-out .16s infinite alternate; }
html.motion .flow.is-playing .step.is-on .j-pop { animation: a-pop 4.6s var(--ease-out) infinite; }
html.motion .flow.is-playing .step.is-on .j-pop--2 { animation-delay: .7s; }
html.motion .flow.is-playing .step.is-on .j-row { animation: a-draw 4.6s var(--ease-out) infinite; }
html.motion .flow.is-playing .step.is-on .j-row--2 { animation-delay: .45s; }
html.motion .flow.is-playing .step.is-on .j-row--3 { animation-delay: .9s; }
html.motion .flow.is-playing .step.is-on .j-drop { animation: j-drop 4.6s var(--ease-out) infinite; }
html.motion .flow.is-playing .step.is-on .j-nod { animation: j-nod 4.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
html.a11y-still { scroll-behavior: auto; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { transition-duration: .01ms !important; animation: none !important; }

/* ==========================================================================
   Accessibility preferences
   ========================================================================== */
html.a11y-contrast {
  --bg: var(--hc-paper); --surface: var(--hc-paper); --surface-2: var(--hc-paper); --veil: var(--hc-paper);
  --line: var(--hc-ink); --line-strong: var(--hc-ink); --field: var(--hc-ink);
  --ink: var(--hc-ink); --ink-2: var(--hc-ink); --ink-3: var(--hc-ink); --navy: var(--hc-ink); --dim-word: var(--hc-ink);
  --blue: var(--hc-accent); --teal-ink: var(--hc-accent); --focus: var(--hc-accent); --porat: var(--hc-ink);
}
html.a11y-contrast .btn--primary, html.a11y-contrast .talk { background-image: none; animation: none; } /* plain black */
html.a11y-contrast .a11y-fab, html.a11y-contrast .idea__ico,
html.a11y-contrast .form { background: var(--surface); }
html.a11y-contrast .hero__more, html.a11y-contrast .process__note span { background: none; color: var(--navy); -webkit-text-fill-color: currentColor; }
html.a11y-contrast .portrait__photo::after { display: none; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.a11y-links a { outline: 2px dashed var(--focus); outline-offset: 3px; }
html.a11y-readable body { letter-spacing: .03em; word-spacing: .1em; line-height: 1.85; }
html.a11y-readable .hero__title, html.a11y-readable .section-title, html.a11y-readable .statement__text { letter-spacing: 0; line-height: 1.2; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 4l32 16-14 4-6 14z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 4, auto !important;
}
@media (forced-colors: active) {
  .btn, .icon-btn, .a11y-fab, .marquee-toggle, .motion-btn, .a11y__grid button { border: 1px solid ButtonText; }
}
@media print {
  .header, .topline, .a11y-fab, .a11y, .motion-btn { display: none !important; }
  html.js.motion [data-reveal] { opacity: 1; transform: none; }
}
