/* =====================================================================
   "התהליך" (after site.css): three real projects go through the same four steps.
   One deck in 3D: script → layers → design language → an After Effects window that builds the three key frames.
   Sizes inside a card follow --cw (the card width). Built by assets/process.js from PROCESS in data.js.
   ===================================================================== */
/* the end: "בואו נדבר" rises as the build ends and the page simply carries on down into the singers (no extra pinned stretch).
   The dark background is on the pinned screen itself, full width. */
.process{height:316vh;--cta-tail:0;position:relative;z-index:2}
.p-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:grid;grid-template-columns:minmax(280px,.72fr) 1.5fr;align-items:center;gap:clamp(40px,5vw,84px);
  padding:80px max(24px,calc((100% - var(--max)) / 2 + 24px)) 30px}
.p-sticky::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(var(--bg),#09090a 14%,#09090a 86%,var(--bg))}
.p-text{position:relative;z-index:2}
.p-text .title{font-size:clamp(32px,3.7vw,54px)}
.p-steps{position:relative;margin-top:36px;min-height:210px}
.p-step{position:absolute;inset:0 0 auto;opacity:0;transform:translateY(22px);transition:opacity .15s,transform .2s}   /* the outgoing step leaves fast, so two texts never overlap */
.p-step.on{opacity:1;transform:none;transition:opacity .45s .12s,transform .6s .12s var(--ease)}
.p-step .n{font-size:14px;color:var(--orange);font-weight:500;letter-spacing:.06em}
.p-step h3{font-size:clamp(26px,2.6vw,36px);font-weight:700;margin-top:6px;line-height:1.15}
.p-step p{color:var(--muted);font-size:17.5px;margin-top:12px;max-width:440px}
.p-rail{display:flex;gap:8px;margin-top:20px}
.p-rail span{flex:1;height:3px;border-radius:3px;background:var(--gray);position:relative;overflow:hidden}
.p-rail span i{position:absolute;inset:0;background:var(--orange);transform-origin:right;transform:scaleX(var(--f,0))}
.p-types{display:flex;gap:7px;flex-wrap:wrap;margin-top:24px}
.p-types span{font-size:12.5px;padding:4px 11px;border-radius:999px;border:1px solid var(--line);color:#bdbcc1}

/* ---------- the end of the scroll: the film is done, and on the same screen rise "רוצים תהליך כזה..." and the button
   that opens the "השארת פרטים" window (site.js). --cta-tail: the extra scroll (in vh) the finished screen stays pinned for it. ---------- */
.p-cta{position:absolute;inset:0 0 auto;opacity:0;visibility:hidden;transform:translateY(22px);transition:opacity .2s,transform .3s,visibility 0s .3s}
.process.cta-on .p-cta{opacity:1;visibility:visible;transform:none;transition:opacity .35s .05s,transform .5s .05s var(--ease),visibility 0s}   /* (quick: little scroll is left after it) */
.p-cta .n{font-size:13px;color:var(--orange);font-weight:500;letter-spacing:.06em}
.p-cta p{font-size:clamp(20px,1.8vw,26px);font-weight:300;line-height:1.35;margin-top:0;max-width:400px;color:#f2f2f4;text-wrap:balance}   /* (light and calm, not a second headline) */
.p-cta .btn{margin-top:18px;padding:11px 22px;font-size:15px;box-shadow:0 10px 28px -12px rgba(255,153,51,.6)}
.process.cta-on .p-step.on{opacity:0;transform:translateY(-16px);transition:opacity .2s,transform .3s}   /* the last step's words make room for the question */
/* computers: the rails sit under the heading, the types are gone, and the text block centres on the deck beside it
   (not a phone on its side: that one has its own compact layout below) */
@media (min-width:901px) and (min-height:521px){
  .process .p-text{display:flex;flex-direction:column;padding-bottom:120px}   /* (the deck sits above its timeline drawer: the padding lifts the text to the card's middle) */
  .process .p-rail{order:1;margin-top:30px;max-width:440px}
  .process .p-steps{order:2;margin-top:30px;min-height:180px}
  .process .p-types{display:none}
}

/* eyebrow: one dash per project (the current one fills with the beat) and the project's name, which rolls */
.pm-eyebrow{display:flex;gap:8px;white-space:nowrap}
.pm-eyebrow::before{display:none}
/* the project picker: a column of small frames beside the deck (phones: a row at the end of the eyebrow) */
.pm-eyebrow.has-pick .pm-dashes{display:none}           /* (the frames carry the beat now) */
.pm-scene.has-pick{padding-inline-start:92px}             /* room for the column on the text side; the deck centres in the rest */
.pm-pick{position:absolute;top:50%;inset-inline-start:8px;z-index:6;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:12px}
.pm-pick-h{font-size:11.5px;line-height:1.3;color:#8c8b90;letter-spacing:.02em;text-align:center;max-width:72px;white-space:normal;margin-bottom:2px}
.pm-ti{position:relative}
.pm-th{position:relative;display:block;width:64px;height:64px;padding:0;border-radius:14px;overflow:hidden;cursor:pointer;background:#141416;
  border:1px solid rgba(255,255,255,.16);opacity:.6;transition:opacity .3s,transform .4s var(--ease),border-color .3s,box-shadow .3s}
.pm-th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.06);transition:transform .6s var(--ease)}
.pm-th::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--orange);transform-origin:right;transform:scaleX(var(--f,0))}   /* the beat */
.pm-th:hover{opacity:.95;transform:translateX(-4px);border-color:rgba(255,255,255,.4)}
.pm-th:hover img{transform:scale(1.16)}
.pm-th.on{opacity:1;border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,153,51,.16),0 12px 26px -12px rgba(255,153,51,.55)}
.pm-th:active{transform:scale(.95)}
.pm-th:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.pm-tip{position:absolute;top:50%;inset-inline-end:calc(100% + 12px);transform:translate(6px,-50%);white-space:nowrap;font-size:13px;line-height:1.4;
  padding:4px 10px;border-radius:999px;background:rgba(10,10,11,.88);border:1px solid rgba(255,255,255,.14);color:#eee;opacity:0;pointer-events:none;transition:opacity .25s,transform .3s var(--ease)}
.pm-ti:hover .pm-tip,.pm-th:focus-visible+.pm-tip{opacity:1;transform:translate(0,-50%)}
.pm-pick.off .pm-th{cursor:default;pointer-events:none}
.pm-pick.off .pm-th:not(.on){opacity:.35}
.pm-pick.off .pm-pick-h{opacity:0}
@media (hover:none){.pm-tip{display:none}}
.pm-dashes{display:inline-flex;gap:4px;margin-inline-end:2px;transition:opacity .3s}
.pm-dashes i{position:relative;width:16px;height:2px;background:rgba(255,255,255,.22);overflow:hidden}
.pm-dashes i::after{content:"";position:absolute;inset:0;background:var(--orange);transform-origin:right;transform:scaleX(var(--f,0))}
.pm-name{position:relative;display:inline-block;overflow:hidden;vertical-align:bottom;line-height:1.5;padding-bottom:1px}
.pm-name b{display:inline-block;font-weight:inherit}
.pm-paused{color:#8c8b90;opacity:0;max-width:0;overflow:hidden;transition:opacity .3s,max-width .3s}   /* takes no room until it shows */
.process.paused .pm-paused{opacity:1;max-width:6em}
.process.paused .pm-dashes{opacity:.4}

/* ---------- the scene and the deck ---------- */
.pm-scene{position:relative;height:100%;min-height:0;container-type:size;perspective:1800px;display:grid;place-items:center;outline:none;
  touch-action:pan-y pinch-zoom;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* the focus ring; the transparent outline is what high-contrast (forced colors) mode shows instead of the shadow */
.pm-scene::after{content:"";position:absolute;inset:4px;border-radius:18px;box-shadow:0 0 0 2px var(--orange);outline:2px solid transparent;outline-offset:-2px;opacity:0;pointer-events:none;transition:opacity .2s}
.pm-scene:focus-visible::after{opacity:1}
.pm-glow{position:absolute;inset:0;pointer-events:none}
.pm-glow i{position:absolute;left:50%;top:58%;width:110%;height:70%;transform:translate(-50%,-50%);opacity:0;transition:opacity .9s cubic-bezier(.4,0,.2,1)}
.pm-glow i.on{opacity:1}
@media (prefers-reduced-motion:reduce){.pm-glow i.on{opacity:.5}}
.pm-stack{--cw:min(100cqw,760px,120cqh);--ch:calc(var(--cw)*9/16);position:relative;width:var(--cw);height:var(--ch);transform-style:preserve-3d;will-change:transform}
.pm-stack.flat{transform-style:flat;will-change:auto}
.pm-card{position:absolute;inset:0;will-change:transform}
.pm-stack.flat .pm-card{will-change:auto}
.pm-card.x,.pm-card.x .pm-face.cur,.pm-card.x .pm-comp,.pm-card.x .pm-frame{transform-style:preserve-3d}
.pm-card.gone{visibility:hidden}
.pm-skin{position:absolute;inset:0;border-radius:14px;background:#121214;box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
.pm-skin::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 1px var(--orange),0 0 40px -12px rgba(255,153,51,.45);opacity:0;transition:opacity .4s}
.pm-card.on .pm-skin::after{opacity:1}
.pm-face{position:absolute;inset:0;border-radius:14px;overflow:hidden;visibility:hidden}
.pm-face.cur,.pm-face.in{visibility:visible}
.pm-veil{position:absolute;inset:0;z-index:3;border-radius:14px;background:#000;opacity:0;pointer-events:none;transition:opacity .4s}   /* above a face that is fading in (z 1-2) */
.pm-chip{position:absolute;top:12px;right:12px;z-index:4;font-size:12.5px;line-height:1.4;padding:4px 11px;border-radius:999px;background:rgba(10,10,11,.75);color:#fff;border:1px solid rgba(255,153,51,.5);transition:opacity .3s}
.pm-stack.flat .pm-chip{opacity:0}

/* ---------- step 1: the script page ---------- */
.pm-script{background:#F3F0E8;color:#222}
.pm-script::before{content:"";position:absolute;top:0;bottom:0;right:0;width:4px;background:var(--acc)}
.pm-paper{position:absolute;inset:0;padding:6.5% 7% 5% 7%;direction:rtl;font-family:"Neta","Rubik","Segoe UI",sans-serif;display:flex;flex-direction:column}
.pm-doc-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:max(12px,calc(var(--cw)*.025));border-bottom:1.5px solid #222;padding-bottom:.35em}
.pm-doc-h b{font-weight:700}
.pm-doc-h span{color:#6B6760;font-size:.78em}
.pm-doc-m{font-size:max(10.5px,calc(var(--cw)*.0172));color:#6B6760;margin:.5em 0 3.4%}
/* the lines: written letter by letter (process.js clips each one), the page rolls up under the header as it fills */
.pm-body{position:relative;flex:1;min-height:0;overflow:hidden}
.pm-body.sc{-webkit-mask-image:linear-gradient(transparent,#000 24%);mask-image:linear-gradient(transparent,#000 24%)}
.pm-lines{position:relative;will-change:transform}
.pm-ln{position:relative;font-size:max(12px,calc(var(--cw)*.031));line-height:1.58;white-space:nowrap}
.pm-ln .tx{display:inline-block;clip-path:inset(0 0 0 100%)}   /* (hidden until written) */
.pm-ln.sc{font-weight:700;margin-top:2.1%;counter-increment:pmsc}
.pm-ln.sc::after{content:counter(pmsc);position:absolute;left:0;top:0;font-weight:500;color:#A8A399;opacity:0;transition:opacity .3s}   /* the scene number again in the far margin, as on a real script page */
.pm-ln.sc.w::after{opacity:1}
.pm-paper{counter-reset:pmsc}
.pm-ln.vo{padding-inline-start:16%}
.pm-ln mark{color:inherit;padding:0 2px;background:linear-gradient(var(--hl),var(--hl)) no-repeat right 60%/0% 48%;transition:background-size .6s var(--ease)}
.pm-ln.done mark{background-size:100% 48%}
.pm-caret{position:absolute;left:0;top:0;width:2px;height:14px;margin-left:-3px;background:var(--acc);border-radius:1px;animation:pmBlink 1.06s steps(1) infinite}
@keyframes pmBlink{50%{opacity:0}}

/* ---------- step 2: the real layers of one frame, separated in depth only ---------- */
.pm-layers{background:#161617;overflow:visible}
.pm-legend{position:absolute;left:4%;top:50%;transform:translateY(-50%);width:23%;color:#cfced2;text-align:right}
.pm-legend h4{font-size:max(12px,calc(var(--cw)*.0168));font-weight:700;color:#fff;line-height:1.3}
.pm-legend small{display:block;margin:3px 0 10px;font:max(10.5px,calc(var(--cw)*.0138))/1.4 ui-monospace,Consolas,monospace;color:#8c8b90}
.pm-legend ul{list-style:none;margin:0;padding:0}
.pm-legend li{display:flex;align-items:center;gap:7px;font-size:max(11.5px,calc(var(--cw)*.0164));line-height:1.95;opacity:.6;transition:opacity .3s}
.pm-legend li.up{opacity:1}
.pm-legend li i{flex:none;width:9px;height:9px;border-radius:2px;background:var(--lc)}
.pm-comp{position:absolute;top:4%;bottom:4%;right:4%;width:68%}
.pm-ghost{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25;border-radius:6px}
.pm-frame{position:absolute;inset:0;margin:auto;width:100%;height:auto;aspect-ratio:16/9}
.pm-frame.tall{width:auto;height:95.6%;aspect-ratio:9/16}
/* the key frame lies under the sheets: they fade in over it, it goes only once they cover it, and comes back before they fade out */
.pm-key{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity 0s}
.pm-layers.open .pm-key{opacity:0;transition:opacity 0s .22s}
.pm-sheet{position:absolute;inset:0;opacity:0;box-shadow:0 0 0 1px var(--lca);transition:opacity .2s,background-color .3s}
.pm-layers.open .pm-sheet{opacity:1}
.pm-sheet::before{content:"";position:absolute;top:-1px;right:-1px;width:6px;height:6px;background:var(--lc)}
.pm-card.x .pm-sheet.t{background-color:rgba(255,255,255,.025)}
.pm-sheet img,.pm-sheet b{position:absolute;display:block}
.pm-crop{position:absolute;width:10px;height:10px;border:0 solid rgba(255,255,255,.35);pointer-events:none}
.pm-crop.a{top:-6px;left:-6px;border-width:1px 0 0 1px}.pm-crop.b{top:-6px;right:-6px;border-width:1px 1px 0 0}
.pm-crop.c{bottom:-6px;left:-6px;border-width:0 0 1px 1px}.pm-crop.d{bottom:-6px;right:-6px;border-width:0 1px 1px 0}
.pm-fmt{position:absolute;left:0;bottom:-18px;font:10px/1 ui-monospace,Consolas,monospace;color:rgba(255,255,255,.45);direction:ltr;white-space:nowrap}

/* ---------- step 3: the guide frame, its grid and the board (palette by share, hex, lettering, note) ---------- */
.pm-design{background:#0b0b0c}
.pm-dframe{position:absolute;inset:0}
.pm-dframe.tall{inset:0 auto 0 50%;width:auto;height:100%;aspect-ratio:9/16;transform:translateX(-50%)}
.pm-kf,.pm-fill{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pm-fill{filter:brightness(.45)}
.pm-guides{position:absolute;inset:0;pointer-events:none;--gc:rgba(255,255,255,.28)}
.pm-guides.dark{--gc:rgba(58,39,22,.35)}
.pm-guides i{position:absolute;background:var(--gc);transition:transform .5s var(--ease)}
.pm-guides .v{top:0;bottom:0;width:1px;transform:scaleY(0)}
.pm-guides .h{left:0;right:0;height:1px;transform:scaleX(0)}
.pm-guides .v1{left:33.333%}.pm-guides .v2{left:66.666%}.pm-guides .h1{top:33.333%}.pm-guides .h2{top:66.666%}
.pm-guides .safe{inset:5%;background:none;border:1px dashed var(--gc);opacity:0;transition:opacity .5s .2s}
.pm-guides .cx{left:50%;top:50%;width:12px;height:1px;margin:0 0 0 -6px;transform:scaleX(0)}
.pm-guides .cy{left:50%;top:50%;width:1px;height:12px;margin:-6px 0 0;transform:scaleY(0)}
.pm-design.on .pm-guides .v,.pm-design.on .pm-guides .cy{transform:scaleY(1)}
.pm-design.on .pm-guides .h,.pm-design.on .pm-guides .cx{transform:scaleX(1)}
.pm-design.on .pm-guides .safe{opacity:1}
.pm-safe{position:absolute;left:0;right:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.08) 0 3px,transparent 3px 8px);pointer-events:none}
.pm-safe.top{top:0;height:14%}.pm-safe.bot{bottom:0;height:20%}
.pm-board{position:absolute;width:19%;padding:8px;border-radius:10px;background:rgba(10,10,11,.86);border:1px solid rgba(255,255,255,.14);color:#ddd;direction:rtl}
.pm-pal{display:flex;height:14px;direction:ltr}   /* (no overflow clip: the segments rise 4px on the accent) */
.pm-pal i{transition:transform .3s var(--ease)}
.pm-pal i:first-child{border-radius:3px 0 0 3px}.pm-pal i:last-child{border-radius:0 3px 3px 0}
.pm-design.on .pm-pal i{transform:translateY(-4px)}
.pm-pal i:nth-child(2){transition-delay:.04s}.pm-pal i:nth-child(3){transition-delay:.08s}.pm-pal i:nth-child(4){transition-delay:.12s}.pm-pal i:nth-child(5){transition-delay:.16s}
.pm-hex{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,7ch),1fr));gap:0 4px;margin-top:6px;font:max(7px,min(9px,calc(var(--cw)*.0125)))/1.5 ui-monospace,Consolas,monospace;color:rgba(255,255,255,.62);direction:ltr}   /* drops to 2 columns on a small card instead of spilling */
.pm-board hr{border:0;border-top:1px solid rgba(255,255,255,.14);margin:6px 0}
.pm-type{display:block;height:26px;max-width:100%;object-fit:contain;object-position:right center;border-radius:4px;margin-inline-start:auto}
.pm-note{font-size:11px;line-height:1.35;color:#bdbcc1;margin-top:5px}

/* ---------- step 4: an After Effects window (after the owner's own screenshot). Everything inside is in em of the card width, so it scales as one piece ---------- */
.pm-c4 .pm-skin{background:#1d1d1d}
.ae{position:absolute;inset:0;border-radius:14px;overflow:hidden;direction:ltr;font-family:system-ui,"Segoe UI",Arial,sans-serif;
  font-size:calc(var(--cw)*.01447);color:#b9b9b9;background:#1d1d1d;display:grid;grid-template-rows:2em 2.18em minmax(0,1fr)}
.ae bdi{unicode-bidi:isolate}
.ae-bar{display:flex;align-items:center;gap:1.1em;padding:0 .9em;background:#2b2b2b;border-bottom:1px solid #111;white-space:nowrap;overflow:hidden}
.ae-logo{display:grid;place-items:center;width:1.45em;height:1.45em;border-radius:.3em;background:#3a3a3e;color:#cfcfd8;font:700 .78em/1 system-ui,sans-serif;font-style:normal}
.ae-menu{display:flex;gap:1.15em;color:#c9c9c9}
.ae-tools svg{display:block;width:1.15em;height:1.15em;fill:none;stroke:#8d8d8d;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ae-tools svg.on{stroke:#2D8CEB}
.ae-tools .sep{display:block;width:1px;height:1.2em;background:#3a3a3a}
.ae-file{margin-left:auto;color:#9e9e9e}
.ae-tools{display:flex;align-items:center;gap:.95em;padding:0 1em;background:#232323;border-bottom:1px solid #111}
.ae-main{display:grid;grid-template-columns:18% 1fr;min-height:0}
.ae-proj{background:#232323;border-right:2px solid #1d1d1d;padding:.4em .6em;min-width:0;overflow:hidden;opacity:.75}
.ae-ptab{color:#ddd;border-bottom:2px solid #2D8CEB;display:inline-block;padding-bottom:.15em;margin-bottom:.5em}
.ae-info{color:#9e9e9e;font-size:.9em;margin-bottom:.45em;white-space:nowrap}
.ae-search{height:1.5em;border-radius:3px;background:#1b1b1b;margin-bottom:.5em}
.ae-th{color:#9e9e9e;font-size:.9em;border-bottom:1px solid #333;padding-bottom:.2em}
.ae-items{list-style:none;margin:.3em 0 0;padding:0}
.ae-items li{display:flex;align-items:center;gap:.45em;height:1.7em;white-space:nowrap;overflow:hidden;color:#c4c4c4}
.ae-items li.sel{background:#3a3a3a}
.ae-items li i{flex:none;width:.7em;height:.7em;border-radius:1px;background:var(--lc)}
.ae-items li u{flex:none;width:.95em;height:.85em;border:1px solid #7d7d7d;border-radius:2px;text-decoration:none}
.ae-items li bdi{overflow:hidden;text-overflow:ellipsis}
.ae-compp{display:grid;grid-template-rows:1.82em minmax(0,1fr) 2em;min-width:0;background:#232323}
.ae-ctab{display:flex;align-items:center;gap:.5em;padding:0 .8em;color:#ddd;white-space:nowrap;border-bottom:1px solid #111}
.ae-ctab s{display:inline-block;width:.75em;height:.75em;background:#A89677;text-decoration:none}
.ae-viewer{position:relative;background:#1a1a1a;overflow:hidden}
.ae-cam{position:absolute;top:.3em;left:.7em;color:#cfcfcf;font-size:.9em;line-height:1.1;z-index:2}
.ae-bounds{position:absolute;left:50%;top:50%;width:48.9em;height:27.5em;margin:-13.75em 0 0 -24.45em;background:#000}   /* (its 16:9 / 9:16 morph is eased by process.js) */
.ae-canvas{position:absolute;left:50%;top:50%;width:48.9em;height:27.5em;margin:-13.75em 0 0 -24.45em;overflow:hidden;opacity:0}
.ae-canvas.tall{width:15.47em;margin-left:-7.735em}
.ae-checker{position:absolute;inset:0;background:repeating-conic-gradient(#2a2a2a 0 25%,#232323 0 50%) 0 0/1.4em 1.4em}
.ae-planes{position:absolute;inset:0;transform-origin:50% 50%}
.ae-planes img,.ae-planes b{position:absolute;display:block;opacity:0}
.ae-bbox{position:absolute;border:1px solid var(--lc,#2D8CEB);opacity:0;pointer-events:none}
.ae-bbox i{position:absolute;width:5px;height:5px;margin:-3px;background:#fff;border:1px solid var(--lc,#2D8CEB)}
.ae-foot{display:flex;align-items:center;gap:1.1em;padding:0 .9em;background:#232323;border-top:1px solid #111;white-space:nowrap;overflow:hidden;color:#bdbdbd}
.ae-foot b{color:#2D8CEB;font-weight:600;font-variant-numeric:tabular-nums}
/* the timeline drawer: under the window on a computer, inside the card on a phone */
.ae-drawer{position:absolute;left:0;right:0;top:100%;height:17.11em;font-size:calc(var(--cw)*.01447);direction:ltr;font-family:system-ui,"Segoe UI",Arial,sans-serif;
  color:#b9b9b9;background:#232323;border-radius:0 0 14px 14px;overflow:hidden;opacity:0;transform:translateY(-100%);
  display:grid;grid-template-rows:1.82em 2.73em 1.27em minmax(0,1fr) 1.45em;box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
.ae-tabs{position:relative;display:flex;align-items:stretch;background:#1d1d1d;border-bottom:1px solid #111}
.ae-tab{position:relative;display:flex;align-items:center;gap:.45em;padding:0 1.1em;white-space:nowrap;color:#9e9e9e}
.ae-tab.on{color:#e6e6e6;background:#232323}
.ae-tab s{display:inline-block;width:.7em;height:.7em;background:#A89677;text-decoration:none}
.ae-dot{width:.55em;height:.55em;border-radius:50%;background:#3BB54A;transform:scale(0);transition:transform .3s var(--ease)}
.ae-dot.on{transform:scale(1)}
.ae-uline{position:absolute;left:0;bottom:0;width:1px;height:2px;background:#2D8CEB;transform-origin:0 0}
.ae-head,.ae-cols,.ae-row{display:grid;grid-template-columns:42% 58%}
.ae-head{position:relative;border-bottom:1px solid #111}
.ae-tcbox{display:flex;align-items:center;gap:.9em;padding:0 .8em;contain:strict}
.ae-tcbox b{color:#2D8CEB;font-size:1.55em;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.ae-tcbox small{color:#5f8fc4;font-size:.86em;font-variant-numeric:tabular-nums}
.ae-ruler{position:relative;background:#1d1d1d;overflow:hidden}
.ae-ruler span{position:absolute;top:.25em;transform:translateX(-50%);font-size:.88em;color:#9b9b9b;font-variant-numeric:tabular-nums}
.ae-ruler u{position:absolute;bottom:0;width:1px;height:.45em;background:#555;text-decoration:none}
.ae-wa{position:absolute;left:0;right:0;bottom:.15em;height:.55em;background:#4a4a4a}
.ae-cache{position:absolute;left:0;bottom:0;width:1px;height:2px;background:#3BB54A;transform-origin:0 0;transform:scaleX(0);pointer-events:none}
.ae-ctih{position:absolute;left:0;bottom:0;width:.9em;height:.95em;margin-left:-.45em;background:#2D8CEB;clip-path:polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);z-index:2}
.ae-cols{color:#9e9e9e;font-size:.9em;border-bottom:1px solid #111;align-items:center}
.ae-cols>div{display:flex;gap:1.2em;padding:0 .8em;white-space:nowrap}
.ae-rowsbox{position:relative;overflow:hidden;background:#262626}
.ae-rows{position:absolute;inset:0;visibility:hidden}
.ae-rows.cur{visibility:visible}
.ae-row{position:absolute;left:0;right:0;top:0;height:1.64em;align-items:center;border-bottom:1px solid #1f1f1f;background:#2b2b2b;opacity:0}
.ae-row.hi{background:#3A3A3A}
.ae-row.hi .ae-nm{color:#fff}
.ae-rl{display:flex;align-items:center;gap:.55em;padding:0 .6em;min-width:0;white-space:nowrap;overflow:hidden}
.ae-rl .tw{width:0;height:0;border:.3em solid transparent;border-left-color:#9a9a9a;border-right-width:0}
.ae-rl .ey{width:.95em;height:.55em;border-radius:50%;border:1.5px solid #bdbdbd;flex:none}
.ae-rl .lc{flex:none;width:.85em;height:.85em;background:var(--lc);border-radius:1px}
.ae-rl .no{flex:none;width:1.9em;text-align:right;color:#bdbdbd;font-variant-numeric:tabular-nums}
.ae-rl .ic{flex:none;width:.95em;height:.85em;border:1px solid #8a8a8a;border-radius:2px;font:700 .7em/1 system-ui;display:grid;place-items:center;color:#ddd}
.ae-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;color:#d5d5d5}
.ae-rl .md{flex:none;color:#9e9e9e;margin-left:auto}
.ae-rr{position:relative;height:100%}
.ae-rr i{position:absolute;top:22%;bottom:22%;background:var(--bc);transform-origin:0 50%;transform:scaleX(0)}
.ae-cti{position:absolute;left:0;top:1.82em;bottom:1.45em;width:1px;background:#2D8CEB;z-index:3;pointer-events:none}
.ae-render{position:absolute;left:0;right:0;top:4.55em;height:3px;background:#2D8CEB;transform-origin:0 0;transform:scaleX(0);z-index:4}
.ae-status{display:flex;gap:2em;align-items:center;padding:0 .8em;color:#9e9e9e;font-size:.9em;background:#1d1d1d;border-top:1px solid #111;white-space:nowrap}
.ae-status b{color:#E8A33D;font-weight:500}
/* the finished films: laid out in their final places, moved onto the canvas while it is built */
.pm-films{position:absolute;left:0;top:0;width:100%;height:100%;z-index:5;pointer-events:none}   /* (on the window card: placed by process.js over the window and its timeline) */
.pm-film{position:absolute;border-radius:0;overflow:hidden;background:#000;opacity:0;transform-origin:0 0}   /* square while it sits on the canvas */
.pm-films.out .pm-film{border-radius:10px;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.pm-film img,.pm-film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.pm-film .cap{position:absolute;right:8px;bottom:8px;padding:3px 9px;border-radius:999px;background:rgba(10,10,11,.72);color:#eee;font-size:12px;line-height:1.5;opacity:0;transition:opacity .4s}
.pm-film .vl{position:absolute;inset:0;background:#000;opacity:0;transition:opacity .5s}
.pm-film .rg{position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px var(--orange),inset 0 0 28px -8px rgba(255,153,51,.6);opacity:0;transition:opacity .5s}   /* (inset: the film clips anything outside it) */
.pm-films.fin .pm-film .cap{opacity:1}
.pm-films.fin .pm-film.dim .vl{opacity:.45}
.pm-films.fin .pm-film.spot .rg{opacity:1}
.pm-underglow{position:absolute;left:50%;top:50%;width:90cqw;height:80cqh;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(255,153,51,.16),transparent);opacity:0;pointer-events:none}
/* only during the reveal (render bar → films in place): the fading window parts get their own layers */
.pm-scene.rv :is(.ae,.pm-c4>.pm-skin,.pm-underglow){will-change:opacity}
.pm-scene.rv :is(.ae-bar,.ae-tools,.ae-proj,.ae-drawer){will-change:transform,opacity}

/* ---------- computers with a short window: keep the WhatsApp corner clear ---------- */
@media (min-width:901px) and (max-height:700px){ .p-types{display:none} }
/* on narrower computers the text column reaches the WhatsApp / pen column in the corner: the types start a little in from the right edge, just enough to clear it */
@media (min-width:901px){ .p-types{padding-inline-start:max(0px,calc(92px - (100vw - var(--max)) / 2 - 24px))} }   /* (the types are small now: they fit down to a 700px-tall window) */
@media (min-width:901px) and (max-width:1400px){ .p-text{padding-bottom:56px} }

/* ---------- narrow computers / tablets: one column, the deck on top ---------- */
@media (max-width:900px){
  .p-sticky{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:14px;padding:84px 20px 92px}   /* (the bottom stays clear of the WhatsApp button) */
  .p-types{display:none}
  .p-text .title{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}   /* hidden, but still the section's heading for screen readers */
  .p-steps{margin-top:6px;min-height:150px}
  .p-text{order:2}
  .pm-scene{order:1}
}
/* ---------- phones: a 4:5 card, every face re-flows to a column ---------- */
@media (max-width:620px){
  .process{height:425vh}
  .p-sticky{padding:78px 18px 84px;gap:16px}
  .p-steps{min-height:168px}
  .p-step h3{font-size:24px}
  .p-cta p{font-size:19px}
  .p-cta .btn{margin-top:14px}
  .p-step p{font-size:15.5px}
  .pm-stack{--cw:min(92cqw,76cqh);--ch:calc(var(--cw)*1.25)}
  .pm-chip{font-size:11px;padding:3px 9px;top:8px;right:8px}
  .pm-eyebrow{gap:6px;font-size:14px;align-items:center}   /* the name and the picker share one line */
  .pm-name{flex:none}
  .process.paused .pm-paused{max-width:0;opacity:0}     /* (no room for the word here) */
  .pm-scene.has-pick{padding-inline-start:0}
  .pm-eyebrow .pm-pick{position:static;transform:none;flex-direction:row;gap:7px;margin-inline-start:auto}
  .pm-eyebrow .pm-pick-h{display:none}
  .pm-eyebrow .pm-th{width:38px;height:38px;border-radius:10px}
  .pm-eyebrow .pm-th:hover{transform:none}
  .pm-paper{padding:14% 8% 6% 7%}
  .pm-doc-h{font-size:max(7px,calc(var(--cw)*.04))}      /* the page keeps its proportions on small phones */
  .pm-doc-m{font-size:max(6px,calc(var(--cw)*.034))}
  .pm-ln{font-size:max(7px,calc(var(--cw)*.043));line-height:1.75}
  .pm-legend{left:5%;right:5%;top:auto;bottom:5%;width:auto;transform:none}
  .pm-legend ul{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
  .pm-legend h4{font-size:max(8px,calc(var(--cw)*.04))}           /* the legend scales with the card, so it never climbs into the frame */
  .pm-legend small{font-size:max(7px,calc(var(--cw)*.032));margin-bottom:4px}
  .pm-legend li{font-size:max(8px,calc(var(--cw)*.037));line-height:1.6}
  .pm-fmt{font-size:max(7px,calc(var(--cw)*.03));bottom:-1.5em}
  .pm-comp{top:12%;right:5%;left:5%;bottom:auto;width:auto;height:46%}
  .pm-layers.tall .pm-comp{top:11%;bottom:5%;right:5%;left:auto;width:62%;height:auto}
  .pm-layers.tall .pm-legend{left:5%;right:auto;top:50%;bottom:auto;width:28%;transform:translateY(-50%)}
  .pm-layers.tall .pm-legend ul{display:block}
  .pm-design .pm-dframe{inset:12% 0 auto;height:auto;aspect-ratio:16/9}
  .pm-design .pm-dframe.tall{inset:0 0 0 auto;width:auto;height:100%;aspect-ratio:9/16;transform:none}
  .pm-board{width:auto;left:5% !important;right:5% !important;top:auto !important;bottom:5% !important}
  .pm-design.tall .pm-board{right:auto !important;width:24%;top:50% !important;bottom:auto !important;transform:translateY(-50%)}
  .pm-hex{display:none}
  .pm-type{height:max(16px,calc(var(--cw)*.08))}
  .pm-note{font-size:max(8px,calc(var(--cw)*.034))}
  .ae{font-size:calc(var(--cw)*.0322);grid-template-rows:1.9em minmax(0,1fr)}
  .ae-tools,.ae-proj,.ae-foot,.ae-cam,.ae-menu span:nth-child(n+5),.ae-file,.ae-rl .md,.ae-tcbox small,.ae-status,.ae-cols{display:none}
  .ae-main{grid-template-columns:1fr}
  .ae-compp{grid-template-rows:1.9em 17.9em 0}
  .ae-bounds,.ae-canvas{width:29.1em;height:16.4em;margin:-8.2em 0 0 -14.55em}
  .ae-canvas.tall{width:9.225em;margin-left:-4.6125em}
  .ae-drawer{z-index:2;top:21.7em;bottom:0;height:auto;opacity:1;transform:none;border-radius:0 0 14px 14px;box-shadow:none;font-size:calc(var(--cw)*.0322);
    grid-template-rows:1.9em 2.48em minmax(0,1fr)}   /* (the column titles and the status bar are hidden here, so they take no row) */
  .ae-row{height:1.81em}
  .ae-render{top:4.38em}
  .ae-cti{top:1.9em;bottom:0}
  .pm-film .cap{display:none}   /* the eyebrow above names the film that plays */
}
/* ---------- short, wide screens (a phone on its side): two columns again, without the title ---------- */
@media (max-height:520px) and (min-width:640px){
  .p-sticky{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:22px;padding:84px 24px 70px}
  .p-text,.pm-scene{order:0}
  .p-steps{margin-top:8px;min-height:132px}
  .p-step h3{font-size:21px}
  .p-step p{font-size:14px;margin-top:6px}
  .p-rail{margin-top:10px}
  /* the card is small here (about 280px): every face keeps its desktop proportions, with lower floors */
  .pm-chip{font-size:10.5px;padding:2px 8px;top:7px;right:7px}
  .pm-scene.has-pick{padding-inline-start:58px}
  .pm-pick{gap:8px;inset-inline-start:4px}
  .pm-pick-h{display:none}
  .pm-th{width:44px;height:44px;border-radius:10px}
  .pm-doc-h{font-size:max(7px,calc(var(--cw)*.025))}
  .pm-doc-m{font-size:max(6px,calc(var(--cw)*.0172))}
  .pm-ln{font-size:max(7px,calc(var(--cw)*.031))}
  .pm-legend h4{font-size:max(7.5px,calc(var(--cw)*.0168))}
  .pm-legend small{font-size:max(6.5px,calc(var(--cw)*.0138));margin:2px 0 5px}
  .pm-legend li{font-size:max(7.5px,calc(var(--cw)*.0164));line-height:1.6}
  .pm-legend li i{width:6px;height:6px}
  .pm-hex{display:none}
  .pm-board{padding:6px}
  .pm-pal{height:8px}
  .pm-board hr{margin:4px 0}
  .pm-type{height:calc(var(--cw)*.05)}
  .pm-note{font-size:max(7px,calc(var(--cw)*.0145));margin-top:3px}
  .pm-film .cap{display:none}
  /* a compact After Effects window: the viewer and the timeline only, the timeline still slides out under it */
  .ae,.ae-drawer{font-size:calc(var(--cw)*.0225)}
  .ae{grid-template-rows:1.9em minmax(0,1fr)}
  .ae-tools,.ae-proj,.ae-foot,.ae-cam,.ae-menu span:nth-child(n+5),.ae-file,.ae-rl .md,.ae-tcbox small,.ae-status,.ae-cols{display:none}
  .ae-main{grid-template-columns:1fr}
  .ae-compp{grid-template-rows:1.9em minmax(0,1fr)}
  .ae-bounds,.ae-canvas{width:35.2em;height:19.8em;margin:-9.9em 0 0 -17.6em}
  .ae-canvas.tall{width:11.14em;margin-left:-5.57em}
  .ae-drawer{height:11.62em;grid-template-rows:1.9em 2.48em minmax(0,1fr)}
  .ae-row{height:1.81em}
  .ae-render{top:4.38em}
  .ae-cti{top:1.9em;bottom:0}
}
@media (max-height:520px) and (min-width:640px){
  .p-types{display:none}
  .p-text .title{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}

/* ---------- "לפני · אחרי": the raw material against the finished frame (process.js builds it) ---------- */
.ba{padding:var(--air-s) 0 0}
.ba-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px 40px;flex-wrap:wrap}
.ba-head .lead{max-width:420px;margin-top:0}
.ba-body{margin-top:clamp(32px,4vw,52px);display:flex;flex-direction:column;align-items:center;gap:22px}
.ba-stage{position:relative;width:min(100%,calc(72vh * 16 / 9));aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#0b0b0c;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 40px 80px -40px #000;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:ew-resize;transition:opacity .25s}
.ba-stage.tall{width:min(100%,calc(72vh * 9 / 16))}
.ba-stage.sw{opacity:.25}
.ba-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.ba-before{position:absolute;inset:0;clip-path:inset(0 0 0 50%)}
.ba-tag{position:absolute;top:14px;padding:4px 11px;border-radius:999px;background:rgba(10,10,11,.72);border:1px solid rgba(255,255,255,.16);color:#eee;font-size:13px;line-height:1.5;transition:opacity .3s;pointer-events:none}
.ba-tag.a{left:14px}.ba-tag.b{right:14px}
.ba-stage.lo .ba-tag.a,.ba-stage.hi .ba-tag.b{opacity:0}
.ba-line{position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 18px rgba(255,153,51,.6);pointer-events:none}
.ba-line i{position:absolute;top:50%;left:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:var(--orange);display:grid;place-items:center;
  box-shadow:0 8px 24px -6px rgba(255,153,51,.7);transition:transform .25s var(--ease)}
.ba-line svg{width:22px;height:22px;fill:none;stroke:#111;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ba-stage:hover .ba-line i,.ba-stage.drag .ba-line i{transform:scale(1.08)}
.ba-range{position:absolute;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}   /* the keyboard's way in */
.ba-stage:has(.ba-range:focus-visible){box-shadow:0 0 0 2px var(--orange),0 40px 80px -40px #000}
.ba-tabs{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.ba-tab{display:flex;align-items:center;gap:10px;padding:5px 16px 5px 5px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);
  color:#cfced2;font:inherit;cursor:pointer;opacity:.7;transition:opacity .3s,border-color .3s,background-color .3s}
.ba-tab img{width:46px;height:46px;border-radius:50%;object-fit:cover;display:block}
.ba-tab span{display:flex;flex-direction:column;text-align:right;line-height:1.25}
.ba-tab b{font-weight:500;color:#fff;font-size:14.5px}
.ba-tab small{font-size:12px;color:#8c8b90}
.ba-tab:hover{opacity:1;border-color:rgba(255,255,255,.35)}
.ba-tab.on{opacity:1;border-color:var(--orange);background:rgba(255,153,51,.08)}
.ba-tab:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media (max-width:620px){
  .ba-stage{border-radius:14px}
  .ba-stage.tall{width:min(100%,calc(62vh * 9 / 16))}
  .ba-tag{font-size:11.5px;top:10px}.ba-tag.a{left:10px}.ba-tag.b{right:10px}
  .ba-line i{width:40px;height:40px;margin:-20px 0 0 -20px}
  .ba-tab{padding:4px 12px 4px 4px}.ba-tab img{width:38px;height:38px}.ba-tab small{display:none}
}