/* Modelz site v2, round 4 (2026-11-15): the hero. One film in the middle that is one camera from the plan to the photo,
   real outputs around it, people at work. Noa's spec: 04/אתר/עיצוב מחדש 2026-11-14/כיוון סבב 3 - נועה.md */
.h4{position:relative;padding:88px 0 0;background:var(--navy);overflow:hidden;isolation:isolate}
.h4::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle,rgba(237,246,246,.098) 1.15px,transparent 1.4px) 0 0/28px 28px;   /* round 7b (Yuval): the whiteboard dots a little clearer, still quiet */
  -webkit-mask:radial-gradient(70% 60% at 50% 45%,#000 40%,transparent);mask:radial-gradient(70% 60% at 50% 45%,#000 40%,transparent)}
.h4::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(50% 45% at 50% 66%,rgba(42,155,162,.10),transparent 70%)}

/* the text row: the heading on the start side, the sub line and buttons on the end side, on the heading's last line */
.h4-text{max-width:1248px;margin:0 auto;padding:0 24px;display:flex;flex-direction:column;align-items:center;text-align:center}
/* round 5: the living creature above the centred heading, small and quiet */
.h4 h1{font:400 clamp(34px,2.9vw,46px)/1.08 var(--f);letter-spacing:-.028em;color:var(--text);text-wrap:balance}
.h4 h1>span{display:block}                             /* round 7 (Yuval): the name on one line, who it is for under it */
.h4 h1 .l2{margin-top:14px;font-size:clamp(19px,1.55vw,23px);line-height:1.35;letter-spacing:-.012em}   /* round 7b (Yuval: "make this text much smaller"): a subline, not a second headline */
html[lang=he] .h4 h1 .l2{font-size:clamp(19px,1.5vw,22px);font-weight:400;letter-spacing:0;line-height:1.4}
.h4 h1 .d{color:rgba(237,246,246,.5)}
html[lang=he] .h4 h1{font:500 clamp(32px,2.8vw,44px)/1.12 var(--f-he);letter-spacing:0}
.h4-side{margin-top:28px;max-width:760px}   /* the subline groups with the headline, the actions stand apart */
.h4-side p{font-size:17px;line-height:1.5;color:rgba(237,246,246,.62);margin-bottom:18px;text-wrap:balance}
.h4-side .cta{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.h4 .btn{height:40px;border-radius:10px;font-size:15px;padding:0 18px}
.h4 .btn-ghost{background:transparent;box-shadow:inset 0 0 0 1px rgba(237,246,246,.14)}
.h4 .btn-ghost:hover{background:rgba(237,246,246,.06)}
/* the entrance: each line from a blur, then the side, then the stage */
.h4 .in{opacity:0;filter:blur(8px);transform:translateY(8px);animation:h4in .6s var(--ease-out) forwards}
@keyframes h4in{to{opacity:1;filter:none;transform:none}}
.h4-wrap.in{opacity:1;filter:none;animation:h4up .8s var(--ease-out) forwards}   /* round 7b: seen from the first frame (the .h4 .in fade is for the heading) */
@keyframes h4up{from{transform:translateY(14px)}to{transform:none}}   /* round 7b: the board is seen from the first frame (Yuval); it only settles up */
.h4-stage,.h4-mc{transition:opacity .32s var(--ease-out)}
.h4-wrap:not(.placed) :is(.h4-stage,.h4-mc){opacity:0}   /* round 7b: never a frame with the cards unplaced or still empty: the board shows once its pictures are in (index.html inline script, at most 2.5 s) */

/* the stage: 1440×600 stage units, scaled to the window by JS */
.h4-wrap{position:relative;margin-top:20px;height:550px;transform-origin:50% 0;will-change:opacity,transform}
.h4-pan{position:absolute;inset:0}   /* 2026-11-17: the layer the phone's board drifts on (hero4.js drift); never moved on wider windows */
.h4-stage{position:absolute;top:0;left:0;width:1440px;height:550px;transform-origin:0 0}
.h4-thr{position:absolute;inset:0;width:1440px;height:550px;pointer-events:none;overflow:visible}
.h4-thr{z-index:1}
.h4-thr path{fill:none;stroke:rgba(143,227,230,.26);stroke-width:1}
/* round 6: the line, a wide soft halo and a bright core that keep running along it (a comet), and a glowing end dot */
/* round 7b (Yuval, like xFigura): 1 px low-contrast curves; one soft aurora glow (teal to violet) travels slowly along one
   line at a time (12 s, a 2.4 s slot each, delays set in hero4.js); nothing pulses, no end dots */
.h4-thr .ln path.base{stroke:rgba(237,246,246,.15);stroke-width:1}
.h4-thr .ln path.halo,.h4-thr .ln path.cm{stroke-linecap:round;stroke-dasharray:90px calc(var(--L) * 1px + 90px);stroke-dashoffset:90px;opacity:0;animation:h4cm 12s cubic-bezier(.45,0,.25,1) infinite}
.h4-thr .ln path.halo{stroke:url(#h4au);stroke-width:5;filter:blur(3px);mix-blend-mode:screen}
.h4-thr .ln path.cm{stroke:url(#h4au);stroke-width:1.2}
@keyframes h4cm{0%{stroke-dashoffset:90px;opacity:0}3%{opacity:.85}17%{opacity:.85}20%{stroke-dashoffset:calc(var(--L) * -1px);opacity:0}100%{stroke-dashoffset:calc(var(--L) * -1px);opacity:0}}
@media (prefers-reduced-motion:reduce){.h4-thr .ln path.halo,.h4-thr .ln path.cm{animation:none;opacity:0}}
.h4-thr path.fl{stroke:url(#h4au);stroke-width:1.2;stroke-linecap:round;opacity:0;filter:drop-shadow(0 0 3px rgba(169,180,246,.5))}
.h4-thr circle{fill:#8FE3E6}
.h4-thr .flow{display:none}
/* the cards can be dragged like on a board (desktop) */
@media (min-width:761px){
  .h4c:not(.h4m),.h4p{cursor:grab;touch-action:none;transition:filter .28s var(--ease),opacity .28s var(--ease),box-shadow .2s,scale .2s var(--ease)}
  .h4c.drag,.h4p.drag{cursor:grabbing;z-index:12;scale:1.025;box-shadow:0 0 0 1px rgba(143,227,230,.5),0 40px 80px -30px rgba(0,0,0,.85)}
  .h4c.home,.h4p.home{transition:translate .5s var(--ease),filter .28s var(--ease),opacity .28s var(--ease)}
}
.h4c,.h4p{z-index:2}
/* round 7: between stories the side cards glide to their new places */
@media (min-width:761px){
  .h4-stage.mv .h4c:not(.h4m){transition:left .95s cubic-bezier(.65,0,.25,1),top .95s cubic-bezier(.65,0,.25,1),filter .28s var(--ease),opacity .28s var(--ease),box-shadow .2s,scale .2s var(--ease),translate .5s var(--ease)}
}

.h4c{position:absolute;border-radius:14px;overflow:hidden;background:#11191B;
  box-shadow:0 2px 6px rgba(0,0,0,.35),0 28px 64px -28px rgba(0,0,0,.7);transition:filter .28s var(--ease),opacity .28s var(--ease)}
.h4c::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(237,246,246,.14);pointer-events:none;z-index:5}
.h4c.out{filter:blur(12px);opacity:.6}
.h4c img,.h4c video,.h4c .lay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .24s var(--ease),filter .24s var(--ease);filter:blur(10px)}
.h4c .on{opacity:1;filter:none}
.h4c .lab{position:absolute;left:8px;top:8px;z-index:6;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:500 10.5px/1 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#EDF6F6;padding:5px 7px;border-radius:6px;
  background:rgba(11,18,20,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:opacity .28s}
html[lang=he] .h4c .lab{left:auto;right:8px;font:500 11px/1 var(--f-he);letter-spacing:0;text-transform:none}
.h4c.paper{background:#fff}
.h4c.paper .lab{background:rgba(11,18,20,.72)}
/* the main card: the film, or a scene drawn in HTML */
.h4m{border-radius:20px;background:#11191B}   /* round 7b: the forest's first frame (#h4first) is the first picture; the board shows once it is in */
.h4m video,.h4m .lay,.h4m img{transition:opacity .26s var(--ease);filter:none}
.h4m .lab{left:12px;top:12px} html[lang=he] .h4m .lab{right:12px;left:auto}

/* AGENTZ in the main card: before / after of the model and the box round what changed */
.h4-ag img{filter:none}
.h4-ag .box{position:absolute;left:10%;top:65.5%;width:55%;height:33%;border-radius:6px;opacity:0;
  box-shadow:0 0 0 1.5px #8FE3E6,0 0 0 6px rgba(143,227,230,.18);transition:opacity .4s var(--ease)}
.h4-ag .box.on{opacity:1}
.h4-ag .box b{position:absolute;left:-1.5px;bottom:calc(100% + 6px);font:600 10px/1 var(--f-mono);letter-spacing:.08em;color:#0B1214;background:#8FE3E6;padding:4px 6px;border-radius:5px;white-space:nowrap}
html[lang=he] .h4-ag .box b{font:600 10.5px/1 var(--f-he);letter-spacing:0}

/* SHEETZ in the main card: an A3 sheet that fills with drawings */
.h4-sh{background:#E9ECEB}
.h4-sh .a3{position:absolute;left:50%;top:50%;width:560px;height:396px;transform:translate(-50%,-50%);background:#fff;border-radius:2px;
  box-shadow:0 1px 2px rgba(0,0,0,.12),0 22px 48px -22px rgba(0,0,0,.35)}
.h4-sh .a3::before{content:"";position:absolute;inset:10px;border:1px solid #1D2426}
.h4-sh .dw{position:absolute;opacity:0;transform:translateY(6px);transition:opacity .32s var(--ease),transform .32s var(--ease)}
.h4-sh .dw.on{opacity:1;transform:none}
.h4-sh .dw img{position:static;width:100%;height:100%;object-fit:contain;opacity:1;filter:none}
.h4-sh .tb{position:absolute;right:10px;bottom:10px;width:150px;height:44px;border-left:1px solid #1D2426;border-top:1px solid #1D2426;padding:6px 8px;
  font:500 7.5px/1.35 var(--f-mono);letter-spacing:.06em;color:#1D2426;opacity:0;transition:opacity .4s}
.h4-sh .tb.on{opacity:1}
.h4-sh .tb b{display:block;font:600 9px/1.2 var(--f);letter-spacing:0;margin-bottom:2px}

/* the prompt card */
.h4p{position:absolute;z-index:7;border-radius:14px;padding:12px 12px 10px;background:rgba(17,25,27,.92);
  box-shadow:0 0 0 1px rgba(237,246,246,.14),0 2px 6px rgba(0,0,0,.35),0 28px 64px -28px rgba(0,0,0,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.h4p .t{min-height:60px;font-size:13.5px;line-height:1.45;color:#EDF6F6}
.h4p .t::after{content:"";display:inline-block;width:1.5px;height:14px;margin-inline-start:1px;vertical-align:-2px;background:#8FE3E6;animation:h4caret 1s steps(1) infinite}
@keyframes h4caret{50%{opacity:0}}
.h4p .bar{display:flex;align-items:center;gap:4px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(237,246,246,.08)}
.h4p .bar span{flex:0 1 auto;min-width:0;overflow:hidden;font:500 9px/1 var(--f-mono);letter-spacing:0;padding:5px 3px;border-radius:5px;color:rgba(237,246,246,.44);background:rgba(237,246,246,.05);transition:background-color .25s,color .25s}
.h4p .bar span.on{background:#8FE3E6;color:#0B1214}
/* round 7b (Yuval: "this button has to be the living creature, small too"): the breathing creature (render-blob.js) is the send
   button; on send it gives one bright beat (data-mood="done"); no box behind it; under reduced motion it stays still */
.h4p .send{flex:none;margin-block:-5px;margin-inline:auto -4px;width:34px;height:34px;display:grid;place-items:center;transition:transform .26s var(--ease)}
.h4p .send canvas{display:block;width:34px;height:34px}
.h4p .send.press{transform:scale(.9)}

/* caption and dots under the main card */
/* round 7b (Yuval, like xFigura): the story's caption sits on the main card, centred at the bottom, over a soft dark
   gradient that is strong enough on the white sheet and the light model view too */
.h4m::before{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;z-index:6;pointer-events:none;
  background:linear-gradient(to top,rgba(6,10,11,.88) 0%,rgba(6,10,11,.66) 30%,rgba(6,10,11,.24) 64%,transparent 100%)}
.h4cap{position:absolute;left:0;right:0;bottom:0;z-index:7;padding:0 40px 24px;text-align:center;pointer-events:none}
.h4cap i{display:none;margin-bottom:10px;padding:5px 9px;border-radius:7px;font:500 10.5px/1 var(--f-mono);font-style:normal;letter-spacing:.09em;text-transform:uppercase;
  color:#EDF6F6;background:rgba(237,246,246,.12);box-shadow:inset 0 0 0 1px rgba(237,246,246,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[lang=he] .h4cap i{font:500 11.5px/1 var(--f-he);letter-spacing:0}
.h4cap b{display:block;font:500 21px/1.25 var(--f);letter-spacing:-.015em;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.35)}
html[lang=he] .h4cap b{font-family:var(--f-he);letter-spacing:0}
.h4cap span{display:block;margin:6px auto 0;max-width:64ch;text-wrap:balance;font-size:14px;line-height:1.45;color:rgba(237,246,246,.74)}
/* AGENTZ: the changed island is at the bottom of the picture, so the caption takes the bottom-right corner there */
.h4m.cap-r::before{left:auto;width:52%;height:52%;background:radial-gradient(120% 100% at 100% 100%,rgba(6,10,11,.86) 0%,rgba(6,10,11,.6) 40%,transparent 75%)}
.h4m.cap-r .h4cap{left:auto;width:40%;padding:0 22px 20px;text-align:right}
.h4m.cap-r .h4cap span{margin-right:0}
/* SHEETZ: the sheet sits higher and a little smaller, so the caption never covers its title block */
/* round 7b (Yuval: "fill the big card"): the sheet fills the card edge to edge; the camera starts close on the plan and drifts
   down to the title block; each drawing lands on the sheet; the caption takes the bottom-left, clear of the title block */
@media (min-width:761px){
  .h4-sh{background:#fff}
  .h4-sh .a3{left:0;top:0;transform-origin:0 0;transform:scale(1.5) translate(0,-114px);box-shadow:none;border-radius:0}
  .h4-sh.on .a3{animation:shpan 5.6s cubic-bezier(.45,0,.3,1) both}
  @keyframes shpan{from{transform:scale(1.66) translate(-10px,-6px)}to{transform:scale(1.5) translate(0,-114px)}}   /* verify #20: the title block ends above the caption strip */
  .h4-sh .dw{transform:translateY(-12px) scale(1.03);box-shadow:0 18px 30px -18px rgba(17,27,29,0);transition:opacity .45s var(--ease),transform .55s cubic-bezier(.2,.9,.25,1)}
  .h4-sh .dw.on{transform:none}
  /* SHEETZ (Yuval: centred like the others; no stain on the white sheet): the caption on its own dark glass strip */
  .h4m.cap-s::before{display:none}
  .h4m.cap-s .h4cap{padding:14px 40px 16px;background:rgba(9,14,15,.84);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 -1px 0 rgba(237,246,246,.08)}
}
@media (prefers-reduced-motion:reduce){.h4-sh.on .a3{animation:none}}
/* round 7 (Yuval, with a reference): short lines under the caption; the active one is longer and fills with its story */
.h4dots{position:absolute;left:220px;top:516px;width:1000px;display:flex;justify-content:center;gap:2px}
.h4dots button{position:relative;width:26px;height:24px;border-radius:6px;transition:width .35s var(--ease)}
.h4dots button::before,.h4dots button::after{content:"";position:absolute;inset-inline:5px;top:11px;height:2px;border-radius:2px}
.h4dots button::before{background:rgba(237,246,246,.22);transition:background-color .25s}
.h4dots button::after{background:#EDF6F6;transform:scaleX(var(--p,0));transform-origin:left;transition:transform .12s linear}
html[dir=rtl] .h4dots button::after{transform-origin:right}
.h4dots button:hover::before{background:rgba(237,246,246,.45)}
.h4dots button.on{width:44px}
.h4dots button.on::before{background:rgba(237,246,246,.28)}
.h4dots button:focus-visible{outline:1.5px solid #8FE3E6;outline-offset:1px}

/* TOURZ in the main card: the client room and the tour on a phone, on one link */
.h4-tz{background:#0E1618;overflow:hidden}
.h4-tz .bg{position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(28px) saturate(.9) brightness(.42)!important;opacity:1!important}
.h4-tz .room{position:absolute;left:6%;top:8%;width:56%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px rgba(237,246,246,.16),0 30px 60px -24px rgba(0,0,0,.8);opacity:0;transform:translateY(10px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.h4-tz .room>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;filter:none}
/* round 7b (Yuval: "it doesn't look good"): a real phone, a bezel and the island, short enough that the caption never runs over it */
.h4-tz .phone{position:absolute;right:8%;top:5%;height:74%;aspect-ratio:585/1266;border-radius:24px;overflow:hidden;padding:5px;background:#05090A;
  box-shadow:inset 0 0 0 1px rgba(237,246,246,.08),0 0 0 1.5px #2A3133,0 0 0 2.5px rgba(237,246,246,.12),0 36px 70px -24px rgba(0,0,0,.9);opacity:0;transform:translateY(16px);transition:opacity .55s var(--ease),transform .55s var(--ease)}
.h4-tz .phone img,.h4-tz .phone video{position:relative;inset:auto;display:block;width:100%;height:100%;object-fit:cover;border-radius:19px;opacity:1;filter:none}
.h4-tz .phone .isl{position:absolute;z-index:2;left:50%;top:10px;width:30%;height:13px;margin-left:-15%;border-radius:8px;background:#05090A}
html:not([lang=he]) .h4-tz .phone .he,html[lang=he] .h4-tz .phone .en{display:none}
.h4-tz .on{opacity:1;transform:none}
.h4-tz .ok,.h4-tz .note,.h4-tz .url{position:absolute;z-index:2;font-size:12px;line-height:1;padding:6px 9px;border-radius:7px;white-space:nowrap}
.h4-tz .ok{right:10px;top:10px;background:#8FE3E6;color:#0B1214;font-weight:600;opacity:0;transform:scale(.9);transition:opacity .35s,transform .35s var(--ease)}
.h4-tz .note{left:40%;top:30%;background:#0B2A31;color:#fff;box-shadow:0 0 0 1px rgba(143,227,230,.35);opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s var(--ease)}
.h4-tz .ok.on,.h4-tz .note.on{opacity:1;transform:none}
.h4-tz .url{left:10px;bottom:10px;font:500 10.5px/1 var(--f-mono);letter-spacing:.02em;color:rgba(237,246,246,.86);background:rgba(11,18,20,.66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[dir=rtl] .h4-tz .room{left:auto;right:6%} html[dir=rtl] .h4-tz .phone{right:auto;left:8%}

/* the people */
.h4k{position:absolute;left:0;top:0;z-index:14;pointer-events:none;opacity:0;transition:transform 1.05s cubic-bezier(.4,0,.15,1),opacity .3s}   /* round 7b (Yuval): slower, calmer glides */
.h4c:not(.h4m)>.lab{display:none}   /* round 7b (Yuval): the small cards are pictures only, no title chip */
.h4k.on{opacity:1}
.h4k svg{width:17px;height:19px;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.4))}
.h4k>span{position:absolute;left:13px;top:15px;font:600 11px/1 var(--f);color:#0B1214;padding:3px 7px;border-radius:6px;white-space:nowrap}
html[lang=he] .h4k>span{font-family:var(--f-he)}
.h4k.press svg{transform:scale(.86);transition:transform .26s}
.h4k.a path{fill:#8FE3E6} .h4k.a>span{background:#8FE3E6}
.h4k.b path{fill:#F0C69A} .h4k.b>span{background:#F0C69A}
.h4k.c path{fill:#B9C4FF} .h4k.c>span{background:#B9C4FF}
.h4pin{position:absolute;z-index:8;display:flex;align-items:flex-start;gap:7px;max-width:268px;padding:7px 10px 7px 7px;border-radius:12px;
  background:rgba(17,25,27,.9);box-shadow:0 0 0 1px rgba(237,246,246,.14),0 18px 40px -18px rgba(0,0,0,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  font-size:12.5px;line-height:1.4;color:#EDF6F6;opacity:0;transform:translateY(6px) scale(.98);transition:opacity .3s var(--ease),transform .3s var(--ease)}
.h4pin.on{opacity:1;transform:none}
.h4pin i{flex:none;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font:600 10.5px/1 var(--f);font-style:normal;color:#0B1214}
.h4pin i img{width:14px;height:14px}
.h4pin.sys i{background:rgba(237,246,246,.08)}
.h4pin.b i{background:#F0C69A} .h4pin.c i{background:#B9C4FF}
html[dir=rtl] .h4pin{padding:7px 7px 7px 10px}

/* tablet: the stage scales down; the caption stays readable */
@media (max-width:1100px){
}
/* round 7b (Yuval: "on phones it doesn't look good, learn from xFigura"): phones get a small board of their own (390 x 380
   stage units, hero4.js MW/MH): the main card bleeds off the start edge, three small cards step down the other side, the
   lines and one cursor stay; the caption sits over the board's lower edge with the story lines under it, then one button */
.h4-mc,.h4-mcta{display:none}
@media (max-width:760px){
  .h4{padding-top:86px;min-height:100vh;min-height:100svh}   /* 2026-11-17 (Yuval, like xFigura): the hero alone fills the phone's first screen; hero4.js zooms the board to fill it */
  .h4-text{padding:0 16px}
  .h4 h1{font-size:31px;line-height:1.08}
  .h4 h1 .l2{margin-top:10px;font-size:17px;line-height:1.35;letter-spacing:-.005em}
  html[lang=he] .h4 h1{font-size:28px;line-height:1.14}   /* verify #1: one line in Rubik AND in the fallback face, so nothing moves when Rubik arrives */
  html[lang=he] .h4 h1 .l2{font-size:16.5px}
  .h4-side{display:none}
  .h4-wrap{margin-top:22px;overflow:clip;touch-action:pan-y pinch-zoom}   /* a finger sideways takes the drifting board; the page still scrolls and zooms */
  .h4-pan{will-change:transform}
  .h4k.cut{opacity:0} .h4-wrap.grip .h4k.cut,.h4-wrap.jump .h4k.cut{transition-duration:0s}   /* r6 (Noa): a cursor across the frame's edge fades out (hero4.js kcut) */
  .h4-stage,.h4-thr{width:390px;height:380px}   /* hero4.js MW x MH */
  .h4p,.h4c[data-slot=l2],.h4pin,.h4k.a,.h4-thr path.fl{display:none!important}
  .h4c:not(.h4m){border-radius:10px}
  .h4m{border-radius:14px}
  .h4m::before{display:none}   /* the caption is under the board here, not on the card */
  .h4m>.lab{font-size:9.5px;padding:4px 7px;transition:none}   /* r6: the drift sets its opacity every frame */
  .h4-ag img{object-position:30% 50%}
  .h4-ag .box{left:15.8%;width:68.9%}
  /* the board is wider than the phone (the small cards wait past the far edge, hero4.js drift): the main card's start
     side is the part that leaves the screen at the far end, so the TOURZ phone sits on its far side */
  .h4-tz .phone{left:auto;right:7%;top:15%;height:50%;border-radius:16px;padding:3px} .h4-tz .phone img,.h4-tz .phone video{border-radius:13px} .h4-tz .phone .isl{top:6px;height:8px}
  .h4-tz .room{left:5%;right:auto;top:47%;bottom:auto;width:56%}   /* r6 (Noa): clear of the phone mockup */
  html[dir=rtl] .h4-tz .phone{right:auto;left:7%} html[dir=rtl] .h4-tz .room{left:auto;right:5%}
  .h4-tz .url{left:6px;bottom:2px;padding:4px 6px;font-size:8px}   /* r8 (Noa): clear of the note */
  .h4-tz .ok{top:6px;left:6px;right:auto;font-size:10px;padding:5px 7px}   /* r8 (Noa): the room's top corner, the Client's tag in the free band beside it */ .h4-tz .note{font-size:10px;padding:5px 7px;left:6%;top:auto;bottom:24%;transform:none}
  /* SHEETZ: the whole A3 sheet at the card's height, drifting from the plan across to the elevations and the title block */
  .h4-sh{background:#fff}
  .h4-sh .a3{left:0;top:0;transform-origin:0 0;transform:scale(.79) translate(-238px,0);box-shadow:none;border-radius:0}
  .h4-sh.on .a3{animation:shpanm 5.6s cubic-bezier(.45,0,.3,1) both}
  @keyframes shpanm{from{transform:scale(.86) translate(-4px,-10px)}to{transform:scale(.79) translate(-238px,0)}}
  .h4k svg{width:15px;height:17px} .h4k>span{font-size:10.5px;left:11px;top:13px}
  /* the caption over the board's lower edge, the story lines under it */
  .h4-mc{display:block;position:absolute;left:0;right:0;bottom:0;z-index:8;pointer-events:none}
  .h4-mc::before{content:"";position:absolute;left:0;right:0;bottom:0;height:136px;background:linear-gradient(to bottom,rgba(11,18,20,0),rgba(11,18,20,.8) 30%,var(--navy) 52%);pointer-events:none}
  .h4-mc .h4cap{position:relative;inset:auto;padding:0 20px;z-index:1}
  .h4-mc .h4cap b{font-size:17px}
  .h4-mc .h4cap span{margin-top:4px;font-size:13px;line-height:1.42;max-width:34ch;min-height:calc(2 * 1.42em)}   /* r6: a one-line caption keeps the title in place */
  .h4-mc .h4dots{position:relative;inset:auto;left:auto;top:auto;width:auto;margin-top:6px;z-index:1;pointer-events:auto}
  .h4dots button{width:22px} .h4dots button.on{width:38px}
  .h4-mcta{display:flex;flex-direction:column;align-items:center;gap:12px;margin:16px 16px 0}
  .h4-mcta .btn{min-width:200px}
  .h4-mcta .ql{font-size:14px;color:rgba(237,246,246,.62);text-decoration:none;padding:4px 8px}
  .h4-mcta .ql:active{color:#EDF6F6}
}
@media (max-width:374px){html:not([lang=he]) .h4 h1{font-size:min(31px,8.1vw)}}   /* r6: the English headline stays on one line on narrow phones (the board gets the height) */
@media (prefers-reduced-motion:reduce){
  .h4 .in{animation:none;opacity:1;filter:none;transform:none}
  .h4c,.h4c img,.h4c video,.h4c .lay,.h4-sh .dw,.h4pin{transition:opacity .15s!important;filter:none!important;transform:none!important}
  .h4p .t::after{animation:none}
  .h4-pan,.h4m>.lab{transform:none!important;will-change:auto}   /* the board never drifts */
}
/* Paz 2026-11-22: one quiet line under every "Try for free" (free credits to start; a model from a plan needs a plan or a top-up) */
.h4-side p.cta-note{margin:14px 0 0;font-size:12.5px;line-height:1.45;color:rgba(237,246,246,.42);text-align:center;text-wrap:balance}
.h4-mcta .cta-note{margin:-4px 0 2px;max-width:290px;font-size:12px;line-height:1.45;color:rgba(237,246,246,.45);text-align:center;text-wrap:balance}
