@import url('https://fonts.googleapis.com/css2?family=Yuji+Syuku&display=swap&text=%E6%8C%87%E5%9C%A7%E5%92%8C%E9%81%93%E6%9C%A8%E7%81%AB%E5%9C%9F%E9%87%91%E6%B0%B4');
/* hero-zen.css · כיוון ב "דף זן" (בחירת עידו 22.11.2026). הפתיחה של כל עמוד, וסקציות הזן.
 * מבנה: אנסו בכתב מכחול שנושם, הכותרת בתוכו, ולצדם מגילה תלויה עם התמונה. הרבה חלל ריק (מה),
 * הטקסט והמגילה מוזזים זה מזה בגובה, בלי כרטיסים ובלי הינומה על תמונות. */

.zh { position: relative; overflow: hidden; padding-block: var(--s-block) var(--s-section);
  background: radial-gradient(ellipse 55% 60% at 70% 40%, var(--card) 0%, transparent 70%), var(--bg); }
.zh-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-block); align-items: start; position: relative; }

/* הכותרת בתוך האנסו */
.zh-main { position: relative; display: grid; place-items: center; min-height: 34rem; padding-top: var(--s-block); }
.zh-enso { position: absolute; width: min(34rem, 88vw); aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -46%;
  pointer-events: none; animation: zh-breathe 12s ease-in-out infinite; }
.zh-text { position: relative; z-index: 2; text-align: center; max-width: 25rem; }
.zh-text > * { margin-inline: auto; }
.zh-text > * + * { margin-top: var(--s-text); }
.zh h1 { font-family: var(--ff-head); font-weight: 400; font-size: var(--fs-display); line-height: 1.15; color: var(--ink); text-wrap: balance; }
.zh-eyebrow { font-size: var(--fs-label); color: var(--brand-ink); font-weight: 600; }
.zh-sub { font-size: var(--fs-lead); color: var(--ink); font-weight: 600; max-width: 28ch; }
.zh-lead { font-size: var(--fs-body); color: var(--ink-soft); max-width: 36ch; }
.zh-ctas { display: flex; gap: var(--s-tight); justify-content: center; flex-wrap: wrap; }
.zh-note { font-size: var(--fs-small); color: var(--ink-soft); max-width: 34ch; }

/* המגילה: תמונה גבוהה על נייר, עם מוט עליון דק, מוזזת מטה */
.zh-scroll { position: relative; margin: var(--s-section) 0 0; padding: .9rem .9rem 1.6rem; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 1.5rem 3rem var(--glass-shadow); max-width: 22rem; justify-self: center; rotate: -1.2deg; }
.zh-scroll::before { content: ""; position: absolute; top: -.45rem; left: -.8rem; right: -.8rem; height: .45rem; border-radius: .3rem; background: var(--brand-ink); opacity: .75; }
.zh-scroll img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.zh-slides { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.zh-slides img { position: absolute; inset: 0; height: 100%; opacity: 0; animation: zh-slide 32s ease-in-out infinite; }
.zh-slides img:nth-child(1) { animation-delay: -1.6s; }
.zh-slides img:nth-child(2) { animation-delay: 6.4s; }
.zh-slides img:nth-child(3) { animation-delay: 14.4s; }
.zh-slides img:nth-child(4) { animation-delay: 22.4s; }

/* 指圧 אנכי עם החותמת 和 */
.zh-kanji { position: absolute; top: var(--s-block); right: 0; writing-mode: vertical-rl; font-family: 'Yuji Syuku', serif;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem); line-height: 1.05; color: var(--brand-ink); opacity: .85; margin: 0; }
.zh-seal { display: inline-block; margin-top: .3em; writing-mode: horizontal-tb; font-size: .34em; padding: .12em .22em;
  border: 1.5px solid var(--accent); color: var(--accent); border-radius: .12em; }

/* הנשימה */
.zh-breath { position: relative; height: 1.6em; font-size: var(--fs-small); color: var(--brand-ink); }
.zh-breath span { position: absolute; inset: 0; text-align: center; }
.zh-breath .in { animation: zh-in 12s ease-in-out infinite; }
.zh-breath .out { animation: zh-out 12s ease-in-out infinite; }
@keyframes zh-breathe { 0%, 100% { scale: .94; opacity: .55; } 42% { scale: 1.04; opacity: .92; } }
@keyframes zh-in { 0%, 100% { opacity: 0; } 8%, 36% { opacity: 1; } 44% { opacity: 0; } }
@keyframes zh-out { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes zh-slide { 0% { opacity: 0; scale: 1; } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; scale: 1.07; } 100% { opacity: 0; scale: 1; } }

@media (max-width: 860px) {
  .zh { padding-block: var(--s-text) var(--s-block); }
  .zh-grid { grid-template-columns: 1fr; gap: var(--s-text); }
  .zh-main { min-height: 26rem; padding-top: var(--s-text); }
  .zh-enso { width: min(26rem, 92vw); }
  .zh-scroll { margin-top: 0; max-width: 17rem; rotate: 0deg; }
  .zh-kanji { top: .5rem; right: .25rem; font-size: 2.2rem; }
}

/* ---------- חמשת האלמנטים ---------- */
.zh-elements { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-text); text-align: center; }
.zh-el b { display: block; font-family: 'Yuji Syuku', serif; font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1.2; color: var(--brand-ink); }
.zh-el span { font-family: var(--ff-head); font-size: var(--fs-h3); color: var(--ink); }
.zh-el { padding-block: var(--s-text); border-top: 1px solid var(--line-strong); }
@media (max-width: 600px) { .zh-elements { grid-template-columns: repeat(3, 1fr); } }

/* ---------- הפסקת טאו ---------- */
.zh-pause { text-align: center; }
.zh-pause .zh-pause-enso { width: 5.5rem; height: 5.5rem; margin: 0 auto var(--s-text); animation: zh-breathe 12s ease-in-out infinite; }
.zh-pause blockquote p { font-family: var(--ff-head); font-size: var(--fs-h2); line-height: 1.35; color: var(--ink); max-width: 22ch; margin-inline: auto; }
.zh-pause figcaption { margin-top: var(--s-tight); color: var(--ink-soft); font-size: var(--fs-small); }

/* ---------- שמונה מפגשים כשביל אבנים ---------- */
.zh-path { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--s-tight); position: relative; }
.zh-path::before { content: ""; position: absolute; top: 1.25rem; inset-inline: 5%; border-top: 1px dashed var(--line-strong); }
.zh-path li { position: relative; text-align: center; }
.zh-path li i { display: grid; place-items: center; margin: 0 auto; width: 3.2rem; height: 2.5rem;
  border-radius: 52% 48% 46% 54% / 60% 56% 44% 40%; background: var(--bg-3); border: 1px solid var(--line-strong);
  font-style: normal; font-family: var(--ff-head); font-size: var(--fs-h3); color: var(--brand-ink); }
.zh-path li:nth-child(even) i { translate: 0 .5rem; }
@media (max-width: 600px) { .zh-path { grid-template-columns: repeat(4, 1fr); row-gap: var(--s-text); } .zh-path::before { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .zh-enso, .zh-pause .zh-pause-enso, .zh-breath span, .zh-slides img { animation: none; }
  .zh-breath .out { opacity: 0; }
  .zh-slides img:first-child { opacity: 1; }
}

/* תיקונים אחרי צפייה: מגילה ברוחב מלא של העמודה, אנסו גדול יותר שהטקסט נכנס לתוכו */
.zh-scroll { width: 100%; }
.zh-main { min-height: 40rem; }
.zh-enso { width: min(42rem, 92vw); }
.zh-text { max-width: 23rem; }
@media (max-width: 860px) {
  .zh-main { min-height: 0; padding-block: 3.5rem 2.5rem; }
  .zh-enso { width: min(30rem, 104vw); }
  .zh-text { max-width: 19rem; }
}
@media (max-width: 860px) {
  /* בטלפון האנסו ממסגר רק את הכותרת */
  .zh-main { place-items: start center; }
  .zh-enso { width: 15rem; top: 1.4rem; translate: -50% 0; }
  .zh-text { max-width: 21rem; padding-top: 4.2rem; }
}
@media (max-width: 860px) { .zh-enso { top: 2.8rem; } }

/* ===== 22.11 ערב: האנסו יוצא מאחורי הטקסט (עידו: "העיגול לא יושב טוב כי הטקסט עליו") =====
 * האנסו הגדול עוטף עכשיו את המגילה, ואנסו קטן ונושם יושב מעל הכותרת כסימן. הטקסט על רקע נקי. */
.zh-main { min-height: 0; place-items: center; padding-top: var(--s-section); }
.zh-text { max-width: 30rem; padding-top: 0; }
.zh-mark { width: 4.5rem; height: 4.5rem; animation: zh-breathe 12s ease-in-out infinite; }
.zh-scrollwrap { position: relative; width: 100%; max-width: 22rem; justify-self: center; margin-top: var(--s-block); }
.zh-scrollwrap .zh-enso { width: 165%; top: 50%; left: 50%; translate: -50% -50%; z-index: 0; opacity: .85; }
.zh-scrollwrap .zh-scroll { position: relative; z-index: 1; margin-top: 0; }
@media (max-width: 860px) {
  .zh-main { padding-top: var(--s-block); }
  .zh-text { padding-top: 0; max-width: 22rem; }
  .zh-scrollwrap { max-width: 16rem; margin: var(--s-block) auto var(--s-text); }
  .zh-scrollwrap .zh-enso { width: 150%; top: 50%; translate: -50% -50%; }
}

/* ===== הוורוד שלה כצבע שני באתר (עידו: "רק ירוק זה קצת אנמי") ===== */
.eyebrow, .zh-eyebrow, .card-meta, .zh-breath { color: var(--rose-ink); }
.zh-seal { color: var(--rose-ink); border-color: var(--rose); background: var(--bg-3); }
.zh-scroll::before { background: var(--rose); opacity: 1; }
.zh-el { border-top: 2px solid var(--rose); }
.zh-path li i { background: var(--rose-soft); border-color: var(--rose); color: var(--rose-ink); }
.zh-path::before { border-top-color: var(--rose); }
.facts li::before { background: var(--rose); }
.pull figcaption, .zh-pause figcaption { color: var(--rose-ink); }
.tst blockquote p::before, .tst blockquote p::after { color: var(--rose); }

/* שלוש תמונות במגילה של הבית (האבנים הוסרו): 24 שניות, 8 לכל תמונה */
.zh-slides img { animation-name: zh-slide3; animation-duration: 24s; }
.zh-slides img:nth-child(1) { animation-delay: -1.6s; }
.zh-slides img:nth-child(2) { animation-delay: 6.4s; }
.zh-slides img:nth-child(3) { animation-delay: 14.4s; }
@keyframes zh-slide3 { 0% { opacity: 0; scale: 1; } 6.7% { opacity: 1; } 33.3% { opacity: 1; } 41% { opacity: 0; scale: 1.07; } 100% { opacity: 0; scale: 1; } }
.zh-scrollwrap .zh-enso { max-width: none; }
