/* BOOKMARK · site styles
   Black and white are the ground, mint lives only in the footer block and the logo bar.
   English headings: Inter 500, huge. Hebrew: Google Sans. Labels: Courier New 700. */

:root {
  --black: #000;
  --white: #fff;
  --g1: #D9D9D9;
  --g2: #F5F5F5;
  --ash: #8A8A8A;
  --slate: #3E3E3E;
  --mint: #4DFFDE;

  --he: 'Google Sans', 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --en: 'Inter', 'Google Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Courier New', Courier, monospace;

  --gut: clamp(20px, 6.25vw, 120px);
  --sec: clamp(88px, 10.4vw, 200px);
  --hh: clamp(64px, 5.8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* THE TYPE SCALE (15.11.2026, her OK on "9 גדלים במקום 32"): every font size on the site is one of these nine.
     Values at 1440 / 390: display 150/44 · xl 135/44 · num 105/72 · l 72/36 · msg 42/26 · lead 23/20 · s 18/17 · text 14/13.6 · label 12/12.
     The lead step stays at 23 (15.11.2026: she tried 18, then "סליחה 23").
     A new size goes to the nearest token; text drawn inside illustrations keeps its own. */
  --fs-display: clamp(44px, 10.4vw, 200px);
  --fs-xl: clamp(44px, 9.4vw, 180px);
  --fs-num: clamp(72px, 7.3vw, 150px);
  --fs-l: clamp(36px, 5vw, 96px);
  --fs-msg: clamp(26px, 2.9vw, 56px);
  --fs-lead: clamp(20px, 1.6vw, 30px);
  --fs-s: clamp(17px, 1.25vw, 22px);
  --fs-text: clamp(13.6px, .96vw, 17.6px);
  --fs-label: clamp(12px, .78vw, 15px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--he);
  font-weight: 400;
  font-size: var(--fs-text);   /* 15.11 her note "טקסט רץ קטן יותר ב-20 אחוז גורף לכל האתר": was clamp(17px, 1.2vw, 22px) */
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -120px; right: 16px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 18px; }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.en {
  font-family: var(--en);
  font-weight: 500;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
  letter-spacing: -.04em;
  line-height: .92;
}
.display { font-size: var(--fs-display); }
.h-xl { font-size: var(--fs-xl); }
.h-l { font-size: var(--fs-l); line-height: 1; }
.h-m { font-size: var(--fs-lead); line-height: 1.05; letter-spacing: -.02em; }
/* her note 17.11 "בכל הכותרות הגדולות רגיל", then "Yes, every page": the big English headings in regular weight everywhere
   (page titles, section titles, project titles, the menu, 404). Numbers, quotes and type inside illustrations keep their own weight. */
.en.display, .en.h-xl, .en.h-l, .en.p-title, .en.nf-h, .menu a.en { font-weight: 400; }
.label {
  font-family: var(--mono);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ash);
  line-height: 1.6;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 30em; }
.strong { font-weight: 500; }
.prose p { max-width: 42em; }
.prose p + p { margin-top: 1em; }
.message { font-weight: 700; font-size: var(--fs-msg); line-height: 1.2; max-width: 18em; }
.note { font-size: var(--fs-text); color: var(--slate); }
.dark .note { color: var(--g1); }

.link {
  display: inline-block;
  font-weight: 500;
  font-size: var(--fs-s);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.link:hover { border-color: currentColor; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec-top { padding-top: var(--sec); }
.sec-bottom { padding-bottom: var(--sec); }
.dark { background: var(--black); color: var(--white); }
.grey { background: var(--g2); }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.1vw, 40px); }
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6.25vw, 120px);
  align-items: start;
  width: 100%;
}
.story-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6.25vw, 120px);
  align-items: start;
  width: 100%;
  margin-top: clamp(8px, 1.5vw, 24px);
}
.story-body .message { text-wrap: balance; }   /* 15.11.2026: no lone word under a story headline ("…touching / it.") */
.center { text-align: center; justify-content: center; align-items: center; }
@media (max-width: 1100px) { .split, .story-body { grid-template-columns: 1fr; } }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--hh);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 3vw, 57px);
  direction: ltr;
  background: var(--white);
  color: var(--black);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.site-header[data-theme="dark"] { background: var(--black); color: var(--white); }
.site-header[data-theme="hero"] { background: transparent; color: var(--white); }
main { padding-top: var(--hh); }
.page-home main { padding-top: 0; }

.logo { width: clamp(132px, 12vw, 231px); height: auto; }
.logo path { fill: currentColor; }
.logo .logo-bar { fill: var(--mint); }

.nav { display: flex; gap: clamp(28px, 3.3vw, 64px); }
.nav a, .menu-btn {
  font-family: var(--en);
  font-weight: 500;
  font-size: var(--fs-text);
  letter-spacing: .2em;
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 12px 0; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  padding: var(--gut);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.menu.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.menu a.en { font-size: var(--fs-xl); line-height: 1; }
.menu-close {
  position: absolute;
  top: 22px;
  left: 20px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--en);
  font-weight: 500;
  font-size: var(--fs-text);
  letter-spacing: .2em;
  padding: 10px 0;
}
.menu .label { margin-top: 40px; color: var(--g1); }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
/* RESPONSIVE PASS (11.11.2026): logo + stamp + HE|EN + MENU need ~359px, so below ~375px the stamp sat on "HE".
   Up to 400px the header tightens; below 360px the language switch lives in the menu only (its first link). */
@media (max-width: 400px) {
  .site-header { padding-inline: 16px; }
  .site-header .head-left { gap: 10px; }
  .site-header .head-right { gap: 18px; }
  .site-header .logo { width: 118px; }
}
@media (max-width: 359px) {
  .site-header .lang { display: none; }
}

/* ---------- home hero (film) ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero video, .hero .hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero.is-portrait:not(.has-vertical) video { object-fit: contain; }
.hero-fallback video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-fallback video.on { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.hero-ui {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 0 var(--gut) clamp(24px, 3vw, 48px);
}
.hero-ui .label { color: rgba(255, 255, 255, .85); }
.scroll-cue { color: var(--white); animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.sound-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--white);
  font-family: var(--mono);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: .25em;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.sound-toggle:hover, .sound-toggle[aria-pressed="true"] { background: var(--white); color: var(--black); }
@media (max-width: 760px) { .hero-ui .label { display: none; } }
/* RESPONSIVE PASS: at 320-360px "SOUND OFF" and the now-playing name each broke onto two lines */
.sound-toggle { white-space: nowrap; flex: none; }
/* 12.11 her note "שיהיה גם אייקון של סאונד": a flat speaker before the label; muted = a cross, on = two waves (follows aria-pressed) */
.sound-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.sound-toggle .snd-ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: miter; stroke-linecap: square; }
.sound-toggle .snd-body { fill: currentColor; stroke: none; }
.sound-toggle[aria-pressed="true"] .snd-off, .sound-toggle:not([aria-pressed="true"]) .snd-on { display: none; }
.hero-ui .now-playing { min-width: 0; }
.now-playing .np-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) {
  .sound-toggle { letter-spacing: .15em; padding-inline: 12px; }
  .now-playing .np-name { font-size: var(--fs-label); letter-spacing: .12em; }
}
@media (pointer: coarse) { .sound-toggle { min-height: 44px; } }

.statement .lead { color: rgba(255, 255, 255, .88); }

/* ---------- project tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }   /* 12.11 her note "בלי רווחים בין השורות": the tiles meet like the columns (was clamp(8px, 1vw, 16px)) */
.tile { display: block; color: var(--black); }
.tile[hidden] { display: none; }
.tile-box {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--g1);
  display: grid;
  place-items: center;
}
.tile-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile:hover .tile-media, .tile:focus-visible .tile-media { transform: scale(1.035); }
.tile-cap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(16px, 1.5vw, 28px) clamp(20px, 2.5vw, 48px) clamp(24px, 2.5vw, 48px);
}
.tile-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.tile-name { font-size: var(--fs-msg); line-height: 1; letter-spacing: -.03em; transition: opacity .3s; }
.tile-line { font-size: var(--fs-s); text-align: right; color: var(--slate); }
.tile-cap .label { padding-top: .5em; flex: none; max-width: 48%; }
.tile:hover .tile-name { opacity: .6; }
.tile:focus-visible { outline-offset: -4px; }
.tile.soon { cursor: default; }
.tile--empty .tile-box { background: var(--g2); }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .tile-cap { flex-direction: column; gap: 10px; }
  .tile-cap .label { max-width: none; padding-top: 0; }
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono);
  font-weight: 700;
  font-size: var(--fs-text);
  letter-spacing: .25em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--black);
  padding: 12px 22px;
  cursor: pointer;
  direction: ltr;
  transition: background-color .25s, color .25s;
}
.chip:hover { background: var(--g2); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* ---------- clients marquee ---------- */
.marquee {
  overflow: hidden;
  direction: ltr;
  padding-block: clamp(24px, 3vw, 56px);
  border-block: 1px solid var(--g1);
}
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-weight: 500;
  font-size: var(--fs-l);
  line-height: 1.15;
  color: var(--g1);
  white-space: nowrap;
  padding-inline: clamp(18px, 2.1vw, 40px);
  unicode-bidi: isolate;
  transition: color .3s var(--ease);
}
.marquee-track span:hover { color: var(--black); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* the logo wall: black SVGs in equal 240x140 cells, grey until hovered, two rows in opposite directions */
.marquee-logos { display: grid; gap: 0; padding-block: clamp(16px, 2vw, 36px); }
.marquee-logos .marquee-track { animation-duration: 133s; }   /* 15.11, three rows of ~61 instead of two of ~92: shorter rows, so less time for the same speed */
.marquee-logos .marquee-track.is-reverse { animation-direction: reverse; }
.marquee-logos img {
  display: block;
  height: clamp(46px, 4.2vw, 80px);
  width: auto;
  aspect-ratio: 240 / 140;
  opacity: .3;
  transition: opacity .3s var(--ease);
}
.marquee-logos img:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-logos .marquee-track { animation: none; } }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.3vw, 45px); width: 100%; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr; } }

/* ---------- testimonials (home, CHAPTER 04): the scroll turns from one client to the next while the quote stays pinned;
   the original one click away. Data in site-src/testimonials.js, behaviour in js/testimonials.js.
   .is-pin            the longest one fits the screen: the panels share one cell and the scroll picks one
   .is-js, no .is-pin they follow one another down the page (a phone), each rising in as it arrives
   no .is-js          every one listed in full ---------- */
.ts-head { padding-bottom: clamp(48px, 4.6vw, 88px); }
.ts-track { width: 100%; }
.ts-bar { display: none; }
.ts-stage { display: grid; gap: clamp(88px, 9vw, 168px); }
.ts-panel { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(28px, 2.6vw, 52px); min-width: 0; }
.ts-pull { font-weight: 500; font-size: var(--fs-msg); line-height: 1.14; letter-spacing: -.015em; max-width: 15em; text-wrap: balance; }
html[lang="en"] .ts-pull { letter-spacing: -.03em; line-height: 1.08; }
.ts-w { display: inline-block; }
/* the full text and who wrote it, side by side: the name sits level with the last line */
.ts-rest { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: clamp(40px, 5.2vw, 100px); width: 100%; }
.ts-full { max-width: 42em; color: var(--slate); }
.ts-full p + p { margin-top: .75em; }
.ts-by { display: flex; align-items: center; gap: clamp(20px, 1.9vw, 36px); padding-top: clamp(20px, 1.7vw, 32px); border-top: 1px solid var(--g1); }
.ts-thumb {
  flex: none;
  width: clamp(68px, 5.6vw, 108px);
  padding: 5px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08);
  transform: rotate(-4deg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ts-thumb:hover, .ts-thumb:focus-visible { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 40px rgba(0, 0, 0, .16), 0 3px 8px rgba(0, 0, 0, .08); }
.ts-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.ts-who { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.ts-name strong { font-weight: 700; }
.ts-links { display: flex; flex-wrap: wrap; gap: .4em 1.6em; margin-top: 6px; }
/* a project page's own testimonial (her note 16.11.2026, "עמודים שיש תגובת לקוח תוסיף את התגובה למטה"): the same panel, static, above KEEP READING */
.p-ts .ts-panel { width: 100%; margin-top: clamp(8px, 1.5vw, 24px); }

/* pinned: the stage holds still for a screen while the scroll turns the testimonials (the height of the track is set by the script) */
.ts.is-pin .ts-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--hh) + clamp(12px, 3vh, 40px)) 0 clamp(24px, 6vh, 72px);
}
.ts.is-pin .ts-frame { display: flex; flex-direction: column; gap: clamp(28px, 6vh, 80px); }
.ts.is-pin .ts-bar { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 28px); }
.ts-line { position: relative; flex: 1; height: 1px; background: var(--g1); }
.ts-fill { position: absolute; inset: -1px 0; background: var(--black); transform: scaleX(var(--p, 0)); transform-origin: left; }   /* the bookmark ribbon runs as you read */
html[dir="rtl"] .ts-fill { transform-origin: right; }
.ts-count { color: var(--black); font-variant-numeric: tabular-nums; }
.ts.is-pin .ts-stage { gap: 0; }
.ts.is-pin .ts-panel { grid-area: 1 / 1; transition: opacity .3s var(--ease), transform .5s var(--ease); }   /* one cell: the stage keeps the height of the longest, nothing jumps */
.ts.is-pin .ts-panel:not(.is-on) { opacity: 0; pointer-events: none; }   /* hidden from the eye only: a screen reader still reads them all */
.ts.is-pin .ts-panel.is-on { transition: opacity .35s var(--ease) .1s; }
/* her note 15.11 ("בגלילה יעברו 2 ואז יהיה כפתור לעוד המלצות"): two in the scroll, the rest wait behind the button (testimonials.js) */
.page-home .ts.is-js .ts-panel.is-more { display: none; }
.page-home .ts-more { margin-top: clamp(28px, 4vh, 56px); }
.page-home .ts.is-pin .ts-more { margin-top: 0; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s .3s; }   /* pinned: it waits until the second one is on */
.page-home .ts.is-pin.is-last .ts-more { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .45s, transform .6s var(--ease) .45s; }
/* her note 16.11 ("צמצם רווח"): the stage now rises over the end of the head (testimonials.js); its clear top lets the head be read and selected */
.page-home .ts.is-pin .ts-pin { pointer-events: none; }
.page-home .ts.is-pin .ts-frame { pointer-events: auto; }

@media (prefers-reduced-motion: no-preference) {
  .ts.is-js:not(.is-pin) .ts-panel:not(.is-on) .ts-w, .ts.is-js:not(.is-pin) .ts-panel:not(.is-on) .ts-rest { opacity: 0; }
  .ts.is-pin .ts-panel:not(.is-on) { transform: translateY(-4vh); }   /* the one leaving drifts the way the page goes */
  .ts.is-pin.is-back .ts-panel:not(.is-on) { transform: translateY(4vh); }
  .ts-panel.is-on .ts-w { animation: ts-word .9s var(--ease) both; animation-delay: calc(.12s + var(--i) * 40ms); }
  .ts-panel.is-on .ts-rest { animation: ts-fade .8s var(--ease) .45s both; }
  .ts.is-back .ts-panel.is-on .ts-w { animation-name: ts-word-back; }
  .ts.is-back .ts-panel.is-on .ts-rest { animation-name: ts-fade-back; }
  .ts-dialog[open] { animation: ts-fade .45s var(--ease); }
}
@keyframes ts-word { from { opacity: 0; transform: translateY(.5em); } }
@keyframes ts-word-back { from { opacity: 0; transform: translateY(-.5em); } }
@keyframes ts-fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes ts-fade-back { from { opacity: 0; transform: translateY(-14px); } }

@media (max-width: 900px) {
  .ts-rest { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
}
/* TEST 17.11 (her "גם פה טסט - לעצב מקביל אחד לשני כותרת בימין תגובות בשמאל"): only with index.html?ts=side, from 1101px. testimonials.js
   puts the head inside the stage: two columns side by side, the title on the right (the row's start in Hebrew), the testimonials on the
   left, held together while the scroll turns them. The quote's text and its signature stack in the narrower column. */
@media (min-width: 1101px) {
  .page-home .ts.is-side .ts-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; align-content: center;
    column-gap: clamp(56px, 6vw, 140px); }
  .page-home .ts.is-side:not(.is-pin) .ts-pin { align-items: start; }
  .page-home .ts.is-side .ts-head { padding-bottom: 0; }
  .page-home .ts.is-side .ts-rest { display: flex; flex-direction: column; align-items: stretch; gap: clamp(20px, 2vw, 36px); }
  .page-home .ts.is-side.is-pin .ts-frame { gap: clamp(22px, 4vh, 56px); }   /* the longest English one fits a 1920x1080 / 1280x800 screen */
}

/* the original letter or message, full size */
.ts-dialog { margin: auto; padding: 0; border: 0; background: none; max-width: 92vw; max-height: 94vh; overflow: visible; }
.ts-dialog::backdrop { background: rgba(0, 0, 0, .88); }
.ts-dialog form { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.ts-close { background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px 0; }
.ts-dialog img { width: auto; height: auto; max-width: 92vw; max-height: calc(94vh - 60px); min-width: min(86vw, 440px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* ---------- forms ---------- */
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 10px 0 14px;
  font-size: var(--fs-s);
  appearance: none;
  -webkit-appearance: none;
  outline-offset: 6px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: .7; }
.field--select::after {
  content: "⌄";
  position: absolute;
  left: 0;
  bottom: 18px;
  pointer-events: none;
}
.field select { cursor: pointer; }
.field option { color: var(--black); background: var(--white); }
.check { display: flex; align-items: center; gap: 14px; font-size: var(--fs-s); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--black); flex: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px clamp(28px, 2.8vw, 48px);   /* her notes 17.11 "כפתורים עם פינות עגולות מלאות" + "פחות בגובה הכפתור", then "Yes, every page": */
  line-height: 1.2;                          /* pills, ~50px tall (was 20px 52px and the body's 1.65 line: ~70px) */
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: var(--fs-s);
  white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.chip, .sound-toggle, .skip { border-radius: 999px; }   /* the other buttons, the same round corners (17.11, every page) */
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--g1); }
.quick-form .btn--light:hover, .quick-form .btn--light:focus-visible { background: var(--mint); color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--slate); }
/* RESPONSIVE PASS: a long label ("לקביעת שיחה בוואטסאפ >>") was wider than a 320px column and widened the whole page */
.btn { max-width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; padding-inline: 28px; } }
.form-note { font-size: var(--fs-s); }
.form-note a { border-bottom: 1px solid currentColor; }

.quick-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: clamp(20px, 2.1vw, 40px);
  align-items: end;
  width: 100%;
  margin-top: clamp(16px, 2vw, 40px);
}
.quick-form .form-note { grid-column: 1 / -1; }
.contact-strip .contact-line a { border-bottom: 1px solid transparent; }
.contact-strip .contact-line a:hover { border-color: currentColor; }
.contact-strip .contact-line, .contact-strip .quiz-cta { display: none; }   /* her note 17.11 "להוריד" + "Yes, every page"; build.js no longer writes them, this hides them until the build */
@media (max-width: 900px) { .quick-form { grid-template-columns: 1fr; } .quick-form .btn { justify-self: start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--white); padding: clamp(16px, 2.6vw, 50px); }   /* 12.11 her note "רווח כמו בצדדים ולמטה גם למעלה": the mint block has the same white margin on top (was 0) */
/* her Illustrator layout (11.11.2026): contact | the guide card | ABOUT/PROJECTS/CONTACT, then one thin row of small links,
   UI-UX BY BOOKMARK and the social icons. Logical sides, so the English site mirrors it. */
.footer-block {
  background: var(--mint);
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 4.6vw, 88px);
  padding: clamp(64px, 5.4vw, 104px) clamp(24px, 5.6vw, 108px) clamp(26px, 2.4vw, 44px);
}
.site-footer .logo .logo-bar { fill: var(--black); }
.f-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "contact guide nav";
  align-items: center; gap: clamp(28px, 3vw, 56px); }
.f-contact { grid-area: contact; justify-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 1.8vw, 30px); }
.f-contact .logo { width: clamp(170px, 12vw, 232px); height: auto; }
.f-contact ul { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-family: var(--en); font-size: var(--fs-s); }
.f-contact li { direction: ltr; unicode-bidi: isolate; }
.f-contact ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-nav { grid-area: nav; justify-self: end; display: flex; flex-direction: column; align-items: flex-start; }
html[dir="rtl"] .f-nav { align-items: flex-end; }
.f-nav .big { display: block; font-family: var(--en); font-weight: 400; font-size: var(--fs-msg); line-height: 1.02; letter-spacing: -.02em; direction: ltr; }
.f-nav .big:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; font-size: var(--fs-text); line-height: 1.4; }
.f-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.f-links a:hover, .f-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.f-credit { font-family: var(--en); font-size: var(--fs-label); letter-spacing: .03em; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.f-social { display: flex; align-items: center; gap: 12px; }
.f-social a { display: grid; place-items: center; width: 22px; height: 22px; opacity: .8; transition: opacity .2s, transform .2s var(--ease); }
.f-social a:hover { opacity: 1; transform: translateY(-2px); }
.f-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }

/* RESPONSIVE PASS · touch targets (11.11.2026). On touch screens the small links get a ~44px hit area; what you see stays the same.
   Measured before: HE/EN 23x33, the social icons 22x22, the footer links 18 tall, the menu's ENGLISH link 14 tall, the logo link 22 tall. */
@media (pointer: coarse) {
  .lang a, .site-header .head-left > a, .gm-mark-btn, .f-social a, .menu .label a, .scroll-cue { position: relative; }
  .lang a::after, .site-header .head-left > a::after, .gm-mark-btn::after, .f-social a::after, .scroll-cue::after { content: ""; position: absolute; inset: -11px -6px; }
  .f-social a::after { inset: -11px; }
  .menu-btn, .menu-close { min-height: 44px; }
  .menu .label a { display: inline-block; padding-block: 14px; }
  .f-links { row-gap: 0; }
  .f-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .f-contact ul { gap: 0; }
  .f-contact ul a { display: inline-block; padding-block: 10px; }
}

/* the guide card in the middle: a hairline frame, the cover tipped over its corner */
.f-guide { grid-area: guide; justify-self: center; position: relative; width: min(640px, 100%);   /* 16.11 her note "אמצע עמוד": centred in its column, so in the middle of the page */ border: 1px solid rgba(0, 0, 0, .2);
  padding: 22px 26px 20px; scroll-margin-top: calc(var(--hh) + 60px); }
.f-guide-cover { position: absolute; top: -34px; inset-inline-start: 22px; width: 108px; height: auto; border: 1px solid var(--black); transform: rotate(8deg); }
html[dir="ltr"] .f-guide-cover { transform: rotate(-8deg); }
/* room for the cover on the page's start side (the label and title are ltr inside, so no logical margin here) */
.f-guide-body > .label, .f-guide-title, .f-guide-line { --cv: 120px; text-align: center; }
html[dir="rtl"] :is(.f-guide-body > .label, .f-guide-title, .f-guide-line) { margin-right: var(--cv); }
html[dir="ltr"] :is(.f-guide-body > .label, .f-guide-title, .f-guide-line) { margin-left: var(--cv); text-align: center; }
.f-guide .label { font-size: var(--fs-label); }
.f-guide-title { font-weight: 500; font-size: var(--fs-lead); line-height: .95; letter-spacing: -.035em; margin-top: 6px; }
.f-guide-line { font-size: var(--fs-text); margin-top: 8px; }
.f-guide-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px 16px; align-items: end; margin-top: 26px; }
.f-guide-form[hidden], .f-guide .deck-thanks[hidden] { display: none; }
.f-guide-form .field input { font-size: var(--fs-text); padding: 6px 0 9px; }
.f-guide-form .btn { padding: 12px 22px; font-size: var(--fs-text); }
.f-guide-form .check { grid-column: 1 / 3; font-size: var(--fs-label); gap: 10px; }
.f-guide-form .check input { width: 15px; height: 15px; }
.f-guide-wa { grid-column: 3; justify-self: center; font-weight: 500; font-size: var(--fs-text); white-space: nowrap; }
.f-guide-wa:hover { text-decoration: underline; text-underline-offset: 4px; }
.f-guide-form .form-note { grid-column: 1 / -1; }
.f-guide .deck-thanks { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px 24px; margin-top: 22px; }

@media (max-width: 1280px) {
  .f-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "guide guide" "contact nav"; row-gap: clamp(48px, 6vw, 72px); }
  .f-guide { justify-self: center; }
}
@media (max-width: 760px) {
  .f-main { grid-template-columns: 1fr; grid-template-areas: "guide" "contact" "nav"; }
  .f-nav, html[dir="rtl"] .f-nav { justify-self: start; align-items: flex-start; }
  .f-guide { padding: 58px 18px 18px; }
  .f-guide-cover { width: 64px; top: -28px; inset-inline-start: 16px; }
  .f-guide-body > .label, .f-guide-title, .f-guide-line { --cv: 0px; }
  .f-guide-form { grid-template-columns: 1fr; }
  .f-guide-form .check, .f-guide-wa { grid-column: 1; }
  .f-guide-wa { justify-self: start; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- about ---------- */
.portrait {
  background: var(--g1);
  aspect-ratio: 760 / 940;
  display: grid;
  place-items: center;
}
/* her illustrated portrait (12.11.2026, her note "על רקע כמו התהליכים באותו רוחב" + "אנימציה קלה"): the cut-out figure stands on the
   same lined paper panel as the HOW WE WORK dial, at the dial's width. In view (main.js adds .in) she rises from the bottom edge,
   the two sparkles pop in and twinkle, and she breathes a little. Without JS or with reduced motion: still, fully shown. */
.page-about .about-desk {
  position: relative; margin: 0; overflow: hidden; aspect-ratio: 1;
  width: min(100%, calc(100svh - var(--hh) - 10vh));
  background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat, var(--white) repeating-linear-gradient(to bottom, transparent 0 calc(10% - 1px), #D3D3D3 calc(10% - 1px) 10%);
}
.page-about .split:has(> .about-desk) { column-gap: clamp(24px, 5vw, 96px); }   /* the HOW WE WORK gap: the panel comes out exactly as wide as the dial */
@media (min-width: 901px) and (max-width: 1100px) { .page-about .about-desk { width: min(calc((100% - clamp(24px, 5vw, 96px)) / 2), calc(100svh - var(--hh) - 10vh)); } }   /* one column here, the dial still has two */
/* 15.11 her note "תקטין התמונה שלי אבל לא את רוחב הרקע שיתיישר עם הטקסט למטה": beside the text the panel keeps the dial's width but
   ends where the text ends (the row stretches it); she is 82% of its height. Alone in its column (≤1100px) the panel stays square. */
@media (min-width: 1101px) {
  .page-about .split:has(> .about-desk) { align-items: stretch; }
  .page-about .about-desk { aspect-ratio: auto; min-height: 340px; }
}
.page-about .about-fig { position: absolute; bottom: 0; left: 0; right: 0; margin-inline: auto; height: 82%; aspect-ratio: 1024 / 1266; }
.page-about .about-me { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; }
.page-about .about-spark { position: absolute; fill: #F2FA45; }   /* where the sparkles were in her picture, in % of the figure */
.page-about .about-spark.s1 { width: 7.8%; left: 12.9%; top: 18.6%; }
.page-about .about-spark.s2 { width: 7.3%; left: 84.2%; top: 44.9%; }
.page-about .about-desk.armed .about-me { opacity: 0; transform: translateY(14%); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.page-about .about-desk.armed .about-spark { scale: 0; transition: scale .5s cubic-bezier(.3, 1.6, .5, 1) .75s; }
.page-about .about-desk.in .about-me { opacity: 1; transform: none; animation: about-breathe 6s ease-in-out 1.2s infinite; }
.page-about .about-desk.in .about-spark { scale: 1; animation: about-twinkle 3s ease-in-out 1.3s infinite; }
.page-about .about-desk.in .about-spark.s2 { transition-delay: .95s; animation-delay: 2.8s; }
@keyframes about-breathe { 50% { scale: 1.012; } }
/* 15.11 her notes "תוסיף מסביבי כמה אלמנטים בשפה…", "שיהיו באנימציה", "בנפרד רספונסיבי": six separate pieces in the WHAT WE DO desk language,
   behind her. Left, the agency's thinking: THE BRIEF, a target, an IDEA tag. Right, the boutique's precision: a type card, the palette
   (no mint: her sunglasses are the one), a ruler. Each is placed from the panel's centre line and sized in its height (cqh), so they keep
   their places around her on every panel shape. In view they pop in one by one, then each drifts on its own. */
.page-about .about-desk { container-type: size; }
.page-about .about-fig { z-index: 2; }
.page-about .ab-k { position: absolute; inset: 0; z-index: 1; }
.page-about .ab-k > * { position: absolute; margin: 0; }
.page-about .ab-k-lab { font-family: var(--mono); font-weight: 700; font-size: 1.6cqh; letter-spacing: .2em; line-height: 1.2; direction: ltr; text-align: left; }
.page-about .ab-k-brief { width: 19cqh; aspect-ratio: 4 / 5; left: calc(50% - 52cqh); top: 9%; rotate: -7deg; padding: 2cqh; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1.5px solid var(--black); }
.page-about .ab-k-big { font-family: var(--en); font-weight: 500; font-size: 3.6cqh; letter-spacing: -.045em; line-height: .95; direction: ltr; text-align: left; }
.page-about .ab-k-target { width: 15cqh; left: calc(50% - 50cqh); top: 60%; }
.page-about .ab-k-tag { left: calc(50% - 46cqh); top: 47%; rotate: -9deg; font-family: var(--mono); font-weight: 700; font-size: 1.8cqh; letter-spacing: .2em; padding: 1.1cqh 2.2cqh; border-radius: 99px; white-space: nowrap; direction: ltr; border: 1.5px solid var(--black); background: #F2FA45; }
.page-about .ab-k-type { width: 18cqh; aspect-ratio: 4 / 3; left: calc(50% + 31cqh); top: 11%; rotate: 6deg; padding: 1.6cqh; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1.5px solid var(--black); }
.page-about .ab-k-aa { font-family: var(--en); font-weight: 500; font-size: 8cqh; letter-spacing: -.05em; line-height: 1; direction: ltr; text-align: left; }
.page-about .ab-k-pal { width: 21cqh; height: 5cqh; left: calc(50% + 30cqh); top: 40%; rotate: -4deg; display: flex; direction: ltr; overflow: hidden; border: 1.5px solid var(--black); }
.page-about .ab-k-pal i { flex: 1; }
.page-about .ab-k-pal i:nth-child(1) { background: #5B8FF0; } .page-about .ab-k-pal i:nth-child(2) { background: #FB6FE0; } .page-about .ab-k-pal i:nth-child(3) { background: #FB4E6E; }
.page-about .ab-k-pal i:nth-child(4) { background: #F2FA45; } .page-about .ab-k-pal i:nth-child(5) { background: #A96BF5; }
.page-about .ab-k-ruler { width: 27cqh; height: 4.6cqh; left: calc(50% + 24cqh); top: 70%; rotate: -8deg; border: 1.5px solid var(--black);
  background: repeating-linear-gradient(90deg, var(--black) 0 1.5px, transparent 1.5px 2.2cqh) 1.1cqh 0 / 100% 42% no-repeat, var(--white); }
.page-about .about-desk.armed .ab-k > * { scale: 0; opacity: 0; transition: scale .6s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; }
.page-about .about-desk.in .ab-k > * { scale: 1; opacity: 1; animation: ab-k-drift 6s ease-in-out infinite alternate; }
.page-about .about-desk.in .ab-k-brief { transition-delay: .5s; animation-delay: 1.2s; }
.page-about .about-desk.in .ab-k-type { transition-delay: .65s; animation-delay: 1.9s; animation-duration: 7s; }
.page-about .about-desk.in .ab-k-tag { transition-delay: .8s; animation-delay: 1.5s; animation-duration: 5s; }
.page-about .about-desk.in .ab-k-pal { transition-delay: .95s; animation-delay: 2.3s; animation-duration: 6.5s; }
.page-about .about-desk.in .ab-k-target { transition-delay: 1.1s; animation-delay: 1.7s; animation-duration: 5.5s; }
.page-about .about-desk.in .ab-k-ruler { transition-delay: 1.25s; animation-delay: 2.6s; animation-duration: 7.5s; }
@keyframes ab-k-drift { from { translate: 0 0; } to { translate: 0 -1.6cqh; } }
@keyframes about-twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(22deg) scale(.62); } }
/* her About copy (12.11.2026): a bold opening line above the text */
.page-about .lead-in { display: block; font-weight: 700; margin-bottom: .35em; }
/* her notes 12.11.2026: the WHAT WE DO lead on one line where it fits; the four values share rows (number, title, text start level) */
.page-about .lead--line { max-width: none; }
.page-about .lead { max-width: none; }
/* 15.11 her note "רקע שורות כמו בפרוייקטים": the title on a page of the BOOKMARK notebook, the same ruling and math as the PROJECTS top
   (rules = .46 of the title size, two rules a title line, each line's baseline on its rule: Inter .363em). One free rule under it. */
.page-about .ab-paper, .page-about #who-title { --fs: clamp(44px, 10.4vw, 200px); --rl: calc(var(--fs) * .46); --lh: calc(var(--rl) * 2); }   /* on the title too: its size never depends on the wrapper */
.page-about .ab-paper {
  padding-bottom: var(--rl);
  background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat,
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--rl) - 1px), #D3D3D3 calc(var(--rl) - 1px) var(--rl)),
    var(--white);
}
.page-about .ab-paper .sec-top { padding-top: calc(var(--rl) * 2); }
.page-about #who-title { font-size: var(--fs); line-height: var(--lh); position: relative; top: calc(var(--lh) / 2 - .363em); }
.page-about .ab-body { padding-top: clamp(48px, 4.6vw, 88px); }   /* 15.11 her note "לא לשבור שורה סתם רק אם נגמר המקום ברוחב הדף": every lead on the page breaks only at the page width */
.page-about .values .value { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 18px; justify-items: start; align-content: start; }
@media (min-width: 601px) and (max-width: 1240px) { .page-about .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* four columns get too narrow to keep the lines equal */

/* THE NAME (her notes 12.11.2026): the logo's own letters. Split: BOOK | MARK with a full-height M, a line under each half;
   on scroll they slide together, the M shrinks to its logo size and the mint bar grows in under it, then the closing line.
   Static (no JS, reduced motion): the logo, the two lines under BOOK and MARK, the closing line under them.
   Live (.bkn.live, main.js): the stage pins; the SVG groups get transforms, --l = each line's left edge, --e = the slide, --s = the closing line. */
.page-about .bkn { width: 100%; }
.page-about .bkn-stage { direction: ltr; width: min(100%, 1400px); margin-inline: auto; }
.page-about .bkn-logo { display: block; width: 100%; height: auto; fill: currentColor; }
.page-about .bkn-logo .logo-bar { fill: var(--mint); }
.page-about .bkn-subs { display: grid; margin-top: clamp(16px, 1.8vw, 32px); }
.page-about .bkn-sub { direction: rtl; font-size: clamp(16px, 1.5vw, 28px); line-height: 1.4; color: rgba(255, 255, 255, .88); }
html[lang="en"] .page-about .bkn-sub { direction: ltr; }
.page-about .bkn-sa, .page-about .bkn-sb { grid-area: 1 / 1; justify-self: left; width: max-content; max-width: 46%; margin-left: var(--l); }
.page-about .bkn-sa { --l: 6.95%; }   /* where B starts in the logo */
.page-about .bkn-sb { --l: 48.87%; }  /* where M starts */
.page-about .bkn-jsub { grid-area: 2 / 1; justify-self: center; text-align: center; margin-top: clamp(24px, 3vw, 56px); }
.page-about .bkn-man { grid-area: 3 / 1; justify-self: center; text-align: center; direction: rtl; margin-top: clamp(20px, 2.4vw, 48px); }   /* 16.11 her note "מתחת ללוגו ממורכז": the manifesto line centred under the logo */
html[lang="en"] .page-about .bkn-man { direction: ltr; }
.page-about .bkn.live .bkn-man { grid-area: 2 / 1; opacity: var(--m, 0); transform: translateY(calc((1 - var(--m, 0)) * 14px)); }
.page-about .bkn.live { height: 280vh; }
.page-about .bkn.live .bkn-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; }
.page-about .bkn.live .bkn-sa, .page-about .bkn.live .bkn-sb { opacity: calc(1 - var(--e, 0) * 1.6); }
.page-about .bkn.live .bkn-jsub { grid-area: 1 / 1; margin-top: 0; opacity: var(--s, 0); transform: translateY(calc((1 - var(--s, 0)) * 14px)); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.1vw, 40px); width: 100%; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.stat-num { font-family: var(--en); font-weight: 500; font-size: var(--fs-num); line-height: .9; letter-spacing: -.05em; direction: ltr; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } }

.rows { width: 100%; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 6.25vw, 120px);
  padding: clamp(28px, 2.5vw, 48px) 0 clamp(32px, 2.9vw, 56px);
  border-top: 1px solid currentColor;
}
.row-title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.row-sub { font-weight: 500; font-size: var(--fs-lead); }
.row-meta { font-family: var(--mono); font-weight: 700; font-size: var(--fs-label); letter-spacing: .06em; line-height: 1.7; color: var(--ash); margin-top: 16px; }   /* 15.11 her note: smaller, in the small English labels' font (Courier New Bold) */
html[lang="en"] .row-meta { text-transform: uppercase; letter-spacing: .14em; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.1vw, 40px); width: 100%; }
.values--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { border-top: 1px solid currentColor; padding-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 1000px) { .values, .values--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .values, .values--3 { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 900px);
  justify-content: space-between;
  gap: clamp(48px, 6.25vw, 120px);
  width: 100%;
  margin-top: clamp(24px, 3.3vw, 64px);
}
.details li { border-top: 1px solid currentColor; padding: 22px 0 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.details .val { font-size: var(--fs-lead); }
.details a.val:hover { text-decoration: underline; }
.form { display: flex; flex-direction: column; gap: 34px; }
.form .options { font-size: var(--fs-text); color: var(--slate); margin-top: -18px; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- contact page v2 (12.11.2026, her note "עמוד צור קשר צריך עיצוב") ----------
   01 · a page of the BOOKMARK notebook on a grey desk: one field per ruled line (#D3D3D3), the number in the margin,
        a mint margin line, the mint bookmark over the top edge. Beside it, the direct channels as big rows (WhatsApp in mint).
   02 · WHAT HAPPENS NEXT + booking: three chapters on a line, the mint bookmark on the first.
   03 · the questions beside their title. Flat, square corners, Courier labels. */
.ct { --rl: clamp(56px, 4.2vw, 76px); --mg: clamp(40px, 3.4vw, 64px); --pi: clamp(14px, 1.4vw, 24px); }
.ct-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: clamp(24px, 4vw, 80px) clamp(32px, 5vw, 96px); }   /* the same columns as .ct-grid: the intro starts on the line of OR, DIRECTLY (her note "ליישר טקסט ימינה", 12.11) */
.ct-title { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1vw, 16px); }
.ct-head .lead { padding-bottom: .5em; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 96px); align-items: start; margin-top: clamp(48px, 5vw, 96px); }

.ct-sheet { position: relative; gap: 0; background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat, var(--white);
  padding: clamp(28px, 2.6vw, 48px) clamp(18px, 3vw, 56px) clamp(32px, 3vw, 56px); }
.ct-ribbon { position: absolute; top: -12px; inset-inline-end: clamp(24px, 4vw, 72px); width: clamp(24px, 1.9vw, 34px); height: calc(var(--rl) * 1.5);
  background: var(--mint); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 13px), 0 100%); }
.ct-sheet-k { margin-bottom: clamp(18px, 1.8vw, 32px); }
.ct-lines { position: relative; border-top: 1px solid #D3D3D3; }
.ct-lines::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: var(--mg); width: 2px; background: var(--mint); pointer-events: none; }
.ct-line { display: grid; grid-template-columns: var(--mg) minmax(0, 1fr); align-items: stretch; height: var(--rl); border-bottom: 1px solid #D3D3D3; }
.ct-n { font-family: var(--mono); font-weight: 700; font-size: var(--fs-label); letter-spacing: .15em; color: var(--ash); line-height: var(--rl); text-align: center; direction: ltr; }
.field.ct-line input, .field.ct-line textarea { height: 100%; border: 0; padding: 0 var(--pi); font-size: var(--fs-s); }
.field.ct-line input:focus, .field.ct-line textarea:focus { outline: none; background: rgba(77, 255, 222, .12); }
.ct-msg { height: auto; }
.field.ct-msg textarea { height: calc(var(--rl) * 3 - 1px); min-height: 0; line-height: var(--rl); padding-block: 0; resize: none;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--rl) - 1px), #D3D3D3 calc(var(--rl) - 1px) var(--rl)); background-attachment: local; }
.field.ct-msg textarea:focus { background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--rl) - 1px), #D3D3D3 calc(var(--rl) - 1px) var(--rl)), rgba(77, 255, 222, .12); background-attachment: local; }
.ct-need { border: 0; padding: 0; margin: 0; min-width: 0; }
.ct-legend { float: left; width: 100%; padding: 0; font-size: var(--fs-s); }
.ct-legend > span:last-child { padding-inline: var(--pi); line-height: var(--rl); opacity: .7; }
.ct-chips { clear: both; display: flex; flex-wrap: wrap; gap: calc(var(--rl) - 40px) 10px; padding: calc((var(--rl) - 40px) / 2) 0; padding-inline-start: calc(var(--mg) + var(--pi));
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--rl) - 1px), #D3D3D3 calc(var(--rl) - 1px) var(--rl)); }
.ct-chip { position: relative; display: inline-flex; }
.ct-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--black); background: var(--white); font-size: var(--fs-text); white-space: nowrap; transition: background-color .25s, color .25s; }
.ct-chip:hover span { background: var(--g2); }
/* several can be checked; each chip lights up in its own colour of the BOOKMARK palette (her note, 12.11.2026) */
.ct-chip:nth-child(6n + 1) { --c: var(--mint); }
.ct-chip:nth-child(6n + 2) { --c: #FF4F73; }
.ct-chip:nth-child(6n + 3) { --c: #F2FF4F; }
.ct-chip:nth-child(6n + 4) { --c: #5996FE; }
.ct-chip:nth-child(6n + 5) { --c: #FF71E5; }
.ct-chip:nth-child(6n) { --c: #B26DFF; }
.ct-chip input:checked + span { background: var(--c); color: var(--black); }
.ct-chip input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; }
.ct-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: clamp(24px, 2.4vw, 40px); padding-inline-start: calc(var(--mg) + var(--pi)); }
.ct-foot .check { display: block; position: relative; padding-inline-start: 32px; font-size: var(--fs-text); line-height: 1.5; }   /* the text and its link wrap as one line, not as flex columns */
.ct-foot .check input { position: absolute; inset-inline-start: 0; top: .1em; }
html[dir="rtl"] .field.ct-line input { text-align: right; }   /* the phone field is ltr by type; its placeholder sits on the reading side */
.ct-foot > div { margin-top: 10px; }

.ct-direct { position: sticky; top: calc(var(--hh) + 32px); display: flex; flex-direction: column; gap: clamp(14px, 1.2vw, 20px); }
.ct-ch { list-style: none; border-bottom: 1px solid var(--black); }
.ct-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k arr" "v arr"; align-items: center; row-gap: 4px;
  padding: clamp(18px, 1.6vw, 28px) var(--pi); border-top: 1px solid var(--black); transition: background-color .3s var(--ease), color .3s var(--ease); }
.ct-row .label { grid-area: k; transition: color .3s var(--ease); }
.ct-v { grid-area: v; font-weight: 500; font-size: var(--fs-lead); line-height: 1.15; letter-spacing: -.01em; min-width: 0; overflow-wrap: anywhere; }
.ct-v--mail { font-size: var(--fs-lead); }
html[dir="rtl"] .ct-v[dir="ltr"] { text-align: right; }
.ct-arr { grid-area: arr; font-size: var(--fs-lead); line-height: 1; transition: transform .3s var(--ease); }
.ct-row:hover { background: var(--white); }
html[dir="rtl"] .ct-row:hover .ct-arr { transform: translateX(-6px); }
html[dir="ltr"] .ct-row:hover .ct-arr { transform: translateX(6px); }
.ct-row--wa { background: var(--mint); }
.ct-row--wa .label { color: var(--black); }
.ct-row--wa:hover { background: var(--black); color: var(--white); }
.ct-row--wa:hover .label { color: var(--white); }

@media (max-width: 1000px) {
  .ct-head, .ct-grid { grid-template-columns: 1fr; }
  .ct-direct { position: static; order: -1; }
}
@media (max-width: 600px) {
  .ct { --rl: 56px; --mg: 34px; --pi: 12px; }
  .ct-sheet { padding-inline: 14px; }
  .ct-chip span { padding: 0 12px; }
}

/* laid out like the FAQ (her note, 12.11): the title on the reading side, the three chapters one under the other beside it */
.nx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.nx-head { position: sticky; top: calc(var(--hh) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 28px); }
.nx-head .lead { max-width: 22em; }
.nx-steps { list-style: none; display: flex; flex-direction: column; width: 100%; }
.nx-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; border-top: 1px solid var(--g1); padding: clamp(24px, 2.2vw, 40px) 0 clamp(32px, 2.8vw, 52px); }
.nx .book-frame { grid-column: 1 / -1; }
.nx-step.is-now { border-top-color: var(--black); }
html[dir="rtl"] .nx-step.is-now > .label { padding-right: 36px; }   /* beside the bookmark (the label is ltr inside, so no logical padding) */
html[dir="ltr"] .nx-step.is-now > .label { padding-left: 36px; }
.nx-mark { position: absolute; top: -1px; inset-inline-start: 0; width: 22px; height: 40px; background: var(--mint); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%); }
.nx-step > p:not(.label) { color: var(--slate); max-width: 22em; }
@media (max-width: 900px) { .nx { grid-template-columns: 1fr; } .nx-head { position: static; } }

.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hh) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 28px); }
.faq-q { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border-top: 1px solid var(--black); padding: clamp(24px, 2.2vw, 40px) 0 clamp(32px, 2.8vw, 52px); }
.faq-he { font-weight: 700; font-size: var(--fs-s); }
.faq-a { color: var(--slate); max-width: 34em; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- project page ---------- */
.p-hero .p-sub { font-family: var(--mono); font-weight: 700; font-size: var(--fs-text); letter-spacing: .3em; direction: ltr; color: var(--white); }
.p-hero .lead { color: rgba(255, 255, 255, .88); max-width: 36em; }
.p-card { margin-top: clamp(48px, 5vw, 96px); }
.p-card video { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
/* the hero film beside the text, half each (12.11.2026, all project pages); under the text below 900 px */
.p-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: start; margin-top: clamp(20px, 2.1vw, 40px); }
.p-row .p-card { margin-top: 0; }
@media (max-width: 900px) { .p-row { grid-template-columns: minmax(0, 1fr); } .p-row .p-card { margin-top: clamp(28px, 5vw, 48px); } }
.meta { width: 100%; max-width: 900px; }
.meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid currentColor; padding: 18px 0; }
.meta div:last-child { border-bottom: 1px solid currentColor; }
.meta dd { font-size: var(--fs-s); }

.media-full video, .media-full img { width: 100%; height: auto; }
.media-half { display: grid; grid-template-columns: 1fr 1fr; }
.media-half img, .media-half video { width: 100%; height: 100%; object-fit: cover; }
.media-12 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1.78; }
.media-12 > * { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.media-12 .tall { grid-row: 1 / 3; }
@media (max-width: 760px) {
  .media-half { grid-template-columns: 1fr; }
  .media-12 { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .media-12 .tall { grid-row: auto; }
  .media-12 > * { height: auto; }
}
/* every project page (her notes 15.11.2026, "שוליים להצגת הפרוייקט כמו בפוטר ורווח בין איזורים של חצי ממנו",
   then "תעדכן שוליים בכל הפרוייקטים"): the films and images sit inside the footer's white margin,
   with half of it between one area and the next */
.page-project main > :is(.media-full, .media-half, .media-12) { --tm: clamp(16px, 2.6vw, 50px); margin: calc(var(--tm) / 2) var(--tm); }
.page-project main > :is(.media-half, .media-12) { gap: calc(var(--tm) / 2); }
/* ONE BIG + THREE SMALL (TALENT, her note 16.11.2026 "שים לי פון בימין ו-3 תמונות קטנות מקבילות בשמאל"): the first film as tall
   as a column of three small 3:2 images beside it (on the right in Hebrew, mirrored in English); on a phone the film full width
   and the three in a row under it. Only a page with a "side" block (project-pages.js) has it; same margin and gap as above. */
.page-project main > .media-side { --tm: clamp(16px, 2.6vw, 50px); margin: calc(var(--tm) / 2) var(--tm); gap: calc(var(--tm) / 2); }
.media-side { display: grid; grid-template-columns: 7fr 3fr; grid-template-rows: repeat(3, auto); }
.media-side > * { display: block; width: 100%; min-height: 0; object-fit: cover; }
.media-side > :first-child { grid-row: 1 / 4; height: 100%; }
.media-side > :not(:first-child) { height: auto; aspect-ratio: 3 / 2; }
@media (max-width: 760px) {
  .media-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .media-side > :first-child { grid-row: auto; grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 9; }
}
/* her note on TALENT, 16.11.2026: "שהכל ביחד יהיה בגודל של מסך": on a landscape screen the whole block is one screen tall
   (less its half margins above and below); the small column is as wide as keeps the three images 3:2, at most 40% */
@media (min-width: 761px) and (orientation: landscape) {
  .page-project main > .media-side { height: calc(100svh - var(--tm)); grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-template-columns: minmax(0, 1fr) min(calc((100svh - 2 * var(--tm)) / 2), 40%); }
  .media-side > :not(:first-child) { height: 100%; aspect-ratio: auto; }
}
/* her note on TALENT's three phones, 16.11.2026: "להקטין שיהיה ספייס": a full block marked "small" (project-pages.js) shows its
   film at 3/4 of the screen height, centred, with white space around it; on a phone it stays full width */
@media (min-width: 761px) and (orientation: landscape) {
  .media-full.small > :is(video, img) { display: block; margin-inline: auto; width: min(100%, calc(75svh * 16 / 9)); height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
}

/* PROJECT PAGE, HER LAYOUT (her Illustrator layout of FIRST CLASS, 16.11.2026; the spacing is mine to refine, "ריווחים תדייק אתה").
   Only the new classes, so it shows only where build.js writes them (PL_NEW: FIRST CLASS until she approves).
   Hero: the film | the line, the name, DATE / SECTOR / BRIEF. ABOUT: label + text. Each chapter in one column:
   label, heading (l), message, text. Text sits closer to the media it opens than to the media before it. */
.p-hero[data-grow] { position: relative; }
.p-band { padding-block: clamp(56px, 9.1vw, 176px); }
.p-hero[data-grow] .p-row { margin-top: 0; align-items: stretch; }
.p-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, .9vw, 16px); min-width: 0; }
.p-title { font-size: var(--fs-l); line-height: .95; }
.p-meta { margin-top: auto; padding-top: clamp(24px, 2.8vw, 48px); display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 4vw, 64px); }
.p-meta div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.p-meta dd { font-size: var(--fs-text); line-height: 1.5; }
.p-slot { display: none; }
/* the film grows to the full screen with the scroll, then the page goes on (assets/js/p-grow.js adds .is-grow) */
.p-hero.is-grow .p-band { min-height: calc(100svh - var(--hh)); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(32px, 4vw, 64px); }
.p-hero.is-grow .p-card { aspect-ratio: 2 / 1; }
.p-hero.is-grow .p-card > * { position: absolute; left: 0; top: 0; z-index: 2; max-width: none; aspect-ratio: auto; object-fit: cover; }
.p-hero.is-grow .p-slot { display: block; height: 100svh; margin-inline: calc(var(--gut) * -1); }
/* "רווח שווה מלמעלה ומלמטה, כלומר טקסט עומד באמצע גובה השטח" (16.11.2026): the same space above and below the text */
/* "והריווחים שיהיו זהים בכל הפיסקאות בעמוד": text to the media around it = text to the edge of a grey band = text to the hero */
.page-project :is(.p-about, .p-story, .p-ts, [data-chapter="BEFORE / AFTER"], .impact) { --half: calc(clamp(16px, 2.6vw, 50px) / 2); --pad: clamp(48px, 5.6vw, 108px); padding-block: var(--pad); gap: clamp(12px, 1.25vw, 24px); }
.page-project .p-about { padding-top: calc(var(--pad) + var(--half)); }   /* the hero above has no media margin */
.page-project :is(.p-story.grey, .impact) { margin-block: calc(var(--half) * 2); padding-block: calc(var(--pad) + var(--half)); }   /* a band: its edge is the "media" */
/* the other chapters (MV's before/after, the fair's numbers, the client's testimonial) at the chapters' heading size */
.page-project [data-chapter="BEFORE / AFTER"] h2.h-xl { font-size: var(--fs-l); line-height: 1; font-weight: 400; }
.p-about .p-lead { font-size: var(--fs-text); max-width: 41em; }
.page-project .st-h { font-size: var(--fs-l); line-height: 1; font-weight: 400; }   /* "משקל רגיל" (16.11.2026) */
.page-project .st-h:not(.en) { letter-spacing: -.01em; }
.p-story .story-body { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 1.25vw, 24px); margin-top: 0; }
.p-story .story-body .message { max-width: 24em; font-weight: 400; }   /* "משקל רגיל" (16.11.2026) */
.p-story .story-body > p:not(.message) { max-width: 42em; }
.more-row .more-name { margin-top: clamp(12px, 1.1vw, 18px); }
.more-row .more-all { display: flex; }   /* no link above it any more (16.11.2026), so phones keep the black square too */

.next { position: relative; min-height: 72vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.next > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.next > .stack { position: relative; z-index: 1; }
.next .links { display: flex; flex-wrap: wrap; gap: 20px 56px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   v2 · 11.11.2026: English (LTR), the bookmark ribbon, now playing,
   before / after, impact counters, the quiz, the page turn
   ===================================================================== */

/* ---------- English pages (dir="ltr") ---------- */
html[lang="en"] body { font-family: var(--en); }
html[dir="ltr"] .en, html[dir="ltr"] .label, html[dir="ltr"] .tile-line { text-align: left; }
html[dir="ltr"] .skip { right: auto; left: 16px; }
html[dir="ltr"] .field--select::after { left: auto; right: 0; }
html[dir="ltr"] .menu-close { left: auto; right: 20px; }
html[lang="en"] .lead, html[lang="en"] .prose p, html[lang="en"] .row-body p, html[lang="en"] .value p { letter-spacing: -.005em; }
html[lang="en"] .message { letter-spacing: -.02em; line-height: 1.15; }

/* ---------- header: nav + language switch ---------- */
.head-right { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); }
.lang { display: flex; align-items: center; gap: 8px; font-family: var(--en); font-weight: 500; font-size: var(--fs-text); letter-spacing: .2em; }
.lang a { opacity: .55; transition: opacity .25s; padding-block: 6px; }
.lang a:hover, .lang a[aria-current="true"] { opacity: 1; }
.lang span { opacity: .35; }
.tile { scroll-margin-top: calc(var(--hh) + 16px); }

/* ---------- the bookmark ribbon: hangs from the spine side, grows with the reading ---------- */
.ribbon {
  position: fixed;
  top: var(--hh);
  inset-inline-start: clamp(10px, 1.7vw, 32px);
  z-index: 55;
  width: 14px;
  height: calc(var(--p, 0) * (100svh - var(--hh) - 140px));
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: height .12s linear;
}
.ribbon-tail {
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
}
.ribbon { background: transparent; }
.ribbon-label {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-start: 0;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: .3em;
  color: #fff;
  white-space: nowrap;
  direction: ltr;
  opacity: 0;
  transition: opacity .3s;
}
.ribbon.has-label .ribbon-label { opacity: 1; }
@media (max-width: 760px) { .ribbon { width: 8px; } .ribbon-label { display: none; } }

/* ---------- now playing (hero) ---------- */
.now-playing {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: #fff;
  direction: ltr;
  transition: opacity .35s var(--ease);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.now-playing:hover { border-color: currentColor; }
.now-playing .np-k { font-family: var(--mono); font-weight: 700; font-size: var(--fs-label); letter-spacing: .3em; opacity: .65; }
.now-playing .np-name { font-family: var(--en); font-weight: 500; font-size: var(--fs-text); letter-spacing: .2em; }
.now-playing.is-off { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .now-playing .np-k { display: none; } }

/* ---------- before / after ---------- */
.ba { position: relative; width: 100%; max-width: 1200px; aspect-ratio: 2054 / 1682; overflow: hidden; direction: ltr; --x: 50%; margin-top: clamp(8px, 1.5vw, 24px); background: var(--g2); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--black); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--black); }
.ba-tag { position: absolute; bottom: 16px; color: var(--black); }
.ba-tag--before { left: 18px; text-align: left; }
.ba-tag--after { right: 18px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba-handle::after { outline: 2px solid var(--black); outline-offset: 4px; }

/* ---------- impact numbers + three-up stats ---------- */
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(16px, 2vw, 40px); }
.impact .stat p:last-child { color: rgba(255, 255, 255, .78); }
.impact .stat-num { font-variant-numeric: tabular-nums; }
/* 14.11.2026: 86,425 and 23,142 are wider than a quarter of the row (they ran into each other on desktop): the two long numbers get the wider columns */
@media (min-width: 901px) { .impact .stats--4 { grid-template-columns: 1.6fr 1.6fr 1fr 1fr; } }
@media (max-width: 900px) { .stats--3, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats--3, .stats--4 { grid-template-columns: 1fr; } }

/* ---------- about: the work in place of a portrait ---------- */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 760 / 940; }
.mosaic video { width: 100%; height: 100%; object-fit: cover; }
.portrait { width: 100%; height: auto; object-fit: cover; }

/* ---------- the quiz ---------- */
.quiz .lead { color: rgba(255, 255, 255, .88); }
.quiz-form { width: 100%; max-width: 1100px; margin-top: clamp(16px, 2vw, 40px); }
.q { border: 0; }
.q[hidden] { display: none; }
.q legend { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: clamp(20px, 2vw, 36px); }
.q-title { font-weight: 500; font-size: var(--fs-msg); line-height: 1.15; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-opt { position: relative; display: block; cursor: pointer; }
.q-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.q-opt span { display: block; border: 1px solid rgba(255, 255, 255, .4); padding: clamp(18px, 1.6vw, 28px) clamp(20px, 1.8vw, 32px); font-size: var(--fs-s); transition: background-color .25s, color .25s, border-color .25s; }
.q-opt:hover span { border-color: #fff; }
.q-opt input:checked + span { background: #fff; color: #000; border-color: #fff; }
.q-opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 4px; }
.q-result { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.q-result[hidden] { display: none; }
.q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 12px; }
.q-again { background: none; border: 0; color: #fff; cursor: pointer; }
@media (max-width: 760px) { .q-opts { grid-template-columns: 1fr; } }
.quiz-cta { color: rgba(255, 255, 255, .9); margin-top: clamp(8px, 1vw, 16px); }

/* ---------- the page turn between pages (Hebrew: the spine is on the right, the page lifts from the left edge) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  transform-origin: right center;
  animation: page-turn-rtl .75s cubic-bezier(.55, 0, .35, 1) both;
  z-index: 2;
}
::view-transition-new(root) { animation: page-under .75s ease-out both; z-index: 1; }
html[dir="ltr"]::view-transition-old(root) { transform-origin: left center; animation-name: page-turn-ltr; }
@keyframes page-turn-rtl {
  0% { transform: perspective(2200px) rotateY(0); filter: brightness(1); }
  100% { transform: perspective(2200px) rotateY(-96deg); filter: brightness(.55); }
}
@keyframes page-turn-ltr {
  0% { transform: perspective(2200px) rotateY(0); filter: brightness(1); }
  100% { transform: perspective(2200px) rotateY(96deg); filter: brightness(.55); }
}
@keyframes page-under { 0% { filter: brightness(.82); } 100% { filter: brightness(1); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .ribbon { transition: none; }
}

/* =====================================================================
   v3 · scroll moments, behind the page, live palette, works index,
   next chapter auto, intro call, studio deck
   Everything that moves on scroll moves by transform / opacity only.
   ===================================================================== */

/* ---------- the ribbon, now moved by transform (no height animation) ---------- */
.ribbon { height: calc(100svh - var(--hh) - 140px); transition: none; }
/* her note 16.11.2026 "שהסימניה תתחיל מלמעלה": once you scroll the header is a small floating box, so the ribbon hangs from the very top
   of the screen, not from where the full header ended; its bottom end stays where it was. Over the full header (top of the page) it
   passes under it (z 55 < 60). */
.ribbon { top: 0; height: calc(100svh - 140px); }
.ribbon-clip { position: absolute; inset: 0; overflow: hidden; }
.ribbon-tail { transform: translateY(calc((var(--p, 0) - 1) * 100%)); transition: transform .12s linear; }
.ribbon-rider { position: absolute; inset: 0; transform: translateY(calc(var(--p, 0) * 100%)); transition: transform .12s linear; }
.ribbon-label { top: 14px; }

/* ---------- buttons ---------- */
.btn--mint { background: var(--mint); color: var(--black); }
.btn--mint:hover { background: var(--black); color: var(--white); }

/* ---------- 1 · THE DIVE (home): pinned, the camera goes into the O of BOOKMARKING ---------- */
.dive { position: relative; background: var(--black); color: var(--white); }
.dive-stage { position: relative; }
.dive-film, .dive-svg { display: none; }
.dive.is-on { height: 260vh; }
.dive.is-on .dive-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.dive.is-on .dive-film { display: block; position: absolute; inset: 0; background: var(--black); }
.dive-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.dive-film video.on { opacity: 1; }
.dive.is-on .dive-svg { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
.dive-svg text { font-family: var(--en); font-weight: 500; letter-spacing: -.04em; }
.dive.is-on .dive-copy { position: absolute; inset-inline: 0; bottom: 0; padding-block: 0 clamp(28px, 7vh, 80px); gap: clamp(14px, 1.6vw, 28px); }
.dive.is-on .dive-copy h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dive.is-on .dive-copy .lead { max-width: 40em; }

/* ---------- 2 · SELECTED WORK as a pinned horizontal rail (768px and up) ---------- */
.rail-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; width: 100%; }
.rail-count, .rail-end { display: none; }
.rail.is-on .rail-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hh); }
.rail.is-on .rail-head { padding-top: clamp(8px, 2vh, 24px); padding-bottom: clamp(18px, 3.4vh, 44px) !important; gap: clamp(10px, 1.4vh, 20px); }
.rail.is-on .rail-head .lead { display: none; }
.rail.is-on .rail-head .h-xl { font-size: clamp(44px, min(7.2vw, 11vh), 150px); }
.rail.is-on .rail-count { display: block; color: var(--black); font-variant-numeric: tabular-nums; }
.rail.is-on .rail-track { will-change: transform; display: flex; flex-wrap: nowrap; align-items: flex-start; gap: clamp(16px, 2vw, 40px); width: max-content; padding-inline: var(--gut); row-gap: 0; }
.rail.is-on .tile { flex: none; width: min(46vw, calc((100svh - var(--hh) - 330px) * 2)); }
.rail.is-on .tile-cap { flex-direction: column; align-items: flex-start; gap: 8px; }
.rail.is-on .tile-title { display: contents; }
.rail.is-on .tile-name { will-change: transform; order: 0; font-size: clamp(36px, min(4.4vw, 7vh), 84px); white-space: nowrap; }
.rail.is-on .tile-cap .label { order: 1; max-width: none; padding-top: 0; }
.rail.is-on .tile-line { order: 2; }
.rail.is-on .rail-end { display: flex; flex: none; flex-direction: column; justify-content: space-between; align-self: stretch; width: clamp(240px, 22vw, 400px); aspect-ratio: auto; background: var(--black); color: var(--white); padding: clamp(24px, 2.4vw, 44px); margin-bottom: clamp(60px, 9vh, 110px); }
.rail-end .en { font-size: clamp(40px, 4vw, 76px); line-height: .9; letter-spacing: -.04em; }
.rail-end .link { color: var(--white); }
.rail.is-on .rail-more { display: none !important; }

/* ---------- 3 · ABOUT: words fill as you read; the chapters stack like pages ---------- */
.scrollfx [data-fill] .w { opacity: .2; }
.chapters { display: flex; flex-direction: column; width: 100%; }
.chapter {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 4vh, 56px);
  min-height: min(64vh, 620px);
  padding: clamp(28px, 2.5vw, 48px) 0 clamp(36px, 3.4vw, 64px);
  border-top: 1px solid var(--black);
  background: var(--white);
}
.ch-num { position: absolute; top: clamp(20px, 2vw, 40px); left: 0; font-size: clamp(88px, 13vw, 250px); line-height: .78; letter-spacing: -.05em; color: var(--g1); pointer-events: none; }
html[dir="ltr"] .ch-num { left: auto; right: 0; }   /* .en is ltr, so the corner is set physically: the far side from the title */
.chapter .row-title { position: relative; }
.ch-body { position: relative; align-self: flex-end; max-width: 30em; font-size: var(--fs-s); line-height: 1.45; }   /* 15.11: running text −20% */
@media (prefers-reduced-motion: no-preference) {
  .chapter { position: sticky; top: calc(var(--hh) + 12px + var(--i) * 14px); }
}
@media (max-width: 760px) { .chapter { min-height: 56vh; } .ch-body { align-self: stretch; } }

/* ---------- BEHIND THE PAGE ---------- */
.slot { position: relative; min-width: 0; }
.bp { position: absolute; inset: 0; margin: 0; background: #0b0b0b; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; overflow: hidden; }
.slot .bp img, .slot .bp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bp figcaption { position: absolute; bottom: clamp(10px, 1.2vw, 18px); inset-inline-start: clamp(10px, 1.2vw, 18px); z-index: 1; color: var(--white); background: rgba(0, 0, 0, .72); padding: 7px 10px; font-size: var(--fs-label); }
.is-behind .bp { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.bp-switch { position: fixed; z-index: 60; bottom: clamp(14px, 2vw, 28px); inset-inline-end: clamp(14px, 2vw, 28px); display: flex; gap: 4px; padding: 4px; background: var(--black); border: 1px solid rgba(255, 255, 255, .35); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bp-switch[hidden] { display: none; }
.bp-switch.show { opacity: 1; transform: none; pointer-events: auto; }
.bp-switch button { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--white); background: none; border: 0; padding: 10px 14px; cursor: pointer; transition: background-color .25s, color .25s; }
.bp-switch button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.bp-switch button:focus-visible { outline-offset: 2px; }

/* ---------- LIVE PALETTE ---------- */
.swatches { width: 100%; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); margin-top: clamp(16px, 2vw, 40px); }
.sw { position: relative; display: flex; flex-direction: column; align-items: stretch; width: 100%; background: none; border: 0; padding: 0; color: inherit; text-align: start; cursor: copy; }
.sw-col { display: block; width: 100%; aspect-ratio: 1 / 1.7; background: var(--c); border: 1px solid rgba(0, 0, 0, .08); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.sw:hover .sw-col { transform: scaleY(1.025); }
.sw-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 14px; }
.sw-hex { font-family: var(--mono); font-weight: 700; font-size: var(--fs-s); letter-spacing: .06em; }
.sw-k, .sw-meta { font-size: var(--fs-label); }
.sw-ok { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--black); color: var(--white); padding: 5px 8px; font-size: var(--fs-label); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.sw.copied .sw-ok { opacity: 1; transform: none; }
.sw:focus-visible { outline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .swatches.wipe .sw-col { transform: scaleY(0); }
  .swatches.wipe .sw-text { opacity: 0; transform: translateY(8px); }
  .swatches.wipe.in .sw-col { transform: none; transition: transform .55s cubic-bezier(.7, 0, .2, 1) calc(var(--i) * .25s); }
  .swatches.wipe.in .sw-text { opacity: 1; transform: none; transition: opacity .15s linear calc(var(--i) * .25s + .5s), transform .3s cubic-bezier(.2, 1.6, .4, 1) calc(var(--i) * .25s + .5s); }
  .swatches.wipe.in .sw:hover .sw-col { transform: scaleY(1.025); transition-delay: 0s; }
}
@media (max-width: 760px) { .swatches { grid-template-columns: repeat(var(--m), minmax(0, 1fr)); row-gap: 28px; } }

/* ---------- WORKS INDEX (projects) ---------- */
.view-switch { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-weight: 700; font-size: var(--fs-text); letter-spacing: .25em; padding-bottom: clamp(20px, 2vw, 36px); }
.view-switch button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 4px 0; cursor: pointer; opacity: .4; letter-spacing: inherit; transition: opacity .25s; }
.view-switch button[aria-pressed="true"] { opacity: 1; border-color: currentColor; }
.view-switch span { opacity: .3; }
.works[data-view="index"] .tiles { display: none; }
.index[hidden] { display: none; }
.index { padding-bottom: clamp(48px, 5vw, 96px); }
.irow { display: grid; grid-template-columns: minmax(0, 2.3fr) 72px minmax(0, 1.2fr) minmax(0, 1.5fr); align-items: baseline; gap: clamp(16px, 2vw, 40px); padding: clamp(16px, 1.5vw, 26px) 0; border-top: 1px solid var(--g1); color: var(--black); transition: transform .45s var(--ease), opacity .3s; }
.irow[hidden] { display: none; }
.index > .irow:last-child { border-bottom: 1px solid var(--g1); }
.ir-name { font-size: var(--fs-msg); line-height: 1; }
.irow .label { color: var(--slate); }
.irow--head { padding-block: 0 12px; border-top: 0; }
.irow--head .label { color: var(--ash); }
.irow:not(.irow--head):hover, .irow:not(.irow--head):focus-visible { transform: translateY(-6px); }
.index:hover .irow:not(.irow--head):not(:hover) { opacity: .45; }
.irow.soon { cursor: default; }
.index-peek { position: fixed; top: 0; left: 0; z-index: 40; width: clamp(240px, 22vw, 400px); aspect-ratio: 2 / 1; object-fit: cover; background: var(--g1); pointer-events: none; opacity: 0; transition: opacity .25s; }
.index-peek.on { opacity: 1; }
@media (max-width: 760px) {
  .irow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .ir-sector, .ir-services { grid-column: 1 / -1; }
  .irow--head { display: none; }
  .index-peek { display: none; }
}

/* ---------- NEXT CHAPTER, AUTO ---------- */
.next-auto { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(8px, 1vw, 16px); }
.next-auto[hidden] { display: none; }
.ring { position: relative; width: 60px; height: 60px; display: grid; place-items: center; color: var(--white); font-family: var(--mono); font-weight: 700; font-size: var(--fs-text); letter-spacing: .05em; direction: ltr; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ring-fill { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; }
.ring:hover .ring-track { stroke: var(--white); }
.next-auto.is-running .ring-fill { animation: ring-fill 6s linear forwards; }
@keyframes ring-fill { to { stroke-dashoffset: 0; } }
.next-auto-k, .next-stay { opacity: 0; transition: opacity .3s; pointer-events: none; }
.next-auto.is-running .next-auto-k, .next-auto.is-running .next-stay { opacity: 1; pointer-events: auto; }
.next-auto-k { color: rgba(255, 255, 255, .78); }
.next-stay { background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .6); color: var(--white); padding: 2px 0; cursor: pointer; }

/* ---------- BOOK AN INTRO CALL ---------- */
.book-frame { width: 100%; max-width: 1100px; background: var(--white); border: 1px solid var(--g1); margin-top: clamp(8px, 1vw, 16px); }
.book-frame iframe { display: block; width: 100%; height: clamp(640px, 82vh, 920px); border: 0; }
.book-cta { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.6vw, 28px); border-top: 1px solid var(--g1); }

/* ---------- BEFORE THE LOGO (the free guide) ---------- */
.deck-form { display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 560px; }
.deck-form[hidden], .deck-thanks[hidden] { display: none; }
.deck-thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.deck-cover { width: clamp(180px, 17vw, 300px); height: auto; margin-top: clamp(24px, 2.4vw, 44px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .12); transform: rotate(-2deg); }
.deck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* ---------- reduced motion: everything static and readable ---------- */
@media (prefers-reduced-motion: reduce) {
  .irow, .irow:hover, .irow:focus-visible { transform: none; transition: none; }
  .bp, .is-behind .bp, .bp-switch { transition: none; }
  .ribbon-tail, .ribbon-rider { transition: none; }
}

/* =====================================================================================================
   11.11.2026 · GOOD MARK, the brand health check, the client area, the Shabbat strip, narration
   ===================================================================================================== */
.deck-check { margin-top: clamp(4px, .6vw, 10px); }

/* GOOD MARK */
.gm-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(24px, 4vw, 80px); }
.gm-opener { width: clamp(150px, 16vw, 280px); height: auto; display: block; background: var(--black); }   /* the series opener, her video */
.gm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 3.4vw, 64px) clamp(20px, 2.1vw, 40px); }
.gm-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: inherit; text-decoration: none; }
.gm-card img { display: block; width: 100%; height: auto; border: 1px solid var(--g1); margin-bottom: 8px; transition: transform .5s var(--ease); }
.gm-card:hover img, .gm-card:focus-visible img { transform: translateY(-6px); }
.gm-dek { color: var(--slate); max-width: 34em; }
.gm-card--wide { max-width: 440px; justify-self: end; }
.gm-head .label a { color: inherit; }
.gm-slides { display: flex; gap: clamp(12px, 1.2vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; padding: clamp(32px, 3.4vw, 64px) var(--gut) 12px; scrollbar-width: thin; }
.gm-slides img { flex: 0 0 auto; width: clamp(240px, 28vw, 440px); height: auto; scroll-snap-align: start; border: 1px solid var(--g1); }
.gm-slides:focus-visible { outline: 2px solid var(--black); outline-offset: -2px; }
.gm-body { max-width: calc(900px + 2 * var(--gut)); }
.gm-block { margin-bottom: clamp(48px, 5vw, 96px); }
.gm-h { font-weight: 700; font-size: var(--fs-msg); line-height: 1.15; margin-bottom: clamp(14px, 1.4vw, 24px); }
.gm-block p { max-width: 38em; }
.gm-items { list-style: none; margin-top: clamp(16px, 1.6vw, 28px); }
.gm-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--black); padding: 20px 0; }
.gm-items li:last-child { border-bottom: 1px solid var(--black); }
.gm-items h3 { font-weight: 700; font-size: var(--fs-lead); line-height: 1.2; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.gm-items h3 .label { color: var(--ash); }
.gm-after { font-weight: 700; margin-top: clamp(16px, 1.6vw, 28px); }
.gm-end { font-weight: 700; font-size: var(--fs-msg); line-height: 1.12; max-width: 18em; }
.gm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: clamp(28px, 3vw, 52px); }
.gm-pager { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--black); padding-block: clamp(28px, 3vw, 52px); }
.gm-pager a { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.gm-pager a:nth-child(2) { align-items: center; text-align: center; }
.gm-pager a:last-child { align-items: flex-end; text-align: end; }
.gm-pager a:hover .h-m { text-decoration: underline; }
.gm-teaser .split { align-items: end; }

/* the brand health check */
.bc-form { width: 100%; max-width: 1100px; }
.bc-form[hidden], .bc-result[hidden], .bc-tips-wrap[hidden] { display: none; }
.bc-list { list-style: none; }
.bc-q { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k yn" "t yn"; column-gap: clamp(20px, 3vw, 60px); row-gap: 8px; align-items: center; border-top: 1px solid var(--black); padding: clamp(18px, 1.8vw, 30px) 0; }
.bc-q:last-child { border-bottom: 1px solid var(--black); }
.bc-q .label { grid-area: k; color: var(--ash); }
.bc-text { grid-area: t; font-size: var(--fs-s); line-height: 1.35; max-width: 34em; }
.bc-yn { grid-area: yn; display: flex; gap: 8px; }
.bc-yn label { position: relative; cursor: pointer; }
.bc-yn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bc-yn span { display: block; min-width: 76px; text-align: center; border: 1px solid var(--black); padding: 12px 18px; font: 700 var(--fs-text)/1 var(--mono); letter-spacing: .2em; transition: background-color .2s, color .2s; }
html[dir="rtl"] .bc-yn span { font: 700 var(--fs-s)/1 var(--he); letter-spacing: 0; padding: 11px 18px; }
.bc-yn input:checked + span { background: var(--black); color: var(--white); }
.bc-yn input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; }
.bc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3vw, 52px); }
.bc-result { scroll-margin-top: calc(var(--hh) + 24px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; outline: none; }
.bc-score { font-weight: 500; font-size: clamp(110px, 17vw, 300px); line-height: .82; letter-spacing: -.06em; direction: ltr; }
.bc-of { font-size: .32em; letter-spacing: -.02em; color: var(--ash); margin-inline-start: .08em; }
.bc-tips { list-style: none; width: 100%; max-width: 900px; }
.bc-tips li { border-top: 1px solid var(--black); padding: 16px 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.bc-tips li:last-child { border-bottom: 1px solid var(--black); }
.bc-tips .label { color: var(--ash); }
.bc-next { margin-top: clamp(32px, 3.4vw, 64px); }
.bc-again { background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }
@media (max-width: 760px) {
  .bc-q { grid-template-columns: 1fr; grid-template-areas: "k" "t" "yn"; }
  .bc-tips li { grid-template-columns: 1fr; gap: 6px; }
  .gm-hero { grid-template-columns: 1fr; }
  .gm-card--wide { justify-self: start; }
  .gm-pager { grid-template-columns: 1fr; }
  .gm-pager a, .gm-pager a:nth-child(2), .gm-pager a:last-child { align-items: flex-start; text-align: start; }
}

/* the client area */
.clients-list { list-style: none; width: 100%; max-width: 640px; }
.clients-list li { display: flex; align-items: baseline; gap: 20px; border-top: 1px solid var(--black); padding: 16px 0; font-size: var(--fs-s); }
.clients-list li:last-child { border-bottom: 1px solid var(--black); }
.clients-list .label { color: var(--ash); }

/* the Shabbat strip (Israel time, from Shoshi's own seasonal tables) */
.bm-shabbat { position: fixed; left: 16px; bottom: 16px; z-index: 900; max-width: min(440px, calc(100vw - 32px)); background: var(--black); color: var(--white);
  padding: 16px 48px 16px 20px; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
html[dir="rtl"] .bm-shabbat { padding: 16px 20px 16px 48px; }
.bm-shabbat.on { opacity: 1; transform: none; }
.bm-shabbat .sh-k { font: 700 var(--fs-text)/1.3 var(--mono); letter-spacing: .2em; }
html[dir="rtl"] .bm-shabbat .sh-k { font: 700 var(--fs-s)/1.3 var(--he); letter-spacing: 0; }
.bm-shabbat .sh-t { font-size: var(--fs-text); line-height: 1.5; margin-top: 6px; color: rgba(255, 255, 255, .78); }
.bm-shabbat .sh-c { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: var(--fs-text); }
.bm-shabbat .sh-c b { font: 700 var(--fs-text)/1 var(--mono); letter-spacing: .06em; margin-inline-start: 4px; }
.bm-shabbat .sh-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--white); font-size: var(--fs-lead); line-height: 1; cursor: pointer; padding: 6px; }
html[dir="rtl"] .bm-shabbat .sh-x { right: auto; left: 10px; }

/* narration on project pages (shown only once her recording exists) */
.narration { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px clamp(18px, 2vw, 32px); padding-bottom: var(--sec); margin-top: calc(var(--sec) * -.5); }
.nar-btn { display: flex; align-items: center; gap: 14px; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
.nar-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--black); position: relative; flex: none; }
.nar-icon::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--white); transform: translateX(3px); }
.is-playing .nar-icon::before { width: 14px; height: 18px; border: 0; border-inline: 4px solid var(--white); transform: none; }
.nar-copy p:last-child { font-size: var(--fs-text); }   /* 15.11: running text −20% */
.nar-bar { grid-column: 1 / -1; height: 2px; background: var(--g1); width: 100%; max-width: 900px; }
.nar-bar i { display: block; height: 100%; background: var(--black); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .nar-bar i { transform-origin: right; }

/* ---------- PROJECTS page (11.11.2026, her note): the captions sit ON the image and appear on hover, not under it.
   Only where there is a mouse; on touch screens (no hover) they stay under the image so they can still be read. ---------- */
@media (hover: hover) and (pointer: fine) {
  .works .tile { position: relative; }
  .works .tile-cap {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 12px;
    padding: clamp(20px, 2.4vw, 44px);
    background: rgba(0, 0, 0, .55); color: var(--white);
    opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
  }
  .works .tile-cap .label { order: -1; max-width: none; padding-top: 0; color: rgba(255, 255, 255, .8); }
  .works .tile-title { transform: translateY(12px); transition: transform .5s var(--ease); }
  .works .tile-line { color: rgba(255, 255, 255, .88); }
  .works .tile:hover .tile-cap, .works .tile:focus-visible .tile-cap { opacity: 1; }
  .works .tile:hover .tile-title, .works .tile:focus-visible .tile-title { transform: none; }
  .works .tile:hover .tile-name { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .works .tile-title { transform: none; transition: none; }
}
/* ---------- PROJECTS page top (12.11.2026, her note "עמוד פרוייקטים למעלה גם עם פסים של מחברת בוקמרק") ----------
   The title, the filters and GRID | INDEX on a page of the BOOKMARK notebook: the brand ruling (#D3D3D3) over the paper grain, and everything
   written ON the lines. The rule spacing --rl comes from the title on wide screens (two rules to a title line), every block is a whole number
   of rules tall, and each text is nudged down by its font's baseline (Inter .363em, Google Sans .365em / .34em in Hebrew, Courier New .265em, measured) so it sits on its rule.
   The chips stand on a rule, GRID | INDEX is underlined by one. Nothing here leaves .page-projects. */
.page-projects .ps-paper {
  --fs: clamp(44px, 10.4vw, 200px);   /* = .display, the title's size */
  --rl: calc(var(--fs) * .46);        /* = half the title's line-height (.92) */
  --lh: calc(var(--rl) * 2);          /* the title's line-height: two rules */
  --pitch: var(--rl);                 /* one row of chips per rule */
  --chip: min(44px, calc(var(--pitch) - 10px));
  padding-bottom: max(20px, calc(var(--rl) / 2));
  background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat,
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--rl) - 1px), #D3D3D3 calc(var(--rl) - 1px) var(--rl)),
    var(--white);
}
.page-projects .ps-paper .sec-top { padding-top: calc(var(--rl) * 2); padding-bottom: 0; gap: 0; }
.page-projects #ps-title { font-size: var(--fs); line-height: var(--lh); position: relative; top: calc(var(--lh) / 2 - .363em); }   /* each title line's baseline lands on its last rule */
.page-projects .ps-paper .lead { max-width: none; line-height: var(--rl); position: relative; top: calc(var(--rl) / 2 - .365em); }   /* one line on wide screens */
html[lang="he"] .page-projects .ps-paper .lead { top: calc(var(--rl) / 2 - .34em); }   /* Google Sans sits a little lower in Hebrew */
.page-projects .ps-paper .filters { margin-top: var(--rl); padding-top: calc(var(--pitch) - var(--chip)); gap: calc(var(--pitch) - var(--chip)) 10px; }
.page-projects .ps-paper .chip { display: inline-flex; align-items: center; height: var(--chip); padding-block: 0; }
.page-projects .chip[aria-pressed="false"] { background-color: var(--white); }   /* white cards on the paper, so the lines don't run through them */
.page-projects .chip[aria-pressed="false"]:hover { background-color: var(--g2); }
.page-projects .ps-paper .view-switch { height: calc(var(--rl) * 2); align-items: flex-end; padding-bottom: 0; }
.page-projects .ps-paper .view-switch span { padding-bottom: 5px; }   /* the | level with the words (the buttons' 4 px padding + 1 px underline) */
@media (min-width: 640px) {   /* 15.11 her note "שהגריד או אינדקס יעמוד במקביל לפילטרים בצד שמאל": GRID | INDEX on the (last) row of chips, at the far end, underlined by the same rule */
  .page-projects .ps-paper { position: relative; }
  .page-projects .ps-paper .filters { padding-inline-end: 180px; }   /* room for GRID | INDEX (~135 px) */
  .page-projects .ps-paper .view-switch { position: absolute; inset-inline-end: 0; bottom: max(20px, calc(var(--rl) / 2)); height: var(--chip); padding-inline-start: 0; }
}
/* Narrow screens, where the lead wraps: the rule is the lead's own line spacing, 30 px (her note "צמצם בין השורות"), and the title is
   sized to it, three rules a line on tablets, two on phones (her note "הגדל כותרת": 44 -> 65 px on a phone, 66-98 -> 98 px on a tablet).
   A chip row takes two rules; a free rule over the title and over the lead. */
@media (max-width: 939px) {
  .page-projects .ps-paper { --rl: 30px; --lh: calc(var(--rl) * 3); --fs: calc(var(--lh) / .92); --pitch: calc(var(--rl) * 2); }
  .page-projects #ps-title, .page-projects .ps-paper .lead { margin-top: var(--rl); }
}
@media (max-width: 639px) {
  .page-projects .ps-paper { --rl: min(30px, 9vw); --lh: calc(var(--rl) * 2); }   /* 9vw: PROJECT still fits a 320 px screen */
}
@media (pointer: coarse) {
  .page-projects .ps-paper .chip { position: relative; }
  .page-projects .ps-paper .chip::after { content: ""; position: absolute; inset: calc((var(--chip) - 44px) / 2) 0; }   /* 44 px to the finger even when the chip is smaller */
}
/* the covers (15.11.2026, her note "רווח מהשוליים כמו הפוטר ורווח בין הפרוייקטים חצי מזה רווח לבן"): the footer's white margin on the sides
   (and at the bottom), half of it between the covers and under the paper */
.page-projects .tiles { --tm: clamp(16px, 2.6vw, 50px); gap: calc(var(--tm) / 2); padding: calc(var(--tm) / 2) var(--tm) var(--tm); }
/* the caption (16.11.2026, her note "על התמונת פרוייקט רק שם הפרוייקט וחץ כמו פה", a Unistream card as the reference): on the cover itself,
   with a mouse and on touch alike, only the name and a thin arrow at the bottom corner on the reading side, white over a soft shade so it
   reads on the light covers too; the arrow steps forward on hover. The line and the tag stay in the link for screen readers only. */
.page-projects .works .tile { position: relative; }
.page-projects .works .tile-cap {
  position: absolute; inset: auto 0 0 0; z-index: 1; display: block; opacity: 1; pointer-events: none;
  padding: clamp(40px, 5vw, 96px) clamp(16px, 2vw, 36px) clamp(14px, 1.6vw, 28px);
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0)); color: var(--white);
}
.page-projects .works .tile-title { flex-direction: row; align-items: center; gap: clamp(10px, 1vw, 16px); transform: none; }
.page-projects .works .tile-name, .page-projects .works .tile:hover .tile-name { font-size: clamp(15px, 1.1vw, 20px); line-height: 1.2; letter-spacing: -.01em; opacity: 1; }
.page-projects .works .tile-title::after {
  content: ""; flex: none; width: clamp(28px, 2.4vw, 44px); aspect-ratio: 44 / 12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M44 6H1.5M7 1 1.5 6 7 11' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition: transform .45s var(--ease);
}
html[dir="ltr"] .page-projects .works .tile-title::after { transform: scaleX(-1); }   /* the arrow points forward: left in Hebrew, right in English */
.page-projects .works .tile:hover .tile-title::after, .page-projects .works .tile:focus-visible .tile-title::after { transform: translateX(-8px); }
html[dir="ltr"] .page-projects .works .tile:hover .tile-title::after, html[dir="ltr"] .page-projects .works .tile:focus-visible .tile-title::after { transform: scaleX(-1) translateX(-8px); }
.page-projects .works .tile-line, .page-projects .works .tile-cap .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .page-projects .works .tile-title::after { transition: none; } }

/* ---------- GOOD MARK in the header (11.11.2026, her notes): the series stamp beside the logo, the opener's look in a bubble on hover ---------- */
.head-left { display: flex; align-items: center; gap: clamp(14px, 1.3vw, 24px); }
.gm-mark { position: relative; display: flex; align-items: center; }
.gm-mark::after { content: ""; position: absolute; top: 100%; left: -24px; width: 90px; height: 22px; }   /* a bridge: the bubble stays open on the way down */
.gm-mark-btn { display: block; width: clamp(24px, 1.9vw, 32px); transition: transform .35s var(--ease); }
.gm-mark-btn img { display: block; width: 100%; height: auto; }
.gm-mark:hover .gm-mark-btn, .gm-mark-btn:focus-visible { transform: rotate(-10deg) scale(1.12); }
.gm-pop { position: absolute; top: calc(100% + 18px); left: -22px; width: 300px; padding: 26px 24px 22px; background: var(--black); color: var(--white);
  border: 1px solid var(--slate); display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(-8px); z-index: 70; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s; }
.gm-pop::before { content: ""; position: absolute; top: -9px; left: 30px; width: 16px; height: 16px; background: var(--black);
  border-left: 1px solid var(--slate); border-top: 1px solid var(--slate); transform: rotate(45deg); }
.gm-mark:hover .gm-pop, .gm-mark:focus-within .gm-pop { opacity: 1; visibility: visible; transform: none; }
.gm-pop-head { position: relative; display: flex; align-items: center; gap: 18px; }
.gm-pop-stamp { width: 62px; height: auto; flex: none; }
.gm-pop-spark { position: absolute; left: 54px; top: -12px; width: 22px; height: auto; }
.gm-pop-logo { width: 140px; height: auto; }
.gm-pop-tag { display: block; width: 210px; height: auto; margin-top: 18px; }
.gm-pop-line { margin-top: 16px; font: 700 var(--fs-text)/1.5 var(--mono); letter-spacing: .14em; }
.gm-pop-line span { color: var(--mint); }
.gm-pop-links { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--he); font-size: var(--fs-text); font-weight: 500; }
.gm-pop-links a { color: var(--white); }
.gm-pop-links a:hover, .gm-pop-links a:focus-visible { text-decoration: underline; }
@media (hover: none) { .gm-pop, .gm-mark::after { display: none; } }

/* ---------- SHORTS in the header (16.11.2026, her notes "הייתי שמה למעלה אייקון ליד GOODMARK", then for the art "בסגנון של הסטיקרים שלי
   ושל האייקונים"): a sticker from her set (Codex, אתר/שורטס/אייקון) beside the GOOD MARK stamp, as tall as it; on hover it tilts the other
   way and a small black tag names it. Built by site-src/shorts.js; the page itself is styled in assets/css/shorts.css. ---------- */
.sh-mark { position: relative; display: block; flex: none; margin-left: calc(clamp(14px, 1.3vw, 24px) * -.4); transition: transform .35s var(--ease); }   /* a pair with the stamp: closer to it than the stamp is to the logo */
.sh-mark img { display: block; height: clamp(24px, 1.9vw, 32px); width: auto; }   /* 17.11.2026 "לוגו מוכן": her own SHORTS wordmark (sh-mark.svg, no margin around it), exactly the stamp's height */
.sh-mark:hover, .sh-mark:focus-visible { transform: rotate(8deg) scale(1.12); }
.sh-mark-tip { position: absolute; top: calc(100% + 16px); left: 50%; z-index: 70; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 16px 12px; background: var(--black); color: var(--white); border: 1px solid var(--slate); white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s; }
.sh-mark-tip b { font: 700 var(--fs-label)/1.4 var(--mono); letter-spacing: .3em; color: var(--mint); }
.sh-mark-tip span { font-family: var(--he); font-size: var(--fs-label); font-weight: 500; }
.sh-mark:hover .sh-mark-tip, .sh-mark:focus-visible .sh-mark-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: none) { .sh-mark-tip { display: none; } }
@media (max-width: 400px) { .sh-mark { margin-left: -4px; } }
@media (min-width: 360px) and (max-width: 379px) {   /* the sticker needs ~25 px more: from 360 px (HE|EN still in the bar) to 379 px the logo and gaps give it */
  .site-header .logo { width: 106px; }
  .site-header .head-left { gap: 8px; }
}

/* SHORTS on the projects page (16.11.2026, her note "וגם בעבודות הייתי שמה הפנייה לשם"): a notebook card under the covers, in their margins;
   its films lean like stickers and straighten on hover */
.page-projects .sh-point { --tm: clamp(16px, 2.6vw, 50px); padding: 0 var(--tm) var(--tm); }
.page-projects .sh-point-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 80px);
  padding: clamp(32px, 4.4vw, 84px) clamp(20px, 4.4vw, 84px); border: 1px solid var(--black); color: var(--black);
  background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat,
    repeating-linear-gradient(to bottom, transparent 0 29px, #D3D3D3 29px 30px), var(--white); }
.page-projects .sh-point-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 1.4vw, 24px); }
.page-projects .sh-point-h { font-size: var(--fs-l); font-weight: 400; line-height: 1; letter-spacing: -.03em; }   /* 17.11 her "בכל הכותרות הגדולות רגיל" (every page): was 700 */
.page-projects .sh-point-h::after { content: ""; display: block; width: 1.3em; height: .09em; margin-top: .14em; background: var(--mint); }
.page-projects .sh-point-line { font-size: var(--fs-lead); line-height: 1.5; max-width: 32em; }
.page-projects .sh-point-in:hover .link, .page-projects .sh-point-in:focus-visible .link { border-color: currentColor; }
.page-projects .sh-point-reel { display: flex; gap: clamp(8px, .9vw, 16px); }
.page-projects .sh-point-film { display: block; width: clamp(64px, 7.6vw, 146px); aspect-ratio: 9 / 16; overflow: hidden; background: var(--black); transition: transform .5s var(--ease); }
.page-projects .sh-point-film:nth-child(1) { transform: rotate(-4deg); }
.page-projects .sh-point-film:nth-child(2) { transform: rotate(3deg) translateY(10px); }
.page-projects .sh-point-film:nth-child(3) { transform: rotate(-2deg); }
.page-projects .sh-point-film:nth-child(4) { transform: rotate(4deg) translateY(6px); }
.page-projects .sh-point-in:hover .sh-point-film { transform: none; }
.page-projects .sh-point-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-projects .sh-point-mark { width: auto; height: clamp(96px, 10vw, 190px); transform: rotate(-6deg); transition: transform .5s var(--ease); }
.page-projects .sh-point-in:hover .sh-point-mark { transform: rotate(4deg) scale(1.05); }
@media (max-width: 760px) {
  .page-projects .sh-point-in { grid-template-columns: minmax(0, 1fr); }
  .page-projects .sh-point-reel { width: 100%; }
  .page-projects .sh-point-film { flex: 1 1 0; width: auto; }
  .page-projects .sh-point-mark { height: 96px; }
}
@media (prefers-reduced-motion: reduce) { .sh-mark, .page-projects .sh-point-film, .page-projects .sh-point-mark { transition: none; } }

/* the status note on the GOOD MARK pages */
.gm-status { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: clamp(16px, 2vw, 32px); padding-top: clamp(20px, 2vw, 32px); border-top: 1px solid rgba(255, 255, 255, .3); max-width: 560px; }
.gm-status .label { color: rgba(255, 255, 255, .7); }
.gm-endp { font-size: var(--fs-s); line-height: 1.5; max-width: 30em; margin-top: 16px; }
.gm-slides img { width: clamp(200px, 21vw, 330px); }

/* ---------- THE SIX (11.11.2026, her note): the dive lands on a screen in six, the six latest projects, and "more projects" ---------- */
.dive-six { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--black); }
.dive.is-on .dive-film.dive-six { display: grid; pointer-events: none; }
.dive.is-landed .dive-film.dive-six { pointer-events: auto; }
.dive.is-on .dive-svg { pointer-events: none; }
.dive:not(.is-on) .dive-six { display: grid; height: min(100vh, 66vw); }          /* no motion / no script: the six as a plain block */
.six-tile { position: relative; display: block; overflow: hidden; color: var(--white); background: #111; }
.dive-six .six-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform 1.2s var(--ease); }
.six-tile:hover .six-media, .six-tile:focus-visible .six-media { transform: scale(1.04); }
.six-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px;
  padding: clamp(18px, 2vw, 36px); background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .35s var(--ease); }
.six-tile:hover .six-cap, .six-tile:focus-visible .six-cap { opacity: 1; }
.six-name { font-weight: 500; font-size: var(--fs-msg); line-height: 1; letter-spacing: -.03em; }
.six-line { font-size: var(--fs-s); color: rgba(255, 255, 255, .88); }
.six-tile:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.dive-more { position: absolute; left: 50%; bottom: clamp(22px, 5vh, 56px); z-index: 3; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.dive:not(.is-on) .dive-more, .dive.is-more .dive-more { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }   /* 12.11: only on further scrolling, under the six */
.dive:not(.is-on) .dive-more { position: relative; left: auto; bottom: auto; transform: none; margin: 28px var(--gut) 0; display: inline-flex; }
@media (hover: none) {
  .six-cap { opacity: 1; background: none; padding: 12px; justify-content: flex-start; }   /* names on top: the button sits at the bottom */
  .six-name { background: var(--black); padding: 6px 10px; font-size: var(--fs-s); }
  .six-line { display: none; }
}
@media (hover: none) and (max-width: 760px) {   /* RESPONSIVE PASS: on a phone tile an 18px name wrapped ("THE BELGIAN FAIR") and covered the logo */
  .six-cap { padding: 8px; }
  .six-name { font-size: var(--fs-label); padding: 4px 7px; letter-spacing: .02em; white-space: nowrap; }
}
/* RESPONSIVE PASS: the six keep their logos whole. A tile is never narrower than 1.2:1 (*8000's logo is 56% of its 2:1 film, so the
   1.07:1 tiles at 1440x900 cut it to "*800", and the 1:2 tiles of a portrait tablet halved every logo); the grid sits centred in the
   black stage instead of stretching to its height. Portrait tablets take the 2x3 grid, like phones. */
.dive.is-on .dive-film.dive-six { inset: 0; margin-block: auto; height: min(100%, 100vw / 1.8); }
.dive:not(.is-on) .dive-six { height: min(100vh, 100vw / 1.8); }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .dive-six { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .six-tile { order: var(--m, 0); }   /* the 2x3 colour order (HOME_SIX_PHONE in build.js): no two similar colours side by side */
  .dive.is-on .dive-film.dive-six { height: min(100%, 100vw * 1.25); }
  .dive:not(.is-on) .dive-six { height: min(150vh, 100vw * 1.25); }
}

/* ---------- WHAT WE DO · the process desk ----------
   Static (no JS, reduced motion, phones): the five services stack as rows beside a desk that shows everything they make.
   Live (.wwd.live, set by main.js): the stage pins, the services roll past an arrow, and the desk fills card by card. */
.wwd { width: 100%; margin-top: clamp(16px, 2vw, 40px); --ws: clamp(36px, 3.6vw, 76px); }
.wwd-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.wwd-count, .wwd-words { display: none; }
.wwd-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(28px, 2.5vw, 48px) 0; border-top: 1px solid currentColor; }
.wwd-body { max-width: 34em; }
.wwd-desk {
  position: sticky; top: calc(var(--hh) + 24px);
  aspect-ratio: 1; width: 100%;
  background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat, var(--white) repeating-linear-gradient(to bottom, transparent 0 calc(10% - 1px), #D3D3D3 calc(10% - 1px) 10%);   /* 12.11: a light paper grain (her note) */
  container-type: inline-size;
}

.wwd.live { height: calc(var(--n) * 80vh + 100vh); }
.wwd.live .wwd-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding-top: calc(var(--hh) + 3vh); padding-bottom: 4vh;
  align-items: center;
}
.wwd.live .wwd-text { display: flex; flex-direction: column; gap: clamp(16px, 2vh, 32px); }
.wwd.live .wwd-count { display: block; }
.wwd.live .wwd-words {
  display: block; overflow: hidden;
  height: calc(var(--ws) * 1.12 * 3);
  -webkit-mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent);
          mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent);
}
.wwd-words ol { will-change: transform; }
.wwd-words li {
  font-size: var(--ws); line-height: 1.12; height: 1.12em; white-space: nowrap;
  color: var(--g1); transition: color .35s var(--ease);
}
.wwd-words li.on { color: var(--black); }
/* the arrow: a thin drawn line with an open head (her note "רק את החץ תעדן"), it slides in beside the active word */
.wwd-arr { display: inline-block; width: 0; height: 1em; overflow: hidden; vertical-align: top; opacity: 0; transition: width .45s var(--ease), opacity .3s; }
.wwd-arr svg { width: .78em; height: .24em; margin-top: .36em; stroke-width: 1.5px; transform: translateX(-.25em); transition: transform .5s var(--ease); }
.wwd-words li.on .wwd-arr { width: 1.08em; opacity: 1; }
.wwd-words li.on .wwd-arr svg { transform: none; }
.wwd.live .wwd-steps { display: grid; }
.wwd.live .wwd-step {
  grid-area: 1 / 1; border: 0; padding: 0;
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.wwd.live .wwd-step.on { opacity: 1; transform: none; visibility: visible; transition-delay: .08s, .08s, 0s; }
.wwd.live .wwd-step > .label, .wwd.live .wwd-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wwd.live .wwd-desk { position: relative; top: auto; width: min(100%, calc(100svh - var(--hh) - 10vh)); justify-self: end; }
.wwd.live .k { opacity: 0; }

/* the cards: flat geometry, sizes in desk units (cqw) */
.k { position: absolute; border-radius: 1.4cqw; transform: rotate(var(--r)); transform-origin: 50% 50%; }
.k p { margin: 0; }
.k svg { display: block; width: 100%; height: auto; }
.k-lab { font-family: var(--mono); font-weight: 700; font-size: 1.5cqw; letter-spacing: .2em; line-height: 1.2; direction: ltr; text-align: left; }
.k-big { font-family: var(--en); font-weight: 500; letter-spacing: -.045em; line-height: .95; direction: ltr; text-align: left; }
.k-brief, .k-type, .k-web { background: var(--white); border: 1.5px solid var(--black); }
.k-brief { aspect-ratio: 4 / 5; padding: 3cqw; display: flex; flex-direction: column; justify-content: space-between; }
.k-brief .k-big { font-size: 5.4cqw; }
.k-target { border-radius: 50%; }
.k-tag { font-family: var(--mono); font-weight: 700; font-size: 1.8cqw; letter-spacing: .2em; padding: 1.2cqw 2.4cqw; border-radius: 99px; white-space: nowrap; direction: ltr; border: 1.5px solid var(--black); }
.k-yellow { background: #F2FA45; }
.k-pill { background: var(--mint); color: var(--black); }
.k-logo { background: var(--black); color: var(--white); aspect-ratio: 1; padding: 2.6cqw; display: flex; flex-direction: column; justify-content: space-between; }
.k-logo svg { width: 78%; align-self: center; }
.k-palette { direction: ltr; display: flex; height: 9cqw; overflow: hidden; border: 1.5px solid var(--black); }
.k-palette i { flex: 1; }
.k-type { aspect-ratio: 4 / 3; padding: 2.4cqw; display: flex; flex-direction: column; justify-content: space-between; }
.k-aa { font-family: var(--en); font-weight: 500; font-size: 11cqw; letter-spacing: -.05em; line-height: 1; direction: ltr; text-align: left; }
.k-poster { background: #FB4E6E; aspect-ratio: 3 / 4; padding: 2.6cqw; display: flex; flex-direction: column; justify-content: space-between; }
.k-poster .k-big { font-size: 7.6cqw; }
.k-banner { background: #A96BF5; aspect-ratio: 3 / 1; overflow: hidden; }
.k-banner svg { position: absolute; inset: 0; height: 100%; }
.k-now { position: absolute; right: 3cqw; top: 50%; transform: translateY(-50%); font-family: var(--en); font-weight: 500; font-size: 4.2cqw; letter-spacing: -.03em; color: var(--white); direction: ltr; }
.k-web { aspect-ratio: 16 / 10; padding: 1.6cqw; display: flex; flex-direction: column; gap: 1.3cqw; }
.k-dots { display: flex; gap: .8cqw; direction: ltr; }
.k-dots i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--black); }
.k-hero { flex: 1; background: var(--black); position: relative; overflow: hidden; border-radius: .6cqw; }
.k-hero span { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); left: 8%; bottom: -22%; }
.k-line { height: 1.1cqw; background: var(--g1); width: 70%; }
.k-short { width: 42%; }
.k-story { background: #F2FA45; aspect-ratio: 9 / 16; padding: 2cqw; display: flex; flex-direction: column; justify-content: space-between; border: 1.5px solid var(--black); }
.k-story svg { width: 64%; align-self: center; }
.k-seg { display: flex; gap: .6cqw; }
.k-seg i { flex: 1; height: .6cqw; background: var(--white); }
.k-seg i:first-child { background: var(--black); }
.k-reel { border-radius: 50%; }
.k-reel text { font-family: var(--mono); font-weight: 700; font-size: 8.6px; letter-spacing: 1.6px; fill: var(--black); }
@media (prefers-reduced-motion: no-preference) { .k-reel svg { animation: k-spin 16s linear infinite; } }
@keyframes k-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .wwd-pin { grid-template-columns: 1fr; }
  .wwd-desk { position: relative; top: auto; order: -1; margin-bottom: 24px; }
}

/* ---------- GOOD MARK page hero (11.11.2026, her note "תמתג את כל השטח"): the series opener's look, full width ----------
   Black with the opener's grey rules (#2F2F2F), the stamp landing with a shake, the sparkle bursting, GOOD / MARK rising, the tagline wiping in RTL. */
.gm-brand { background-color: var(--black); color: var(--white); overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0 77px, #2F2F2F 77px 80px);
  margin-top: calc(var(--hh) * -1);   /* runs up under the header, so the header turns dark over it */
  padding-top: calc(var(--hh) + clamp(40px, 5vw, 96px)); padding-bottom: clamp(56px, 6vw, 120px); }
.gm-brand-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
.gm-brand .label { color: rgba(255, 255, 255, .7); }
.gm-brand-h { margin-top: clamp(16px, 1.6vw, 26px); line-height: 0; }
.gm-brand-word { display: block; width: clamp(220px, 26vw, 400px); height: auto; animation: gm-rise .8s cubic-bezier(.2, .8, .2, 1) .55s both; }
.gm-brand-tag { display: block; width: clamp(220px, 24vw, 380px); height: auto; margin-top: clamp(20px, 2vw, 32px); animation: gm-wipe .8s cubic-bezier(.6, 0, .2, 1) .95s both; }
.gm-brand-tag-en { font: 700 var(--fs-s)/1.55 var(--mono); letter-spacing: .14em; margin-top: 24px; animation: gm-rise .8s cubic-bezier(.2, .8, .2, 1) .95s both; }
.gm-brand-tag-en span { color: var(--mint); }
.gm-brand-lead { color: rgba(255, 255, 255, .86); margin-top: clamp(20px, 2vw, 32px); max-width: 30em; animation: gm-rise .8s cubic-bezier(.2, .8, .2, 1) 1.15s both; }
.gm-brand-art { position: relative; justify-self: center; width: clamp(160px, 21vw, 330px); }
.gm-brand-stamp { display: block; width: 100%; height: auto; animation: gm-land .95s cubic-bezier(.2, .8, .2, 1) .15s both; }
.gm-brand-spark { position: absolute; width: 26%; height: auto; right: -10%; top: -8%; animation: gm-spark .7s cubic-bezier(.2, .8, .2, 1) .9s both; }
@keyframes gm-land { 0% { opacity: 0; transform: scale(1.7) rotate(-16deg); } 50% { opacity: 1; transform: scale(.93) rotate(3deg); }
  64% { transform: scale(1.04) rotate(-2.5deg); } 78% { transform: scale(.985) rotate(1.2deg); } 100% { opacity: 1; transform: none; } }
@keyframes gm-spark { 0% { opacity: 0; transform: scale(0) rotate(-45deg); } 60% { opacity: 1; transform: scale(1.3) rotate(12deg); } 100% { opacity: 1; transform: none; } }
@keyframes gm-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes gm-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@media (max-width: 760px) {
  .gm-brand-in { grid-template-columns: 1fr; }
  .gm-brand-art { order: -1; justify-self: start; width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .gm-brand-word, .gm-brand-tag, .gm-brand-tag-en, .gm-brand-lead, .gm-brand-stamp, .gm-brand-spark { animation: none; }
}

/* ---------- GOOD MARK · the stories feed (16.11.2026, her note: the blog of her status / story content, read like a feed) ----------
   Rings on top (the index), then one post per story: who and when, the story (9:16, bars, tap or swipe, gm-feed.js), its text.
   A phone shows the whole story on one screen; from 900px the text stands beside it. */
.gm-feed { --sw: min(100%, calc((100svh - var(--hh) - 24px) * 9 / 16)); }
.gm-rings, .gm-posts { max-width: 1320px; margin-inline: auto; }
.gm-rings ul { display: flex; gap: clamp(16px, 1.6vw, 28px); overflow-x: auto; scrollbar-width: none; padding: 4px 4px 12px; }
.gm-rings ul::-webkit-scrollbar { display: none; }
.gm-rings li { flex: none; }
.gm-rings a { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gm-ring { position: relative; display: block; width: clamp(68px, 5.4vw, 92px); aspect-ratio: 1; border-radius: 50%; background: var(--mint); transition: transform .35s var(--ease); }
.gm-ring img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: cover; object-position: center 30%; border-radius: 50%; border: 3px solid var(--white); }
.gm-rings a:hover .gm-ring, .gm-rings a:focus-visible .gm-ring { transform: scale(1.06); }
.gm-rings .label, html[dir="ltr"] .gm-rings .label { color: var(--black); letter-spacing: .1em; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.gm-posts { margin-top: clamp(40px, 4.4vw, 84px); }
.gm-post { width: var(--sw); margin-inline: auto; scroll-margin-top: calc(var(--hh) + 16px); }
.gm-post + .gm-post { margin-top: clamp(48px, 5vw, 96px); padding-top: clamp(48px, 5vw, 96px); border-top: 1px solid var(--g1); }
.gm-post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gm-post-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); }
.gm-post-av img { width: 24px; height: auto; }
.gm-post-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm-post-by { font-family: var(--en); font-weight: 700; font-size: var(--fs-text); line-height: 1.2; }
.gm-post-who .label { letter-spacing: .14em; }
.gm-story { position: relative; width: 100%; aspect-ratio: 9 / 16; background: var(--black); overflow: hidden; outline-offset: 4px;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.gm-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: pointer; }
.gm-track::-webkit-scrollbar { display: none; }
.gm-frame { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.gm-frame img, .gm-frame video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.gm-story::before { content: ""; position: absolute; inset: 0 0 auto; height: 96px; background: linear-gradient(rgba(0, 0, 0, .45), transparent); pointer-events: none; z-index: 1; }
.gm-bars { position: absolute; inset: 10px 10px auto; display: flex; gap: 4px; z-index: 2; pointer-events: none; }
.gm-bars i { flex: 1; height: 2px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.gm-bars b { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .gm-bars b { transform-origin: right; }
.gm-bars b.is-done { transform: none; }
.gm-bars b.is-run { animation: gm-bar linear forwards; }   /* the duration comes from gm-feed.js */
.gm-story.is-paused .gm-bars b.is-run { animation-play-state: paused; }
@keyframes gm-bar { from { transform: scaleX(0); } to { transform: none; } }
.gm-ctrl { position: absolute; top: 20px; inset-inline-end: 6px; display: flex; z-index: 3; }
.gm-ctrl button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--white); cursor: pointer; }
.gm-play::before { content: ""; box-sizing: border-box; width: 11px; height: 13px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.gm-play[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.gm-sound::before { content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 9l6 6M22 9l-6 6' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 9l6 6M22 9l-6 6' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.gm-sound[aria-pressed="true"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.gm-nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); cursor: pointer; z-index: 3;
  opacity: 0; transition: opacity .3s var(--ease); }
.gm-nav--prev { inset-inline-start: 10px; }
.gm-nav--next { inset-inline-end: 10px; }
.gm-nav::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border: solid var(--black); border-width: 2px 2px 0 0; transform: translateX(-2px) rotate(45deg); }
.gm-nav--prev::before, html[dir="rtl"] .gm-nav--next::before { transform: translateX(2px) rotate(-135deg); }
html[dir="rtl"] .gm-nav--prev::before { transform: translateX(-2px) rotate(45deg); }
.gm-story:hover .gm-nav, .gm-nav:focus-visible { opacity: 1; }
.gm-story[data-at="first"] .gm-nav--prev { visibility: hidden; }
@media (hover: none) { .gm-nav { display: none; } }
.gm-post-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; }
.gm-post-t { font-size: var(--fs-lead); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }   /* 16.11 her note: smaller, regular weight */
.gm-post-hook { font-weight: 500; font-size: var(--fs-s); line-height: 1.45; max-width: 30em; }
.gm-post-text { color: var(--slate); max-width: 34em; }
.gm-post-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 6px; }
/* the heart and the share under the story (17.11, "לב טורקיז"; the share hands over the slide as a file, gm-feed.js) */
.gm-acts { display: flex; align-items: center; margin: 6px -10px 0; }
.gm-acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--black); cursor: pointer; }
.gm-acts svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; overflow: visible; transition: fill .25s var(--ease); }
.gm-like[aria-pressed="true"] svg { fill: var(--mint); }
@media (hover: hover) { .gm-like:hover svg { fill: rgba(77, 255, 222, .45); } .gm-like[aria-pressed="true"]:hover svg { fill: var(--mint); } }
.gm-like.is-pop svg { animation: gm-pop .5s var(--ease); }
@keyframes gm-pop { 35% { transform: scale(1.32); } 70% { transform: scale(.92); } }
.gm-lc { font: 700 var(--fs-label)/1 var(--mono); letter-spacing: .04em; direction: ltr; }
.gm-lc:empty { display: none; }
.gm-toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px; background: var(--black); color: var(--white); font-size: var(--fs-text); line-height: 1.5; text-align: center; }
.gm-toast[hidden] { display: none; }
@media (min-width: 900px) {
  .gm-feed { --sw: clamp(300px, calc((100svh - var(--hh) - 96px) * 9 / 16), 600px); }
  .gm-post { width: auto; display: grid; grid-template-columns: var(--sw) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
    grid-template-areas: "story head" "story body" "acts body"; column-gap: clamp(40px, 5vw, 110px); }
  .gm-story { grid-area: story; }
  .gm-acts { grid-area: acts; }
  .gm-post-head { grid-area: head; margin-bottom: clamp(20px, 2vw, 36px); }
  .gm-post-body { grid-area: body; margin-top: 0; gap: clamp(12px, 1.2vw, 20px); }
}
@media (prefers-reduced-motion: reduce) { .gm-play { display: none; } .gm-like.is-pop svg { animation: none; } }

/* ---------- the statement as text, sliding right off the six (11.11.2026, her note: no giant title again) ---------- */
.dive.is-on { height: 260vh; }   /* 12.11: +30vh at the end, the scroll that brings in "more projects" under the six */
.dive.is-on .dive-svg { display: none; }
.dive.is-on .dive-copy { position: absolute; inset: 0; z-index: 2; background: var(--black); display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: clamp(18px, 2vw, 32px); padding: var(--hh) var(--gut) 0; will-change: transform; }
.dive-copy .dive-h { margin: 0; color: rgba(255, 255, 255, .7); }
.dive.is-on .dive-copy h1.dive-h { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.dive-copy .dive-lead { font-size: var(--fs-msg); line-height: 1.3; max-width: 21em; color: var(--white); }
.dive.is-on .dive-film.dive-six { will-change: transform, opacity; }
.page-home .dive-last { display: block; margin-top: .65em; }   /* her shorter copy 12.11: an empty line before "בואו נהפוך..." */
@media (max-width: 760px) { .page-home .dive-last { display: none; } }   /* her note 12.11: on phones the statement ends at "...לבחור דווקא בכם." */
/* her note 17.11 "מרקר טורקיז על המשפט האחרון": main.js lays a black-on-mint copy (.mk-ink) on the line and uncovers it with the scroll (--mk 0..1),
   from the right in Hebrew, from the left in English; the line is as wide as its text, so the marker ends where the words end */
.page-home .dive-last { position: relative; width: fit-content; max-width: 100%; }
.page-home .dive-last .mk-t { padding-inline: .14em; margin-inline: -.14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-home .dive-last .mk-ink { position: absolute; inset: 0; pointer-events: none; user-select: none;
  clip-path: inset(-.5em -.5em -.5em calc((1 - var(--mk, 1)) * (100% + 1em) - .5em)); }
html[dir="ltr"] .page-home .dive-last .mk-ink { clip-path: inset(-.5em calc((1 - var(--mk, 1)) * (100% + 1em) - .5em) -.5em -.5em); }
.page-home .dive-last .mk-ink .mk-t { background: var(--mint); color: var(--black); }
.dive-copy .dive-lead { text-wrap: pretty; }   /* 14.11.2026: her longer copy; no lone word on a line of its own */
/* 14.11.2026, her brief: "חשיבה של משרד פרסום. דיוק של סטודיו בוטיק." at the site's statement size (.message), home ABOUT + About page */
.ab-claim { max-width: none; }
.page-home .ab-copy .ab-claim { margin-bottom: clamp(6px, 1vw, 18px); font-weight: 400; }   /* "משקל רגיל" (16.11.2026) */
.page-about .ab-claim { margin-bottom: clamp(8px, 1.4vw, 28px); font-weight: 400; }   /* 15.11: at the top of the text beside her portrait; 16.11 her note "משקל רגיל" */
.page-about .ab-claim > span { display: block; text-wrap: balance; }   /* each sentence its own balanced block: no lone "studio." in English */
/* her note 12.11 ("על רקע לבן"): the six and "more projects" sit on white (white gaps between the tiles too);
   the statement panel keeps its own black and slides off the white */
.page-home .dive.is-on, .page-home .dive.is-on .dive-stage, .page-home .dive.is-on .dive-film.dive-six { background: var(--white); }
/* her note 16.11 ("פה שיהיה שוליים וריווחים כמו בפרוייקטים וגם קאברים כמו שם"): the six in the projects page's frame, the footer's white
   margin on the sides and half of it between the covers (.page-projects .tiles), each cover whole at 2:1 like there (the same files:
   WORK_COVERS in build.js) with its caption, the name and a thin arrow on the cover. The grid sizes to its covers and sits centred;
   where the screen is short it narrows (wider side margins) so it stays clear of the header, top and bottom. */
.page-home .dive-six { --tm: clamp(16px, 2.6vw, 50px); --g: calc(var(--tm) / 2); gap: var(--g); padding-inline: var(--tm); grid-template-rows: none;
  --r: calc(100svh - var(--hh) - var(--g) - 2 * clamp(22px, 5vh, 56px) - 76px); }   /* the most height it may take: the header above, "more projects" (main.js lifts the six for it) below */
.page-home .six-tile { aspect-ratio: 2 / 1; }
.page-home .dive.is-on .dive-film.dive-six { height: fit-content; padding-inline: max(var(--tm), calc((100% - 3 * var(--r) + var(--g)) / 2)); }
.page-home .dive:not(.is-on) .dive-six { height: auto; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  /* two by three: a 2:1 cover would be a strip here, so 6:5, the narrowest that keeps every logo whole (RESPONSIVE PASS above) */
  .page-home .six-tile { aspect-ratio: 6 / 5; }
  .page-home .dive.is-on .dive-film.dive-six { padding-inline: max(var(--tm), calc((100% - .8 * (var(--r) - 2 * var(--g)) - var(--g)) / 2)); }
}
.page-home .six-cap {
  inset: auto 0 0 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: clamp(10px, 1vw, 16px); opacity: 1; pointer-events: none;
  padding: clamp(40px, 5vw, 96px) clamp(16px, 2vw, 36px) clamp(14px, 1.6vw, 28px);
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
}
.page-home .six-name { background: none; padding: 0; font-size: clamp(15px, 1.1vw, 20px); line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
.page-home .six-cap::after {
  content: ""; flex: none; width: clamp(28px, 2.4vw, 44px); aspect-ratio: 44 / 12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'%3E%3Cpath d='M44 6H1.5M7 1 1.5 6 7 11' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition: transform .45s var(--ease);
}
html[dir="ltr"] .page-home .six-cap::after { transform: scaleX(-1); }   /* forward: left in Hebrew, right in English */
.page-home .six-tile:hover .six-cap::after, .page-home .six-tile:focus-visible .six-cap::after { transform: translateX(-8px); }
html[dir="ltr"] .page-home .six-tile:hover .six-cap::after, html[dir="ltr"] .page-home .six-tile:focus-visible .six-cap::after { transform: scaleX(-1) translateX(-8px); }
.page-home .six-line { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* read aloud, not shown */
@media (max-width: 760px) {   /* a phone tile is ~170px wide: a smaller caption, low in the corner, clear of the logo */
  .page-home .six-cap { padding: 24px 9px 7px; gap: 7px; background: linear-gradient(to top, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); }
  .page-home .six-name { font-size: 12px; letter-spacing: 0; }
  .page-home .six-cap::after { width: 20px; }
}
@media (prefers-reduced-motion: reduce) { .page-home .six-cap::after { transition: none; } }
/* TEST 17.11 (her "תנסה לפרוס את העבודות ככה שבגלילה כל פעם פרויקט אחר מתרחב ובפסים רואים רק צבע או טקסטורה", "שמור אופציה קודמת זה רק טסט"):
   only with index.html?six=strips (main.js adds .is-strips), from 761px; without it the six stay the grid above. One row: the open project
   wide (flex 5.6), the five others narrow strips showing only the cover's edge, its colour or texture; the scroll opens them in turn
   (from the right in Hebrew, the row's start). The section is longer for the six steps (440vh, was 260vh). */
@media (min-width: 761px) {
  .page-home .dive.is-on.is-strips { height: 440vh; }
  .page-home .dive.is-strips .dive-film.dive-six { display: flex; height: min(var(--r), 34vw); padding-inline: var(--tm); }
  .page-home .dive.is-strips .six-tile { flex: 1 1 0; min-width: 0; height: 100%; aspect-ratio: auto; transition: flex-grow .8s var(--ease); }
  .page-home .dive.is-strips .six-tile.is-open { flex-grow: 5.6; }
  .page-home .dive.is-strips .six-media { object-position: 0% 50%; transition: object-position .8s var(--ease), transform 1.2s var(--ease); }
  .page-home .dive.is-strips .six-tile.is-open .six-media { object-position: 50% 50%; }
  .page-home .dive.is-strips .six-tile:not(.is-open) .six-cap { opacity: 0; transition: opacity .2s; }
  .page-home .dive.is-strips .six-tile.is-open .six-cap { opacity: 1; transition: opacity .4s var(--ease) .45s; }
}
/* her note 12.11 ("פחות רווח בין הפיסקאות"): the about text was the stack's gap plus .prose's 1em per paragraph; now one small gap */
.page-home .ab-copy { gap: clamp(12px, 1vw, 18px); }
.page-home .ab-copy p + p { margin-top: 0; }
/* her title "THE BOOK / BEHIND / BOOKMARK" (12.11): BOOKMARK is ~5.5em wide, so in the two-column layout the title sizes to its column
   (the column is ~40.6vw, max 1100px) instead of .display's 10.4vw, which ran it into the text */
@media (min-width: 1101px) { .page-home #ab-title { font-size: var(--fs-num); } }
/* her note 17.11 "כותרות בגודל אחיד": the home page's big titles share one size, the about title's (which must fit its column from 1101px):
   fs-num there, fs-xl below (the about title was fs-display, a step larger) */
.page-home :is(#ab-title, #cl-title, #ts-title, #cs-title) { font-size: var(--fs-xl); }
@media (min-width: 1101px) { .page-home :is(#ab-title, #cl-title, #ts-title, #cs-title) { font-size: var(--fs-num); } }

/* ---------- THE FLOATING WHATSAPP, every page (12.11.2026, her note "כפתור צף של ווצאפ בגווני המותג"; markup in footer() in build.js).
   A black box like the header's, the footer's line icon, and the logo's mint bar along its foot. On hover the mint rises
   and WHATSAPP opens beside the icon. Bottom right in both languages: the Shabbat note sits bottom left. ---------- */
/* 15.11.2026, her note "אייקון בצורת לוגו ווצאפ רק במקום ירוק בצבע טורקיז": the button is the WhatsApp logo itself, a mint disc
   (instead of WhatsApp's green) with the bubble and handset in black, the brand's pair (white disappears on mint). On hover
   WHATSAPP opens beside it in a black tag. */
.wa-float { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 58; direction: ltr;
  display: flex; flex-direction: row-reverse; align-items: center; text-decoration: none; color: var(--white); }
.wa-float svg { width: 58px; height: 58px; flex: none; border-radius: 50%; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .28));
  transition: transform .35s var(--ease); }
.wa-float .wa-disc { fill: var(--mint); }
.wa-float .wa-glyph { fill: var(--black); }
.wa-float .wa-k { font: 700 var(--fs-label)/1 var(--mono); letter-spacing: .3em; white-space: nowrap; max-width: 0; margin-right: 0; padding: 0; opacity: 0;
  overflow: hidden; background: var(--black); border: 1px solid rgba(255, 255, 255, .28); line-height: 36px;
  transition: max-width .4s var(--ease), margin .4s var(--ease), padding .4s var(--ease), opacity .25s; }
.wa-float:hover svg, .wa-float:focus-visible svg { transform: scale(1.06); }
.wa-float:hover .wa-k, .wa-float:focus-visible .wa-k { max-width: 12em; margin-right: 10px; padding: 0 12px 0 15px; opacity: 1; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible svg { outline: 2px solid var(--mint); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wa-float svg, .wa-float .wa-k { transition: none; } }
@media (max-width: 360px) { .wa-float { right: 10px; bottom: 10px; } .wa-float svg { width: 50px; height: 50px; } }   /* 320px: clear of the home's "more projects" */
@media print { .wa-float { display: none; } }

/* the side bookmark: just the bookmark, no chapter label (11.11.2026, her note "פה לא צריך כיתוב רק סימניה") */
.ribbon-label, .ribbon.has-label .ribbon-label { display: none; }

/* ---------- HOW WE WORK · the chapter clock ----------
   Static (no JS, reduced motion, phones): the dial shows finished beside the five chapters as rows.
   Live (.hww.live, main.js): the stage pins, the hand turns with the scroll and each chapter fills its slice. */
.hww { width: 100%; margin-top: clamp(16px, 2vw, 40px); }
.hww-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.hww-count { display: none; }
.hww-steps { list-style: none; }
.hww-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(28px, 2.5vw, 48px) 0; border-top: 1px solid currentColor; }
.hww-body { max-width: 34em; }   /* 15.11 her note "גדלי פונט זהים כמו הקטן יותר": the same running text as WHAT WE DO (body size, .wwd-body's measure) */
.hww-desk {
  position: sticky; top: calc(var(--hh) + 24px);
  aspect-ratio: 1; width: 100%; display: grid; place-items: center; padding: 6%;
  background: url("../texture/paper-grain.png?v=2") 0 0 / 128px 128px repeat, var(--white) repeating-linear-gradient(to bottom, transparent 0 calc(10% - 1px), #D3D3D3 calc(10% - 1px) 10%);   /* 12.11: a light paper grain (her note) */
}
.hww-dial { width: 100%; height: auto; overflow: visible; }
.hw-ticks line { stroke: #000; stroke-width: 1.5; }
.hw-minis line { stroke: #000; stroke-width: 1; }
.hw-num { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 2px; text-anchor: middle; fill: #000; direction: ltr; }
.hw-word { font-family: var(--en); font-weight: 500; font-size: 21px; letter-spacing: -.6px; text-anchor: middle; fill: #000; direction: ltr; }
.hw-hand { stroke: #000; stroke-width: 3; stroke-linecap: round; }
.hw-sec { stroke: #000; stroke-width: 1; stroke-linecap: round; }
.label.hww-cap { position: absolute; bottom: 3%; inset-inline: 0; text-align: center; }

.hww.live { height: calc(var(--n) * 80vh + 100vh); }
.hww.live .hww-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding-top: calc(var(--hh) + 3vh); padding-bottom: 4vh; align-items: center;
}
.hww.live .hww-count { display: block; margin-bottom: clamp(16px, 2vh, 32px); }
.hww.live .hww-steps { display: grid; }
.hww.live .hww-step {
  grid-area: 1 / 1; border: 0; padding: 0;
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.hww.live .hww-step.on { opacity: 1; transform: none; visibility: visible; transition-delay: .08s, .08s, 0s; }
.hww.live .hww-desk { position: relative; top: auto; width: min(100%, calc(100svh - var(--hh) - 10vh)); justify-self: end; }

@media (max-width: 900px) {
  .hww-pin { grid-template-columns: 1fr; }
  .hww-desk { position: relative; top: auto; order: -1; margin-bottom: 24px; }
}

/* the chapter clock speaks like WHAT WE DO: the chapters roll past the thin arrow (her note 12.11.2026, "שהטקסט יהיה מעוצב כמו פה") */
.hww { --ws: clamp(36px, 3.6vw, 76px); }
.hww.live .hww-words {
  display: block; overflow: hidden; margin-bottom: clamp(16px, 2vh, 32px);
  height: calc(var(--ws) * 1.12 * 3);
  -webkit-mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent);
          mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent);
}
.hww.live .hww-step > .label, .hww.live .hww-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.k-palette .k-lead { flex: 1.8; }
