/* ==========================================================
   מראה "פוסטר במחברת":
   קרני השמש ומסגרת הכרזה מגרסה 6, התפריט הסגול מגרסה 4,
   דף המשבצות והפתקים מגרסה 3. בלי אדום.
   ========================================================== */

body {
  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(--paper);
}

/* ---------- header: וילון סגול בפסים ---------- */
.header {
  background: repeating-linear-gradient(90deg, var(--purple) 0 26px, #5a22be 26px 30px);
  color: var(--white);
}

.nav a:hover { background: rgba(255, 255, 255, 0.16); }
.nav a[aria-current="page"] { color: var(--ink); }
.brand img { filter: drop-shadow(-3px 3px 0 var(--ink)); }
.valance { --v-a: var(--yellow); --v-b: var(--magenta); }

/* ---------- home hero: כרזה על קרני שמש ---------- */
.poster-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 90px) 0 clamp(70px, 8vw, 110px);
  border-bottom: var(--line);
}

.poster-frame,
.page-hero-grid {
  position: relative;
  z-index: 1;
  border: 4px solid var(--ink);
  border-radius: 28px;
  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(--paper);
  box-shadow: -14px 14px 0 var(--ink), inset 0 0 0 10px var(--paper), inset 0 0 0 13px var(--ink);
}

.poster-frame {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(30px, 4vw, 56px);
}

.hero-copy { text-align: center; }

.hero-top {
  margin-bottom: 20px;
  color: var(--magenta);
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: 0.02em;
}

.hero .presents { width: min(430px, 90%); margin: 0 auto; }
.hero .presents img { filter: drop-shadow(-5px 5px 0 var(--ink)); }

/* "אותי!" — בדיחה קטנה בכתב יד, לא כותרת */
.oti {
  width: max-content;
  margin: 2px auto 14px;
  translate: -96px 0;
  color: var(--purple);
  font-family: var(--hand);
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  rotate: -7deg;
}

.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1.08; margin-bottom: 8px; }

.role {
  margin-bottom: 20px;
  color: var(--purple);
  font-family: var(--round);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.hero .lead {
  max-width: 32rem;
  margin: 0 auto 30px;
  color: var(--muted);
  font-family: var(--round);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero .actions { justify-content: center; }

.hero-act {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 580px;
}

.poster-ring {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 92%;
  aspect-ratio: 1;
  translate: -50% 0;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: repeating-conic-gradient(var(--magenta) 0deg 15deg, #d65ad4 15deg 30deg);
}

.hero-stav {
  position: relative;
  height: 580px;
  width: auto;
  filter: drop-shadow(-8px 8px 0 var(--ink));
}

.hero-stav.wide { height: auto; width: 100%; }

.burst {
  position: absolute;
  top: 0;
  right: -8px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  padding: 10px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.15;
  text-align: center;
  clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 84% 56%, 96% 76%, 74% 78%, 68% 100%, 50% 86%, 32% 100%, 26% 78%, 4% 76%, 16% 56%, 0 40%, 20% 32%, 18% 10%, 39% 18%);
  rotate: 10deg;
}

/* ---------- inner pages: אותה מסגרת כרזה ---------- */
.page-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 90px); }

.page-hero-grid {
  padding: clamp(28px, 4vw, 48px);
  box-shadow: -12px 12px 0 var(--ink), inset 0 0 0 9px var(--paper), inset 0 0 0 12px var(--ink);
}

.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
.page-hero .chant { margin-bottom: 26px; }
.page-hero .page-lead { max-width: 34rem; margin-bottom: 26px; font-family: var(--round); font-weight: 500; font-size: 1.2rem; }
.spec-sub-hero { font-family: var(--font); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero-photo img { box-shadow: -10px 10px 0 var(--magenta); }
.ph-show .page-hero-photo img { box-shadow: -10px 10px 0 var(--teal); }
.ph-workshops .page-hero-photo img { box-shadow: -10px 10px 0 var(--yellow); }
.ph-special .page-hero-photo img,
.ph-about .page-hero-photo img { box-shadow: -10px 10px 0 var(--purple); }

/* ---------- sections ---------- */
.birthdays .head-split > div { justify-self: end; }
.bday-copy { display: grid; gap: 52px; }
.bday-copy .funfact { justify-self: end; margin-inline-end: 20px; }
.show-extra { display: grid; gap: clamp(40px, 6vw, 64px); margin-top: clamp(56px, 8vw, 90px); }

.show-band .head { margin-bottom: 36px; }
.show-band-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-top: 40px;
}

.gallery-section { padding-top: 0; }

@media (max-width: 1040px) {
  .poster-frame { grid-template-columns: 1fr; row-gap: 0; }
  /* פתיח בטלפון: "קרקס ספינטו מציג... אותי! היי, אני סתיו פינטו.", התמונה, ושאר הטקסט */
  .hero-copy { display: contents; }
  .hero-act { order: 1; min-height: 460px; margin: 4px 0 26px; }
  .hero-copy > :is(.role, .lead, .actions) { order: 2; }
  .hero-stav { height: 440px; }
  .hero-stav.wide { width: min(420px, 100%); }
  .poster-ring { width: min(430px, 92%); }
  .birthdays .head-split > div { justify-self: start; }
  .show-band-grid { grid-template-columns: 1fr; }
  .page-hero-photo { order: -1; }
}

@media (max-width: 640px) {
  .poster-hero { padding-top: 40px; }
  .poster-frame { padding: 22px 18px 30px; }
  .hero-act { min-height: 370px; }
  .hero-stav { height: 350px; }
  .oti { translate: -60px 0; }
  .burst { width: 104px; height: 104px; font-size: 0.9rem; right: -4px; }
  .bday-copy .funfact { justify-self: center; margin: 20px 0 0; }
}
