/* NDIGIT v2 · רשתות: סקשן ליים אחד. התפקיד היחיד שלו הוא לגרום לעקוב.
   הידית ענקית, ואחריה שורה לכל רשת: מה יש שם, וחץ. בריחוף השורה מתהפכת לשחור */
.so { position: relative; overflow: hidden; background: var(--lime); color: #0b0b0a; padding: clamp(90px, 9vw, 140px) 0 clamp(70px, 7vw, 110px); }
.so ::selection { background: #0b0b0a; color: var(--lime); }
/* הידית: האלמנט הכי גדול בסקשן */
.so-handle { display: block; margin: 18px 0 0; font: 700 clamp(88px, 15.5vw, 250px)/.8 var(--display); letter-spacing: -.01em; color: #0b0b0a; text-decoration: none; direction: ltr; text-align: right; }
.so-handle span { display: inline-block; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
@media (hover: hover) and (pointer: fine) { .so-handle:hover span { transform: translateY(-.06em) rotate(-2deg); } }
.so-lead { margin: 22px 0 0; max-width: 44ch; font: 500 clamp(18px, 1.5vw, 22px)/1.55 var(--text); }

/* השורות */
.so-list { list-style: none; margin: clamp(48px, 5vw, 80px) 0 0; padding: 0; border-top: 2px solid #0b0b0a; }
.so-list li { border-bottom: 2px solid #0b0b0a; }
.so-row { position: relative; display: grid; grid-template-columns: 64px minmax(160px, .9fr) 1.4fr auto; gap: 24px; align-items: center; padding: 26px 18px; color: #0b0b0a; text-decoration: none; isolation: isolate; transition: color .35s; }
.so-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0b0b0a; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.so-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; border: 2px solid currentColor; }
.so-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.so-name { font: 700 clamp(40px, 4.2vw, 68px)/.9 var(--display); }
.so-what { font: 500 clamp(16px, 1.25vw, 19px)/1.45 var(--text); }
.so-what small { display: block; margin-top: 4px; font: 400 14px/1 Anton, sans-serif; letter-spacing: .04em; opacity: .6; direction: ltr; text-align: right; }
.so-arr { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 2px solid currentColor; font-size: 24px; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
@media (hover: hover) and (pointer: fine) {
  .so-row:hover { color: var(--lime); }
  .so-row:hover::before { transform: scaleY(1); }
  .so-row:hover .so-arr { transform: rotate(45deg); background: var(--lime); color: #0b0b0a; border-color: var(--lime); }
}
.so-row:focus-visible { outline: 3px solid #0b0b0a; outline-offset: -3px; }

/* קאברים של אינסטגרם: מציצים מתוך השורה, כמו מניפה */
.so-fan { position: absolute; left: 110px; top: 50%; display: flex; pointer-events: none; transform: translateY(-50%); }
.so-fan img { width: clamp(54px, 5vw, 76px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; border: 3px solid #0b0b0a; margin-left: -18px; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.so-fan img:nth-child(1) { transform: rotate(-9deg) translateY(4px); } .so-fan img:nth-child(2) { transform: rotate(-3deg); } .so-fan img:nth-child(3) { transform: rotate(3deg); } .so-fan img:nth-child(4) { transform: rotate(9deg) translateY(4px); }
@media (hover: hover) and (pointer: fine) {
  .so-row:hover .so-fan img:nth-child(1) { transform: rotate(-16deg) translate(-14px, -6px); } .so-row:hover .so-fan img:nth-child(2) { transform: rotate(-6deg) translate(-4px, -12px); }
  .so-row:hover .so-fan img:nth-child(3) { transform: rotate(6deg) translate(4px, -12px); } .so-row:hover .so-fan img:nth-child(4) { transform: rotate(16deg) translate(14px, -6px); }
  .so-row:hover .so-fan img { border-color: var(--lime); }
}
.so > .wrap { position: relative; z-index: 1; }

@media (max-width: 899px) {
  .so-handle { font-size: clamp(64px, 19vw, 120px); }
  .so-row { grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; gap: 6px 14px; padding: 20px 4px; }
  .so-ic { width: 42px; height: 42px; border-radius: 12px; grid-row: span 2; } .so-ic svg { width: 21px; height: 21px; }
  .so-name { font-size: 40px; }
  .so-what { grid-column: 2; font-size: 15px; }
  .so-arr { grid-row: 1 / span 2; grid-column: 3; width: 46px; height: 46px; font-size: 20px; }
  .so-fan { display: none; }
}

/* גרסה 2: מתון יותר (נתי: "יצא די ענק"). הידית קטנה, השורות נמוכות, ההסבר ליד הידית */
.so { padding: clamp(70px, 6.5vw, 110px) 0 clamp(60px, 5.5vw, 90px); }
.so-top { display: grid; grid-template-columns: auto 1fr; gap: 12px 60px; align-items: end; }
.so-handle { margin-top: 0; font-size: clamp(64px, 8.4vw, 136px); }
.so-lead { justify-self: end; margin: 0; padding-bottom: 10px; max-width: 34ch; font-size: clamp(16px, 1.2vw, 18px); }
.so-list { margin-top: clamp(34px, 3.4vw, 54px); border-top-width: 1.5px; }
.so-list li { border-bottom-width: 1.5px; }
.so-row { grid-template-columns: 50px minmax(140px, .8fr) 1.4fr auto; gap: 20px; padding: 16px 14px; }
.so-ic { width: 42px; height: 42px; border-radius: 13px; border-width: 1.5px; } .so-ic svg { width: 21px; height: 21px; }
.so-name { font-size: clamp(30px, 2.6vw, 44px); }
.so-what { font-size: clamp(15px, 1.1vw, 17px); }
.so-what small { font-size: 12px; }
.so-arr { width: 44px; height: 44px; font-size: 18px; border-width: 1.5px; }
.so-fan { left: 86px; } .so-fan img { width: clamp(42px, 3.6vw, 56px); border-width: 2px; margin-left: -14px; }
@media (max-width: 899px) {
  .so-top { grid-template-columns: 1fr; }
  .so-lead { justify-self: start; }
  .so-handle { font-size: clamp(56px, 16vw, 96px); }
  .so-row { grid-template-columns: 40px 1fr auto; padding: 16px 2px; }
  .so-ic { width: 38px; height: 38px; }
  .so-name { font-size: 32px; }
  .so-arr { width: 40px; height: 40px; }
}

/* ===== נתי 28.09: תוכן אמיתי שקופץ מכל שורה. רילס בטלפון לאינסטגרם ולטיקטוק, פרויקט לביהנס,
   כרטיס פרופיל ללינקדאין ומעטפה למייל. במובייל: תמונה קטנה בשורה ===== */
.so-list li { position: relative; }
.so-pop { position: absolute; left: 96px; top: 50%; z-index: 3; opacity: 0; pointer-events: none; transform: translateY(-50%) rotate(-10deg) scale(.55); transform-origin: 50% 60%; transition: opacity .25s, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
@media (hover: hover) and (pointer: fine) { .so-row:hover .so-pop, .so-row:focus-visible .so-pop { opacity: 1; transform: translateY(-58%) rotate(-5deg) scale(1); } }
.so-pop em { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 5px 10px; border-radius: 99px; background: var(--lime); color: #0b0b0a; font: 700 12px/1 var(--text); font-style: normal; white-space: nowrap; direction: ltr; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.so-phone { width: 118px; aspect-ratio: 9 / 16; padding: 5px; border-radius: 20px; background: #0b0b0a; box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.so-phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 15px; background: #222; }
.so-card { width: 210px; padding: 6px 6px 26px; border-radius: 14px; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.so-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.so-li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; align-items: center; width: 250px; padding: 14px; border-radius: 16px; background: #fff; color: #0b0b0a; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.so-li img { grid-row: 1 / 4; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.so-li b { font: 700 16px/1.2 var(--text); } .so-li small { font-size: 12px; color: #5d5b52; }
.so-mail { width: 230px; height: 140px; border-radius: 12px; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.35); overflow: hidden; }
.so-mail i { position: absolute; inset: 0 0 auto; height: 70px; background: #e9e5da; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transition: transform .5s .1s; }
.so-row:hover .so-mail i { transform: rotateX(180deg); }
.so-mail b { position: absolute; left: 12px; right: 12px; bottom: 16px; font: 700 12.5px/1.2 var(--text); color: #0b0b0a; text-align: center; direction: ltr; }
.so-copy { position: absolute; left: 76px; top: 50%; z-index: 4; transform: translateY(-50%); min-height: 38px; padding: 0 14px; border: 1.5px solid #0b0b0a; border-radius: 99px; background: none; color: #0b0b0a; font: 700 13px/1 var(--text); cursor: pointer; }
.so-copy:hover { background: #0b0b0a; color: var(--lime); }
.so-copy:focus-visible { outline: 3px solid #0b0b0a; outline-offset: 3px; }
@media (max-width: 899px) {
  .so-pop { display: none; }
  .so-list li:has(.so-phone, .so-card) .so-row { padding-left: 110px; }
  .so-list li:has(.so-phone) .so-pop, .so-list li:has(.so-card) .so-pop { display: block; left: 8px; opacity: 1; transform: translateY(-50%) rotate(-6deg) scale(.36); transform-origin: 0 50%; }
  .so-pop em { display: none; }
  .so-copy { position: static; transform: none; margin: 0 0 14px 4px; }
}

/* ---------- מייל = מעטפה אמיתית (נתי): גב, מכתב, חזית עם קפלי V, דש שנפתח ובול. בריחוף הדש נפתח והמכתב עולה.
   יושבת רחוק מכפתור ההעתקה ---------- */
.so-pop.so-mail { left: auto; right: 44%; width: 250px; height: 160px; border-radius: 6px; background: none; box-shadow: none; overflow: visible; perspective: 700px; }
.so-mail .env-back { position: absolute; inset: 0; border-radius: 6px; background: #d9d2c0; box-shadow: 0 26px 50px -14px rgba(0,0,0,.45); }
.so-mail .env-letter { position: absolute; left: 12px; right: 12px; top: 10px; height: 136px; z-index: 1; display: grid; align-content: start; gap: 10px; padding: 14px 16px; border-radius: 4px; background: #fffdf7; box-shadow: 0 1px 0 rgba(0,0,0,.06); text-align: right; transition: transform .55s .15s cubic-bezier(.3, 1.3, .5, 1); }
.so-mail .env-letter small { font: 700 13px/1 var(--text); color: #0b0b0a; }
.so-mail .env-lines { display: grid; gap: 6px; } .so-mail .env-lines i { display: block; height: 3px; border-radius: 3px; background: #e6e0d0; } .so-mail .env-lines i:nth-child(2) { width: 80%; } .so-mail .env-lines i:nth-child(3) { width: 55%; }
.so-mail .env-letter b { position: static; font: 700 12px/1.2 var(--text); color: #0b0b0a; direction: ltr; text-align: right; }
.so-mail .env-front { position: absolute; inset: 0; z-index: 2; border-radius: 6px; background:
  linear-gradient(to top right, #efe9da 50%, transparent 50.5%) left bottom / 50.5% 100% no-repeat,
  linear-gradient(to top left, #efe9da 50%, transparent 50.5%) right bottom / 50.5% 100% no-repeat,
  linear-gradient(to top, #e6dfcd 0, #e6dfcd 46%, transparent 46%);
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%); }
.so-mail .env-flap { position: absolute; inset: 0 0 auto; height: 58%; z-index: 3; background: #e2dbc8; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transition: transform .45s cubic-bezier(.4, 0, .2, 1), z-index 0s .2s; filter: drop-shadow(0 2px 0 rgba(0,0,0,.08)); }
.so-mail .env-stamp { position: absolute; left: 10px; top: 10px; z-index: 4; display: grid; place-items: center; width: 34px; height: 40px; background: var(--lime); color: #0b0b0a; font: 400 13px/1 Anton, sans-serif; outline: 2px dashed #fff; outline-offset: -4px; transition: opacity .2s; }
@media (hover: hover) and (pointer: fine) {
  .so-row:hover .so-mail .env-flap { transform: rotateX(180deg); z-index: 0; }
  .so-row:hover .so-mail .env-letter { transform: translateY(-74px); }
  .so-row:hover .so-mail .env-stamp { opacity: 0; }
  .so-row:hover .so-mail i.env-flap { transform: rotateX(180deg); }
}
.so-row:hover .so-mail i:not(.env-flap) { transform: none; }
.so-mail .env-lines i, .so-row:hover .so-mail .env-lines i { position: static; inset: auto; clip-path: none; transform: none; transition: none; }
.so-pop.so-mail { right: auto; left: calc(var(--envx, 41%)); }
