/* NDIGIT v2 · תצפית: עמוד שנגזר מהחומר שלו. לא היה מה לצלם, היו רק הדמיות.
   הרגע המרכזי: חמישה פוסטים שחותכים את אותן הדמיות אחרת, ומסגרות ליים שמראות איפה יושב כל רכיב קבוע בכל אחד מהם */

/* ---------- 01 · מאגר ההדמיות ---------- */
.tz-lib { display: grid; grid-template-columns: 1.91fr 1fr .8fr; grid-template-rows: auto auto; gap: 14px; margin-top: 44px; }
.tz-lib figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #151512; }
.tz-lib img, .tz-lib video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tz-a { grid-column: 1; grid-row: 1; aspect-ratio: 1.91; }
.tz-b { grid-column: 2; grid-row: 1; }
.tz-c { grid-column: 3; grid-row: 1 / 3; }
.tz-d { grid-column: 1 / 3; grid-row: 2; aspect-ratio: 3.1; }
.tz-lib figcaption { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(11,11,10,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 13px/1 var(--text); color: var(--bone); }
.tz-lib figcaption i { font-style: normal; padding: 3px 7px; border-radius: 99px; background: var(--lime); color: #0b0b0a; font-size: 11px; }
.tz-lib-note { margin: 16px 0 0; font-size: 14px; color: var(--soft); }
.tz-lib-note span { color: var(--bone); font-weight: 700; }

/* ---------- 02 · המעבדה: פוסטים משמאל, רכיבים מימין ---------- */
.tz-lab { display: grid; grid-template-columns: minmax(150px, .5fr) minmax(0, 1.2fr) minmax(220px, .7fr); gap: clamp(20px, 3vw, 48px); align-items: center; margin-top: 44px; padding: clamp(20px, 3vw, 44px); border: 1px solid #22303a; border-radius: 26px; background: linear-gradient(160deg, #0f1c24, #0b0b0a 70%); }
.tz-crops { display: grid; gap: 10px; }
.tz-crop { display: grid; grid-template-columns: 22px 54px 1fr; align-items: center; gap: 10px; padding: 7px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--soft); text-align: right; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tz-crop img { width: 54px; aspect-ratio: 1; border-radius: 7px; object-fit: cover; opacity: .65; transition: opacity .2s; }
.tz-crop-n { font: 400 12px/1 Anton, sans-serif; letter-spacing: .06em; }
.tz-crop-t { font: 700 14px/1.25 var(--text); }
.tz-crop[aria-selected="true"] { border-color: #2f4250; background: #13222c; color: var(--bone); }
.tz-crop[aria-selected="true"] img { opacity: 1; }
.tz-crop[aria-selected="true"] .tz-crop-n { color: var(--lime); }
@media (hover: hover) and (pointer: fine) { .tz-crop:hover { color: var(--bone); } .tz-crop:hover img { opacity: 1; } }
.tz-crop:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.tz-post { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.tz-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.tz-img.on { opacity: 1; }
.tz-box { position: absolute; left: var(--l, 50%); top: var(--t, 50%); width: var(--w, 0%); height: var(--h, 0%); border: 2px solid var(--lime); border-radius: 6px; background: rgba(200,245,66,.12); box-shadow: 0 0 0 999px rgba(11,11,10,0); pointer-events: none; opacity: var(--o, 1);
  transition: left .7s cubic-bezier(.65, 0, .25, 1), top .7s cubic-bezier(.65, 0, .25, 1), width .7s cubic-bezier(.65, 0, .25, 1), height .7s cubic-bezier(.65, 0, .25, 1), opacity .35s, background .3s; }
.tz-box em { position: absolute; top: -11px; right: 6px; padding: 3px 7px; border-radius: 99px; background: var(--lime); color: #0b0b0a; font: 700 11px/1 var(--text); font-style: normal; white-space: nowrap; }
.tz-box.low em { top: auto; bottom: -11px; }
.tz-box.off { --o: 0; }
.tz-lab.focus .tz-box:not(.hit) { --o: .15; }
.tz-lab.focus .tz-box.hit { background: rgba(200,245,66,.24); }
.tz-legend-h { margin: 0 0 14px; font: 700 14px/1 var(--text); letter-spacing: .04em; color: var(--lime); }
.tz-keys { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tz-key { display: grid; grid-template-columns: 14px 1fr; gap: 2px 12px; width: 100%; padding: 12px 14px; border: 1px solid #25333d; border-radius: 12px; background: none; color: var(--bone); text-align: right; cursor: pointer; transition: border-color .2s, background .2s; }
.tz-key i { grid-row: 1 / 3; align-self: center; width: 14px; height: 14px; border: 2px solid var(--lime); border-radius: 4px; }
.tz-key b { font: 700 17px/1.2 var(--text); }
.tz-key span { font-size: 14px; line-height: 1.45; color: var(--soft); }
.tz-key[aria-pressed="true"] { border-color: var(--lime); background: rgba(200,245,66,.07); }
.tz-key[aria-pressed="true"] i { background: var(--lime); }
.tz-key:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.tz-note { margin: 14px 0 0; font-size: 14px; color: var(--soft); } .tz-note b { color: var(--bone); }

/* ---------- 04 · מוקאפים ---------- */
.tz-mocks { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 44px; }
.tz-mocks figure { margin: 0; }
.tz-mocks img { display: block; width: 100%; aspect-ratio: 1.333; object-fit: cover; border-radius: 16px; }
.tz-mocks figcaption { margin-top: 10px; font-size: 14px; color: var(--soft); } .tz-mocks figcaption b { color: var(--bone); }
.tz-real { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line); grid-template-columns: .8fr 1.6fr !important; }
.tz-real .three { display: none; }
.tz-cmp { aspect-ratio: 1.333; max-width: none; }
.tz-cmp .cmp-before img { object-fit: cover; }
.tz .fmt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.333fr) minmax(0, 1.333fr) minmax(0, 1.333fr); align-items: start; }
.tz .fmt li { height: auto; aspect-ratio: var(--ar, 1); }

@media (max-width: 1100px) { .tz-lab { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tz-crops { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); } .tz-crop { grid-template-columns: 1fr; justify-items: center; text-align: center; } .tz-crop-n { display: none; } .tz-crop img { width: 100%; } .tz-crop-t { font-size: 12px; } }
@media (max-width: 899px) {
  .tz-lib { grid-template-columns: 1fr 1fr; }
  .tz-a { grid-column: 1 / -1; grid-row: auto; } .tz-b, .tz-c { grid-column: auto; grid-row: auto; aspect-ratio: .8; } .tz-d { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.6; }
  .tz-lab { grid-template-columns: 1fr; padding: 14px; }
  .tz-crop-t { display: none; }
  .tz-keys { grid-template-columns: 1fr 1fr; } .tz-key span { display: none; }
  .tz-box em { display: none; } .tz-box { border-width: 1.5px; }
  .tz-mocks { grid-template-columns: 1fr 1fr; } .tz-mocks .w { grid-column: 1 / -1; }
  .tz-real { grid-template-columns: 1fr !important; }
  .tz .fmt { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tz-box, .tz-img { transition: none; } }

/* נתי: כמה תמונות באותה שורה = אותו גובה, בלי חיתוך. כל תמונה מקבלת רוחב לפי היחס שלה (--ar) */
.tz-mocks { display: flex; align-items: flex-start; }
.tz-mocks figure { flex: var(--ar) 1 0; min-width: 0; }
.tz-mocks img { height: auto; aspect-ratio: var(--ar); object-fit: contain; }
@media (max-width: 899px) {
  .tz-mocks { flex-wrap: wrap; }
  .tz-mocks .w { flex-basis: 100%; }
  .tz-mocks figure:not(.w) { flex-basis: calc(50% - 8px); }
}

/* ---------- פרויקט 02 באותו עמוד: טוסקניה. פס פתיחה משלו בצבע של טוסקניה, כדי שיהיה ברור שמתחיל פרויקט חדש ---------- */
.tz-band { position: relative; padding: 110px 0 72px; background: #4f5a36; border-top: 8px solid var(--lime); }
.tz-band-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: center; }
.tz-band-in > :not(figure) { grid-column: 1; }
.tz-band .cs-k { color: #fff; }
.tz-band .cs-h2 .lt { color: rgba(255,255,255,.7); }
.tz-band .cs-p { color: rgba(255,255,255,.88); } .tz-band .cs-p b { color: #fff; }
.tz-band .cp-meta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 0; }
.tz-band .cp-meta dt { font-size: 13px; color: rgba(255,255,255,.65); } .tz-band .cp-meta dd { margin: 4px 0 0; font-weight: 700; color: #fff; }
.tz-band-img { position: relative; grid-column: 2; grid-row: 1 / 6; margin: 0; }
.tz-band-img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.tz-band-img .nz-real { bottom: 16px; }
@media (max-width: 899px) { .tz-band { padding: 56px 0 40px; } .tz-band-in { grid-template-columns: 1fr; } .tz-band-img { grid-column: 1; grid-row: auto; } }

/* ---------- שני פרויקטים בעמוד אחד (נתי 28.09): כותרת "לקוח אחד", תוכן עניינים בשתי קבוצות,
   פס פתיחה לכל פרויקט, וטוסקניה על רקע משלה (ירוק ואדמה, כמו השדה בשלט) ---------- */
.tz-two { position: relative; margin: 0 0 14px; font: 700 18px/1.3 var(--text); color: rgba(255,255,255,.8); } .tz-two b { color: #fff; }
.tz-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.tz-tg { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 20px; }
.tz-tg2 { background: #262b1b; border-color: #3d4529; }
.tz-toc .tz-tp { flex-basis: 100%; justify-content: flex-start; border: 0; padding: 4px 4px 8px; font: 700 20px/1 var(--text); }
.tz-toc .tz-tp span { font-size: 18px; }
.tz-toc .tz-tg a:not(.tz-tp) { min-height: 44px; padding: 0 16px; font-size: 14px; }
.tz-pn { margin: 0; font: 400 clamp(64px, 8vw, 120px)/.8 Anton, sans-serif; color: var(--lime); direction: ltr; }
.tz-proj { padding: 44px 0; background: #1A5F7E; }
.tz-proj .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.tz-proj p { margin: 0; font: 400 20px/1.3 var(--text); color: rgba(255,255,255,.8); }
.tz-proj p b { display: block; font: 700 clamp(34px, 3.4vw, 52px)/1 var(--display); color: #fff; }
.tz-proj a { margin-inline-start: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; color: #fff; font: 700 14px/1 var(--text); text-decoration: none; }
.tz-band .tz-pn { margin-bottom: 6px; }
.tz .nzs { background: #171a11; }
@media (max-width: 899px) { .tz-toc { grid-template-columns: 1fr; } .tz-proj a { margin-inline-start: 0; } }
