/* =====================================================================
   לאה אדרי · סרטוני AI · בכורה קולנועית
   פסי קולנוע שנפתחים, הקרנה פרטית, תסריט שהופך לפריים, רצועת פילם וכתוביות סיום.
   כל התנועה מתנגנת פעם אחת כשהיא נכנסת למסך. צבעים שטוחים בלבד.
   ===================================================================== */

@keyframes av-blink{50%{opacity:.2}}
@keyframes av-drop{0%{transform:scaleY(0)}55%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}
@keyframes av-caret{50%{opacity:0}}

/* ---------- סצנה 1 · בכורה: מסך קרם בין שני פסי קולנוע ---------- */
.av-hero{--lb-t:clamp(92px,12vh,124px);--lb-b:clamp(58px,10vh,108px);position:relative;height:100vh;height:100svh;min-height:560px;overflow:hidden;isolation:isolate}
.av-hero__screen{position:absolute;inset:0;padding-top:var(--lb-t);padding-bottom:var(--lb-b)}
/* הדרקון מימין, הטקסט משמאל, כמו בדף הבית */
.av-hero__grid{height:100%;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);align-items:center;gap:clamp(20px,4vw,64px)}
.av-hero__copy{order:2;display:grid;justify-items:start;gap:clamp(14px,2.3vh,24px)}
.av-hero__title{font-family:var(--font-display);font-weight:900;font-size:clamp(34px,4.4vw,78px);line-height:1.1;letter-spacing:-.015em}
.av-hero__line{display:block;white-space:nowrap}
.av-hero__sub{max-width:29em;font-size:clamp(17px,1.4vw,21px);line-height:1.65;color:var(--muted)}
.av-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
/* הדרקון עומד על הפס התחתון. התמונה מוזזת מעט למטה כדי שכפות הרגליים ייגעו בפס */
.av-hero__art{order:1;align-self:stretch;position:relative;min-height:0;margin:0}
/* במרכז: פריים מתוך סרט אמיתי, בלופ שקט. הדרקון הבמאי קטן, עומד על הפס התחתון בפינה וחותם את הסצנה */
.av-hero__film{position:absolute;left:50%;top:50%;translate:-50% -50%;height:min(100% - 30px,660px);aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#000;box-shadow:0 0 0 2px var(--gold-light),-14px 14px 0 0 var(--teal)}
.av-hero__film video{display:block;width:100%;height:100%;object-fit:cover}
.av-hero__tag{position:absolute;top:12px;inset-inline-start:12px;padding:5px 12px;border-radius:999px;background:var(--ink);color:var(--cream);font-size:12.5px;font-weight:700;line-height:1.4}
.av-hero__sign{position:absolute;z-index:2;inset-inline-start:-5%;bottom:0;width:auto;height:min(37%,240px);max-width:none;transform:translate(0,2.6%)}

/* הפסים: כל פס בגובה חצי מסך. סגורים הם נפגשים באמצע, פתוחים נשאר מהם רק השוליים */
.av-bar{position:absolute;z-index:4;left:0;right:0;height:calc(50% + 1px);background:var(--ink);color:var(--cream)}
.av-bar--top{top:0;transform:translate3d(0,calc(var(--lb-t) - 100%),0)}
.av-bar--bot{bottom:0;transform:translate3d(0,calc(100% - var(--lb-b)),0)}
.av-bar__edge{position:absolute;left:0;right:0}
.av-bar--top .av-bar__edge{bottom:0;height:var(--lb-t)}
.av-bar--bot .av-bar__edge{top:0;height:var(--lb-b);display:flex;align-items:center}
.av-hero__seam{position:absolute;z-index:5;left:0;right:0;top:calc(50% - 1px);height:2px;background:var(--gold-light);opacity:0;transform:scaleX(0);pointer-events:none}

/* שורת הצילום בפס התחתון: REC, רמז לגלילה וטיימקוד */
.av-hud{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-inline-start:46px;font-size:13.5px;font-weight:700}
.av-hud__rec{display:inline-flex;align-items:center;gap:9px;min-width:7.5em;font-family:var(--font-latin);font-weight:500;letter-spacing:.24em}
.av-hud__rec i{width:10px;height:10px;border-radius:50%;background:var(--pink);animation:av-blink 1.4s steps(1) infinite}
.av-hud__hint{display:inline-flex;align-items:center;gap:12px;color:var(--cream);text-decoration:none}
.av-hud__hint i{width:2px;height:28px;background:var(--gold-light);transform-origin:50% 0;animation:av-drop 1.7s var(--ease) infinite}
.av-hud__tc{min-width:7.5em;text-align:left;font-family:var(--font-latin);font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.12em;color:var(--gold-light);direction:ltr}

.is-static .av-hud__rec i,.is-static .av-hud__hint i{animation:none}

@media (max-width:860px){
  .av-hero{min-height:580px}
  .av-hero__grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:0}
  .av-hero__copy{order:1;justify-items:center;text-align:center;gap:10px;padding-top:clamp(14px,3vh,30px)}
  .av-hero__copy .slate{justify-content:center}
  .av-hero__title{font-size:clamp(29px,8.6vw,48px);line-height:1.12}
  .av-hero__sub{font-size:15.5px;line-height:1.55;max-width:24em}
  .av-hero__cta{justify-content:center;margin-top:4px}
  .av-hero__cta .btn{min-height:48px;gap:10px;padding-inline:20px 5px;font-size:15.5px}
  .av-hero__cta .btn__dot{width:38px;height:38px}
  .av-hero__watch{display:none}
  .av-hero__art{order:2;margin-top:14px}
  .av-hero__film{height:min(100% - 18px,calc(62vw * 16 / 9));border-radius:18px;box-shadow:0 0 0 2px var(--gold-light),-9px 9px 0 0 var(--teal)}
  .av-hero__sign{inset-inline-start:0;height:min(33%,124px)}
  .av-hud{padding-inline-start:0;font-size:12.5px}
  .av-hud__rec,.av-hud__tc{min-width:0}
}
@media (max-width:360px){
  .av-hud__hint span{display:none}
}

/* ---------- סצנה 2 · הקרנה פרטית ---------- */
.av-show{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding-block:clamp(96px,12vh,140px) clamp(40px,6vh,76px)}
.av-show__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 60px}
.av-show__titles{display:grid;justify-items:start;gap:14px}
.av-show__lead{display:grid;justify-items:start;gap:10px;max-width:26em}
.av-show__lead .t-lead,.av-genre__head .t-lead,.av-roll .t-lead,.av-credit__what{text-wrap:balance}
.av-script__big,.av-hero__sub,.av-frame__body{text-wrap:pretty}
.av-show__ig{font-size:15px;color:var(--fg)}

/* מסילה: גלילה צידית טבעית עם נקודות עצירה. הכרטיס שבמרכז גדול, השכנים קטנים ושקטים */
.av-rail{--ch:min(48vh,470px);--cw:calc(var(--ch) * 9 / 16);--gap:clamp(14px,2vw,28px);position:relative;margin-top:clamp(22px,4vh,40px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.av-rail::-webkit-scrollbar{display:none}
.av-rail__list{box-sizing:content-box;display:flex;gap:var(--gap);width:max-content;padding-block:6px;padding-inline:calc(50% - var(--cw) / 2)}
.av-film{flex:none;width:var(--cw);scroll-snap-align:center;scroll-snap-stop:always}
.av-film__play{position:relative;display:block;width:100%;aspect-ratio:9/16;padding:0;border:0;border-radius:16px;overflow:hidden;background:#1C2022;transform:scale(var(--s,1));opacity:var(--o,1);box-shadow:0 0 0 1px #FCF8F01A;transition:box-shadow .3s}
.av-film__play img,.av-film__loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.av-film__loop{opacity:0;transition:opacity .5s linear}
.av-film__loop.is-on{opacity:1}
.av-film.is-active .av-film__play{box-shadow:0 0 0 2px var(--gold-light)}
.av-film__btn{position:absolute;left:50%;top:50%;width:66px;height:66px;margin:-33px 0 0 -33px;border-radius:50%;display:grid;place-items:center;background:var(--ivory);color:var(--ink);transition:transform .4s var(--ease-out),opacity .3s}
.av-film__btn svg{width:26px;height:26px;margin-left:4px}
.av-film:not(.is-active) .av-film__btn{opacity:0;transform:scale(.6)}
.av-film__play:hover .av-film__btn,.av-film__play:focus-visible .av-film__btn{transform:scale(1.1)}
.av-film__badge{position:absolute;top:12px;right:12px;padding:5px 12px;border-radius:999px;background:var(--gold-light);color:var(--ink);font-size:13px;font-weight:700;line-height:1.4}

/* מה מוקרן עכשיו */
.av-now.shell{width:min(760px,100% - var(--gutter) * 2)}
.av-now{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:clamp(18px,3vh,30px);text-align:center}
.av-now__info{display:grid;justify-items:center;gap:2px}
.av-now__title{font-family:var(--font-display);font-weight:900;font-size:clamp(21px,1.9vw,29px);line-height:1.25}
.av-now__meta{font-size:15px;color:var(--muted)}
.av-now__stats{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 14px;margin-top:4px;font-size:14.5px}
.av-now__stats b{color:var(--accent)}
.av-now__stats small{font-size:12.5px;color:var(--muted)}
/* הנתונים שייכים רק לסרטון המודעות. בשאר הסרטים המקום נשמר, כדי שהעמוד לא יקפוץ */
.av-now__stats.is-off{visibility:hidden}

.av-ctl{display:grid;place-items:center;flex:none;width:52px;height:52px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1.5px #FCF8F040;transition:background .25s,color .25s,box-shadow .25s,opacity .25s}
.av-ctl svg{width:20px;height:20px}
.av-ctl:hover{background:var(--gold-light);color:var(--ink);box-shadow:none}
.av-ctl[aria-disabled="true"]{opacity:.3;cursor:default;background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1.5px #FCF8F040}
.av-show:focus{outline:none}

/* הנגן: מסך מלא בשחור, נפתח כמו פסי קולנוע */
.av-player{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--ink);color:var(--cream);overflow:hidden}
.av-player::backdrop{background:#0C0E0F}
.av-player__in{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;gap:14px;width:100%;height:100%;padding:clamp(62px,8vh,84px) 16px clamp(16px,3vh,28px)}
.av-player__screen{height:100%;min-height:0;aspect-ratio:9/16;max-width:100%;border-radius:14px;overflow:hidden;background:#000}
.av-player__screen video{width:100%;height:100%;object-fit:contain;background:#000}
.av-player__bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:min(560px,100%);text-align:center}
.av-player__title{font-family:var(--font-display);font-weight:900;font-size:clamp(18px,1.6vw,24px);line-height:1.25}
.av-player__sub{font-size:14px;color:var(--muted)}
.av-player__close{position:absolute;top:14px;left:14px;width:50px;height:50px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:var(--ivory);color:var(--ink);transition:background .25s}
.av-player__close:hover{background:var(--gold-light)}
.av-player__close svg{width:20px;height:20px}
.av-noscroll,.av-noscroll body{overflow:hidden}

.is-static .av-film__play{transform:none;opacity:1}

@media (max-width:860px){
  .av-show{padding-block:clamp(92px,12vh,120px) 44px}
  .av-show__titles{gap:10px}
  .av-show__head .t-lead{font-size:17px;line-height:1.6}
  .av-rail{--cw:min(56vw,250px,30vh);--ch:calc(var(--cw) * 16 / 9);margin-top:22px}
  .av-now{gap:10px}
  .av-ctl{width:46px;height:46px}
  .av-now__stats{font-size:13.5px;gap:0 10px}
  .av-now__stats small{flex-basis:100%}
}

/* ---------- סצנה 3 · התסריט: דף שנכתב והופך לפריים ---------- */
.av-script__grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:center;gap:clamp(40px,7vw,120px)}
.av-script__copy{display:grid;justify-items:start;gap:22px}
.av-script .t-title{font-size:clamp(30px,3.6vw,60px)}
.av-script__big{max-width:29em;font-size:clamp(18px,1.45vw,22px);line-height:1.75;color:var(--muted)}

.av-page{--fw:clamp(150px,36%,240px);position:relative;margin:0;padding-left:clamp(36px,5vw,84px);padding-bottom:calc(var(--fw) * 1.25 - 46px)}
.av-page__sheet{position:relative;padding:clamp(24px,2.8vw,40px) clamp(24px,2.8vw,40px) clamp(56px,5vw,72px);border-radius:8px;background:var(--ivory);color:var(--ink);box-shadow:0 0 0 1.5px var(--line),14px 14px 0 var(--cream-deep)}
.av-page__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding-bottom:14px;margin-bottom:20px;border-bottom:2px dashed var(--line)}
.av-page__head b{font-weight:900;font-size:15.5px}
.av-page__head span{padding:3px 11px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--pink);color:var(--pink);font-weight:700;font-size:12.5px;line-height:1.6}
.av-page__lines{display:grid;gap:12px}
.av-page__line{font-size:clamp(16px,1.3vw,19px);line-height:1.6}
.av-page__line--scene{font-weight:900}
.av-page__line--cam{padding-inline-start:14px;border-inline-start:3px solid var(--teal);color:var(--teal);font-weight:700;transition:border-color .2s}
.av-page.is-armed .av-page__line--cam:not(.is-on){border-color:transparent}
/* הפריים: נכנס בפינה, מוטה מעט, עם מסגרת זהב */
.av-page__frame{position:absolute;z-index:2;left:0;bottom:0;width:var(--fw);aspect-ratio:4/5;border:5px solid var(--gold-light);border-radius:8px;overflow:hidden;background:var(--ink);transform:rotate(-4deg);box-shadow:10px 10px 0 var(--ink)}
.av-page__frame img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.av-page__cap{position:absolute;left:calc(var(--fw) + 34px);bottom:30px;display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700}
.av-page__cap::before{content:"";width:34px;height:2px;background:var(--pink)}
.av-caret{position:relative;display:inline-block;width:0;height:1em;vertical-align:-.12em}
.av-caret::after{content:"";position:absolute;top:0;bottom:-.08em;left:-2px;width:2px;background:var(--pink);animation:av-caret .9s steps(1) infinite}

@media (max-width:860px){
  .av-script__grid{grid-template-columns:minmax(0,1fr);gap:96px}
  .av-script .t-title{font-size:clamp(28px,8vw,46px)}
  .av-script__big{font-size:17px}
  .av-page{--fw:clamp(130px,40%,220px);padding-left:22px}
  .av-page__sheet{box-shadow:0 0 0 1.5px var(--line),8px 8px 0 var(--cream-deep)}
  .av-page__cap{left:calc(var(--fw) + 26px);bottom:22px;font-size:14px}
}

/* ---------- סצנה 4 · ז'אנרים: רצועת פילם ---------- */
.av-genre__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 60px}
.av-genre__titles{display:grid;justify-items:start;gap:14px}
.av-genre__head .t-lead{max-width:24em}
/* החורים בשולי הפילם: פסים בעצירה חדה, וזזים יחד עם הרצועה */
.av-strip{--holes:var(--cream);position:relative;margin-top:clamp(40px,5vw,70px);padding-block:48px;background:var(--ink);overflow:hidden}
.av-strip::before,.av-strip::after{content:"";position:absolute;left:0;right:0;height:14px;background:repeating-linear-gradient(90deg,var(--holes) 0 22px,transparent 22px 46px);background-position:var(--feed,0px) 0}
.av-strip::before{top:17px}
.av-strip::after{bottom:17px}
.av-strip__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px)}
.av-frame{display:flex;flex-direction:column;border-radius:6px;overflow:hidden;background:var(--ivory);color:var(--ink)}
.av-frame__pic{aspect-ratio:1/1;overflow:hidden;background:var(--ink-soft)}
.av-frame__pic img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 40%)}
.av-frame__txt{flex:1;display:flex;flex-direction:column;gap:8px;padding:20px 20px 22px}
.av-frame__no{font-family:var(--font-latin);font-size:12.5px;font-weight:500;letter-spacing:.22em;color:var(--teal)}
.av-frame h3{font-family:var(--font-display);font-weight:900;font-size:clamp(21px,1.7vw,26px);line-height:1.2}
.av-frame__hook{font-weight:700;font-size:16px;line-height:1.45;color:var(--pink)}
.av-frame__body{font-size:15.5px;line-height:1.65;color:var(--ink-soft)}
.av-frame__ex{margin-top:auto;padding-top:12px;border-top:1.5px solid var(--line);font-size:14px;font-weight:700}

@media (max-width:860px){
  .av-strip{padding:26px 42px}
  .av-strip::before,.av-strip::after{top:0;bottom:0;left:auto;right:auto;width:14px;height:auto;background:repeating-linear-gradient(180deg,var(--holes) 0 22px,transparent 22px 46px);background-position:0 var(--feed,0px)}
  .av-strip::before{right:14px}
  .av-strip::after{left:14px}
  .av-strip__row{width:auto;margin:0;grid-template-columns:minmax(0,1fr);gap:20px}
  .av-frame__pic{aspect-ratio:16/10}
}
@media (min-width:600px) and (max-width:860px){
  .av-strip__row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .av-frame__pic{aspect-ratio:1/1}
}

/* ---------- שאלות ---------- */
.av-genre{padding-bottom:clamp(70px,9vw,130px)}
.av-faq{padding-top:clamp(60px,8vw,120px)}

/* ---------- סצנה 5 · כתוביות סיום ---------- */
.av-roll{padding-top:clamp(110px,13vw,190px)}
/* שולי פילם משני צדי המסך */
.av-roll::before,.av-roll::after{content:"";position:absolute;top:0;bottom:0;width:14px;background:repeating-linear-gradient(180deg,var(--line) 0 22px,transparent 22px 46px)}
.av-roll::before{left:clamp(10px,2vw,30px)}
.av-roll::after{right:clamp(10px,2vw,30px)}
.av-roll__col{width:min(880px,100% - var(--gutter) * 2 - 40px);margin-inline:auto;text-align:center}
.av-roll__title{display:grid;justify-items:center;gap:18px}
.av-roll__title .t-lead{max-width:30em}
.av-roll__list{display:grid;gap:clamp(44px,5vw,66px);margin-top:clamp(70px,9vw,120px)}
/* תפקיד מימין, שם משמאל, וקו זהב באמצע, כמו בכתוביות של סרט */
.av-credit{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:10px 24px}
.av-credit::before{content:"";grid-column:2;grid-row:1;align-self:center;width:48px;height:2px;background:var(--gold-light)}
.av-credit__role{grid-column:1;grid-row:1;text-align:end;font-size:clamp(16px,1.35vw,20px);font-weight:700;color:var(--accent)}
.av-credit__name{grid-column:3;grid-row:1;text-align:start;font-family:var(--font-display);font-weight:900;font-size:clamp(26px,2.5vw,38px);line-height:1.15}
.av-credit__what{grid-column:1/-1;justify-self:center;max-width:34em;font-size:16px;line-height:1.65;color:var(--muted)}
.av-roll__end{display:grid;justify-items:center;gap:14px;margin-top:clamp(100px,12vw,170px)}
.av-roll__star{font-size:15px;font-weight:700;letter-spacing:.06em;color:var(--muted)}
.av-roll__you{font-family:var(--font-display);font-weight:900;font-size:clamp(46px,6.4vw,100px);line-height:1.05;color:var(--accent)}
.av-roll__end .t-lead{max-width:24em}
.av-roll__end .btn{margin-top:16px}

@media (max-width:640px){
  .av-roll__col{width:calc(100% - 76px)}
  .av-roll::before{left:12px}
  .av-roll::after{right:12px}
  .av-credit{grid-template-columns:minmax(0,1fr);gap:2px}
  .av-credit::before{display:none}
  .av-credit__role,.av-credit__name,.av-credit__what{grid-column:1;text-align:center}
  .av-credit__role{grid-row:1}
  .av-credit__name{grid-row:2}
  .av-credit__what{grid-row:3;margin-top:6px}
}

/* סצנה 3 (התסריט) וסצנה 4 (ז'אנרים) יושבות על אותו רקע, בלי מעבר ביניהן.
   בלי התיקון הזה הריפוד של שתיהן מצטבר לרווח ריק גדול מדי */
.av-script.section{padding-bottom:clamp(34px,4.4vw,62px)}
.av-genre.section{padding-top:clamp(34px,4.4vw,62px)}

/* =====================================================================
   סבב 2.12.2026 · אותה שפה כמו דף הבית החדש
   ===================================================================== */

/* ---------- כל חלק עולה מעל הקודם, במקום מעבר שתופס את כל המסך ----------
   החלק הקודם נשאר במקומו (sticky לפי הגובה שלו, שנמדד ב-ai-video.js) והבא מכסה אותו בגלילה רגילה.
   בלי JS אין sticky בכלל, והדף פשוט נגלל */
.av-rise{--av-r:clamp(24px,3.6vw,52px);position:relative}
.av-rise > .av-light,.av-rise > .contact{position:relative}
.av-rise.is-on > .av-hold{position:sticky;top:calc(100vh - var(--hold-h));top:calc(100svh - var(--hold-h))}
.av-rise > .av-hero{z-index:1}
.av-rise > .av-show{z-index:2;border-top:2px solid var(--gold-light);border-radius:var(--av-r) var(--av-r) 0 0}
.av-rise > .av-light{z-index:3;margin-top:24vh;border-radius:var(--av-r) var(--av-r) 0 0;overflow:hidden;background:var(--cream)}
.av-rise > .av-roll{z-index:4;margin-top:14vh;border-radius:var(--av-r) var(--av-r) 0 0}
.av-rise > .contact{z-index:5;margin-top:26vh;border-radius:var(--av-r) var(--av-r) 0 0}
/* חלק שכבר מכוסה לגמרי לא מצויר, והסרט שבפתיחה נעצר */
.av-hold.is-covered{visibility:hidden}
.av-hero.is-covered .av-hero__screen{display:none}
@media (max-width:860px){
  .av-rise > .av-light{margin-top:16vh}
  .av-rise > .av-roll{margin-top:10vh}
  .av-rise > .contact{margin-top:18vh}
}

/* ---------- פתיחה בטלפון: כפתור הוואטסאפ לא מכסה את שעון המצלמה ---------- */
@media (max-width:860px){
  .av-hud__tc{visibility:hidden}
}

/* ---------- הקרנה בטלפון: שורת הנתונים ברוחב מלא, בלי מילה שנשארת לבד ---------- */
@media (max-width:860px){
  .av-now{align-items:start}
  .av-now__stats{margin-inline:-56px}
}

/* ---------- התסריט: פריים גדול יותר, שמחכה ריק ומתמלא כשהשורות נכתבות ---------- */
.av-page{--fw:clamp(170px,44%,300px);padding-bottom:calc(var(--fw) * 1.25 - 96px)}
.av-page__sheet{padding-bottom:clamp(96px,9vw,124px)}
@media (max-width:860px){
  .av-script__grid{gap:52px}
  .av-page{--fw:clamp(130px,40%,220px);padding-bottom:calc(var(--fw) * 1.25 - 46px)}
  .av-page__sheet{padding-bottom:clamp(56px,5vw,72px)}
}

/* ---------- ז'אנרים: שורה אחת קצרה בכל פריים. בטלפון שורה שמחליקים הצידה ---------- */
.av-frame__body{font-size:16px;color:var(--ink)}
@media (max-width:860px){
  .av-strip{padding:44px 0}
  .av-strip::before,.av-strip::after{left:0;right:0;top:auto;bottom:auto;width:auto;height:14px;background:repeating-linear-gradient(90deg,var(--holes) 0 22px,transparent 22px 46px);background-position:var(--feed,0px) 0}
  .av-strip::before{top:15px}
  .av-strip::after{bottom:15px}
  .av-strip__row.shell{width:100%;max-width:none;margin:0}
  .av-strip__row{display:flex;gap:14px;padding-inline:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none;overscroll-behavior-x:contain}
  .av-strip__row::-webkit-scrollbar{display:none}
  .av-frame{flex:none;width:min(74vw,300px);scroll-snap-align:start}
  .av-frame__pic{aspect-ratio:4/3}
}

/* ---------- כתוביות סיום: קצרות וצפופות יותר ---------- */
.av-roll{padding-top:clamp(84px,9vw,130px)}
.av-roll__list{gap:clamp(26px,3vw,38px);margin-top:clamp(44px,5vw,70px)}
.av-credit{gap:4px 24px}
.av-credit__name{font-size:clamp(23px,2.1vw,32px)}
.av-roll__end{margin-top:clamp(64px,7vw,104px)}
/* הפריים הריק שמחכה לתמונה: בהיר ושקט, לא ריבוע שחור */
.av-page__frame{background:var(--cream-deep)}
@media (max-width:860px){.av-rise > .contact{margin-top:24vh}}

/* ---------- מעברים שונים זה מזה (2.12.2026): לא אותו טריק בכל תפר ---------- */
/* לפני התסריט: ציר עריכה על התפר, והמחוג הוורוד נוסע עליו עם הגלילה */
.av-tl{position:absolute;z-index:2;top:14px;left:var(--av-r);right:var(--av-r);height:40px;color:var(--pink);pointer-events:none}
.av-tl__ruler{display:block;width:100%;height:22px;opacity:.75}
.av-tl__head{position:absolute;top:-2px;right:calc(var(--p,0) * (100% - 18px));width:18px;height:40px}
/* לפני הטופס: קצה מנוקב כמו כרטיס שנתלש, במקום פינות מעוגלות */
.av-rise > .contact{border-radius:0;-webkit-mask:radial-gradient(circle at 14px 0,#0000 8px,#000 8.6px) 50% 0/28px 100% repeat-x;mask:radial-gradient(circle at 14px 0,#0000 8px,#000 8.6px) 50% 0/28px 100% repeat-x}

/* ---------- סצנה 3, סצנה 4 והשאלות: לכל חלק רקע משלו ומעבר משלו (2.12.2026) ---------- */
.av-script.section{padding-bottom:clamp(70px,8vw,116px)}
/* סצנה 4 על טורקיז כהה. בקצה העליון שלה שורת חורים של פילם, שמתגלגלת הצידה עם הגלילה */
.av-genre.section{position:relative;padding-top:clamp(96px,10vw,150px);padding-bottom:calc(clamp(70px,9vw,130px) + var(--av-r))}
.av-genre::before{content:"";position:absolute;top:0;left:0;right:0;height:38px;background:repeating-linear-gradient(90deg,var(--cream) 0 24px,transparent 24px 50px) var(--roll,0px) 12px/auto 14px repeat-x,var(--ink)}
.av-genre .av-strip{--holes:var(--teal-deep)}
/* השאלות: דף בקרם עמוק שעולה מעט על הטורקיז, ועל התפר ספירה לאחור של פילם */
.av-light > .av-faq{--bg:var(--cream-deep);--line:#cdbf9f;position:relative;z-index:1;margin-top:calc(var(--av-r) * -1);padding-top:clamp(84px,9vw,128px);border-radius:var(--av-r) var(--av-r) 0 0;background:var(--cream-deep)}
.av-count{position:absolute;z-index:2;top:-58px;left:clamp(28px,9vw,150px);width:116px;height:116px;overflow:visible}
.av-count__hand{transform-box:view-box;transform-origin:60px 60px}
.av-count__n{font-family:var(--font-latin),sans-serif}
@media (max-width:860px){
  .av-count{top:-42px;left:24px;width:84px;height:84px}
  .av-genre::before{height:32px;background-position:var(--roll,0px) 9px}
}

/* הדרקון המקרין, מתחת לכותרת של השאלות */
.av-faq__dragon{display:block;width:min(340px,82%);height:auto;margin-top:clamp(18px,2.4vw,34px)}
@media (max-width:860px){.av-faq__dragon{width:200px;margin:14px auto 0}}
