/* אופציה A — לוח פתקים: כל משימה היא פתק דביק שנתלה, מסומן ועף למעלה */
.hero { background:
  radial-gradient(circle at 1px 1px, rgba(28,26,25,.07) 1px, transparent 1.4px) 0 0 / 26px 26px,
  var(--paper); }

.h-line.is-open { overflow: visible; }
.hl-wrap { position: relative; display: inline-block; isolation: isolate; }
.hl-block {
  position: absolute; z-index: -1; inset: 12% -3% 4% -3%;
  background: var(--yellow); transform: scaleX(0);
}
.hl-under {
  position: absolute; left: 1%; right: 1%; bottom: -16px; width: 98%; height: 22px; overflow: visible;
}
.hl-under path { fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; }

.stage { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

/* פתק */
.note { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform, opacity; }
.note__in {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: clamp(190px, 16vw, 240px);
  padding: 26px 20px 22px;
  background: var(--c, var(--yellow));
  border-radius: 3px 3px 14px 3px;
  box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 14px 26px -12px rgba(60,40,30,.35);
  animation: note-float 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes note-float { 50% { margin-top: -6px; } }
.tape {
  position: absolute; top: -12px; left: 50%; width: 74px; height: 24px; margin-left: -37px;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 2px rgba(0,0,0,.06);
  transform: rotate(var(--tr, -3deg));
  clip-path: polygon(3% 8%, 10% 0, 20% 9%, 32% 1%, 46% 8%, 60% 0, 74% 7%, 88% 0, 100% 9%, 97% 92%, 88% 100%, 76% 92%, 62% 100%, 48% 91%, 34% 100%, 20% 92%, 8% 100%, 0 90%);
}
.note__row { display: flex; align-items: flex-start; gap: 10px; }
.chk { position: relative; flex: 0 0 auto; width: 30px; height: 30px; margin-top: 2px; }
.chk svg { position: absolute; overflow: visible; }
.hd-box { inset: 0; width: 30px; height: 30px; }
.hd-box path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.hd-check { width: 38px; height: 32px; top: -10px; right: -6px; }
.hd-check path { fill: none; stroke: var(--pink-deep); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.note--pink .hd-check path { stroke: var(--ink); }
.txt { position: relative; font-family: var(--hand); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.05; color: var(--ink); text-align: right; }
.txt .t { transition: none; }
.hd-strike { position: absolute; left: -4px; right: -4px; top: 46%; width: calc(100% + 8px); height: 12px; overflow: visible; }
.hd-strike path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }

/* הפתק האחרון — אימון */
.note--hero .note__in {
  width: clamp(210px, 19vw, 270px); padding: 30px 24px 26px;
  background: var(--pink); border-radius: 4px 4px 22px 4px;
  box-shadow: 0 2px 2px rgba(0,0,0,.05), 0 24px 40px -16px rgba(170,50,70,.45);
}
.note--hero .txt { font-size: clamp(44px, 4vw, 58px); color: var(--ink); }
.note--hero .chk { width: 40px; height: 40px; margin-top: 8px; }
.note--hero .hd-box { width: 40px; height: 40px; }
.note--hero .hd-check { width: 52px; height: 44px; top: -14px; right: -8px; }
.note--hero .hd-check path { stroke: var(--yellow); stroke-width: 5; }
.note--hero .note__row { align-items: center; justify-content: center; gap: 14px; }
.note--hero .chk { margin-top: 0; }
.note--hero .txt { line-height: 1; padding-bottom: .14em; } /* הגופן בכתב יד יושב נמוך — מרימים אותו לגובה התיבה */
.note__smile { flex: 0 0 auto; width: 38px; height: 38px; translate: 0 5px; }
.note__smile svg { width: 100%; height: 100%; overflow: visible; }
.note__smile path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.note__caption {
  position: absolute; top: 100%; right: 6px; margin-top: 18px; white-space: nowrap;
  font-family: var(--hand); font-size: clamp(22px, 1.8vw, 26px); color: var(--ink);
  transform: rotate(-3deg);
}

/* קונפטי של פתקים קטנים + שרבוטים */
.confetto { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.confetto i {
  position: absolute; left: 0; top: 0; display: block; width: var(--s, 22px); height: var(--s, 22px); margin: calc(var(--s, 22px) / -2);
  background: var(--c); border-radius: 2px 2px 6px 2px; box-shadow: 0 6px 10px -6px rgba(60,40,30,.35);
}
.doodle { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.doodle svg { position: absolute; left: 0; top: 0; width: var(--s, 40px); height: auto; transform: translate(-50%, -50%); overflow: visible; }
.doodle path { fill: none; stroke: var(--c, var(--ink)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle .spin { animation: dd-spin 9s linear infinite; }
@keyframes dd-spin { to { rotate: 360deg; } }
.doodle .wob { animation: dd-wob 2.6s ease-in-out infinite; }
@keyframes dd-wob { 50% { rotate: 10deg; scale: 1.12; } }

@media (max-width: 1100px) {
  .note__in { width: 172px; padding: 22px 14px 18px; }
  .txt { font-size: 21px; }
  .chk, .hd-box { width: 24px; height: 24px; }
  .hd-check { width: 30px; height: 26px; }
  .note--hero .note__in { width: 190px; }
  .note--hero .txt { font-size: 40px; }
  .note__caption { font-size: 21px; }
  .hl-under { bottom: -10px; height: 16px; }
}

/* שבירות שורה בפסקה — רק במובייל */
.m-br { display: none; }
@media (max-width: 760px) {
  .m-br { display: inline; }
  .hero__sub { text-wrap: wrap; font-size: 16px; }
}

/* רמז הגלילה כמשימה מסומנת */
.sh-row { display: inline-flex; align-items: center; gap: 10px; }
.sh-chk, .sh-chk .hd-box { width: 24px; height: 24px; margin: 0; }
.sh-chk .hd-check { width: 30px; height: 26px; top: -9px; right: -6px; }
.scroll-hint-out { position: absolute; inset: 0; z-index: 6; pointer-events: none; } /* עוטף בגודל ההירו — כדי שהזזה שלו לא תזיז את הרמז למעלה */

/* מובייל: כל הטקסט קטן מעט, כך ש״השעה שאת הכי מחכה לה.״ תמיד בשורה אחת.
   הגודל נגזר מרוחב המסך (רוחב השורה ≈ 11.4 × גודל הפונט + 32px שוליים) */
@media (max-width: 760px) {
  .hero__title .t-bold { font-size: min(calc(8.4vw - 2.6px), 46px); white-space: nowrap; }
  .hero__title .t-light { font-size: min(calc(6.93vw - 1.33px), 34.7px); } /* ×⅓ */
  .hero__sub { font-size: 15px; margin-top: 20px; }
}

/* פתיחה: הפתקים הראשונים "קופצים" פנימה (משתנה, כדי לא להתנגש בתנועת הגלילה) */
.note__in { scale: var(--pop, 1); }
/* דסקטופ: השורה המודגשת קטנה מעט, והשורות הדקות מותאמות לרוחבה ב-JS (--light-fs) */
/* דסקטופ: הבדל ברור בין השורות הדקות לשורה המודגשת (בקשת הלקוחה — במקום היישור לרוחב) */
@media (min-width: 761px) {
  .hero__title .t-bold { font-size: clamp(44px, 5vw, 78px); }
  .hero__title .t-light { font-size: clamp(32px, 3.47vw, 53px); } /* ×⅓ מהגודל הקודם */
}
@media (max-width: 760px) {
  .note__in { width: min(172px, calc(50vw - 24px)); }
}

/* פסקת ההירו: נוסח מלא בדסקטופ, נוסח מקוצר בטאבלט ובמובייל (עד 1100px) */
.sub-short, .sub-tab { display: none; }
@media (max-width: 1100px) {   /* טאבלט: שבירה אחרי "אינטימיות" */
  .sub-long { display: none; }
  .sub-tab { display: inline; }
}
@media (max-width: 760px) {    /* מובייל: שבירה אחרי "סטודיו אימונים" */
  .sub-tab { display: none; }
  .sub-short { display: inline; }
}
