/* ============================================================
   אביתר רון — אתר מוזיקלי
   הפלטה נשאבה מהתמונות עצמן:
     #1C1916 חום כמעט-שחור (מערה) · #EBEDDD עצם חם (החשיפה)
     #F7B26D ענבר (במה) · #7CB2E8 שמיים (שדה) · #8EA559 זית
   פונטים: Suez One (כותרות) · Assistant (גוף) · Playpen Sans Hebrew (כתב יד)
   ============================================================ */

/* ── פונטים מקומיים, חתוכים לתווים שבשימוש (38.9KB סה"כ) ── */
@font-face { font-family:"Suez One"; src:url("fonts/suez-400.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"Assistant"; src:url("fonts/assistant-300.woff2") format("woff2"); font-weight:300; font-display:swap; }
@font-face { font-family:"Assistant"; src:url("fonts/assistant-400.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"Assistant"; src:url("fonts/assistant-600.woff2") format("woff2"); font-weight:600; font-display:swap; }
@font-face { font-family:"Assistant"; src:url("fonts/assistant-800.woff2") format("woff2"); font-weight:800; font-display:swap; }
@font-face { font-family:"Playpen Sans Hebrew"; src:url("fonts/hand.woff2") format("woff2"); font-weight:300; font-display:swap; }

:root {
  --ink:       #1c1916;
  --ink-soft:  #4a443c;
  --bone:      #ebeddd;
  --bone-deep: #dee0cd;
  --amber:     #f7b26d;
  --sky:       #7cb2e8;
  --olive:     #8ea559;
  --rust:      #723d26;

  --font:    "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Suez One", "Assistant", system-ui, serif;
  --hand:    "Playpen Sans Hebrew", "Assistant", cursive;

  --rail: clamp(1.5rem, 6vw, 5rem);
  --lift: cubic-bezier(.22, .61, .36, 1);
  --slow: cubic-bezier(.16, .84, .44, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(1rem, .95rem + .3vw, 1.0625rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite symbol path { fill: currentColor; }
.sprite symbol path[fill="none"] { fill: none; }

/* ══════════ פתיח ══════════ */

.hero {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: 100svh;
  min-height: 0;
}
.hero-frame { position: relative; overflow: hidden; background: var(--bone-deep); min-height: 0; }
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%;
  transform: scale(1.08); opacity: 0;
  transition: transform 1.8s var(--slow), opacity 1.1s var(--lift);
}
.hero.is-ready .hero-frame img { transform: scale(1); opacity: 1; }
.no-motion .hero-frame img { transform: none; opacity: 1; animation: none; }

/* נשימה איטית של התמונה אחרי אנימציית הכניסה — מרגיש חי */
.hero.is-ready .hero-frame img {
  animation: heroBreathe 14s linear infinite alternate;
  animation-delay: 1.9s;          /* מתחיל אחרי שהכניסה מסתיימת */
  will-change: transform;
}
@keyframes heroBreathe {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.17) translate3d(-1.5%, -1.8%, 0); }
}

.hero-copy { grid-row: 2; padding: clamp(1.6rem, 5.5vw, 3rem) var(--rail) clamp(1rem, 3vw, 1.5rem); }
.hero-copy > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .95s var(--lift), transform .95s var(--lift);
}
.hero.is-ready .hero-copy > * { opacity: 1; transform: none; }
.no-motion .hero-copy > * { opacity: 1; transform: none; }
.hero.is-ready .hero-name    { transition-delay: .30s; }
.hero.is-ready .hero-role    { transition-delay: .42s; }
.hero.is-ready .hero-line    { transition-delay: .52s; }
.hero.is-ready .hero-actions { transition-delay: .64s; }

.hero-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 12.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero-role {
  margin-top: .5rem; font-weight: 400;
  font-size: clamp(1.0625rem, 4.3vw, 1.25rem);
  color: var(--ink-soft);
}
.hero-line {
  margin-top: clamp(1.1rem, 4.5vw, 1.6rem);
  max-width: 23ch; font-weight: 300;
  font-size: clamp(1.4rem, 6vw, 1.85rem);
  line-height: 1.45;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .6rem 1.5rem; margin-top: clamp(1.5rem, 6vw, 2.25rem);
}

/* ── ווידג'ט הגלילה — חץ ברור ── */
.scroll-cue {
  grid-row: 3;
  justify-self: end;
  margin: 0 calc(var(--rail) - .75rem) clamp(.85rem, 3vw, 1.35rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .45rem;
  min-width: 44px; min-height: 44px;
  padding: .5rem .75rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity .8s var(--lift) 1.15s;
}
.hero.is-ready .scroll-cue { opacity: 1; }
.no-motion .scroll-cue { opacity: 1; }

.scroll-word { font-size: .8125rem; font-weight: 400; color: var(--ink-soft); }

.scroll-arrow {
  width: 26px;
  height: 26px;
  color: var(--ink);
  animation: nudge 1.9s var(--slow) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0);   opacity: .45; }
  50%      { transform: translateY(7px); opacity: 1; }
}
.scroll-cue:hover .scroll-arrow, .scroll-cue:focus-visible .scroll-arrow { animation-play-state: paused; }

/* ══════════ כפתורים ══════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.75rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--bone);
  font-family: inherit; font-size: .9375rem; font-weight: 400;
  text-decoration: none;
  transition: opacity .3s var(--lift);
}
.btn:hover, .btn:focus-visible { opacity: .82; }

.btn-inv { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-inv:hover, .btn-inv:focus-visible { opacity: .88; }

.btn-quiet {
  display: inline-flex; align-items: center; min-height: 50px;
  color: var(--ink-soft); font-size: .9375rem; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  transition: color .3s var(--lift), border-color .3s var(--lift);
}
.btn-quiet:hover, .btn-quiet:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }

:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

/* ══════════ תווית עריכה ══════════ */

.kicker {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .5rem;
}
.kicker-dark { color: var(--amber); }

/* ══════════ סקשנים ══════════ */

.band { padding: clamp(4rem, 13vw, 7.5rem) 0; }
/* קצב: פתיחת הקטלוג צמודה לפתיח, הסיום נושם יותר */
.band-tight { padding-top: clamp(2.75rem, 9vw, 5rem); }
.band-close { padding-block: clamp(5rem, 17vw, 9.5rem); }
.band-dark { background: var(--ink); color: var(--bone); }
/* סקשן הסינגל: מילות השיר בכתב יד ממלאות את כל האיזור הכהה */
.band-textured {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
/* הטקסטורה כשכבה נפרדת — כדי שאפשר יהיה להזיז אותה ב-transform (GPU) */
.band-textured::before {
  content: "";
  position: absolute;
  /* גדול מהסקשן, כדי שלא ייווצרו שוליים ריקים כשהוא זז */
  inset: -24%;
  background: url("img/single-lyrics-frame-v1.jpg") center / cover no-repeat;
  animation: lyricsDrift 20s linear infinite alternate;
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}
/* התוכן מעל הטקסטורה */
.band-textured > * { position: relative; z-index: 1; }

/* תנועה איטית מאוד — נושם, לא מסיח */
@keyframes lyricsDrift {
  0%   { transform: translate3d(-11%, 3.5%, 0) scale(1.06); }
  100% { transform: translate3d(11%, -4.5%, 0) scale(1.12); }
}
}

/* מי שביקש פחות תנועה — מקבל רקע סטטי */
@media (prefers-reduced-motion: reduce) {
  .band-textured::before { animation: none; transform: scale(1.08); }
}
.band-dark .band-title { color: var(--bone); }

.kicker, .band-title, .band-intro, .rail-hint, .hand-note, .listen-all, .plats {
  margin-inline: var(--rail);
}
.band > * { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--lift), transform .9s var(--lift); }
.band.seen > * { opacity: 1; transform: none; }

.band-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.875rem, 8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.band-intro { margin-top: .8rem; max-width: 34ch; color: var(--ink-soft); }
.band-dark .band-intro { color: color-mix(in srgb, var(--bone) 72%, transparent); }

/* ── מסילת כרטיסים (קרוסלה במובייל, גריד בדסקטופ) ── */

.covers, .reel {
  margin-top: clamp(1.75rem, 6vw, 2.75rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 68%);
  gap: clamp(.75rem, 3vw, 1.25rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .25rem var(--rail) 1rem;
}
.covers::-webkit-scrollbar, .reel::-webkit-scrollbar { display: none; }
.covers > *, .reel > * { scroll-snap-align: start; }
.reel { grid-auto-columns: minmax(268px, 78%); }

.rail-hint {
  margin-top: .25rem;
  font-size: .8125rem;
  color: var(--ink-soft);
  transition: opacity .3s var(--lift);
}
.band-dark .rail-hint { color: color-mix(in srgb, var(--bone) 55%, transparent); }
.rail-hint.is-hidden { opacity: 0; }

/* ── כרטיס שיר ── */

.cover {
  display: block;
  width: 100%;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: start;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.cover-art {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bone-deep);
  aspect-ratio: 1;
}
.cover-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--slow), opacity .4s var(--lift);
}
.cover:hover .cover-art img, .cover:focus-visible .cover-art img { transform: scale(1.08); }

.cover-play {
  position: absolute;
  inset-inline-start: 50%; top: 50%;
  transform: translate(50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .35s var(--lift), transform .35s var(--lift);
}
.cover-play svg { width: 20px; height: 20px; color: var(--ink); margin-inline-start: 2px; }
.cover:hover .cover-play, .cover:focus-visible .cover-play { opacity: 1; transform: translate(50%, -50%) scale(1.06); }

.cover-year {
  display: block; margin-top: .7rem;
  font-size: .8125rem; font-weight: 400; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.band-dark .cover-year { color: color-mix(in srgb, var(--bone) 60%, transparent); }

.cover-name {
  display: block; margin-top: .15rem;
  font-family: var(--display);
  font-size: clamp(1.125rem, 4.4vw, 1.375rem);
  line-height: 1.25;
}
.cover-note {
  display: block; margin-top: .2rem;
  font-size: .875rem; color: var(--ink-soft);
}
.band-dark .cover-note { color: color-mix(in srgb, var(--bone) 58%, transparent); }

/* ── שורה עם פני האמן ── */

.cover-who {
  display: flex; align-items: center; gap: .5rem;
  margin-top: .7rem;
  font-size: .875rem;
  color: color-mix(in srgb, var(--bone) 70%, transparent);
}
.cover-who img {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover; flex: none;
}
.cover-who + .cover-name { margin-top: .3rem; }

/* 3 כרטיסים — תמיד 3 עמודות מגיל 620px */
@media (min-width: 620px) {
  .covers-3 { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding-right: var(--rail); padding-left: var(--rail); }
  .covers-3 + .rail-hint { display: none; }
}

/* ── הווידאו ── */

.player {
  margin: clamp(1.75rem, 6vw, 2.75rem) var(--rail) 0;
  position: relative;
  aspect-ratio: 16 / 9;
  background: transparent;
  border-radius: 3px;
  overflow: hidden;
}
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-facade {
  display: block; width: 100%; height: 100%;
  /* השוליים חושפים את הטקסטורה שמאחור — מסגרת של כתב יד סביב הסרטון */
  padding: 6.5%; border: 0; background: transparent; cursor: pointer; position: relative;
}
.player-facade img { width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.88); transition: filter .3s var(--lift); }
.player-facade:hover img, .player-facade:focus-visible img { filter: brightness(1); }
.player-play {
  position: absolute; inset-inline-start: 50%; top: 50%;
  transform: translate(50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--bone); display: grid; place-items: center;
}
.player-play svg { width: 26px; height: 26px; color: var(--ink); margin-inline-start: 3px; }

/* ── כתב יד — מקום אחד בלבד ── */
.hand-note {
  margin-top: clamp(1.4rem, 5vw, 2rem);
  font-family: var(--hand);
  font-weight: 300;
  font-size: clamp(1.125rem, 4.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--amber);
}

/* ── הופעות ── */

.reel-item { overflow: hidden; border-radius: 3px; background: var(--bone-deep); }
.reel-item img, .reel-item video { width: 100%; height: 100%; object-fit: cover; }
.reel-item video { aspect-ratio: 4 / 5; background: #000; }
.reel-item img { aspect-ratio: 4 / 5; }
.reel-tall img { aspect-ratio: 4 / 5; object-position: 50% 42%; }

/* ── פלטפורמות — סמלים ── */

.plats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem clamp(1.25rem, 5vw, 2.5rem);
  margin-top: clamp(2.25rem, 8vw, 3.25rem);
}
.band:not(.band-close) .plats { justify-content: flex-start; }

.plat {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .35rem 0;
  font-size: .9375rem; text-decoration: none;
  color: var(--ink-soft);
  transition: color .3s var(--lift);
}
.band-dark .plat { color: color-mix(in srgb, var(--bone) 72%, transparent); }
.plat svg { width: 22px; height: 22px; flex: none; transition: transform .3s var(--lift); }
.plat:hover, .plat:focus-visible { color: var(--ink); }
.band-dark .plat:hover, .band-dark .plat:focus-visible { color: var(--bone); }
.plat:hover svg, .plat:focus-visible svg { transform: translateY(-2px); }

/* ── הסיפור ── */

.about { display: grid; gap: clamp(1.75rem, 6vw, 3rem); }
.about-text, .about-photo { margin-inline: var(--rail); }
.about-text p { margin-top: 1rem; max-width: 40ch; color: var(--ink-soft); }
.about-text .band-title { margin-bottom: .25rem; }
.about-photo { overflow: hidden; border-radius: 3px; }
.about-photo img { width: 100%; }

/* ── קשר ── */

.band-close { text-align: center; }
.band-close .close-line { color: color-mix(in srgb, var(--bone) 74%, transparent); }
.band-close .kicker { color: var(--amber); }
.band-close .band-title, .band-close .close-line, .band-close .close-actions { margin-inline: var(--rail); }
.close-line { max-width: 28ch; margin: 0 auto; color: var(--ink-soft); }
.close-actions { margin-top: clamp(1.75rem, 6vw, 2.5rem); }

.foot {
  padding: clamp(2rem, 6vw, 3rem) var(--rail) clamp(2.5rem, 7vw, 3.5rem);
  font-size: .875rem; color: var(--ink-soft); text-align: center;
}

/* ══════════ נגן צף — מתנגן בתוך האתר ══════════ */

.lightbox {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, #14120f 92%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: lb-in .28s var(--lift);
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-box {
  position: relative;
  width: min(980px, 100%);
  animation: lb-box .38s var(--slow);
}
@keyframes lb-box { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.lightbox-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.lightbox-close {
  position: absolute;
  inset-block-start: -14px; inset-inline-start: -14px;
  z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--bone) 26%, transparent);
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  color: var(--bone);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s var(--lift);
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: var(--ink); }

.lightbox-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: .9rem;
  color: color-mix(in srgb, var(--bone) 82%, transparent);
  font-size: .9375rem;
}
.lightbox-title { font-family: var(--display); font-size: clamp(1rem, 3.6vw, 1.25rem); }
.lightbox-yt {
  color: color-mix(in srgb, var(--bone) 62%, transparent);
  font-size: .875rem;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 28%, transparent);
  padding-bottom: 1px;
  transition: color .25s var(--lift), border-color .25s var(--lift);
}
.lightbox-yt:hover, .lightbox-yt:focus-visible {
  color: var(--bone); border-bottom-color: var(--bone);
}

body.lb-open { overflow: hidden; }

/* ══════════ מסך גדול ══════════ */

@media (min-width: 880px) {
  .hero { grid-template-columns: 46fr 54fr; grid-template-rows: minmax(0, 1fr) auto; }
  .hero-frame { grid-column: 1; grid-row: 1 / -1; }
  .hero-frame img { object-position: 50% 40%; }
  .hero-copy {
    grid-column: 2; grid-row: 1; align-self: stretch;
    display: flex; flex-direction: column; justify-content: center;
    padding-inline-start: clamp(2.5rem, 5vw, 5rem);
    padding-inline-end: var(--rail);
    padding-block: clamp(2rem, 5vw, 4rem) 1rem;
  }
  .scroll-cue { grid-column: 2; grid-row: 2; }
  .hero-name    { font-size: clamp(3.5rem, 6.4vw, 6.5rem); white-space: nowrap; line-height: .98; }
  .hero-role    { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
  .hero-line    { font-size: clamp(1.75rem, 2.4vw, 2.375rem); max-width: 14ch; margin-top: clamp(.9rem, 2vw, 1.35rem); }
  .hero-actions { margin-top: clamp(1.5rem, 3vw, 2.1rem); }

  .band { padding-inline: clamp(3rem, 7vw, 7rem); }
  .kicker, .band-title, .band-intro, .rail-hint, .hand-note, .listen-all, .plats,
  .about-text, .about-photo, .band-close .band-title, .band-close .kicker,
  .band-close .close-line, .band-close .close-actions { margin-inline: 0; }
  .band-close .kicker, .band-close .close-line { margin-inline: auto; }
  .band-title, .band-intro { max-width: 720px; }

  /* מסילות הופכות לגריד */
  .covers, .reel {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: .25rem 0 0;
  }
  .reel { grid-template-columns: repeat(4, 1fr); }
  /* שירים לאחרים: 3 כרטיסים ב-3 עמודות */
  .covers-3 { max-width: 1000px; margin-inline: auto; }
  .covers-3 .cover-name { font-size: clamp(1.25rem, 1.5vw, 1.5rem); }
  .rail-hint { display: none; }

  .player { margin-inline: 0; max-width: 1040px; }  /* פוסטר 1280px → מוקטן, חד */
  .plats { justify-content: flex-start; }
  .band-close .plats { justify-content: center; }

  .about {
    grid-template-columns: 42fr 58fr; align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem); max-width: 1180px; margin-inline: auto;
  }
  .about-text p { max-width: 46ch; }
  .about-photo img { max-height: 620px; object-fit: cover; object-position: 50% 38%; }
  .band-close { padding-block: clamp(5rem, 11vw, 9rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-frame img { transform: none; opacity: 1; animation: none; }
  .band > *, .hero-copy > * { opacity: 1; transform: none; }
  .scroll-arrow { animation: none; opacity: .8; }
}


/* ══════════ פתיח: התמונה נמססת לתוך הדף, והטקסט יושב על הרקע הנקי ══════════ */
.hero { position: relative; display: block; height: 100svh; }
.hero-frame {
  position: absolute; inset: 0 0 auto 0; height: 70%; z-index: 0; background: none;
  -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 44%, rgba(0,0,0,.80) 58%, rgba(0,0,0,.46) 72%,
      rgba(0,0,0,.18) 85%, rgba(0,0,0,.04) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom,
      #000 0%, #000 44%, rgba(0,0,0,.80) 58%, rgba(0,0,0,.46) 72%,
      rgba(0,0,0,.18) 85%, rgba(0,0,0,.04) 94%, transparent 100%);
}
.hero-frame img { object-position: 50% 24%; }
/* בלי רקע על הטקסט — זה מה שיצר את הקו החד */
.hero-copy {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2; grid-row: auto;
  background: none;
  padding: clamp(1.4rem, 4.5vw, 2.6rem) var(--rail) clamp(3.4rem, 9vw, 4.2rem);
}
.scroll-cue {
  position: absolute; z-index: 3; inset-inline-end: var(--rail);
  bottom: clamp(.6rem, 2.2vw, 1rem); grid-row: auto; margin: 0;
}

@media (min-width: 880px) {
  .hero { display: block; }
  .hero-frame {
    inset: 0 auto 0 0; width: 58%; height: 100%;
    -webkit-mask-image: linear-gradient(to left,
        transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.42) 30%,
        rgba(0,0,0,.70) 48%, rgba(0,0,0,.92) 66%, #000 82%, #000 100%);
    mask-image: linear-gradient(to left,
        transparent 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,.42) 30%,
        rgba(0,0,0,.70) 48%, rgba(0,0,0,.92) 66%, #000 82%, #000 100%);
  }
  .hero-frame img { object-position: 50% 34%; }
  .hero-copy {
    inset-inline: 0; display: flex; flex-direction: column; justify-content: center;
    grid-row: auto; padding-inline: clamp(3rem, 7vw, 7rem); padding-block: clamp(2rem, 5vw, 4rem) 1rem;
  }
  .hero-copy .hero-line { max-width: 17ch; }
  .hero-name { font-size: clamp(3.5rem, 6.4vw, 6.5rem); white-space: nowrap; line-height: .98; }
  .scroll-cue { grid-row: auto; }
}


/* ══════════ ב״ה — פינה ימנית עליונה ══════════ */
.bsd {
  position: absolute;
  top: clamp(.6rem, 2.2vw, 1rem);
  inset-inline-end: var(--rail);
  z-index: 4; margin: 0; pointer-events: none;
  font-size: .8125rem; letter-spacing: .1em;
  color: color-mix(in srgb, var(--bone) 84%, transparent);
  text-shadow: 0 1px 8px rgba(28, 25, 22, .55);
}

/* ══════════ תו בלחצן ══════════ */
.btn-note {
  width: 17px; height: 17px; flex: none;
  margin-inline-end: .55rem;
  animation: noteBeat 3s ease-in-out infinite;
}
@keyframes noteBeat {
  0%, 68%, 100% { transform: translateY(0) rotate(0); }
  76%           { transform: translateY(-3px) rotate(-9deg); }
  84%           { transform: translateY(1px) rotate(6deg); }
}

/* ══════════ בועות הכוונה ══════════ */
.hint {
  display: flex; align-items: center; gap: .5rem;
  width: max-content; margin: .9rem var(--rail) .2rem;
  opacity: 0; transform: translateY(7px);
  transition: opacity .55s var(--lift), transform .55s var(--lift);
  pointer-events: none;
}
.hint[hidden] { display: none; }
.hint.is-on { opacity: 1; transform: none; }
.hint-center { margin-inline: auto; }
.hint-pill {
  display: inline-flex; align-items: center;
  padding: .5rem 1rem; border-radius: 999px;
  background: var(--ink); color: var(--bone);
  font-size: .875rem; white-space: nowrap;
  animation: bubbleBob 2.2s ease-in-out infinite;
  box-shadow: 0 6px 20px rgba(28, 25, 22, .22);
}
.hint-arrow { width: 22px; height: 22px; flex: none; color: var(--ink); animation: arrowBob 2.2s ease-in-out infinite; }
.band-dark .hint-pill { background: var(--bone); color: var(--ink); }
.band-dark .hint-arrow { color: color-mix(in srgb, var(--bone) 85%, transparent); }
@keyframes bubbleBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes arrowBob  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ══════════ קצת עליי — תמונה ללא מסגרת במובייל, מעברים רכים ══════════ */
@media (max-width: 879px) {
  .about-photo {
    margin-inline: 0; border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%, #000 6%, #000 86%, rgba(0,0,0,.35) 95%, transparent 100%);
    mask-image: linear-gradient(to bottom,
        transparent 0%, #000 6%, #000 86%, rgba(0,0,0,.35) 95%, transparent 100%);
  }
  .about-photo img { height: 74svh; object-fit: cover; object-position: 50% 32%; }
}

/* ══════════ צור קשר — האימייל ══════════ */
.close-mail {
  display: inline-flex; align-items: center; margin-top: .85rem;
  font-size: .9375rem; word-break: break-all;
}
.band-close .close-actions { display: flex; flex-direction: column; align-items: center; gap: .1rem; }

@media (prefers-reduced-motion: reduce) {
  .btn-note, .hint-pill, .hint-arrow { animation: none; }
}





/* ══════════ צור קשר — מסודר ══════════ */
.band-close .close-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.05rem; margin-top: clamp(1.6rem, 5vw, 2.2rem);
}
.band-close .close-line { margin-top: .65rem; }

.close-mail {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .2rem;
  color: color-mix(in srgb, var(--bone) 86%, transparent);
  font-size: .9375rem; text-decoration: none;
  border-radius: 8px;
  transition: color .18s ease, transform .16s var(--ease-out-ui);
  word-break: break-all;
}
.close-mail svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.close-mail:active { transform: scale(.985); }
.close-mail:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .close-mail:hover { color: var(--bone); }
}
.band-close .plats { margin-top: clamp(1.5rem, 5vw, 2rem); }

@media (prefers-reduced-motion: reduce) {
  .chat-hint { transition: opacity .18s ease; transform: none; }
  .chat-hint.is-on { transform: none; }
  .cover.is-grabbed, .reel-item.is-grabbed { transition: box-shadow .2s ease; }
}


/* ══════════ בועת צ׳אט — נוצרת בגלילה, פינות אפל, תנועה עדינה ══════════ */
.chat-hint {
  position: relative;
  width: max-content; max-width: min(86vw, 330px);
  margin: 1.1rem var(--rail) .3rem;
  z-index: 5;
  opacity: 0;
  transform: translateY(10px) scale(.88);
  transform-origin: 24px 100%;
  /* כניסה עם מעט קפיצה — כמו קפיץ רך, לא bounce מצועק */
  transition: opacity .26s cubic-bezier(.23, 1, .32, 1),
              transform .46s cubic-bezier(.34, 1.46, .64, 1);
}
.chat-hint[hidden] { display: none; }
.chat-hint.is-on { opacity: 1; transform: none; }
.chat-hint:not(.is-on) { transition: opacity .16s ease, transform .16s ease-out; }

.chat-row { display: flex; align-items: center; gap: .5rem; }

/* הבועה — פינות גדולות ורציפות, סגנון אפל */
.chat-bubble {
  display: block; text-align: start;
  padding: .78rem 1.15rem;
  border: 0;
  border-radius: 21px 21px 21px 9px;      /* כמעט סקוירקל, עם זווית אחת קטנה */
  background: var(--bone); color: var(--ink);
  font-family: inherit; font-size: .9375rem; line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 25, 22, .10), 0 10px 28px rgba(28, 25, 22, .22);
  transition: background-color .16s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
.band-dark .chat-bubble { background: var(--amber); color: #2c1a06; }
.chat-bubble:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .chat-bubble:hover { background: #f6f8e8; }
  .band-dark .chat-bubble:hover { background: #ffc182; }
}

/* האיקס — עגול, 44px */
.chat-close {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(28, 25, 22, .42); color: var(--bone);
  cursor: pointer;
  transition: background-color .16s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}
.chat-close:active { transform: scale(.94); }
.chat-close:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chat-close:hover { background: rgba(28, 25, 22, .72); } }
.chat-close svg { width: 17px; height: 17px; }
.band-dark .chat-close { background: rgba(20, 16, 10, .45); }
@media (hover: hover) and (pointer: fine) { .band-dark .chat-close:hover { background: rgba(20, 16, 10, .7); } }

/* הזנב */
.chat-tail { position: absolute; width: 0; height: 0; border: 9px solid transparent; }
.chat-down > .chat-tail { bottom: -10px; inset-inline-start: 24px; border-top-color: var(--bone); border-bottom: 0; }
.chat-up > .chat-tail   { top: -10px;    inset-inline-start: 24px; border-bottom-color: var(--bone); border-top: 0; }
.band-dark .chat-down > .chat-tail { border-top-color: var(--amber); }
.band-dark .chat-up   > .chat-tail { border-bottom-color: var(--amber); }

/* תנועה עדינה — נשימה איטית, לא קיפול */
.chat-hint.is-on .chat-bubble { animation: chatBreathe 3.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes chatBreathe {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-3px) rotate(.4deg); }
}
/* נקודת תשומת לב אחת — פעימה קצרה בהתחלה ואז שקט */
.chat-hint.is-on .chat-close { animation: chatNudge 4.2s ease-in-out 1; }
@keyframes chatNudge {
  0%, 74%, 100% { transform: scale(1); }
  82%           { transform: scale(1.08); }
  90%           { transform: scale(.98); }
}

/* היעד נתפס */
.cover.is-grabbed, .reel-item.is-grabbed {
  transform: scale(1.045);
  box-shadow: 0 0 0 2px var(--amber), 0 12px 30px rgba(28, 25, 22, .28);
  transition: transform .28s cubic-bezier(.23, 1, .32, 1), box-shadow .28s cubic-bezier(.23, 1, .32, 1);
  position: relative; z-index: 3;
}

/* הבועה על הסרטון */
.reel-item > .chat-hint {
  position: absolute; top: .6rem; inset-inline-end: .6rem;
  margin: 0; max-width: calc(100% - 1.2rem); z-index: 6;
  transform-origin: 100% 0;
}
.reel-item > .chat-hint.chat-up > .chat-tail {
  top: auto; bottom: -10px;
  border-top-color: var(--amber); border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .chat-hint { transition: opacity .2s ease; transform: none; }
  .chat-hint.is-on { transform: none; }
  .chat-hint.is-on .chat-bubble, .chat-hint.is-on .chat-close { animation: none; }
}


/* ══════════ תיקונים ══════════ */
/* השורה הייתה צמודה לימין: הכלל .band-close .close-line (ספציפי יותר)
   דחף margin-inline: var(--rail) וגבר על .close-line { margin: 0 auto } */
.band-close .close-line {
  margin-inline: auto;
  max-width: 30ch;
  text-align: center;
}

/* מספר צפיות — ליד שם השיר */
.cover-views {
  display: inline-block;
  margin-top: .3rem;
  font-size: .8125rem;
  color: var(--ink-soft);
  letter-spacing: .01em;
}
.band-dark .cover-views { color: color-mix(in srgb, var(--bone) 62%, transparent); }

/* היררכיית הכרטיס: שם, צפיות, ואז ההפקה */
.cover-name + .cover-views { display: block; }
