/* site.css · מיתרי היוגה / Resona Yoga. עיצוב ייעודי מעל השלד של הערכה.
 * הקונספט: מיתר שמהדהד. ארבעה מיתרים בצבעי הלוגו עוברים לאורך האתר, צילומי החוף הפסטליים
 * של מיתר נושאים את האווירה, פריסה עריכתית במקום שלד הכרטיסים.
 * כל צבע, פונט וגודל מ-tokens.css.
 */

/* ---------- בסיס ---------- */
body { background: var(--bg); }
h1, h2 { letter-spacing: 0; }
.site-head { --head-bg: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.nav a { font-weight: 500; }
.nav a:hover { color: var(--brand-ink); }
.nav-cta { background: var(--accent); }
.btn { font-weight: 500; letter-spacing: .01em; }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.link-arrow { display: inline-flex; gap: .45rem; align-items: center; font-weight: 500; color: var(--brand-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.link-arrow::after { content: "←"; transition: transform .25s ease; }
.link-arrow:hover::after, .link-arrow:active::after { transform: translateX(-.3rem); }
.intro { font-family: var(--ff-head); font-size: var(--fs-h3); line-height: 1.55; max-width: 46rem; margin: 0 auto var(--s-section); text-align: center; color: var(--ink); }
.kicker { font-size: var(--fs-small); font-weight: 500; color: var(--brand-ink); margin-bottom: var(--s-tight); }
.lead { font-weight: 300; }
.big-quote { font-family: var(--ff-head); font-size: var(--fs-h2); line-height: 1.35; color: var(--ink); max-width: 30ch; }

/* מיתר דק, פס של ארבעה קווים בצבעי הלוגו. מפריד במקום אייברו */
.strand { display: block; width: 7rem; height: 1.1rem; margin-bottom: var(--s-text); background:
  linear-gradient(var(--sage), var(--sage)) 0 .1rem / 100% 1.5px no-repeat,
  linear-gradient(var(--honey), var(--honey)) 0 .4rem / 86% 1.5px no-repeat,
  linear-gradient(var(--rose), var(--rose)) 0 .7rem / 72% 1.5px no-repeat,
  linear-gradient(var(--mist), var(--mist)) 0 1rem / 58% 1.5px no-repeat; }
.center .strand { margin-inline: auto; }

/* ---------- הירו של עמוד הבית ---------- */
.hero-home { position: relative; padding: 0; overflow: hidden; background: var(--bg); }
.hh-text { position: relative; z-index: 3; text-align: center; padding-block: calc(var(--s-hero) * .9) var(--s-block); }
.hh-text h1 { max-width: 24ch; margin-inline: auto; font-size: var(--fs-display); line-height: 1.12; }
.hh-sub { font-family: var(--ff-head); font-size: var(--fs-h3); color: var(--brand-ink); margin: var(--s-pair) auto 0; max-width: 40ch; }
.hh-text .hero-lead { max-width: 44rem; margin: var(--s-text) auto 0; font-size: var(--fs-lead); font-weight: 300; color: var(--ink-soft); }
.hh-text .hero-ctas { justify-content: center; margin-top: var(--s-block); }
.hh-media { position: relative; z-index: 1; }
.hh-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hh-strings { position: absolute; inset-inline: 0; z-index: 2; pointer-events: none; width: 100%; }
.hh-places { position: relative; z-index: 3; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 2.25rem; padding-block: 1.1rem; background: var(--dark); color: var(--on-dark); font-size: var(--fs-small); letter-spacing: .02em; }
.hh-places span { display: inline-flex; align-items: center; gap: .6rem; }
.hh-places span + span::before { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: var(--honey); margin-inline-end: 1.65rem; }

@media (min-width: 861px) {
  /* בדסקטופ הכותרת יושבת על השמיים של התמונה, והמיתרים עוברים על קו האופק */
  .hero-home { display: grid; min-height: min(100svh - var(--navh), 56rem); }
  .hh-media, .hh-text, .hh-strings { grid-area: 1 / 1; }
  .hh-media img { height: 100%; aspect-ratio: auto; object-position: 50% 78%; }
  .hh-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 78%, transparent) 0%, color-mix(in srgb, var(--bg) 30%, transparent) 34%, transparent 52%); }
  .hh-text { align-self: start; padding-top: clamp(2rem, 4.5vh, 3.5rem); }
  .hh-strings { top: 0; height: 100%; }
}
@media (max-width: 860px) {
  .hh-text { padding-top: var(--s-block); }
  .hh-strings { top: auto; bottom: 0; height: 60%; }
}

/* ---------- הירו של עמוד פנימי ---------- */
.ph { position: relative; padding-block: var(--s-hero) var(--s-block); overflow: hidden; }
.ph-grid { display: grid; gap: var(--s-block); align-items: center; }
.ph h1 { font-size: var(--fs-display); max-width: 14ch; }
.ph .hero-lead { font-size: var(--fs-lead); font-weight: 300; color: var(--ink-soft); margin-top: var(--s-text); }
.ph .hero-ctas { margin-top: var(--s-block); display: flex; flex-wrap: wrap; gap: .75rem; }
.ph-media { position: relative; }
.ph-media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.ph-strings { position: absolute; inset: auto 0 0 0; height: 9rem; z-index: 0; pointer-events: none; width: 100%; opacity: .8; }
.ph-grid > * { position: relative; z-index: 1; }
@media (min-width: 861px) {
  .ph-grid { grid-template-columns: 1fr 1.1fr; }
  .ph-media img { aspect-ratio: 5 / 4; }
}

/* צורת "חלוק נחל" לתמונות. שונה מהקשת שחוזרת באתרים אחרים */
.pebble img, .split-media.pebble img, .ph-media.pebble img { border-radius: 46% 54% 44% 56% / 40% 38% 62% 60%; }
.pebble-2 img, .split-media.pebble-2 img { border-radius: 58% 42% 52% 48% / 52% 58% 42% 48%; }

/* ---------- פיצול עריכתי: טקסט ותמונה ---------- */
.split { display: grid; gap: var(--s-block); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.split-text > * + * { margin-top: var(--s-text); }
.split-text h2 { margin-bottom: 0; }
@media (min-width: 861px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split.flip .split-media { order: -1; }
  .split.wide-media { grid-template-columns: .85fr 1.15fr; }
}

/* ---------- שלוש האיכויות של ריסונה ---------- */
.qualities { display: grid; gap: 1.25rem; margin-top: var(--s-block); grid-template-columns: 1fr; }
@media (min-width: 721px) { .qualities { grid-template-columns: repeat(3, 1fr); } }
.quality { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: var(--s-tight); transition: transform .35s ease, box-shadow .35s ease; }
.quality:hover, .quality:active { transform: translateY(-4px); box-shadow: 0 1.5rem 3rem -2rem var(--shadow); }
.quality svg { width: 2.75rem; height: 2.75rem; color: var(--honey); margin-bottom: .25rem; }
.quality h3 { font-size: var(--fs-h3); }
.quality p { margin: 0; color: var(--ink-soft); }

/* ---------- מסלולים: שורות מתחלפות במקום כרטיסים ---------- */
.paths { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.path { display: grid; gap: var(--s-block); align-items: center; text-decoration: none; color: inherit; }
.path-media { overflow: hidden; border-radius: var(--radius-lg); }
.path-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.path:hover .path-media img, .path:active .path-media img { transform: scale(1.035); }
.path-text h3 { font-size: var(--fs-h2); margin-bottom: var(--s-text); }
.path-text p { color: var(--ink-soft); }
.path-text .link-arrow { margin-top: var(--s-text); }
.path-meta { font-size: var(--fs-small); color: var(--brand-ink); font-weight: 500; margin-bottom: var(--s-pair); }
@media (min-width: 861px) {
  .path { grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 6vw, 6rem); }
  .path:nth-child(even) .path-media { order: 2; }
}

/* ---------- רצועת ההדהוד: ציטוט אחד עם מיתרים ---------- */
.echo { position: relative; overflow: hidden; text-align: center; }
.echo-strings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.echo .wrap { position: relative; z-index: 1; }
.echo blockquote { margin: 0 auto; max-width: 40rem; }
.echo blockquote p { font-family: var(--ff-head); font-size: var(--fs-h2); line-height: 1.4; margin-inline: auto; max-width: 28ch; }
.echo figcaption { margin-top: var(--s-text); font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- המלצות ---------- */
.rv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-text); margin-bottom: var(--s-block); }
.rv-head h2 { max-width: 18ch; }
.rv-stat { display: flex; gap: 2rem; }
.rv-stat div { display: flex; flex-direction: column; }
.rv-stat b { font-family: var(--ff-head); font-weight: 400; font-size: var(--fs-h2); line-height: 1; color: var(--brand-ink); }
.rv-stat span { font-size: var(--fs-small); color: var(--ink-soft); }
.rv-grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 721px) { .rv-grid { columns: 2; } }
@media (min-width: 1081px) { .rv-grid { columns: 3; } }
.rv { break-inside: avoid; margin: 0 0 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.35rem; }
.rv blockquote { margin: 0; }
.rv blockquote p { white-space: pre-line; margin: 0; }
.rv blockquote p::before { content: "״"; } .rv blockquote p::after { content: "״"; }
.rv figcaption { margin-top: var(--s-text); display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-small); }
.rv figcaption b { font-weight: 500; }
.rv figcaption span { color: var(--ink-soft); }
.rv.cut blockquote p::after { content: "…״"; }
.rv-more { margin-top: var(--s-block); text-align: center; }
.rv-year { column-span: all; font-family: var(--ff-head); font-size: var(--fs-h3); color: var(--brand-ink); margin: var(--s-block) 0 var(--s-text); display: flex; align-items: center; gap: 1rem; }
.rv-year::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.rv-year:first-child { margin-top: 0; }

/* ---------- טקסט ארוך של מיתר ---------- */
.prose { max-width: 40rem; }
.prose p { font-size: var(--fs-lead); font-weight: 300; line-height: 1.8; }
.prose p:first-child::first-line { font-weight: 400; }
.center-prose { margin-inline: auto; text-align: center; }
.center-prose p { margin-inline: auto; }

/* ---------- ההכשרות: רשימה עדינה בשתי עמודות ---------- */
.trainings { display: grid; gap: 0 2.5rem; margin-top: var(--s-block); }
@media (min-width: 721px) { .trainings { grid-template-columns: 1fr 1fr; } }
.trainings li { list-style: none; padding: .95rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .9rem; align-items: baseline; }
.trainings li::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--honey); transform: translateY(-.1rem); }
.trainings li:nth-child(3n+2)::before { background: var(--sage); }
.trainings li:nth-child(3n)::before { background: var(--rose); }

/* ---------- מקומות ורמות ---------- */
.places { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: var(--s-block); }
@media (min-width: 721px) { .places { grid-template-columns: repeat(3, 1fr); } }
.place { border-top: 2px solid var(--sage); padding-top: 1.25rem; }
.place:nth-child(2) { border-top-color: var(--honey); }
.place:nth-child(3) { border-top-color: var(--rose); }
.place h3 { margin-bottom: var(--s-pair); }
.place p { color: var(--ink-soft); margin: 0; }

/* ---------- איך מצטרפים ---------- */
.flow { list-style: none; display: grid; gap: 2rem; counter-reset: f; grid-template-columns: 1fr; margin-top: var(--s-block); position: relative; }
@media (min-width: 721px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow::before { content: ""; position: absolute; top: 1.3rem; inset-inline: 1.5rem; height: 1.5px; background: linear-gradient(to left, var(--sage), var(--honey), var(--rose)); }
}
.flow li { position: relative; }
.flow-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--brand); margin-bottom: var(--s-text); }
.flow-dot svg { width: 1.3rem; height: 1.3rem; color: var(--brand-ink); }
.flow h3 { margin-bottom: var(--s-pair); }
.flow p { color: var(--ink-soft); margin: 0; }

/* ---------- גלריה ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: var(--s-block); }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.gallery .tall img { aspect-ratio: 3 / 4; }
@media (min-width: 861px) {
  .gallery { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 1fr; }
  .gallery .lead-img { grid-row: span 2; }
  .gallery .lead-img img { aspect-ratio: auto; }
}
@media (max-width: 860px) { .gallery .lead-img { grid-column: 1 / -1; } }

/* ---------- קשר ---------- */
.contact { position: relative; overflow: hidden; }
.contact .contact-text .lead { color: var(--on-dark-soft); }
.contact-side { margin-top: var(--s-block); display: flex; flex-direction: column; gap: .6rem; font-size: var(--fs-small); color: var(--on-dark-soft); }
.contact-side a { color: var(--accent-on-dark); }
.contact .lead-form { --form-bg: rgba(255,255,255,.05); --form-line: rgba(255,255,255,.14); }
.contact .btn { --accent: var(--honey); --on-accent: #2A2516; background: var(--honey); border-color: var(--honey); color: #2A2516; }

/* ---------- פוטר ---------- */
.site-foot .brand img { height: 3rem; }
.foot-about p { max-width: 30ch; }

/* ---------- תנועה ---------- */
.js .rise { transition-duration: .9s; }
@media (prefers-reduced-motion: reduce) {
  .path-media img, .quality { transition: none; }
}

/* ---------- עזרי מרווח (במקום inline style) ---------- */
.mi-auto { margin-inline: auto; }
.mt-text { margin-top: var(--s-text); }
.mt-block { margin-top: var(--s-block); }

/* ---------- הירו עם תמונה ברוחב מלא (ריטריטים) ---------- */
.ph-cover { padding: 0; display: grid; min-height: min(78svh, 44rem); }
.ph-cover > * { grid-area: 1 / 1; }
.ph-cover-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ph-cover-media { position: relative; }
.ph-cover-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 32%, transparent 62%); }
.ph-cover-text { position: relative; z-index: 2; align-self: center; padding-block: var(--s-section); }
.ph-cover-text h1 { font-size: var(--fs-display); }
.ph-cover-text .hh-sub { margin-inline: 0; }
.ph-cover .ph-strings { z-index: 1; align-self: end; position: relative; }
@media (max-width: 860px) {
  .ph-cover { min-height: 0; }
  .ph-cover-media { grid-area: auto; }
  .ph-cover-media img { aspect-ratio: 4 / 3; }
  .ph-cover-media::after { display: none; }
  .ph-cover > .ph-cover-text { grid-area: auto; order: -1; padding-block: var(--s-block); }
  .ph-cover .ph-strings { display: none; }
}

/* =====================================================================
   טיפוגרפיה רכה (Fredoka לכותרות, Rubik Light לגוף). עידו 28.11: "נשית, רכה, טיפולית, גדולים, רחבים, נעימים"
   ===================================================================== */
body { line-height: 1.8; letter-spacing: .005em; }
h1, h2, h3, .brand-name { font-weight: 300; }
h1 { line-height: 1.08; }
h2 { line-height: 1.15; }
.hh-text h1 { font-weight: 300; color: var(--ink); }
.hh-sub { font-family: var(--ff-head); font-weight: 400; }
.intro, .big-quote, .echo blockquote p, .pull p { font-weight: 400; }
.lead, .prose p { font-weight: 300; }
.btn { font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-body); padding-inline: 1.9rem; min-height: 3.4rem; }
.nav a { font-size: var(--fs-small); }
.nav-cta { font-size: var(--fs-small); min-height: 2.75rem; }
.quality h3, .path-text h3, .place h3, .flow h3 { font-weight: 400; }
.rv blockquote p { font-size: var(--fs-small); line-height: 1.75; }

/* =====================================================================
   תנועה. מתנגנת לבד בכניסה למסך, לא צמודה לגלילה
   ===================================================================== */

/* מעבר רך בין עמודים (View Transitions, כרום ואדג') */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: translateY(14px); } }

/* כותרת ההירו: מילה אחרי מילה */
.m-on [data-words] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity 1s ease, filter 1.1s ease, transform 1.1s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.m-on [data-words].words-in .w { opacity: 1; filter: none; transform: none; }
.m-on .hh-text .hh-sub, .m-on .hh-text .hero-ctas, .m-on .ph-text .hero-lead, .m-on .ph-text .hero-ctas { animation: soft-up 1.2s cubic-bezier(.22,1,.36,1) both; animation-delay: .75s; }
.m-on .hh-text .hero-ctas, .m-on .ph-text .hero-ctas { animation-delay: 1s; }
@keyframes soft-up { from { opacity: 0; transform: translateY(1.1rem); filter: blur(4px); } }

/* תמונת ההירו: נחה לאט למקום */
.m-on .hh-media img, .m-on .ph-cover-media img { animation: settle 2.6s cubic-bezier(.22,1,.36,1) both; }
@keyframes settle { from { transform: scale(1.09); opacity: .2; } }
.m-on .ph-media img { animation: settle 1.8s cubic-bezier(.22,1,.36,1) both; }

/* וילון רך על תמונות */
.m-on .veil { clip-path: inset(0 0 0 100% round var(--radius-lg)); transition: clip-path 1.4s cubic-bezier(.77,0,.18,1); transition-delay: var(--d, 0ms); }
.m-on .veil img { transform: scale(1.14); transition: transform 2s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
.m-on .veil.in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.m-on .veil.in img { transform: none; }
.m-on .pebble.veil, .m-on .pebble-2.veil { clip-path: circle(0% at 50% 50%); transition-duration: 1.6s; }
.m-on .pebble.veil.in, .m-on .pebble-2.veil.in { clip-path: circle(75% at 50% 50%); }

/* טקסט שעולה בטשטוש */
.m-on .reveal { opacity: 0; transform: translateY(2rem); filter: blur(6px); transition: opacity 1.1s ease, transform 1.2s cubic-bezier(.22,1,.36,1), filter 1.1s ease; transition-delay: var(--d, 0ms); }
.m-on .reveal.in { opacity: 1; transform: none; filter: none; }
.m-on .rise { transition-delay: var(--d, 0ms); }

/* מיתר מפריד שמצטייר */
.divider { display: block; width: 100%; height: 3.5rem; margin: 0; overflow: visible; }
.divider path { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.divider path:nth-child(1) { stroke: var(--sage); }
.divider path:nth-child(2) { stroke: var(--honey); }
.divider path:nth-child(3) { stroke: var(--rose); }
.divider path:nth-child(4) { stroke: var(--mist); }
.m-on .draw path { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.4s cubic-bezier(.65,0,.35,1); }
.m-on .draw path:nth-child(2) { transition-delay: .15s; } .m-on .draw path:nth-child(3) { transition-delay: .3s; } .m-on .draw path:nth-child(4) { transition-delay: .45s; }
.m-on .draw.in path { stroke-dashoffset: 0; }
.sec-divide { padding-block: 0; line-height: 0; }

/* כפתור: הילה רכה בריחוף ובמגע */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) 50%, rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .35s ease; }
.btn:hover::after, .btn:active::after { opacity: 1; }

/* כרטיסי איכויות: נשימה עדינה של האייקון בריחוף ובמגע */
.quality:hover svg, .quality:active svg { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); } }

.m-still .reveal, .m-still .veil, .m-still .rise { opacity: 1; transform: none; filter: none; clip-path: none; }
.paths-title { margin: var(--s-block) 0 var(--s-block); }
.sec > .wrap > .divider:first-child { margin-top: calc(var(--s-section) * -.35); margin-bottom: var(--s-block); }
.gallery > .veil:nth-child(2) { --d: 120ms; } .gallery > .veil:nth-child(3) { --d: 240ms; } .gallery > .veil:nth-child(4) { --d: 360ms; } .gallery > .veil:nth-child(5) { --d: 480ms; }
/* חלוק נחל: תמונה ריבועית, כדי שהצורה תהיה אורגנית ולא אליפסה מתוחה */
.split-media.pebble img, .split-media.pebble-2 img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 42% 60%; max-width: 34rem; margin-inline: auto; }
@media (max-width: 860px) {
  .hh-strings { top: 0; bottom: auto; height: calc(100vw * 9 / 16); }
  .intro { font-size: var(--fs-lead); }
}

/* =====================================================================
   הירו קולנועי (28.11, אחרי "הפתיח לא טוב"): תמונה על כל המסך, נשימה איטית, כותרת על השמיים
   ===================================================================== */
.hero-home { display: grid; min-height: calc(100svh - var(--navh)); }
.hero-home > .hh-media, .hero-home > .hh-text, .hero-home > .hh-strings { grid-area: 1 / 1; }
.hero-home .hh-media { position: relative; overflow: hidden; }
.hero-home .hh-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 78%; }
.hero-home .hh-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to bottom, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 30%, transparent 50%),
  radial-gradient(ellipse at 50% 18%, color-mix(in srgb, var(--honey-soft) 45%, transparent), transparent 55%); }
.hero-home .hh-text { align-self: start; padding-top: clamp(2.5rem, 7vh, 5rem); }
.hero-home .hh-strings { top: 0; height: 100%; }
.hh-brand { font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-label); letter-spacing: .5em; color: var(--brand-ink); margin: 0 auto var(--s-text); padding-inline-start: .5em; }
.hh-brand::before, .hh-brand::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; background: var(--honey); vertical-align: middle; margin: 0 1rem; }
.hero-home h1 { max-width: 16ch; }
.hero-home .hh-sub { max-width: 36ch; }
.m-on .hero-home .hh-media img { animation: settle 2.6s cubic-bezier(.22,1,.36,1) both, breathe-img 22s ease-in-out 2.6s infinite alternate; }
@keyframes breathe-img { from { transform: scale(1); } to { transform: scale(1.06); } }
.m-on .hh-brand { animation: soft-up 1.4s cubic-bezier(.22,1,.36,1) .1s both; }
@media (max-width: 860px) {
  .hero-home { min-height: 92svh; }
  .hero-home .hh-media img { object-position: 52% 70%; }
  .hero-home .hh-media::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 42%, transparent 62%); }
  .hero-home .hh-strings { top: auto; bottom: 0; height: 40%; }
  .hero-home .hh-text { padding-top: 2rem; }
  .hh-brand::before, .hh-brand::after { width: 1.25rem; margin: 0 .5rem; }
}
/* התמונה יורדת ונמסה לשמנת למעלה, כדי שהכותרת תשב על רקע נקי מעל מיתר ולא עליה */
.hero-home .hh-media { margin-top: clamp(7rem, 26vh, 15rem); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
.hero-home .hh-media::after { display: none; }
.hero-home .hh-media img { object-position: 50% 100%; }
.hero-home h1 { max-width: none; }
.hero-home .hh-sub { max-width: 52ch; }
@media (max-width: 860px) {
  .hero-home { min-height: 0; }
  .hero-home .hh-media { margin-top: 0; grid-area: auto; order: 2; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .hero-home .hh-media img { aspect-ratio: 4 / 3.4; object-position: 50% 80%; }
  .hero-home > .hh-text { grid-area: auto; order: 1; padding-bottom: 0; }
  .hero-home > .hh-strings { grid-area: auto; position: absolute; top: auto; bottom: 0; height: 30%; }
}

/* =====================================================================
   מובל תמונה (28.11: "המון טקסט, מעט תמונות")
   ===================================================================== */
/* כרטיסי איכויות: תמונה גדולה ושורה אחת */
.qcards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 721px) { .qcards { grid-template-columns: repeat(3, 1fr); } }
.qcard { margin: 0; }
.qcard-media { overflow: hidden; border-radius: var(--radius-lg); }
.qcard-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
.qcard:hover .qcard-media img, .qcard:active .qcard-media img { transform: scale(1.05); }
.qcard:nth-child(1) .qcard-media img { object-position: 40% 60%; }
.qcard:nth-child(3) .qcard-media img { object-position: 35% 55%; }
.qcard figcaption { padding: 1.25rem .25rem 0; }
.qcard h3 { margin-bottom: .35rem; }
.qcard p { color: var(--ink-soft); margin: 0; }
@media (min-width: 721px) { .qcard:nth-child(2) { margin-top: 3.5rem; } }
.center-link { text-align: center; margin-top: var(--s-block); }
.center-link .link-arrow { margin-inline: auto; }

/* פסיפס: חמש תמונות, בלי טקסט */
.sec-mosaic { padding-block: calc(var(--s-section) * .6); }
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.mosaic > div { overflow: hidden; border-radius: var(--radius-lg); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.mosaic .m1 { grid-column: 1 / -1; }
.mosaic .m1 img { aspect-ratio: 16 / 10; }
@media (min-width: 861px) {
  .mosaic { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 17rem); }
  .mosaic .m1 { grid-column: 1; grid-row: 1 / 3; }
  .mosaic .m1 img, .mosaic img { aspect-ratio: auto; }
}
.m-on .mosaic > .veil:nth-child(2) { --d: 120ms; } .m-on .mosaic > .veil:nth-child(3) { --d: 240ms; }
.m-on .mosaic > .veil:nth-child(4) { --d: 360ms; } .m-on .mosaic > .veil:nth-child(5) { --d: 480ms; }
.m-on .qcards .qcard:nth-child(2) .veil { --d: 150ms; } .m-on .qcards .qcard:nth-child(3) .veil { --d: 300ms; }
