/* BOOKMARK · the testimonials, five alternatives to choose from (18.11.2026, a test; ts-alt.js, loaded only with ?ts=1..5 from 1024px).
   Brand rules kept: regular weight for big type, the nine sizes, mint as the one accent, the clients' own covers and colours. */

.ts.is-alt { padding-bottom: 0; }
.ts.is-alt-2 .ts-head, .ts.is-alt-5 .ts-head { display: none; }   /* those two carry the title inside the row */
.tsx { position: relative; margin-inline: calc(50% - 50vw); }      /* full bleed: the row runs to the screen's edges */
.tsx-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tsx-stage { position: absolute;   /* 18.11 her "רווח טקסט מהשוליים בכותרת זהה לשאר הכותרות": the site's own --gut (.wrap), no narrower one of its own */ inset: calc(var(--hh) + 2vh) 0 4vh; }

.tsx-q { font-size: var(--fs-msg); line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; }
html[lang="en"] .tsx-q { letter-spacing: -.03em; line-height: 1.08; }
.tsx-name { font-size: var(--fs-s); line-height: 1.35; }
.tsx-name strong { font-weight: 700; }
.tsx-tags { margin-top: 2px; }
.tsx-links { display: flex; flex-wrap: wrap; gap: .4em 1.6em; margin-top: 6px; font-size: var(--fs-s); }
.tsx-pic { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 1; background: #111; }
.tsx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsx-pic.is-letter { background: #101a40; }   /* Emanuel Gedalyahu: his own logo on his site's navy (18.11) */
.tsx-pic.is-letter img { object-fit: contain; padding: 9% 14%; }

/* the switcher (test only): top right, level with the floating header box (which sits and opens on the left), clear of the reading ribbon */
.tsx-switch { position: fixed; z-index: 57; right: 56px; top: clamp(14px, 1.4vw, 24px); display: flex; align-items: center; gap: 6px;
  padding: 6px 8px 6px 16px; border-radius: 999px; background: var(--black); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); direction: ltr; }
html[dir="rtl"] .tsx-switch { direction: rtl; padding: 6px 16px 6px 8px; }
.tsx-switch .label { color: var(--g1); margin-inline-end: 4px; }
.tsx-switch a { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; font: 400 var(--fs-text)/1 var(--en); color: var(--white); }
.tsx-switch a:hover { background: rgba(255, 255, 255, .14); }
.tsx-switch a[aria-current] { background: var(--mint); color: var(--black); }
.tsx-switch .tsx-sw-now { font-family: inherit; border: 1px solid rgba(255, 255, 255, .3); }
.tsx-sw-name { margin-inline-start: 6px; font-size: var(--fs-text); color: var(--mint); white-space: nowrap; }

/* ---------- 1 · BOOKSHELF ---------- */
.sh1-q { position: absolute; top: 0; inset-inline-start: var(--gut); width: min(46vw, 820px); height: 40%; }
.sh1-qi { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease); }
.sh1-qi.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .18s; }
.sh1-qi .label { color: var(--black); }
.sh1-shelf { position: absolute; inset: 45% 0 0; }
.sh1-shelf::after { content: ""; position: absolute; inset-inline: 0; bottom: -10px; height: 10px; background: var(--black); }   /* the board */
.sh1-row { position: absolute; bottom: 0; inset-inline-start: var(--gut); height: 100%; display: flex; align-items: flex-end; gap: 14px; will-change: transform; }
.sh1-book { --sw: 72px; position: relative; flex: none; display: block; width: var(--sw); height: var(--bh); color: var(--fg, #fff);
  transition: width .7s var(--ease), height .7s var(--ease), transform .3s var(--ease); }
.sh1-book:not(.is-on):hover { transform: translateY(-8px); }
.sh1-spine { position: absolute; inset: 0; background: var(--cover) 0% 50% / cover no-repeat, var(--c, #222); transition: opacity .35s var(--ease); }
.sh1-spine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, .28), rgba(255, 255, 255, .08) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3)); }   /* the spine's roundness */
.sh1-book.is-letter .sh1-spine { background: var(--mint); }   /* the letter's spine: the brand's mint, not a slice of handwriting */
.sh1-label { position: absolute; inset-inline: 14px; top: 12%; bottom: 12%; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl;
  background: var(--white); color: var(--black); font: 400 var(--fs-label)/1 var(--en); letter-spacing: .2em; white-space: nowrap; overflow: hidden; }
.sh1-face { position: absolute; inset: 0; opacity: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); transition: opacity .45s var(--ease) .2s; }
.sh1-face .tsx-pic { position: absolute; inset: 0; aspect-ratio: auto; }
.sh1-face::before { content: ""; position: absolute; z-index: 1; inset-block: 0; inset-inline-start: 0; width: 14px; background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .32)); }
html[dir="ltr"] .sh1-face::before { background: linear-gradient(to right, rgba(0, 0, 0, .32), rgba(0, 0, 0, 0)); }
.sh1-ribbon { position: absolute; z-index: 2; top: -1px; inset-inline-end: 12%; width: 18px; height: 0; background: var(--mint);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); transition: height .6s var(--ease) .45s; }
.sh1-book.is-on { width: var(--fw, 40vw); height: 100%; }
.sh1-book.is-on .sh1-spine { opacity: 0; }
.sh1-book.is-on .sh1-face { opacity: 1; }
.sh1-book.is-on .sh1-ribbon { height: 30%; }

/* ---------- 2 · MAGAZINE COLUMNS ---------- */
.mg2-title { --ti: calc(var(--gut) + 2.4vw); position: absolute; top: 0; bottom: 22%;   /* clear of the page's reading ribbon at the edge; physical sides: */
  /* in a vertical writing mode "inline-start" would mean its own top */ display: flex; align-items: flex-start; gap: 18px; writing-mode: vertical-rl; transform: rotate(180deg); }
html[dir="rtl"] .mg2-title { right: var(--ti); }
html[dir="ltr"] .mg2-title { left: var(--ti); }
.mg2-title h3 { font-size: var(--fs-l); font-weight: 400; line-height: .95; letter-spacing: -.03em; white-space: nowrap; }
.mg2-title .label { color: var(--black); }
.mg2-lead { position: absolute; bottom: 9vh; inset-inline-start: calc(var(--gut) + 2.4vw); width: 10vw; font-size: var(--fs-s); line-height: 1.35; }   /* above the WhatsApp button */
.mg2-view { position: absolute; inset-block: 0; inset-inline: calc(var(--gut) + 13vw) 0; overflow: hidden; }   /* the columns pass under the title's edge, never over it */
.mg2-row { display: flex; height: 100%; gap: 0; will-change: transform; }
.mg2-col { flex: none; width: 29vw; height: 100%; display: flex; flex-direction: column; gap: 1.4vh; padding-inline: 2.2vw; border-inline-start: 1px solid rgba(0, 0, 0, .16); }
.mg2-col:nth-child(even) { padding-top: 12vh; }
.mg2-no { font-size: var(--fs-num); font-weight: 400; line-height: .86; letter-spacing: -.05em; direction: ltr; text-align: start; }
.mg2-no::after { content: ""; display: block; width: 0; height: 6px; margin-top: 10px; background: var(--mint); transition: width .5s var(--ease); }
.mg2-col.is-on .mg2-no::after { width: .9em; }
.mg2-img { display: block; margin-top: 1vh; }
.mg2-img .tsx-pic { transition: transform .8s var(--ease); }
.mg2-img:hover .tsx-pic { transform: scale(1.02); }
.tsx--2 .tsx-q { font-size: var(--fs-lead); line-height: 1.3; letter-spacing: 0; }

/* ---------- 3 · FEATURED + STRIP ---------- */
.ft3-main { position: absolute; inset: 0 var(--gut) 28%; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 8fr); gap: 4vw; align-items: center; }
.ft3-big { position: relative; width: 100%; aspect-ratio: 2 / 1; max-height: 100%; }
.ft3-slide { position: absolute; inset: 0; display: block; opacity: 0; transform: scale(1.03); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.ft3-slide.is-on { z-index: 1; opacity: 1; transform: none; }
.ft3-slide .tsx-pic { height: 100%; aspect-ratio: auto; }
.ft3-info { position: relative; height: 100%; }
.ft3-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease); }
.ft3-card.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.ft3-no { font-size: var(--fs-num); font-weight: 400; line-height: .86; letter-spacing: -.05em; direction: ltr; text-align: start; }
.ft3-strip { position: absolute; inset: auto 0 0; height: 24%; }
.ft3-row { position: absolute; inset-block: 0; inset-inline-start: var(--gut); display: flex; align-items: center; gap: 1.2vw; will-change: transform; }
.ft3-th { position: relative; flex: none; width: 13vw; padding: 0; border: 0; background: none; color: inherit; text-align: start; cursor: pointer; opacity: .5; transition: opacity .3s var(--ease); }
.ft3-th:hover { opacity: .85; }
.ft3-th .tsx-pic { outline: 3px solid transparent; outline-offset: 4px; transition: outline-color .3s var(--ease); }
.ft3-th.is-on { opacity: 1; }
.ft3-th.is-on .tsx-pic { outline-color: var(--mint); }
.ft3-th-name { display: block; margin-top: 10px; font: 400 var(--fs-label)/1.2 var(--en); letter-spacing: .16em; }

/* ---------- 4 · BRAND CLOUD ---------- */
.cl4-world { position: absolute; inset: 0; will-change: transform; }
.cl4-path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.cl4-path polyline { stroke: rgba(0, 0, 0, .32); stroke-width: 1.5; stroke-dasharray: 5 7; }
.cl4-tile { --tx: -50%; position: absolute; inset-inline-start: var(--x); top: var(--y); width: var(--w); transform: translate(var(--tx), -50%);
  opacity: .5; filter: blur(1.5px) saturate(.85); transition: opacity .45s var(--ease), filter .45s var(--ease), transform .6s var(--ease); }
html[dir="rtl"] .cl4-tile { --tx: 50%; }
.cl4-tile .tsx-pic { border-radius: 18px; outline: 4px solid transparent; outline-offset: 6px; transition: outline-color .4s var(--ease); }
.cl4-tile.is-on { z-index: 2; opacity: 1; filter: none; transform: translate(var(--tx), -50%) scale(1.18); }
.cl4-tile.is-on .tsx-pic { outline-color: var(--mint); }
.cl4-tile:not(.is-on):hover { opacity: .85; filter: none; }
.cl4-chip { position: absolute; inset-inline-start: 14px; bottom: -14px; padding: 7px 12px; border-radius: 999px; background: var(--white); color: var(--black);
  font: 400 var(--fs-label)/1 var(--en); letter-spacing: .14em; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); white-space: nowrap; }
.cl4-mark { position: absolute; inset-inline-start: var(--x); top: var(--y); width: 14px; height: 14px; background: var(--mint); transform: translate(-50%, -50%); }
.cl4-mark--1 { border-radius: 50%; }
.cl4-mark--2 { clip-path: polygon(0 0, 100% 50%, 0 100%); }
html[dir="rtl"] .cl4-mark--2 { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.cl4-cards { position: absolute; left: 50%; bottom: 0; width: min(620px, 44vw); transform: translateX(-50%); }
.cl4-card { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 8px; padding: 26px 30px 24px; border-radius: 22px; background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14); opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.cl4-card.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.cl4-card .label { color: var(--black); }
.tsx--4 .tsx-q { font-size: var(--fs-lead); line-height: 1.3; letter-spacing: 0; }

/* ---------- 5 · COLOUR PANELS ---------- */
.cp5-view { position: absolute; inset: 0; }
.cp5-row { position: absolute; inset-block: 0; inset-inline-start: var(--gut); display: flex; will-change: transform; }
.cp5-head { flex: none; width: 34vw; display: flex; flex-direction: column; justify-content: space-between; gap: 3vh; padding: 3vw; background: var(--black); color: var(--white); }
.cp5-head h3 { font-size: var(--fs-l); font-weight: 400; line-height: .95; letter-spacing: -.035em; }   /* "CLIENTS SAY" on one line inside the panel */
.cp5-head .label { color: var(--g1); }
.cp5-lead { font-size: var(--fs-lead); }
.cp5-panel { flex: none; width: 25vw; display: flex; flex-direction: column; gap: 1.6vh; padding: 2.2vw; background: var(--c, #222); color: var(--fg, #fff); transition: background-color .4s; }
.cp5-panel .label, .cp5-panel .link { color: inherit; }
.cp5-panel .tsx-tags { opacity: .75; }
.cp5-img { display: block; margin-block: 1vh; }
.cp5-img .tsx-pic { box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }
.cp5-panel .tsx-q { margin-top: auto; font-size: var(--fs-lead); line-height: 1.3; letter-spacing: 0; }

/* ---------- 6 · CONNECTED COLLAGE (her pick of the floating cards, 18.11) ----------
   Her notes on it, in order: "בלי סטיקרים", "קווי רציפים כמו שאר האתר", "התגובה במרכז ובגדול יותר על רקע לבן", "פינות ישרות",
   "שכל יהיה יותר מחובר", "לוגו פרוייקט קטן יותר", "רגיל כמו שאר הכותרות" (the title), "בלי הכיתובים האלו" (the tags).
   One cluster per client, screen-wide scenes passing sideways: [the client's square + its texture] [the words, on white] [the cover + the
   original message], each against the quote, a short solid line with a mint point across each gap. The title holds in the frame at the
   home headings' size; the scenes are masked out around it (.cc6-view). Straight corners throughout. */
.ts.is-alt-6 .ts-head { display: none; }
html[dir="rtl"] .tsx--6 { --dirx: 1; }
html[dir="ltr"] .tsx--6 { --dirx: -1; }
.cc6-title { position: absolute; z-index: 6; top: 0; inset-inline-start: var(--gut); width: min-content; }   /* as wide as the heading; the lead wraps inside it */
.cc6-title .label { color: var(--ash); white-space: nowrap; }   /* 19.11 her "שתמיד יהיה אפור בגוון אחיד": the chapter labels' one grey (--ash), as 02 / ABOUT and 03 / CLIENTS */
.cc6-title h3 { margin-top: 10px; font-size: var(--fs-num); font-weight: 400; line-height: .92; letter-spacing: -.04em; white-space: nowrap; }   /* = the home titles from 1101px (this option starts at 1024) */
.cc6-lead { margin-top: 14px; font-size: var(--fs-lead); }
.cc6-count { position: absolute; z-index: 6; bottom: 0; left: var(--gut); width: 24vw; display: flex; align-items: center; gap: 16px; }   /* bottom left: the WhatsApp button holds the right */
.cc6-count .label { color: var(--black); white-space: nowrap; }
.cc6-count b { font-weight: 700; }
.cc6-line { position: relative; flex: 1; height: 1px; background: rgba(0, 0, 0, .2); }
.cc6-line i { position: absolute; inset: -1px 0; background: var(--black); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .cc6-line i { transform-origin: right; }
.cc6-view { position: absolute; inset: 0;
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% 100% no-repeat, linear-gradient(#000 0 0) var(--mx, -999px) 0 / var(--mw, 0) var(--mh, 0) no-repeat; -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) 0 0 / 100% 100% no-repeat exclude, linear-gradient(#000 0 0) var(--mx, -999px) 0 / var(--mw, 0) var(--mh, 0) no-repeat; }
.cc6-track { position: absolute; inset: 0; display: flex; will-change: transform; }
.cc6-scene { position: relative; flex: 0 0 100%; height: 100%; }
.cc6-lines { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cc6-lines path { fill: none; stroke: var(--black); stroke-width: 1; }
.cc6-mk { fill: var(--mint); }

.tsx--6 { --cg: clamp(20px, 2vw, 36px); }   /* the gap the joining lines cross */
.cc6-cluster { position: absolute; top: 12%; inset-inline-start: 42.5%; display: grid; grid-template-columns: 8vw 33vw 8.5vw; column-gap: var(--cg); align-items: center; }
.cc6-colA, .cc6-colC { display: flex; flex-direction: column; gap: var(--cg); }
.cc6-colA { align-self: start; }   /* ts-alt.js pads it down below the title */
.cc6-quote { position: relative; z-index: 1; margin: 0; padding: 36px 40px 32px; background: var(--white); color: var(--black); box-shadow: 0 30px 80px rgba(0, 0, 0, .1); }
.cc6-quote .tsx-q { position: relative; margin: 0; font-size: var(--fs-l); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; }   /* the words, strong; 18.11 "תגובה במשקל רגיל": regular weight */
.cc6-qm { display: block; height: .5em; margin-bottom: 14px; font: 400 110px/.8 var(--en); color: var(--mint); }
.cc6-quote figcaption { margin-top: 22px; }

.cc6-brand { width: 8vw; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 12px 14px; background: var(--c, #222); color: var(--fg, #fff); }
.cc6-no { font-size: var(--fs-msg); font-weight: 400; line-height: .9; letter-spacing: -.03em; direction: ltr; text-align: start; }
.cc6-bname { font: 400 var(--fs-label)/1.2 var(--en); letter-spacing: .14em; }
.cc6-tex { width: 8vw; aspect-ratio: 1080 / 1214; background: var(--tex) center / cover no-repeat, var(--g1); }   /* the brand textures are this tall */
.cc6-tex.is-edge { background-position: 0% 50%; }
.cc6-tex.is-letter { background: repeating-linear-gradient(to bottom, transparent 0 21px, rgba(255, 255, 255, .14) 21px 22px), #101a40; }   /* his navy (18.11) */

.cc6-cover { position: relative; display: block; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }   /* the project, small */
.cc6-cover .tsx-pic img { transform: translateX(calc(var(--d, 0) * var(--dirx) * 4%)) scale(1.1); transition: transform .2s linear; }
.cc6-msg { display: block; padding: 8px 8px 10px; background: var(--white); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); transition: transform .4s var(--ease), box-shadow .4s var(--ease); cursor: zoom-in; }
.cc6-msg:hover, .cc6-msg:focus-visible { transform: scale(1.04); box-shadow: 0 22px 50px rgba(0, 0, 0, .2); }
/* the message tile (6-9, her "רק את ההודעה על רקע ווצאפ"): the message in a WhatsApp bubble on the chat's beige ground with light
   doodles (our own); everything in the tile's own width, so it keeps its look at every size. A click opens the real screenshot. */
.tsx-wa { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size;
  background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' fill='none' stroke='%23d8cdbd' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='14' r='5'/%3E%3Cpath d='M54 7l2.3 4.8 5.2.7-3.8 3.7.9 5.2-4.6-2.5-4.6 2.5.9-5.2-3.8-3.7 5.2-.7z'/%3E%3Cpath d='M6 54q6-7 12 0t12 0'/%3E%3Cpath d='M58 50c0-3 4-5 6-2 2-3 6-1 6 2 0 4-6 7-6 7s-6-3-6-7z'/%3E%3Crect x='34' y='32' width='9' height='9' rx='2' transform='rotate(15 38.5 36.5)'/%3E%3Cpath d='M38 68l4 6 4-6'/%3E%3C/svg%3E") 0 0 / 46px 46px; }
.tsx-wa::after { content: ''; position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(rgba(239, 234, 226, 0), #efeae2 85%); }
.tsx-wa-b { position: absolute; top: 8cqw; inset-inline: 9cqw 6cqw; padding: 4.5cqw 5cqw 5cqw; background: #fff; border-radius: 3.5cqw; border-start-start-radius: 0;
  color: #111b21; font: 400 7.2cqw/1.42 "Segoe UI", "Helvetica Neue", Arial, sans-serif; text-align: start; box-shadow: 0 .5cqw .7cqw rgba(11, 20, 26, .13); }
.tsx-wa-b::before { content: ''; position: absolute; top: 0; inset-inline-start: -3cqw; width: 3cqw; height: 4cqw; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
html[dir=rtl] .tsx-wa-b::before { clip-path: polygon(0 0, 100% 0, 0 100%); }
.tsx-blank { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g2); }   /* a letter on the client's letterhead: the letter itself */
.tsx-blank img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tsx-wa-p { display: block; }
.tsx-wa-p + .tsx-wa-p { margin-top: .5em; }
/* the way to the project, on its cover (6-9, her "לפרוייקט שיישב על החלק העיצובי של הפרוייקט"); mint when the cover is pointed at */
.tsx-go { position: absolute; z-index: 2; inset-block-end: 0; inset-inline-start: 0; padding: 3px 7px 4px; background: var(--white); color: var(--black); font-size: 11px; line-height: 1.2; white-space: nowrap; transition: background .3s var(--ease); }   /* compact: the small covers stay seen */
a:hover > .tsx-go, a:focus-visible > .tsx-go { background: var(--mint); }
.gd8-cover .tsx-go { padding: 9px 16px 10px; font-size: var(--fs-text); }
/* 18.11 her "להגדיל קצת שטח לוגו, כפתור לפרויקט במיקום אחר": on the small covers (6, 7, 9) the way to the project hangs under the
   cover as a tab, clear of the logo (the picture clips itself, so the cover can let it out); 9's cover a little larger */
:is(.cc6-cover, .tl7-cover, .dk9-cover):is(a) { overflow: visible; }   /* :is(a) lifts it over the shared cover rule below (overflow: hidden) */
:is(.cc6-cover, .tl7-cover, .dk9-cover) .tsx-go { top: 100%; bottom: auto; padding: 4px 9px 5px; font-size: var(--fs-label); }
.cc6-msg-cap { display: block; margin-top: 8px; color: var(--black); text-align: center; font: 400 var(--fs-label)/1.3 'Google Sans', 'Heebo', system-ui, sans-serif; letter-spacing: 0; }   /* her "בפונט גוגל סנס" */

.cc6-dec { position: absolute; z-index: 2; width: 14px; height: 14px; background: var(--mint); transform: translateX(calc(var(--d, 0) * var(--dirx) * -7vw)); }
.cc6-dec--a { top: 86%; inset-inline-start: 42%; clip-path: polygon(0 0, 100% 50%, 0 100%); }
html[dir="rtl"] .cc6-dec--a { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.cc6-dec--b { top: 8%; inset-inline-start: 92%; border-radius: 50%; }
.cc6-quote.is-long .tsx-q { font-size: var(--fs-msg); line-height: 1.12; letter-spacing: -.015em; }   /* only a long quote on a short screen (ts-alt.js measures) */
@media (prefers-reduced-motion: reduce) { .cc6-dec, .cc6-cover .tsx-pic img { transform: none; transition: none; } }

/* ---------- 7-9: three more on 6's ground (18.11 "ע"ב זה תן לי עוד 3 חלופות"): the words on white, straight corners, solid 1px lines,
   the project small, the original message opening full size, the title in the frame (6's .cc6-title / .cc6-count / .cc6-view) ---------- */
.ts.is-alt-7 .ts-head, .ts.is-alt-8 .ts-head, .ts.is-alt-9 .ts-head { display: none; }
html[dir="rtl"] :is(.tsx--7, .tsx--8, .tsx--9) { --dirx: 1; }
html[dir="ltr"] :is(.tsx--7, .tsx--8, .tsx--9) { --dirx: -1; }
:is(.tl7-quote, .gd8-quote, .dk9-quote) { position: relative; margin: 0; background: var(--white); color: var(--black); }
:is(.tl7-quote, .gd8-quote, .dk9-quote) .tsx-q { position: relative; margin: 0; font-size: var(--fs-l); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; }
:is(.tl7-quote, .gd8-quote, .dk9-quote) figcaption { margin-top: 22px; }
:is(.tl7-quote, .gd8-quote, .dk9-quote).is-long .tsx-q { font-size: var(--fs-msg); line-height: 1.12; letter-spacing: -.015em; }
:is(.tl7-brand, .gd8-brand, .dk9-brand) { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 14px; background: var(--c, #222); color: var(--fg, #fff); }
:is(.tl7-msg, .gd8-msg, .dk9-msg) { display: block; padding: 8px 8px 10px; background: var(--white); cursor: zoom-in; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
:is(.tl7-msg, .gd8-msg, .dk9-msg):hover { transform: scale(1.04); }
:is(.tl7-cover, .gd8-cover, .dk9-cover) { position: relative; display: block; overflow: hidden; }

/* 7 · CONNECTED RAIL */
.tl7-track { --ly: 60%; position: absolute; inset-block: 0; inset-inline-start: 0; display: flex; will-change: transform; }
.tl7-line { position: absolute; z-index: 0; inset-inline: -100vw; top: var(--ly); height: 1px; background: var(--black); }   /* one line through the whole section */
.tl7-item { position: relative; flex: 0 0 44vw; height: 100%; }
.tl7-quote { position: absolute; bottom: calc(100% - var(--ly) + 44px); inset-inline-start: 4vw; width: 36vw; padding: 34px 38px 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .1); }
.tl7-stem { position: absolute; top: calc(var(--ly) - 44px); inset-inline-start: 22vw; width: 1px; height: 44px; background: var(--black); }
.tl7-node { position: absolute; z-index: 1; top: calc(var(--ly) - 7px); inset-inline-start: calc(22vw - 7px); width: 14px; height: 14px; background: var(--white); border: 1px solid var(--black); transition: background-color .3s; }
.tl7-item.is-on .tl7-node { background: var(--mint); }
.tl7-under { position: absolute; top: calc(var(--ly) + 40px); inset-inline-start: 11vw; display: flex; align-items: flex-start; gap: 22px; }
.tl7-under > * { position: relative; flex: none; }
.tl7-under > *::before { content: ""; position: absolute; top: -40px; inset-inline-start: 50%; width: 1px; height: 40px; background: var(--black); }   /* each one hangs from the line */
.tl7-brand { width: 7vw; aspect-ratio: 1; }
.tl7-brand .cc6-no { font-size: var(--fs-msg); }
.tl7-cover { width: 13vw; box-shadow: 0 12px 30px rgba(0, 0, 0, .1); }
.tl7-msg { width: 7vw; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }

/* 8 · MODULAR GRID */
.gd8-track { position: absolute; inset: 0; display: flex; will-change: transform; }
.gd8-scene { position: relative; flex: 0 0 100%; height: 100%; }
.gd8-grid { position: absolute; top: 5%; bottom: 7%; inset-inline-start: 50%; width: 46vw; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 1px; background: var(--black); border: 1px solid var(--black); }   /* the cells share 1px rules, as the notebook */
.gd8-quote { grid-column: 1 / 4; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: center; padding: 30px 36px; }
.gd8-brand { grid-column: 4; grid-row: 1; }
.gd8-brand .cc6-no { font-size: var(--fs-l); }
.gd8-msgcell { grid-column: 4; grid-row: 2; display: grid; place-items: center; padding: 10px; background: var(--white); overflow: hidden; }
.gd8-msg { width: 100%; max-width: 8vw; padding: 0; }
.gd8-mint { width: 100%; height: 100%; background: var(--mint); }
.gd8-cover { grid-column: 1 / 3; grid-row: 3; }
.gd8-tex { grid-column: 3; grid-row: 3; width: auto; height: auto; aspect-ratio: auto; }
.gd8-who { grid-column: 4; grid-row: 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px 14px; background: var(--white); }
.gd8-who .tsx-name { font-size: var(--fs-text); line-height: 1.35; }
.gd8-who .tsx-links { font-size: var(--fs-text); }

/* 9 · CARD DECK */
.dk9-deck { position: absolute; top: 9%; inset-inline-start: 52%; width: 36vw; height: 70%; }
.dk9-card { position: absolute; top: 0; inset-inline-start: 0; width: 100%; transform-origin: 50% 0; will-change: transform, opacity; }
.dk9-quote > * { opacity: var(--co, 1); }   /* the card's words, faded in by ts-alt.js as it comes to the top */
.dk9-quote .tsx-q { font-size: clamp(32px, 4.2vw, 80px); }   /* 18.11 her "להקטין מעט טקסטים": a step under --fs-l, still the big size */
.dk9-quote { display: flex; flex-direction: column; justify-content: center; padding: 40px 44px calc(6.5vw + 22px); outline: 1px solid var(--g1); }   /* every card as tall as the tallest (ts-alt.js), the words centred in it */   /* 18.11 her "בלי צל": no shadows in the deck, a hairline holds the white on the page */
.dk9-brand { position: absolute; z-index: 2; top: -24px; inset-inline-end: -24px; width: 7vw; aspect-ratio: 1; }
.dk9-brand .cc6-no { font-size: var(--fs-msg); }
.dk9-cover { position: absolute; z-index: 2; bottom: -22px; inset-inline-start: -5vw; width: 16vw; }
.dk9-msg { position: absolute; z-index: 2; top: 36%; inset-inline-end: -6.5vw; width: 8vw; outline: 1px solid var(--g1); }
.dk9-card :is(.dk9-brand, .dk9-cover, .dk9-msg) { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.dk9-card:not(.is-on) :is(.dk9-brand, .dk9-cover, .dk9-msg) { opacity: 0; transform: scale(.88); pointer-events: none; }
.gd8-cover .tsx-pic { height: 100%; aspect-ratio: auto; }   /* fills its cell when the row is taller than 2:1 (narrow screens) */

/* ---------- 9 · CARD DECK below 1024px: phones and tablets (18.11 her "כן, תבנה"). The section's own title stands above (four lines, it
   scrolls away), then the deck is pinned alone: the card the full width inside the margins, its words, under them the cover and the
   original message side by side, the colour square over the top corner. The scroll, or a sideways swipe, turns the cards. ---------- */
@media (max-width: 1023px) {
  /* 18.11 her "במובייל שיראו כותרת ותגובות באותו מסך": the title in the frame's top (four lines, full width for the lead), the deck under it */
  .tsx--9 .cc6-title { width: auto; inset-inline: var(--gut); }
  .tsx--9 .cc6-title h3 { font-size: clamp(40px, 11vw, 96px); }
  .tsx--9 .cc6-lead { margin-top: 10px; }
  .tsx--9 .tsx-stage.is-tight .cc6-title h3 { font-size: clamp(30px, 8.4vw, 64px); }
  .tsx--9 .tsx-stage.is-tight .cc6-lead { margin-top: 6px; font-size: 16px; }
  .tsx--9 .tsx-stage.is-tight .dk9-quote { padding: 22px 16px 16px; }
  .tsx--9 .tsx-stage.is-tight .dk9-quote .cc6-qm { font-size: 56px; margin-bottom: 6px; }
  .tsx--9 .tsx-stage.is-tight .dk9-cover { width: min(86%, 300px); }
.tsx--9 .tsx-stage.is-tighter .cc6-lead { display: none; }   /* a short phone: no lead line, a smaller message tile without its caption */  .tsx--9 .tsx-stage.is-tighter .dk9-card { grid-template-columns: minmax(0, 1fr) 64px; }  .tsx--9 .tsx-stage.is-tighter .dk9-msg .cc6-msg-cap { display: none; }  .tsx--9 .tsx-stage.is-tighter .dk9-cover { width: min(72%, 260px); }
  .tsx--9 .cc6-view { -webkit-mask: none; mask: none; }
  .tsx--9 .cc6-count { left: var(--gut); right: calc(var(--gut) + 64px); width: auto; }   /* clear of the WhatsApp button */
  .tsx--9 .dk9-deck { top: 14px; inset-inline: 0; height: auto; width: min(calc(100% - 2 * var(--gut)), 620px); margin-inline: auto; }
  .tsx--9 .dk9-card { display: grid; grid-template-columns: minmax(0, 1fr) clamp(76px, 22vw, 124px); grid-template-rows: auto auto; align-content: space-between;
    column-gap: 14px; padding: 0 18px 18px; background: var(--white); outline: 1px solid var(--g1); }
  .tsx--9 .dk9-quote { grid-column: 1 / -1; display: block; margin-inline: -18px; padding: 30px 18px 22px; outline: 0; }
  .tsx--9 .dk9-quote .cc6-qm { font-size: 76px; margin-bottom: 10px; }
  .tsx--9 .dk9-quote .tsx-q { font-size: clamp(25px, 6.8vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
  .tsx--9 .dk9-quote.is-long .tsx-q { font-size: clamp(21px, 5.6vw, 40px); }
  .tsx--9 .dk9-quote figcaption { margin-top: 14px; }
  .tsx--9 .dk9-brand { top: -10px; inset-inline-end: 14px; width: clamp(50px, 13vw, 72px); padding: 7px 9px; }
  .tsx--9 .dk9-brand .cc6-no { font-size: clamp(20px, 5.4vw, 30px); }
  .tsx--9 .dk9-cover { position: relative; inset: auto; grid-column: 1; grid-row: 2; width: min(100%, 340px); justify-self: start; align-self: end; }
  .tsx--9 .dk9-msg { position: relative; inset: auto; grid-column: 2; grid-row: 2; width: auto; align-self: end; padding: 6px 6px 8px; }
  .tsx--9 .dk9-msg .cc6-msg-cap { font-size: 11px; }
}
/* 19.11 her "תוסיף ליד דלג": the skip link beside the count, small, in the site's text face; mint under it on hover */
.cc6-count .tsx-skip { flex: none; font: 400 var(--fs-label)/1.2 'Google Sans', 'Heebo', system-ui, sans-serif; color: var(--black); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--g1); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.cc6-count .tsx-skip:hover, .cc6-count .tsx-skip:focus-visible { text-decoration-color: var(--mint); text-decoration-thickness: 2px; }
