/* ==========================================================
   קרקס ספינטו — הבסיס של האתר
   פופ (קווי מתאר שחורים, צל מוזז) על דף מחברת קרמי,
   עם סטיקי נוטס, הערות שוליים וקרני שמש.
   מעליו נטען theme-poster.css.
   ========================================================== */

:root {
  --ink: #17121f;
  --paper: #fff8ec;
  --white: #ffffff;
  --teal: #16c79a;
  --teal-dark: #0b6a5e;
  --teal-soft: #c9f4e6;
  --magenta: #c13fbf;
  --purple: #6b2fd3;
  --purple-dark: #3d1782;
  --yellow: #ffd43b;
  --pink: #ffd3e6;
  --pink-soft: #ffe6f1;
  --lav: #ece3fd;
  --grid-line: rgba(70, 110, 190, 0.11);
  --muted: #4a4256;
  --line: 3px solid var(--ink);
  --shadow: -6px 6px 0 var(--ink);
  --shadow-lg: -10px 10px 0 var(--ink);
  --font: "Rubik", system-ui, sans-serif;
  --round: "Fredoka", "Rubik", system-ui, sans-serif;
  --hand: "Gveret Levin", "Fredoka", cursive;
  --serif: "Frank Ruhl Libre", "David Libre", serif;
  --note-ink: var(--magenta);
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 30px); }
body { margin: 0; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- base ---------- */
body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h3 { font-size: 1.5rem; margin-bottom: 8px; }

main { overflow-x: clip; }

/* פריטי גריד לא נמתחים בגלל הערה ארוכה */
[class*="-grid"] > *,
.bday-row > *,
.bday-copy > *,
.fit > *,
.exp > *,
.teaser > *,
.poster-frame > * { min-width: 0; }

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }

.bg-dots {
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 18, 31, 0.13) 1.5px, transparent 0) 0 0 / 26px 26px,
    var(--paper);
}

.c-white { background: var(--white); }
.c-yellow { background: var(--yellow); }
.c-teal { background: var(--teal); }
.c-magenta { background: var(--magenta); color: var(--white); }
.c-purple { background: var(--purple); color: var(--white); }
.c-teal-soft { background: var(--teal-soft); }
.c-pink-soft { background: var(--pink-soft); }

.head {
  max-width: 52rem;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

/* כותרות משנה: גופן מעוגל במקום טקסט "וורד" רגיל */
.sub {
  margin-top: 18px;
  font-family: var(--round);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  color: var(--ink);
}

.on-dark .sub,
.sub.light { color: var(--white); }

.head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  max-width: none;
  text-align: start;
}

.head-split .sub { margin: 0; }

mark {
  display: inline-block;
  padding: 0 0.18em;
  border: var(--line);
  border-radius: 12px;
  color: inherit;
  transform: rotate(-1.5deg);
}

.hl-teal { background: var(--teal); }
.hl-yellow { background: var(--yellow); color: var(--ink); }
.hl-white { background: var(--white); color: var(--ink); }
.hl-purple { background: var(--purple); color: var(--white); }
.hl-magenta { background: var(--magenta); color: var(--white); }
.hl-pink { background: var(--pink); color: var(--ink); }

.h-light { color: var(--white); margin-bottom: 20px; }
.text-light { color: rgba(255, 255, 255, 0.88); }
.body-lg { font-size: 1.15rem; margin: 20px 0 28px; }
.muted { color: var(--muted); }

.pill-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--round);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: -3px 3px 0 var(--ink);
}

.pill-yellow { background: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: var(--line);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: -4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translate(2px, -2px); box-shadow: -6px 6px 0 var(--ink); }
.btn:active { transform: translate(-3px, 3px); box-shadow: 0 0 0 var(--ink); }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-magenta { background: var(--magenta); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-teal { background: var(--teal); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: -4px 4px 0 var(--teal); }
.btn-ink:hover { box-shadow: -6px 6px 0 var(--teal); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 0.95rem; box-shadow: -3px 3px 0 var(--ink); }
.btn-lg { padding: 18px 30px; font-size: 1.15rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.text-link {
  font-weight: 800;
  border-bottom: 3px solid var(--teal);
}

/* ---------- header + curtain valance ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--ink);
  background: var(--paper);
  border-bottom: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { height: 66px; width: auto; }

.brand-name {
  display: grid;
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-name small {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.8rem;
  opacity: 0.75;
}

.nav {
  display: flex;
  gap: 2px;
  margin-inline-start: auto;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav a:hover { background: var(--teal-soft); }
.nav a[aria-current="page"] { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.nav .nav-cv { border: 2px dashed currentColor; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: var(--line);
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: -3px 3px 0 var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 10px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* וילון: שורת "גלים" של בד שתלויה מתחת לתפריט */
.valance {
  --v-a: var(--magenta);
  --v-b: var(--purple);
  --v-edge: var(--ink);
  position: absolute;
  inset-inline: 0;
  top: 100%;
  height: 24px;
  margin-top: 1px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18px 0, var(--v-a) 15px, var(--v-edge) 15.5px 18px, transparent 18.5px) 0 0 / 72px 24px repeat-x,
    radial-gradient(circle at 54px 0, var(--v-b) 15px, var(--v-edge) 15.5px 18px, transparent 18.5px) 0 0 / 72px 24px repeat-x;
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 2;
  width: 104%;
  margin: -14px -2% 0;
  padding: 14px 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--yellow);
  transform: rotate(-1.5deg);
  border-block: 3px solid var(--ink);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
  white-space: nowrap;
  animation: tick 38s linear infinite;
}

.ticker i { font-style: normal; color: var(--teal); }
.ticker i:nth-of-type(even) { color: var(--magenta); }

@keyframes tick { to { transform: translateX(50%); } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- name plate (במקום בועה שמסתירה את הפנים) ---------- */
.nameplate {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  padding: 12px 22px 14px;
  border: var(--line);
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
}

.nameplate strong { font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.nameplate span { font-family: var(--round); font-weight: 600; font-size: 1.05rem; color: var(--magenta); }

/* "קרקס ספינטו / מציג..." — המילה מציג מתחת ללוגו, באותיות מקפצות כמו בלוגו */
.presents {
  display: grid;
  justify-items: center;
  gap: 0;
}

.presents img { width: 100%; height: auto; }

.presents-word {
  display: flex;
  gap: 0.04em;
  margin-top: -0.1em;
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1;
  -webkit-text-stroke: 5px var(--presents-edge, var(--ink));
  paint-order: stroke fill;
  filter: drop-shadow(-3px 3px 0 var(--ink));
}

.presents-word span { display: inline-block; }
.presents-word span:nth-child(1) { color: var(--teal); rotate: -8deg; translate: 0 4px; }
.presents-word span:nth-child(2) { color: var(--magenta); rotate: 6deg; translate: 0 -4px; }
.presents-word span:nth-child(3) { color: var(--teal); rotate: -5deg; translate: 0 2px; }
.presents-word span:nth-child(4) { color: var(--magenta); rotate: 9deg; translate: 0 -2px; }
.presents-word span:nth-child(n + 5) { color: var(--yellow); }

/* ---------- services (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 24px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover { transform: translate(3px, -3px); box-shadow: var(--shadow-lg); }
.tile h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.tile p { margin-bottom: 14px; font-size: 1.08rem; }
.tile .go { margin-top: auto; font-weight: 800; }

.tile-big { grid-column: span 2; grid-row: span 2; padding: 0; }
.tile-big img { width: 100%; height: 320px; object-fit: cover; border-bottom: var(--line); }

.tile-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.tile-big p { font-size: 1.2rem; max-width: 30rem; }

.tile-sticker {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.2rem;
  transform: rotate(-12deg);
}

.tile-wide { grid-column: span 2; flex-direction: row; padding: 0; }
.tile-wide .tile-copy { flex: 1.1; }

.tile-wide img {
  flex: 0.9;
  width: 0;
  min-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-inline-start: var(--line);
  background: var(--white);
}

/* ---------- birthdays ---------- */
.chant {
  display: inline-grid;
  justify-items: start;
  gap: 12px;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.15;
}

.chant b {
  display: inline-block;
  padding: 2px 14px 6px;
  border: var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: -4px 4px 0 var(--ink);
  font-weight: 900;
}

.chant .cl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.chant .cl:nth-child(2) { margin-inline-start: 1.4em; }
.chant .cl:nth-child(1) b { background: var(--yellow); rotate: -3deg; }
.chant .cl:nth-child(2) b { background: var(--magenta); color: var(--white); rotate: 2deg; }

.chant-sub {
  margin-top: 18px;
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.steps li {
  padding: 24px;
  border: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.steps li:nth-child(even) { transform: translateY(18px); }

.num {
  display: block;
  margin-bottom: 10px;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.steps .c-purple .num,
.steps .c-magenta .num { -webkit-text-stroke-color: var(--white); }
.steps h3 { font-size: 1.45rem; }
.steps p { font-family: var(--round); font-weight: 500; font-size: 1.02rem; line-height: 1.55; }

.bday-row {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.photo-stack {
  position: relative;
  height: 440px;
}

.photo-stack img {
  position: absolute;
  width: 70%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.photo-stack img:first-child { top: 0; right: 0; width: 62%; transform: rotate(4deg); }
.photo-stack img:last-child { bottom: 0; left: 0; width: 56%; transform: rotate(-5deg); }

.card {
  position: relative;
  padding: 30px;
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card > p { margin-bottom: 22px; color: var(--muted); }
.card h3 { font-size: 1.7rem; }

/* fun fact: המילים "fun fact" הן הכוכב, לא המספר */
.funfact {
  position: relative;
  display: grid;
  gap: 8px;
  max-width: 340px;
  padding: 22px 24px 24px;
  border: var(--line);
  border-radius: 26px;
  background: var(--yellow);
  box-shadow: var(--shadow);
  rotate: -3deg;
}

.ff-label {
  justify-self: start;
  margin-top: -44px;
  padding: 4px 16px 8px;
  border: var(--line);
  border-radius: 14px;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  box-shadow: -4px 4px 0 var(--ink);
  rotate: 4deg;
}

.funfact p:not(.ff-label) {
  font-family: var(--round);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.45;
}


/* ---------- show ---------- */
.show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.show-photo { position: relative; }

.show-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 32px;
  box-shadow: -14px 14px 0 var(--yellow);
}

.show-photo figcaption {
  position: absolute;
  bottom: 22px;
  right: -14px;
  padding: 8px 18px 10px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: -4px 4px 0 var(--ink);
  transform: rotate(-4deg);
}

/* מונים שעולים מאפס */
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.counters li {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 24px 22px;
  border: var(--line);
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: center;
  cursor: default;
  transition: transform 0.15s ease;
}

.counters li:hover { transform: translate(2px, -3px) rotate(-1deg); }
.counters li:nth-child(2) { background: var(--yellow); }
.counters li:nth-child(3) { background: var(--teal); }

.cnt {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cnt-label {
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}

/* למי המופע מתאים */
.fit {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.fit-card {
  padding: 30px;
  border: var(--line);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: -8px 8px 0 var(--ink);
}

.fit-card h3 { font-size: 1.9rem; margin-bottom: 18px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 8px 18px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.05rem;
}

.chips li:nth-child(4n + 1) { background: var(--teal-soft); }
.chips li:nth-child(4n + 2) { background: var(--pink-soft); }
.chips li:nth-child(4n + 3) { background: #fff1b8; }

.fit-note {
  position: relative;
  padding: 28px 28px 30px;
  border: 3px dashed var(--ink);
  border-radius: 28px;
  background: var(--pink-soft);
  color: var(--ink);
  rotate: 1deg;
}

.fit-note h3 { font-size: 1.6rem; margin-bottom: 12px; }
.fit-note p { font-size: 1.08rem; }

/* ---------- video ---------- */
.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 4px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  box-shadow: -12px 12px 0 var(--magenta);
}

.video > img,
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video > img { opacity: 0.72; }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  translate: -50% -50%;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: -5px 5px 0 var(--ink);
  cursor: pointer;
  transition: scale 0.15s ease;
}

.video-play:hover { scale: 1.08; }
.video-play svg { width: 40px; height: 40px; margin-inline-start: -6px; }

.video-label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 16px 8px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--round);
  font-weight: 700;
}

.video-note {
  position: absolute;
  inset-inline: 18px;
  bottom: 16px;
  color: var(--white);
  font-family: var(--hand);
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.video.is-playing .video-play,
.video.is-playing .video-label,
.video.is-playing .video-note,
.video.is-playing > img { display: none; }

/* ---------- workshops ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-grid li {
  padding: 20px;
  border: var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
}

.feature-grid li:nth-child(odd) { transform: rotate(-1.5deg); }
.feature-grid li:nth-child(even) { transform: rotate(1.5deg); }

.feature-grid strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.15;
}

.feature-grid .wide { grid-column: span 2; }

/* בפנים / בחוץ עם תמונות תואמות */
.inout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: clamp(48px, 7vw, 80px);
}

.inout figure { position: relative; }

.inout img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.inout figure:nth-child(1) { rotate: -2deg; }
.inout figure:nth-child(2) { rotate: 1.5deg; translate: 0 14px; }
.inout figure:nth-child(3) { rotate: -1deg; }

.inout figcaption {
  position: absolute;
  bottom: -16px;
  inset-inline-start: 18px;
  padding: 4px 16px 8px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: -3px 3px 0 var(--ink);
}

/* ---------- special education ---------- */
.spec-head h2 { margin-bottom: 0; }

.spec-sub {
  display: inline-block;
  margin-top: 14px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
}

.spec-lead {
  max-width: 44rem;
  margin: 22px auto 0;
  font-family: var(--round);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.5;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.spec-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.spec-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: var(--line);
}

.spec-card .spec-body { padding: 26px 28px 30px; }
.spec-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.spec-card .who { margin-bottom: 18px; font-family: var(--round); font-weight: 500; color: var(--muted); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--round);
  font-weight: 600;
  font-size: 1rem;
}

.big-quote {
  max-width: 1000px;
  margin: clamp(56px, 8vw, 96px) auto;
  text-align: center;
}

.big-quote .q-setup {
  max-width: 46rem;
  margin: 0 auto 18px;
  font-family: var(--round);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--muted);
}

.big-quote .q-main {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
}

.spec-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.spec-photos img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 22%;
  border: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.exp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.exp h3 { font-size: 1.8rem; margin-bottom: 10px; }
.exp > div > p { color: var(--muted); margin-bottom: 18px; }

.exp-list { display: grid; gap: 10px; }

.exp-list li {
  display: grid;
  gap: 0;
  padding: 10px 16px;
  border-inline-start: 6px solid var(--teal);
  border-radius: 6px;
  background: var(--paper);
}

.exp-list li:nth-child(2) { border-color: var(--magenta); }
.exp-list li:nth-child(3) { border-color: var(--yellow); }
.exp-list li:nth-child(4) { border-color: var(--purple); }
.exp-list strong { font-weight: 800; }
.exp-list span { font-family: var(--round); font-weight: 500; color: var(--muted); }

.order {
  padding: 26px;
  border: var(--line);
  border-radius: 24px;
  background: var(--teal-soft);
}

.order p { margin-bottom: 16px; font-family: var(--round); font-weight: 600; font-size: 1.2rem; }

/* ---------- about: סיפור רציף, התמונה משמאל ומשקיפה על הטקסט ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-art {
  position: relative;
  display: grid;
  place-items: center;
}

.about-art::before {
  content: "";
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.about-art .about-stav {
  position: relative;
  width: auto;
  height: min(600px, 74vh);
  filter: drop-shadow(-8px 8px 0 var(--ink));
}

.story {
  position: relative;
  max-width: 40rem;
}

.story p {
  margin-bottom: 18px;
  font-size: 1.15rem;
  line-height: 1.75;
}

.story .story-open {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
}

.story .story-today {
  padding: 22px 24px;
  border: var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.story .story-today strong { display: block; font-size: 1.5rem; font-weight: 900; }
.story .story-end { font-family: var(--round); font-weight: 700; font-size: 1.3rem; }

/* ---------- margin notes: "הערות שוליים" בכתב יד ---------- */
.note {
  position: relative;
  z-index: 4;
  display: block;
  width: max-content;
  max-width: 250px;
  margin: 10px 0 18px;
  padding: 0;
  color: var(--note-ink);
  font-family: var(--hand);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  rotate: var(--r, -4deg);
}

/* החץ יוצא מסוף הטקסט שמעל (משמאל, כי עברית) ויורד אל ההערה */
.note:not(.no-arrow) { padding-top: 28px; }

.note::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 30%;
  width: 18px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 24'%3E%3Cpath d='M13 2C7 8 6 14 9 21m0 0 .7-5.95M9 21l-4.8-3.6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%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 18 24'%3E%3Cpath d='M13 2C7 8 6 14 9 21m0 0 .7-5.95M9 21l-4.8-3.6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.note.no-arrow::before { display: none; }
.bg-purple, .about { --note-ink: var(--yellow); }

/* ההערה ליד כפתור השריון: בדסקטופ יושבת בפינה הריקה של הכרטיס */
@media (min-width: 1100px) {
  .card .note.bday-note {
    position: absolute;
    left: 26px;
    bottom: 12px;
    max-width: 230px;
    margin: 0;
    padding-top: 22px;
  }
}
.note b { font-weight: 400; color: var(--ink); }
.note-light { --note-ink: var(--yellow); }
.note-ink { --note-ink: var(--ink); }
.note-purple { --note-ink: var(--purple); }

.inline-note {
  display: inline-block;
  color: var(--note-ink);
  font-family: var(--hand);
  font-size: 1.35em;
  line-height: 1.1;
  rotate: -3deg;
}

/* הערה שנדחפת לצד השני של הטור, ובדסקטופ גם בורחת קצת החוצה */
.note.far { margin-inline-start: auto; }

@media (min-width: 1100px) {
  .note.out { margin-inline-end: -90px; }
  .note.out-start { margin-inline-start: -90px; }
}

/* בדסקטופ ההערות "בורחות" לשוליים, קצת עקומות, ליד הטקסט שהן מעירות עליו */
@media (min-width: 1100px) {
  .note.float {
    float: left;
    clear: left;
    margin: 0 24px 12px -290px;
    width: 250px;
  }

  .note.abs {
    position: absolute;
    top: var(--y, 0);
    left: var(--x, auto);
    right: var(--xr, auto);
    margin: 0;
  }
}

/* ---------- reviews ---------- */
.reviews-head { margin-bottom: 28px; }

.review-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.review-tabs button {
  padding: 8px 18px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--round);
  font-weight: 700;
  cursor: pointer;
  box-shadow: -3px 3px 0 var(--ink);
}

.review-tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  padding: 6px 12px 44px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar { display: none; }

.say {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.say::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 40px;
  width: 26px;
  height: 26px;
  background: inherit;
  border-bottom: var(--line);
  border-right: var(--line);
  transform: rotate(45deg) skew(10deg, 10deg);
}

.say p { font-size: 1.05rem; }

.say footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 900;
}

.say-tag {
  padding: 0 10px 2px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--round);
  font-weight: 600;
  font-size: 0.85rem;
}

.review-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.review-nav button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: -3px 3px 0 var(--ink);
}

.review-nav button:disabled { opacity: 0.35; cursor: default; }
.reviews-more { margin-top: 26px; text-align: center; font-family: var(--hand); font-size: 1.5rem; color: var(--note-ink); }

/* ---------- ticket CTA ---------- */
.cta { padding: clamp(80px, 10vw, 130px) 0; background: var(--cta-bg, var(--paper)); }

.ticket {
  display: grid;
  grid-template-columns: 1fr 220px;
  max-width: 1040px;
  margin-inline: auto;
  filter: drop-shadow(-10px 10px 0 var(--ink));
}

.ticket-main {
  position: relative;
  padding: clamp(32px, 5vw, 56px);
  border: 4px solid var(--ink);
  border-inline-end: 0;
  border-radius: 0 30px 30px 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.2) 1.5px, transparent 0) 0 0 / 24px 24px,
    var(--magenta);
  color: var(--white);
}

.ticket-main h2 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  text-shadow: -6px 6px 0 var(--ink);
  margin-bottom: 14px;
}

.ticket-main p { max-width: 36rem; margin-bottom: 26px; font-size: 1.2rem; }
.ticket-main .actions { color: var(--ink); }

.ticket-stub {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 24px 16px;
  border: 4px solid var(--ink);
  border-inline-start: 4px dashed var(--ink);
  border-radius: 30px 0 0 30px;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  right: -22px;
  width: 40px;
  height: 40px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--cta-bg, var(--paper));
}

.ticket-stub::before { top: -22px; }
.ticket-stub::after { bottom: -22px; }
.ticket-stub img { width: 140px; height: auto; }
.ticket-stub .admit { font-weight: 900; letter-spacing: 0.18em; font-size: 0.85rem; }
.ticket-stub dl { display: block; font-size: 0.95rem; line-height: 1.5; }
.ticket-stub dt { display: inline; margin-inline-end: 5px; font-weight: 800; }
.ticket-stub dd { display: inline; font-family: var(--round); font-weight: 600; }
.ticket-stub dd::after { content: ""; display: block; }

.barcode {
  width: 120px;
  height: 34px;
  margin-top: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 13px, transparent 13px 15px);
}

/* ---------- footer: בהיר ולא כבד ---------- */
.footer {
  padding: 40px 0 96px;
  border-top: var(--line);
  background: var(--white);
  color: var(--ink);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 120px; height: auto; }
.footer-brand p { font-family: var(--round); font-weight: 500; color: var(--muted); max-width: 22rem; line-height: 1.4; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 700; }
.footer-links a:hover { color: var(--magenta); }
.footer-contact { display: grid; gap: 2px; font-weight: 700; }
.copy { width: 100%; font-size: 0.85rem; color: var(--muted); }

/* ---------- inner page hero (multi-page) ---------- */
.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 100px);
  border-bottom: var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.page-hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); margin-bottom: 18px; }
.page-hero .sub { margin-top: 0; margin-bottom: 26px; }

.page-hero-photo img {
  object-position: center 30%;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 32px;
  box-shadow: -14px 14px 0 var(--ink);
  rotate: 2deg;
}

.crumbs { margin-bottom: 18px; font-weight: 700; font-size: 0.95rem; opacity: 0.8; }
.crumbs a { border-bottom: 2px solid currentColor; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: var(--line);
  border-radius: 20px;
  box-shadow: -4px 4px 0 var(--ink);
}

.gallery img:nth-child(odd) { rotate: -1.5deg; }
.gallery img:nth-child(even) { rotate: 1.5deg; }

.teaser {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.teaser-art { position: relative; display: grid; place-items: center; }

.teaser-art::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.teaser-art img { position: relative; height: 460px; width: auto; filter: drop-shadow(-8px 8px 0 var(--ink)); }

/* ---------- CV page: רציני ושקט, באותם צבעים של האתר ---------- */
.cv-page {
  --cv-bg: #fbf6ee;
  --cv-ink: var(--ink);
  --cv-muted: var(--muted);
  --cv-accent: var(--purple);
  --cv-line: rgba(23, 18, 31, 0.14);
  background: var(--cv-bg);
  color: var(--cv-ink);
}

.cv-page main { background: var(--cv-bg); }

.cv-hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--cv-line);
}

.cv-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.cv-kicker {
  margin-bottom: 18px;
  color: var(--cv-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cv-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.cv-hero .cv-lead {
  max-width: 38rem;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: var(--cv-muted);
}

.cv-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: -12px 12px 0 #e9defc;
}

.cv-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 8vw, 100px) 0;
}

.cv-toc {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
}

.cv-toc a { color: var(--cv-muted); padding-inline-start: 14px; border-inline-start: 2px solid var(--cv-line); }
.cv-toc a:hover { color: var(--cv-accent); border-color: var(--cv-accent); }

.cv-section { margin-bottom: clamp(48px, 6vw, 72px); }

.cv-section h2 {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.cv-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--cv-line);
}

.cv-item .when { color: var(--cv-accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.cv-item h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-bottom: 4px; line-height: 1.3; letter-spacing: 0; }
.cv-item p { color: var(--cv-muted); }

/* שורות שמחכות לפרטים מקורות החיים המלאים */
.cv-item.todo { opacity: 0.7; }
.cv-item.todo h3,
.cv-item.todo .when { border-bottom: 1px dashed var(--cv-accent); justify-self: start; }

.cv-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.cv-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.cv-gallery .tall { grid-row: span 2; }
.cv-gallery .wide { grid-column: span 2; }

.cv-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #f1eafd;
}

.cv-cta p { font-family: var(--serif); font-size: 1.35rem; }

.btn-cv { border: 2px solid var(--purple); background: var(--purple); color: var(--white); box-shadow: none; }
.btn-cv:hover { box-shadow: none; transform: translateY(-2px); }
.btn-cv-line { border: 2px solid var(--ink); background: transparent; color: var(--ink); box-shadow: none; }
.btn-cv-line:hover { box-shadow: none; transform: translateY(-2px); }

/* ==========================================================
   סבב 3: רכיבים חדשים
   ========================================================== */

/* ---------- רקע מחברת: משבצות, גם על צבעים חזקים (כדי לרכך אותם) ---------- */
.bg-cream,
.bg-pink,
.bg-mint,
.bg-lav,
.bg-purple {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--bgc);
}

.bg-cream { --bgc: var(--paper); }
.bg-pink { --bgc: var(--pink); --grid-line: rgba(255, 255, 255, 0.55); }
.bg-mint { --bgc: var(--teal-soft); --grid-line: rgba(255, 255, 255, 0.6); }
.bg-lav { --bgc: var(--lav); --grid-line: rgba(255, 255, 255, 0.6); }
.bg-purple { --bgc: var(--purple); --grid-line: rgba(255, 255, 255, 0.1); color: var(--white); }

/* ---------- קרני השמש הזזות (מגרסה 6) ---------- */
.rays-bg {
  --ray-a: #ffe58a;
  --ray-b: #ffd43b;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.rays-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260vmax;
  height: 260vmax;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, var(--ray-a) 0deg 9deg, var(--ray-b) 9deg 18deg);
  animation: spin 160s linear infinite;
}

/* העמודים הפנימיים לפי האפשרות שנבחרה בלוח הבחינה */
html[data-rays="home"] .page-hero .rays-bg { display: none; }

html[data-rays="purple"] .page-hero .rays-bg,
html[data-rays="purple-static"] .page-hero .rays-bg { --ray-a: #f1e9fe; --ray-b: #ddcdfa; }

html[data-rays="static"] .page-hero .rays-bg::before,
html[data-rays="purple-static"] .page-hero .rays-bg::before { animation: none; }

html[data-rays="hover"] .page-hero .rays-bg::before { animation-duration: 40s; animation-play-state: paused; }
html[data-rays="hover"] .page-hero:hover .rays-bg::before { animation-play-state: running; }

html[data-rays="page"] .ph-birthdays .rays-bg { --ray-a: #ffe6f1; --ray-b: #ffcfe3; }
html[data-rays="page"] .ph-show .rays-bg { --ray-a: #def8ef; --ray-b: #bdeedc; }
html[data-rays="page"] .ph-special .rays-bg { --ray-a: #f1e9fe; --ray-b: #ddcdfa; }
html[data-rays="page"] .ph-about .rays-bg { --ray-a: #ffe9d4; --ray-b: #ffd6ad; }

/* ---------- inner page hero ---------- */
.page-hero { overflow: hidden; }
.page-hero-grid { position: relative; z-index: 1; }

/* ---------- sticky notes (מגרסת המחברת) ---------- */
.sticky,
html[data-sticky="dominant"] .sd {
  --sticky-bg: #ffe77a;
  position: relative;
  padding: 28px 24px 24px;
  border: var(--line);
  border-radius: 4px 4px 26px 4px;
  background: var(--sticky-bg);
  color: var(--ink);
  box-shadow: -6px 6px 0 var(--ink);
  rotate: var(--tilt, -2deg);
}

.sticky::before,
html[data-sticky="dominant"] .sd::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 2;
  display: block;
  width: 96px;
  height: 28px;
  translate: -50% 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(23, 18, 31, 0.3);
  -webkit-mask: none;
          mask: none;
  rotate: -4deg;
}

.s-yellow { --sticky-bg: #ffe77a !important; }
.s-pink { --sticky-bg: #ffd3e6 !important; }
.s-mint { --sticky-bg: #c9f4e6 !important; }
.s-lav { --sticky-bg: #e6d9fc !important; }
.s-white { --sticky-bg: #ffffff !important; }

.sticky-title {
  margin-bottom: 6px;
  color: var(--magenta);
  font-family: var(--hand);
  font-size: 2.2rem;
  line-height: 1;
}

.sticky-mini {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 74px;
  min-height: 64px;
  padding: 10px 12px 8px;
  font-family: var(--hand);
  font-size: 1.5rem;
  line-height: 1.05;
  text-align: center;
}

.sticky-mini::before { width: 54px !important; height: 20px !important; top: -11px !important; }

/* רק במצב "דומיננטי" / רק במצב "טאצ'" */
html:not([data-sticky="dominant"]) .only-d { display: none !important; }
html:not([data-sticky="touch"]) .only-t { display: none !important; }

/* הערה בכתב יד שהפכה לפתק דביק: בלי חץ, עם מסגרת */
html[data-sticky="dominant"] .note.sd { width: auto; max-width: 300px; font-size: 1.5rem; }
html[data-sticky="dominant"] .note.sd::before { inset-inline-start: auto; }

/* ---------- birthdays: שלוש האפשרויות לסטיקי נוטס ---------- */
html[data-bday="all"] .steps li,
html[data-bday="steps"] .steps li {
  position: relative;
  border-radius: 4px 4px 26px 4px;
  background: var(--sticky-bg);
  color: var(--ink);
  transform: none;
  rotate: var(--tilt);
}

html[data-bday="all"] .steps li::before,
html[data-bday="steps"] .steps li::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 84px;
  height: 26px;
  translate: -50% 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(23, 18, 31, 0.3);
  rotate: 4deg;
}

html[data-bday="all"] .steps li .num,
html[data-bday="steps"] .steps li .num { -webkit-text-stroke-color: var(--ink); }

.steps li:nth-child(1) { --sticky-bg: #ffffff; --tilt: -2deg; }
.steps li:nth-child(2) { --sticky-bg: #ffe77a; --tilt: 1.5deg; }
.steps li:nth-child(3) { --sticky-bg: #c9f4e6; --tilt: -1deg; }
.steps li:nth-child(4) { --sticky-bg: #e6d9fc; --tilt: 2deg; }

/* fun fact כפתק דביק: תווית בכתב יד וסלוטייפ */
html[data-bday="all"] .funfact,
html[data-bday="funfact"] .funfact {
  border-radius: 4px 4px 26px 4px;
  background: #ffe77a;
  rotate: 3deg;
}

html[data-bday="all"] .funfact::before,
html[data-bday="funfact"] .funfact::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 96px;
  height: 28px;
  translate: -50% 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(23, 18, 31, 0.3);
  rotate: -4deg;
}

html[data-bday="all"] .ff-label,
html[data-bday="funfact"] .ff-label {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--magenta);
  font-family: var(--hand);
  font-weight: 400;
  font-size: 2.6rem;
  rotate: -3deg;
}

/* "יום הולדת 80!" בצבע של התווית */
.funfact strong { color: var(--magenta); font-weight: 800; }

/* ---------- polaroid ---------- */
.polaroid {
  position: relative;
  padding: 12px 12px 14px;
  border: var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  rotate: var(--tilt, 3deg);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.polaroid figcaption {
  margin-top: 10px;
  font-family: var(--hand);
  font-size: 1.55rem;
  line-height: 1.1;
  text-align: center;
}

.polaroid figcaption strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--round);
  font-weight: 700;
  font-size: 1rem;
  color: var(--purple);
}

.tape::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 110px;
  height: 30px;
  translate: -50% 0;
  background: rgba(255, 212, 59, 0.75);
  border: 1px dashed rgba(23, 18, 31, 0.3);
  rotate: -4deg;
}

/* ---------- "הלקוח תמיד צוחק" ---------- */
.slogan-band {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0;
  text-align: center;
}

.slogan-band h2 { font-size: clamp(3rem, 9vw, 7.2rem); line-height: 1; }
.slogan-band h2 mark { border-width: 4px; box-shadow: var(--shadow); }
.slogan-band .note { margin: 22px auto 0; }

html:not([data-slogan="band"]) .slogan-band,
html:not([data-slogan="band"]) .rv-alt,
html[data-slogan="band"] .rv-slogan { display: none; }

/* ---------- client logos ---------- */
.logos .head { margin-bottom: 36px; }

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.4vw, 40px) clamp(30px, 4.4vw, 56px);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 52px);
  border: var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.logo-wall li { display: grid; place-items: center; }

.logo-wall img {
  width: calc(var(--w) * 1px * var(--logo-scale, 1));
  height: auto;
  transition: transform 0.2s ease;
}

.logo-wall li:hover img { transform: scale(1.07) rotate(-2deg); }

/* המקום הריק בסוף שורת הלוגואים, והבדיחה שתלויה מתחתיו */
.logo-wall.has-slot { padding-bottom: clamp(108px, 9vw, 124px); }
.logo-slot { position: relative; }

.logo-slot-box {
  display: block;
  width: calc(150px * var(--logo-scale, 1));
  height: calc(84px * var(--logo-scale, 1));
  border: 3px dashed var(--magenta);
  border-radius: 16px;
  background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(193, 63, 191, 0.06) 10px 20px);
}

.logo-wall .logo-slot-note {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  width: max-content;
  max-width: 230px;
  margin: 0;
  translate: -50% 0;
  text-align: center;
}

/* ---------- workshops: מזוודה מפוצצת + בכל מקום ---------- */
.suitcase {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 30px;
}

.suitcase svg { width: min(460px, 100%); height: auto; }
.suitcase .note { margin: 0 0 0 auto; max-width: 300px; }

.inout-head { max-width: 44rem; margin: clamp(64px, 9vw, 110px) auto 34px; text-align: center; }
.inout-head h3 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.inout-head p { margin-top: 10px; font-family: var(--round); font-weight: 500; font-size: 1.2rem; color: var(--muted); }
.inout { grid-template-columns: 1fr 1fr; margin-top: 0; gap: clamp(24px, 4vw, 48px); }
.inout img { height: 340px; }
.inout figure:nth-child(2) { translate: 0 0; rotate: 1.5deg; }

/* ---------- reviews: "להמשך קריאה" ---------- */
.review-track { align-items: start; }

.say p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.say.is-open p { display: block; -webkit-line-clamp: unset; }

.say-more {
  align-self: start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid currentColor;
  background: none;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ---------- where the sticky notes sit ---------- */
.reviews > .wrap,
.video-wrap,
.counters-box { position: relative; }

.reviews-sticky {
  position: absolute;
  top: -40px;
  left: 0;
  max-width: 210px;
  padding: 24px 16px 16px;
  font-family: var(--hand);
  font-size: 1.45rem;
  line-height: 1.1;
}

.cta-sticky {
  position: absolute;
  top: -40px;
  left: 26px;
  z-index: 3;
  max-width: 220px;
  padding: 24px 16px 16px;
  font-family: var(--hand);
  font-size: 1.5rem;
  line-height: 1.1;
}

.cta-mini { top: -30px; left: 30px; }
.video-sticky { top: -22px; left: -16px; }
.counters-note { margin-top: 18px; }

/* about: סתיו משמאל, פולארויד של הליצנות הרפואית ופתק מחוץ לבמה */
.about-art { min-height: 640px; }
.about-art .about-stav { height: min(600px, 74vh); }

.about-art .clown-polaroid {
  position: absolute;
  bottom: -30px;
  left: -60px;
  z-index: 3;
  width: 220px;
}

.clown-polaroid figcaption { font-size: 1.3rem; }

.about-sticky {
  position: absolute;
  top: 2%;
  left: -34px;
  z-index: 3;
  max-width: 220px;
  font-family: var(--round);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.about-sticky .sticky-title { display: block; font-size: 1.9rem; }

.teaser-photo { display: grid; place-items: center; }
.teaser-photo .clown-polaroid { width: min(440px, 100%); }
.teaser-note { margin-bottom: 26px; }

.special-logos { margin-top: clamp(64px, 9vw, 110px); }
.special-logos-title { margin-bottom: 26px; text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.logo-wall-sm { --logo-scale: 0.86; gap: 26px 38px; }
.features-box { display: grid; gap: 18px; }
.features-box .suitcase { margin-top: 8px; justify-items: center; }
.work-title { font-size: clamp(2rem, 4vw, 3.3rem); }

/* ---------- WhatsApp bubble + reveal ---------- */
.wa-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: var(--line);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: -4px 4px 0 var(--ink);
  transition: transform 0.15s ease;
}

.wa-float:hover { transform: scale(1.06) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }

html.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .brand-name { display: none; }
}

@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(even) { transform: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1040px) {
  .nav {
    position: absolute;
    top: calc(100% + 3px);
    inset-inline: 0;
    display: none;
    flex-direction: column;
    padding: 34px 16px 18px;
    background: var(--paper);
    border-bottom: var(--line);
    color: var(--ink);
  }

  .menu-open .nav { display: flex; }
  .menu-open .valance { display: none; }
  .nav a { padding: 12px 14px; font-size: 1.1rem; }
  .header .btn-sm { margin-inline-start: auto; }
  .menu-toggle { display: block; }

  .head-split,
  .show-grid,
  .work-grid,
  .exp,
  .fit,
  .bday-row,
  .page-hero-grid,
  .teaser,
  .cv-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-art,
  .teaser-art { order: -1; max-width: 360px; margin-inline: auto; }
  .about-art .about-stav { height: 440px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .review-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .cv-body { grid-template-columns: 1fr; }
  .cv-toc { position: static; grid-auto-flow: column; overflow-x: auto; }
  .cv-portrait { max-width: 420px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .brand img { height: 52px; }
  .header .btn-sm { display: none; }
  .menu-toggle { margin-inline-start: auto; }

  .bento,
  .steps,
  .feature-grid,
  .spec-grid,
  .spec-photos,
  .inout,
  .counters {
    grid-template-columns: 1fr;
  }

  .tile-big,
  .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-big img { height: 230px; }
  /* בטלפון המדבקה יושבת על קו התחתון של התמונה, כדי לא להסתיר פנים */
  .tile-sticker { top: 186px; width: 84px; height: 84px; font-size: 1.05rem; }
  .tile-wide { flex-direction: column-reverse; }
  .tile-wide img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; flex: none; object-position: center; border-inline-start: 0; border-bottom: var(--line); }
  .feature-grid .wide { grid-column: auto; }
  .inout figure:nth-child(2) { translate: 0 0; }
  .inout img { height: 240px; }
  .ticker-track { animation-duration: 26s; }
  .photo-stack { height: 360px; }
  .review-track { grid-auto-columns: 86%; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-main { border-inline-end: 4px solid var(--ink); border-bottom: 0; border-radius: 30px 30px 0 0; }
  .ticket-stub { grid-template-columns: auto 1fr; justify-items: start; text-align: start; gap: 4px 16px; border-inline-start: 4px solid var(--ink); border-top: 4px dashed var(--ink); border-radius: 0 0 30px 30px; }
  .ticket-stub img { grid-row: span 3; width: 90px; }
  .ticket-stub::before, .ticket-stub::after { display: none; }
  .cv-item { grid-template-columns: 1fr; gap: 4px; }
  .cv-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .cv-gallery .wide { grid-column: span 2; }
  .teaser-art img { height: 360px; }
  .note { font-size: 1.4rem; width: auto; max-width: 100%; }
  .work-title { font-size: 2rem; }
  .big-quote .q-main { font-size: 1.8rem; }
  mark { display: inline; padding: 0 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .page-hero-photo img { rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; translate: 0 0; }
}

/* ---------- round 3 responsive ---------- */
@media (max-width: 1040px) {
  .inout { grid-template-columns: 1fr 1fr; }
  .suitcase .note { margin: 0 auto; }
}

@media (max-width: 1040px) {
  /* בטלפון: סתיו למעלה, והפולארויד והפתק זה לצד זה מתחתיה */
  .about-art { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 14px; min-height: 0; max-width: 560px; }
  .about-art::before { top: 0; left: 50%; width: min(340px, 90%); translate: -50% 0; }
  .about-art .about-stav { flex: 0 0 100%; width: 100%; height: 400px; object-fit: contain; }
  .about-art .clown-polaroid,
  .about-art .about-sticky { position: relative; inset: auto; }
  .about-art .clown-polaroid { width: min(240px, 50%); }
  .about-art .about-sticky { max-width: min(220px, 42%); }
  .reviews-sticky { position: static; margin: 22px auto 0; }
}

@media (max-width: 640px) {
  .inout { grid-template-columns: 1fr; }
  .about-art .about-stav { height: 340px; }
  .about-art .clown-polaroid { padding: 8px 8px 10px; }
  .clown-polaroid figcaption { font-size: 1.05rem; }
  .about-art .clown-polaroid figcaption strong { font-size: 0.85rem; }
  .teaser-photo .clown-polaroid { width: min(320px, 100%); }
  .teaser-photo .clown-polaroid figcaption { font-size: 1.3rem; }
  .about-sticky { padding: 22px 12px 14px; font-size: 0.9rem; }
  .about-sticky .sticky-title { font-size: 1.5rem; }
  .cta-sticky { top: -50px; left: 10px; max-width: 170px; font-size: 1.25rem; }
  .cta-mini { top: -34px; left: 12px; }
  .inout img { height: 240px; }
  .logo-wall { --logo-scale: 0.72; gap: 22px 26px; }
  /* בטלפון המקום הריק יושב בקצה השורה, אז ההערה נפתחת ממנו פנימה ולא נחתכת */
  .logo-wall .logo-slot-note { left: 0; max-width: 190px; translate: 0 0; text-align: start; }
  .photo-stack img:first-child { width: 64%; }
  .photo-stack img:last-child { width: 58%; }
}
