/* ===================================================================
   תכלייס — עמוד הבית
   בסיס: דמו 3 (יוקרה שמנת-זהב) + עדכוני ישיבה 22.7
   =================================================================== */

*{ box-sizing:border-box; margin:0; padding:0; }

:root{
  /* רקעים */
  --bg:#FDFBF8;          /* שמנת קריסטל, הובהר לפי בקשת בר */
  --bg2:#F7EFE9;         /* שמנת חם, משני */
  --card:#FFFDFA;

  /* דיו וטקסט */
  --ink:#4A3226;         /* חום עמוק, מהוורדמארק בכרטיס */
  --muted:#6b5844;       /* טקסט משני - נבחר כדי לעמוד ב-4.5:1 על הרקע */

  /* ורוד המותג */
  --magenta:#B81E63;     /* ורוד הלוגו האמיתי */
  --magenta-deep:#93194f;
  --blush:#F6DCDC;       /* משטחים רכים */
  --peach:#F5D9CB;       /* רקע עיגול הלוגו */

  /* ירוק מרווה - אקצנט משני חדש */
  --sage:#A8B5A2;
  --sage-deep:#5c7256;   /* לטקסט/אייקונים על רקע בהיר */

  /* זהב */
  --gold:#C9A66B;
  --gold-deep:#8a6a3f;

  --line:#E7DACB;
  --shadow-warm: rgba(150,110,60,.35);

  --radius-lg:26px;
  --radius-md:18px;
  --radius-sm:12px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  font-family:"Assistant","Segoe UI",Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  direction:rtl;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* כותרות: Bellefair - סריף עברי בעל ניגודיות גבוהה, ההתאמה הקרובה ביותר
   לגופן הדפוס בכרטיס הביקור (קווים אופקיים דקים מול גזעים עבים).
   הגופן שבכרטיס הוא מסחרי; אם יתקבל הקובץ מהמעצב/ת, מחליפים בשורה הזאת בלבד.
   שים לב: Bellefair קיים במשקל אחד (400) והוא עדין - לכותרות גדולות בלבד. */
h1,h2,h3{ font-family:"Bellefair","Frank Ruhl Libre",Georgia,serif; font-weight:400; line-height:1.15; }
h1{ text-wrap:balance; }
h2{ text-wrap:balance; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; }

.wrap{ max-width:1180px; margin:0 auto; padding-inline:26px; }

::selection{ background:var(--magenta); color:#fff; }

/* ---------- accent / tagline style ---------- */
.tagline{
  font-family:"Bellefair",Georgia,serif;
  font-weight:400;
  color:var(--gold-deep);
}

/* ---------- skip link ---------- */
.skip-link{
  position:absolute; right:16px; top:-60px;
  background:var(--ink); color:#fff;
  padding:12px 20px; border-radius:0 0 10px 10px;
  z-index:200; transition:top .2s var(--ease);
  font-weight:600;
}
.skip-link:focus{ top:0; }

/* ---------- focus ---------- */
:focus-visible{
  outline:3px solid var(--magenta);
  outline-offset:3px;
  border-radius:6px;
}

/* ================= NAV ================= */
.nav{
  position:sticky; top:0; z-index:100;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.brand{ display:flex; align-items:center; gap:10px; line-height:0; }
.brand img{
  height:62px; width:62px; border-radius:50%;      /* אמבלם מעגלי - חותך את פינות ה-PNG */
  box-shadow:0 4px 14px -6px var(--shadow-warm);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.brand:hover img{ transform:scale(1.05); box-shadow:0 8px 20px -6px var(--shadow-warm); }

.menu{ display:flex; gap:32px; font-size:16px; font-weight:600; color:var(--muted); }
.menu a{ position:relative; padding:6px 2px; }
.menu a::after{
  content:""; position:absolute; right:0; bottom:0; width:0; height:2px;
  background:var(--magenta); transition:width .25s var(--ease);
}
.menu a:hover::after, .menu a:focus-visible::after{ width:100%; }
.menu a:hover{ color:var(--ink); }

.nav-actions{ display:flex; align-items:center; gap:12px; }

.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-weight:700; font-size:16px;
  padding:14px 28px; border-radius:999px;
  cursor:pointer; transition:transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  border:none; white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-main{ background:var(--magenta); color:#fff; box-shadow:0 14px 28px -12px var(--magenta); }
.btn-main:hover{ background:var(--magenta-deep); transform:translateY(-2px); }
.btn-gold{ background:transparent; border:1.5px solid var(--gold); color:var(--gold-deep); }
.btn-gold:hover{ background:var(--gold); color:#fff; }
.btn-wa{ background:#25D366; color:#fff; }
.btn-wa:hover{ background:#1ebc59; transform:translateY(-2px); }

/* hamburger (mobile only) */
.hamburger{
  display:none; width:44px; height:44px; border:none; background:transparent;
  cursor:pointer; align-items:center; justify-content:center; border-radius:10px;
}
.hamburger:hover{ background:var(--bg2); }
.hamburger span{
  display:block; width:22px; height:2px; background:var(--ink); border-radius:2px;
  position:relative; transition:transform .25s var(--ease), opacity .2s var(--ease);
}
.hamburger span::before, .hamburger span::after{
  content:""; position:absolute; right:0; width:22px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform .25s var(--ease), top .25s var(--ease);
}
.hamburger span::before{ top:-7px; }
.hamburger span::after{ top:7px; }
.hamburger[aria-expanded="true"] span{ background:transparent; }
.hamburger[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
.hamburger[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

.mobile-menu{
  display:none; flex-direction:column; gap:2px;
  background:var(--bg); border-bottom:1px solid var(--line);
  padding:8px 26px 20px;
}
.mobile-menu a{
  padding:16px 6px; font-weight:600; color:var(--ink);
  border-bottom:1px solid var(--line); font-size:17px;
}
.mobile-menu a:last-child{ border-bottom:none; }
.mobile-menu .btn{ margin-top:14px; justify-content:center; }

@media (max-width:860px){
  .menu, .nav-actions .btn-main{ display:none; }
  .hamburger{ display:flex; }
  body.menu-open .mobile-menu{ display:flex; }
}

/* ================= floating WhatsApp ================= */
.wa-float{
  position:fixed; bottom:22px; inset-inline-start:22px; z-index:150;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 16px 32px -12px rgba(0,0,0,.4);
  transition:transform .2s var(--ease);
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:30px; height:30px; }

/* ================= HERO ================= */
.hero{ position:relative; overflow:hidden; }
.hero::before{
  content:""; position:absolute; width:640px; height:640px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,166,107,.16), transparent 62%);
  top:-200px; inset-inline-end:-160px;
}
.hero::after{
  content:""; position:absolute; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(184,30,99,.10), transparent 62%);
  bottom:-200px; inset-inline-start:-120px;
}
.hero .wrap{
  display:grid; grid-template-columns:1.05fr .95fr; gap:54px; align-items:center;
  padding:64px 26px 76px; position:relative; z-index:2;
}
.eyebrow{ font-family:"Bellefair",Georgia,serif; font-weight:400; font-size:22px; color:var(--gold-deep); margin-bottom:12px; }
.hero h1{ font-size:clamp(37px, 5.6vw, 60px); margin-bottom:22px; }
.hero h1 em{ font-style:normal; color:var(--magenta); }
.hero .sub{ font-size:20px; color:var(--muted); max-width:540px; margin-bottom:30px; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.studio{ font-size:15.5px; color:var(--muted); display:flex; align-items:center; gap:9px; }
.studio::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--gold); flex-shrink:0; }

.hero-visual{ position:relative; }
.hero-img-wrap{
  position:relative; aspect-ratio:3/4; border-radius:180px 180px 22px 22px; overflow:hidden;
  box-shadow:0 40px 80px -28px var(--shadow-warm); border:1px solid rgba(201,166,107,.4);
}
.hero-img-wrap img{ width:100%; height:100%; object-fit:cover; object-position:center 22%; }
.hero-frame{
  position:absolute; inset:-14px; border:1px solid var(--gold); border-radius:190px 190px 30px 30px;
  z-index:-1; opacity:.5;
}
/* ===== תג המונה WOW - הוכחה חברתית כרגע-שיא ===== */
.float-badge{
  position:absolute; bottom:22px; inset-inline-end:-26px; z-index:4;
  background:linear-gradient(158deg, #ffffff 0%, #fdf2f4 78%, #fbe9ec 100%);
  border-radius:24px; padding:15px 30px 17px;
  box-shadow:0 30px 60px -20px var(--shadow-warm), 0 6px 18px -8px rgba(184,30,99,.28);
  border:1px solid rgba(201,166,107,.55);
  text-align:center; overflow:hidden;
  animation:fbIn .75s var(--ease) both;
}
/* קו זהב עדין בראש התג */
.float-badge::before{
  content:""; position:absolute; inset-inline:22px; top:0; height:2px; border-radius:2px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent); opacity:.7;
}
/* הבזק אור אלכסוני שחולף על התג בסיום הספירה */
.float-badge::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:5;
  background:linear-gradient(115deg, transparent 34%, rgba(255,255,255,.7) 50%, transparent 66%);
  transform:translateX(-130%);
}
.float-badge.is-celebrating::after{ animation:fbShine 1.1s var(--ease); }

@keyframes fbIn{
  0%   { opacity:0; transform:translateY(18px) scale(.84); }
  62%  { opacity:1; transform:translateY(-4px) scale(1.05); }
  100% { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes fbShine{ to{ transform:translateX(130%); } }

/* אשכול "לקוחות" - עיגולי גוון מותג חופפים, סימון אנושי מיידי */
.fb-avatars{ display:flex; justify-content:center; margin-bottom:9px; }
.fb-av{
  width:27px; height:27px; border-radius:50%; border:2px solid #fff;
  box-shadow:0 3px 8px -3px var(--shadow-warm); margin-inline-start:-10px;
  animation:fbAv .5s var(--ease) both;
}
.fb-av:first-child{ margin-inline-start:0; }
.fb-av1{ background:linear-gradient(135deg, var(--magenta), var(--peach)); animation-delay:.18s; }
.fb-av2{ background:linear-gradient(135deg, var(--gold), #e7d09b);        animation-delay:.26s; }
.fb-av3{ background:linear-gradient(135deg, var(--sage), #cdd6c8);        animation-delay:.34s; }
.fb-av4{ background:linear-gradient(135deg, var(--blush), #f3c6c6);       animation-delay:.42s; }
@keyframes fbAv{ from{ opacity:0; transform:scale(.3); } to{ opacity:1; transform:scale(1); } }

.float-badge b{
  display:flex; align-items:baseline; justify-content:center; gap:5px;
  line-height:1; position:relative;
}
/* הילת זוהר שגדלה עם הספירה (נשלטת ע"י --g מה-JS) */
.float-badge b::before{
  content:""; position:absolute; z-index:-1; left:50%; top:52%;
  width:155%; height:185%;
  transform:translate(-50%,-50%) scale(calc(.5 + var(--g, .25) * .65));
  background:radial-gradient(circle, rgba(212,42,118,.58), rgba(201,166,107,.24) 44%, transparent 68%);
  filter:blur(15px); opacity:calc(var(--g, .25) * .95);
  transition:opacity .7s ease, transform .7s ease; pointer-events:none;
}
.fb-label{
  display:block; font-size:15px; color:var(--ink); font-weight:700; margin-top:6px;
  letter-spacing:.01em;
}
.fb-label::before, .fb-label::after{
  content:"✦"; color:var(--gold); font-size:10px; vertical-align:2px; margin-inline:6px; opacity:.85;
}

/* מונה WOW - ספרה במילוי גרדיאנט ורוד-זהב, עולה מ-1 ל-300 */
.count-num{
  display:inline-block; min-width:1.7ch; text-align:center;
  font-family:"Assistant",sans-serif; font-weight:800; font-size:clamp(60px, 8vw, 82px);
  letter-spacing:-.035em; transform-origin:center bottom;
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum";
  /* גרדיאנט מגנטה מבריק אנכי - הדגשת אור למעלה, עומק עשיר למטה */
  background:linear-gradient(180deg, #F7A8C6 0%, #D42A76 38%, #A81659 70%, #7d1543 100%);
  -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 1px rgba(125,21,67,.45)) drop-shadow(0 4px 10px rgba(184,30,99,.3));
}
.count-plus{
  font-family:"Assistant",sans-serif; font-weight:800; font-size:36px;
  color:var(--gold-deep); align-self:flex-start; margin-top:4px;
  filter:drop-shadow(0 2px 4px rgba(138,106,63,.3));
}

/* ניצוצות זהב שמתפרצים מהמספר בסיום (מיקום מוחלט - לא משפיע על הפריסה) */
.fb-spark{
  position:absolute; font-style:normal; color:var(--gold); opacity:0;
  font-size:14px; pointer-events:none; z-index:2;
}
.fb-spark1{ top:-4px; inset-inline-end:-2px; }
.fb-spark2{ top:8px;  inset-inline-start:-8px; font-size:11px; }
.fb-spark3{ bottom:0; inset-inline-end:-10px; font-size:12px; }
.float-badge.is-celebrating .fb-spark1{ animation:fbSpark .9s var(--ease) 0s; }
.float-badge.is-celebrating .fb-spark2{ animation:fbSpark .9s var(--ease) .12s; }
.float-badge.is-celebrating .fb-spark3{ animation:fbSpark .9s var(--ease) .06s; }
@keyframes fbSpark{
  0%   { opacity:0; transform:scale(.2) rotate(0deg); }
  40%  { opacity:1; transform:scale(1.25) rotate(90deg); }
  100% { opacity:0; transform:scale(.55) rotate(165deg); }
}

/* פופ מספק בסיום הספירה */
.count-num.is-done{ animation:count-pop .7s var(--ease); }
@keyframes count-pop{
  0%   { transform:scale(1); }
  32%  { transform:scale(1.22); }
  62%  { transform:scale(.96); }
  100% { transform:scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .float-badge, .fb-av, .float-badge.is-celebrating::after,
  .float-badge.is-celebrating .fb-spark, .count-num.is-done{ animation:none; }
}

.placeholder-tag{
  position:absolute; top:14px; inset-inline-start:14px; z-index:3;
  background:rgba(74,50,38,.82); color:#fff; font-size:11px; font-weight:600;
  padding:5px 11px; border-radius:999px;
}

/* ================= divider ================= */
.divider{ display:flex; align-items:center; justify-content:center; gap:14px; margin:0 auto; color:var(--gold); max-width:220px; }
.divider::before, .divider::after{ content:""; height:1px; flex:1; background:linear-gradient(90deg, transparent, var(--gold)); }
.divider::after{ background:linear-gradient(90deg, var(--gold), transparent); }

/* ================= trust strip ================= */
.strip{ background:var(--bg2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.strip .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; padding:26px; }
.strip .item{ flex:1; min-width:190px; display:flex; align-items:center; justify-content:center; gap:10px; font-weight:600; font-size:16px; color:var(--ink); }
.strip .item svg{ width:20px; height:20px; color:var(--sage-deep); flex-shrink:0; }

/* ================= sections ================= */
section{ padding:80px 0; }
.sec-head{ text-align:center; max-width:660px; margin:0 auto 44px; }
.sec-head .eyebrow{ font-size:26px; margin-bottom:6px; }
.sec-head h2{ font-size:clamp(28px,4vw,40px); margin-bottom:14px; }
.sec-head p{ color:var(--muted); font-size:18px; }

/* why cards - centered content (5a) */
.why{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:38px 30px; position:relative; overflow:hidden;
  text-align:center; display:flex; flex-direction:column; align-items:center;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card::before{
  content:""; position:absolute; inset-inline:0; top:0; height:3px;
  background:linear-gradient(90deg, var(--magenta), var(--gold));
}
.card:hover{ transform:translateY(-5px); box-shadow:0 26px 50px -24px var(--shadow-warm); }

/* תמונה בכרטיס "למה תכלייס" - תמונה ממוסגרת עם אריח הזכוכית חופף לתחתיתה */
.why .card{ padding-top:26px; }
.why-media{
  width:100%; aspect-ratio:4/3; border-radius:16px; overflow:hidden;
  border:1px solid var(--line); box-shadow:0 16px 34px -22px var(--shadow-warm);
}
.why-media img{ width:100%; height:100%; object-fit:cover; object-position:center 26%; }
.why .glass-ic{ margin-top:-40px; position:relative; z-index:1; background:rgba(255,255,255,.78); }

/* glass icon tile (5b) */
.glass-ic{
  width:60px; height:60px; border-radius:18px; margin-bottom:18px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(14px);
  border:1px solid rgba(201,166,107,.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 10px 22px -14px rgba(150,110,60,.35);
  position:relative;
}
.glass-ic svg{ width:28px; height:28px; color:var(--ink); stroke-width:1.5; }
/* Bellefair עדין בגדלים קטנים, לכן כותרות הכרטיסים מוגדלות מעט */
.card h3{ font-size:26px; margin-bottom:10px; }
.card p{ color:var(--muted); font-size:16.5px; }

.card.card-shelf{ border-color:var(--gold); }
.card.card-shelf::before{ background:linear-gradient(90deg, var(--gold), var(--magenta)); }
.card-shelf .shelf-slogan{
  display:inline-block; margin-top:12px; font-family:"Bellefair",Georgia,serif; font-weight:400;
  color:var(--magenta-deep); font-size:18px;
}

/* personalization strip (5c) */
.personal-strip{
  margin-top:28px; border:1.5px solid var(--magenta); border-radius:var(--radius-lg);
  padding:34px 0; background:linear-gradient(150deg, #fff, var(--bg2));
  overflow:hidden;
}
.personal-strip .wrap{ display:flex; flex-direction:column; gap:20px; }
.personal-strip .ps-head{ text-align:center; }
.personal-strip .ps-head .eyebrow{ font-size:22px; margin-bottom:4px; }
.personal-strip .ps-head h3{ font-size:29px; }

.marquee{ overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; width:max-content; animation:marquee 34s linear infinite; will-change:transform; }
/* השהיה בריחוף - רק במכשירים עם עכבר. בנייד מגע לא "נתקע" על hover והלולאה לא נעצרת. */
@media (hover:hover){ .marquee:hover .marquee-track{ animation-play-state:paused; } }
/* RTL: מזיזים ימינה (+50%) כדי שהעותק הכפול ימלא את הצד ולא ייווצר רווח ריק.
   הרווח בין הפריטים ניתן דרך margin (לא gap) כדי ש-50% יהיה בדיוק חצי מהרוחב - לולאה חלקה בלי קפיצה. */
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(50%); } }
.marquee-item{
  width:220px; aspect-ratio:3/4; border-radius:var(--radius-md); flex-shrink:0; overflow:hidden;
  margin-inline-start:16px;
  background:repeating-linear-gradient(135deg, var(--bg2), var(--bg2) 14px, #efe0cd 14px, #efe0cd 28px);
  display:flex; align-items:center; justify-content:center; text-align:center;
  border:1px dashed var(--gold); color:var(--gold-deep); font-size:14px; font-weight:600; padding:14px;
}
/* פריט עם תמונה - מסגרת מלאה בלי דוגמת ה-placeholder */
.marquee-item:has(img){ border:none; padding:0; background:var(--bg2); box-shadow:0 14px 30px -20px var(--shadow-warm); }
.marquee-item img{ width:100%; height:100%; object-fit:cover; object-position:center 22%; }
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none; flex-wrap:wrap; width:100%; justify-content:center; }
}

/* about */
.about{ background:linear-gradient(160deg, var(--bg2), #efe0cd); }
.about .wrap{ max-width:840px; text-align:center; }
.about .eyebrow{ font-size:30px; margin-bottom:8px; }
.about .quote{ font-family:"HandHeb",cursive; font-size:clamp(24px,3.6vw,34px); line-height:1.6; color:var(--ink); margin:14px 0 20px; }
.about .sign{ font-family:"HandHeb",cursive; font-size:28px; color:var(--magenta-deep); }

/* ================= ABOUT PAGE (about.html) ================= */
.about-hero{ position:relative; overflow:hidden; padding-top:56px; }
.about-hero::before{
  content:""; position:absolute; width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,166,107,.14), transparent 62%);
  top:-220px; inset-inline-start:-160px;
}
.about-hero .wrap{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center;
  position:relative; z-index:2;
}
.about-portrait{ position:relative; }
.about-portrait-frame{
  position:relative; aspect-ratio:4/5; border-radius:200px 200px 26px 26px; overflow:hidden;
  box-shadow:0 40px 80px -30px var(--shadow-warm); border:1px solid rgba(201,166,107,.4);
  background:var(--bg2);
}
.about-portrait-frame img{ width:100%; height:100%; object-fit:cover; object-position:center 22%; }
/* עומק עדין בתחתית הדיוקן */
.about-portrait-frame::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to top, rgba(74,50,38,.14), transparent 32%);
}
.about-portrait .about-frame-line{
  position:absolute; inset:-14px; border:1px solid var(--gold); border-radius:212px 212px 36px 36px;
  z-index:-1; opacity:.5;
}

/* זוהר רך מאחורי הדיוקן */
.about-glow{
  position:absolute; inset:-10% -8%; z-index:-2; border-radius:50%;
  background:
    radial-gradient(58% 52% at 68% 22%, rgba(184,30,99,.16), transparent 70%),
    radial-gradient(60% 60% at 28% 82%, rgba(201,166,107,.22), transparent 72%);
  filter:blur(6px);
}
/* חתימת כתב יד צפה */
.about-portrait-sign{
  position:absolute; bottom:22px; inset-inline-end:-14px; z-index:4;
  background:var(--card); border:1px solid var(--line); border-radius:16px;
  padding:7px 20px; box-shadow:0 18px 40px -16px var(--shadow-warm);
  font-family:"HandHeb",cursive; font-size:27px; color:var(--magenta-deep);
  display:inline-flex; align-items:center; gap:7px; line-height:1.2;
}
.about-portrait-sign svg{ width:18px; height:18px; }

/* ===== הנפשת "הקרנה": הדיוקן נפתח מפס אור מרכזי, מתמקד ומתבהר ===== */
/* מצב מוסתר - חל רק כש-JS פעיל ואין העדפת צמצום תנועה (html.js-anim) */
html.js-anim .about-portrait .about-portrait-frame img{
  clip-path:inset(47% 0 47% 0);
  transform:scale(1.06);
  filter:blur(7px) brightness(.55) saturate(.9);
  will-change:clip-path, transform, filter;
}
html.js-anim .about-portrait.is-revealed .about-portrait-frame img{
  clip-path:inset(0 0 0 0);
  transform:scale(1);
  filter:blur(0) brightness(1) saturate(1);
  transition:
    clip-path 1.05s cubic-bezier(.16,.84,.32,1),
    transform 1.2s cubic-bezier(.16,.84,.32,1),
    filter .95s ease-out;
}
/* הבזק אור שחולף - "אלומת המקרן" */
html.js-anim .about-portrait .about-portrait-frame::before{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none; opacity:0;
  background:linear-gradient(105deg, transparent 32%, rgba(255,255,255,.55) 48%, transparent 64%);
  transform:translateX(-120%);
}
html.js-anim .about-portrait.is-revealed .about-portrait-frame::before{
  animation:about-sweep 1.1s ease-out .35s both;
}
@keyframes about-sweep{
  0%{ transform:translateX(-120%); opacity:0; }
  28%{ opacity:1; }
  100%{ transform:translateX(120%); opacity:0; }
}
/* הזוהר, המסגרת והחתימה נדלקים עם הפתיחה */
html.js-anim .about-portrait .about-glow{ opacity:0; transform:scale(.86); }
html.js-anim .about-portrait.is-revealed .about-glow{
  opacity:1; transform:scale(1);
  transition:opacity 1s ease .1s, transform 1.2s cubic-bezier(.16,.84,.32,1) .1s;
}
html.js-anim .about-portrait .about-frame-line{ opacity:0; }
html.js-anim .about-portrait.is-revealed .about-frame-line{ opacity:.5; transition:opacity .8s ease .25s; }
html.js-anim .about-portrait .about-portrait-sign{ opacity:0; transform:translateY(16px) scale(.9); }
html.js-anim .about-portrait.is-revealed .about-portrait-sign{
  opacity:1; transform:translateY(0) scale(1);
  transition:opacity .5s ease .9s, transform .6s cubic-bezier(.34,1.56,.64,1) .9s;
}

/* placeholder state for the portrait until the real photo arrives */
.about-portrait-frame.is-placeholder{
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:repeating-linear-gradient(135deg, var(--bg2), var(--bg2) 16px, #efe0cd 16px, #efe0cd 32px);
  border:1px dashed var(--gold);
}
.about-portrait-frame.is-placeholder span{ color:var(--gold-deep); font-weight:600; font-size:15px; padding:20px; }

.about-intro .eyebrow{ font-size:22px; }
.about-intro .about-name{
  font-family:"HandHeb",cursive; font-size:clamp(42px,10vw,74px);
  color:var(--magenta); line-height:1.05; margin-bottom:6px;
  overflow-wrap:break-word;
}
.about-intro .about-role{
  font-family:"Bellefair",Georgia,serif; font-size:21px; color:var(--gold-deep);
  margin-bottom:22px;
}
.about-intro .about-lead{
  font-family:"HandHeb",cursive; font-size:clamp(22px,5.5vw,30px);
  line-height:1.65; color:var(--ink); overflow-wrap:break-word;
}

/* the story body */
.about-story{ padding:70px 0; }
.about-story .wrap{ max-width:720px; }
.about-story p{
  font-size:20px; line-height:1.9; color:var(--ink);
  margin-bottom:22px; text-align:start;
}
.about-story p strong{ color:var(--magenta-deep); font-weight:600; }

/* המשפט המודגש כשורה עצמאית - פאת פרונט ייחודית */
.about-story p.about-highlight{
  text-align:center; font-size:22.5px; line-height:1.6;
  border-inline-start:3px solid var(--gold); border-inline-end:3px solid var(--gold);
  padding:6px 24px; margin:6px auto 26px; max-width:640px;
}
.about-story p.about-highlight strong{ font-weight:700; }

.about-quote{
  margin:14px auto; text-align:center; max-width:760px;
  padding:34px 30px;
}
.about-quote .divider{ margin-bottom:20px; }
.about-quote p{
  font-family:"HandHeb",cursive; font-size:clamp(27px,4vw,40px);
  line-height:1.55; color:var(--magenta-deep); margin:0;
}

.about-sign{ text-align:center; padding:20px 0 4px; }
.about-sign .sign{
  font-family:"HandHeb",cursive; font-size:clamp(30px,4.4vw,42px);
  color:var(--magenta); line-height:1.4;
}

@media (max-width:860px){
  .about-hero .wrap{ grid-template-columns:1fr; gap:34px; }
  /* min-width:0 - מונע מהגריד להתרחב מעבר למסך בגלל מילה רחבה בכתב יד */
  .about-hero .wrap > *{ min-width:0; }
  .about-hero{ padding-top:34px; }
  .about-portrait{ max-width:380px; margin:0 auto; width:100%; }
  .about-intro{ text-align:center; }
}

/* ================= CATALOG PAGE (catalog.html) ================= */
.catalog-hero{ position:relative; overflow:hidden; text-align:center; padding:56px 0 30px; }
.catalog-hero::before{
  content:""; position:absolute; width:560px; height:560px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,166,107,.14), transparent 62%);
  top:-240px; left:50%; transform:translateX(-50%);
}
.catalog-hero .wrap{ position:relative; z-index:2; max-width:720px; }
.catalog-hero .eyebrow{ font-size:24px; }
.catalog-hero h1{ font-size:clamp(30px,5vw,52px); margin-bottom:14px; }
.catalog-hero p{ color:var(--muted); font-size:18px; }
.catalog-note{
  display:inline-flex; align-items:center; gap:8px; margin-top:18px;
  background:var(--blush); color:var(--magenta-deep); border:1px solid #E8B7C6;
  border-radius:999px; padding:9px 18px; font-size:14.5px; font-weight:600;
}

/* --- סרגל פילטרים דביק --- */
.cat-toolbar{
  position:sticky; top:78px; z-index:90;
  background:color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:16px 0;
}
.cat-toolbar .wrap{ display:flex; flex-direction:column; gap:12px; }
.filter-group{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.filter-label{
  font-family:"Bellefair",Georgia,serif; font-size:18px; color:var(--gold-deep);
  min-width:78px;
}
.filter-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  display:inline-flex; align-items:center; gap:7px;
  border:1px solid var(--line); background:var(--card); color:var(--muted);
  border-radius:999px; padding:8px 16px; font-size:15px; font-weight:600;
  cursor:pointer; transition:all .2s var(--ease); font-family:"Assistant",sans-serif;
}
.chip:hover{ border-color:var(--gold); color:var(--ink); transform:translateY(-1px); }
.chip.is-active{
  background:var(--magenta); border-color:var(--magenta); color:#fff;
  box-shadow:0 8px 18px -8px var(--magenta);
}
.chip-swatch{
  width:16px; height:16px; border-radius:50%; flex-shrink:0;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);
}
.chip-swatch.is-light{ box-shadow:inset 0 0 0 1px rgba(0,0,0,.22); }
.chip.is-active .chip-swatch{ box-shadow:inset 0 0 0 1px rgba(255,255,255,.6); }

.cat-toolbar-foot{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top:4px; border-top:1px dashed var(--line); }
#cat-count{ font-weight:700; color:var(--ink); font-size:16px; }
#cat-reset, .cat-reset{
  background:transparent; border:none; color:var(--magenta-deep); font-weight:700;
  cursor:pointer; font-size:15px; font-family:"Assistant",sans-serif; text-decoration:underline;
  text-underline-offset:3px; padding:4px;
}
#cat-reset:hover, .cat-reset:hover{ color:var(--magenta); }

/* --- רשת דגמים --- */
.cat-section{ padding:44px 0 80px; }
.cat-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:26px;
}
.cat-card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .28s var(--ease), box-shadow .28s var(--ease);
  animation:cardIn .5s var(--ease) both;
}
.cat-card:hover{ transform:translateY(-6px); box-shadow:0 30px 54px -26px var(--shadow-warm); }
@keyframes cardIn{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:translateY(0); } }
.cat-grid .cat-card:nth-child(1){ animation-delay:.02s } .cat-grid .cat-card:nth-child(2){ animation-delay:.06s }
.cat-grid .cat-card:nth-child(3){ animation-delay:.10s } .cat-grid .cat-card:nth-child(4){ animation-delay:.14s }
.cat-grid .cat-card:nth-child(5){ animation-delay:.18s } .cat-grid .cat-card:nth-child(6){ animation-delay:.22s }
.cat-grid .cat-card:nth-child(7){ animation-delay:.26s } .cat-grid .cat-card:nth-child(8){ animation-delay:.30s }
@media (prefers-reduced-motion: reduce){ .cat-card{ animation:none; } }

.cat-media{ position:relative; aspect-ratio:4/5; overflow:hidden; }
.cat-media img{ width:100%; height:100%; object-fit:cover; }
.cat-ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; position:relative; }
.cat-ph::after{ content:""; position:absolute; inset:0; background:linear-gradient(160deg, rgba(255,255,255,.18), transparent 55%); }
.cat-ph-label{
  position:relative; z-index:1; font-size:13px; font-weight:600; letter-spacing:.02em;
  color:rgba(255,255,255,.9); background:rgba(0,0,0,.22); padding:6px 14px; border-radius:999px;
  backdrop-filter:blur(2px);
}
.cat-ph-label.on-light{ color:var(--ink); background:rgba(255,255,255,.55); }
.cat-line-badge{
  position:absolute; top:12px; inset-inline-end:12px; z-index:2;
  font-family:"Bellefair",Georgia,serif; font-size:16px; letter-spacing:.02em;
  background:rgba(253,251,248,.92); color:var(--magenta-deep);
  padding:4px 14px; border-radius:999px; box-shadow:0 6px 16px -8px var(--shadow-warm);
}
.cat-body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:10px; text-align:center; }
/* כותרת המוצר = סלוגן המותג, בצבע מתחלף לכל כרטיס */
.cat-title{ font-family:"Bellefair",Georgia,serif; line-height:1.08; }
.cat-title-brand{ display:block; font-size:27px; }
.cat-title-slogan{ display:block; font-size:16px; opacity:.9; margin-top:1px; }
/* הערת גוונים בכל כרטיס */
.cat-note{ font-size:13px; line-height:1.55; color:var(--muted); margin:0; opacity:.92; }
.cat-tags{ display:flex; flex-wrap:wrap; gap:7px; justify-content:center; }
.cat-tag{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--bg2); border:1px solid var(--line); border-radius:999px;
  padding:5px 12px; font-size:13.5px; color:var(--muted); font-weight:600;
}
.tag-sw{ width:12px; height:12px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(0,0,0,.14); }
.tag-sw.is-light{ box-shadow:inset 0 0 0 1px rgba(0,0,0,.22); }
.cat-cta{ margin-top:4px; justify-content:center; width:100%; }

/* --- מצב ריק --- */
.cat-empty{ text-align:center; padding:70px 20px; }
.cat-empty h3{ font-family:"Bellefair",Georgia,serif; font-size:26px; margin-bottom:10px; }
.cat-empty p{ color:var(--muted); margin-bottom:20px; }

/* --- מודל צור קשר לדגם --- */
.cat-modal{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; }
.cat-modal[hidden]{ display:none; }
.m-backdrop{ position:absolute; inset:0; background:rgba(74,50,38,.5); backdrop-filter:blur(3px); animation:fadeIn .25s var(--ease); }
.m-panel{
  position:relative; z-index:1; background:var(--card); border:1px solid var(--gold);
  border-radius:var(--radius-lg); max-width:440px; width:100%; padding:32px 30px;
  box-shadow:0 40px 80px -30px rgba(74,50,38,.5); animation:panelIn .3s var(--ease);
  max-height:90vh; overflow-y:auto;
}
@keyframes fadeIn{ from{ opacity:0 } to{ opacity:1 } }
@keyframes panelIn{ from{ opacity:0; transform:translateY(16px) scale(.97) } to{ opacity:1; transform:translateY(0) scale(1) } }
.m-close{
  position:absolute; top:12px; inset-inline-start:12px; width:38px; height:38px; border-radius:50%;
  border:none; background:var(--bg2); color:var(--ink); font-size:20px; cursor:pointer; line-height:1;
  transition:background .2s var(--ease);
}
.m-close:hover{ background:var(--blush); }
.m-panel .eyebrow{ font-size:20px; text-align:center; }
.m-panel h3{ font-family:"Bellefair",Georgia,serif; font-size:26px; text-align:center; margin-bottom:6px; }
.m-desc{ text-align:center; color:var(--muted); font-size:15.5px; margin-bottom:20px; }
.m-wa{ width:100%; justify-content:center; margin-bottom:18px; }
.m-or{ text-align:center; color:var(--muted); font-size:14px; margin-bottom:16px; position:relative; }
.m-or::before, .m-or::after{ content:""; position:absolute; top:50%; width:32%; height:1px; background:var(--line); }
.m-or::before{ right:0 } .m-or::after{ left:0 }
.m-form{ display:flex; flex-direction:column; gap:12px; }
.m-form label{ font-size:14px; font-weight:600; color:var(--ink); margin-bottom:-6px; }
.m-form input{
  width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:12px;
  font-family:"Assistant",sans-serif; font-size:16px; background:var(--bg); color:var(--ink);
  min-height:48px;
}
.m-form input:focus-visible{ outline:2px solid var(--magenta); border-color:var(--magenta); }
.m-form button{ margin-top:6px; justify-content:center; }
.m-colornote{ font-size:13.5px; color:var(--muted); line-height:1.6; background:var(--bg2); border:1px solid var(--line); border-radius:12px; padding:10px 14px; margin-bottom:16px; text-align:center; }
.m-note{ text-align:center; font-size:13px; color:var(--muted); margin-top:12px; }

/* טאב הסינון והפאנל שלו - פעילים רק בנייד. בדסקטופ הסינון תמיד פתוח inline */
.cat-tab, .cat-tabpanel, .cat-tab-backdrop{ display:none; }

@media (max-width:600px){
  .cat-toolbar{ top:0; padding:12px 0; }
  .filter-label{ min-width:100%; margin-bottom:-4px; }
  .cat-grid{ grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:16px; }
  .cat-body{ padding:14px; }

  /* ===== סינון בנייד: inline מלא בראש, מתחלף בטאב fixed בגלילה =====
     הסינון המלא בזרימה רגילה (לא דביק) -> נגלל טבעית, אפס קפיצה.
     הטאב והפאנל הם שכבות fixed -> לא משנים פריסה, אפס קפיצה. */
  .cat-toolbar{ position:static; top:auto; padding:16px 0; }

  /* הטאב הקומפקטי - fixed מתחת ל-nav (--navh נמדד ב-JS), מחליק פנימה כשגוללים */
  .cat-tab{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    position:fixed; top:var(--navh, 64px); inset-inline:0; width:100%; z-index:95;
    padding:13px 22px; border:none; border-bottom:1px solid var(--line);
    background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(10px);
    box-shadow:0 8px 20px -14px var(--shadow-warm); cursor:pointer;
    font-family:"Assistant",sans-serif; font-weight:700; font-size:15.5px; color:var(--ink);
    transform:translateY(-120%); transition:transform .38s var(--ease);
  }
  .cat-tab.is-visible{ transform:translateY(0); }
  .cat-tab .cft-main{ display:flex; align-items:center; gap:9px; }
  .cat-tab .cft-main svg{ width:19px; height:19px; color:var(--magenta-deep); }
  .cft-meta{ display:flex; align-items:center; gap:12px; color:var(--muted); font-weight:600; font-size:14px; }
  .cft-chev{
    width:9px; height:9px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
    transform:rotate(45deg); margin-top:-3px; transition:transform .28s var(--ease);
  }
  body.cat-panel-open .cft-chev{ transform:rotate(-135deg); margin-top:3px; }

  /* הפאנל שנפתח מהטאב - נשלף מלמעלה מתחת לטאב, שכבת overlay */
  .cat-tabpanel{
    display:block; position:fixed; top:var(--navh, 64px); inset-inline:0; z-index:94;
    background:var(--bg); padding:62px 20px 22px; max-height:84vh; overflow-y:auto;
    box-shadow:0 26px 50px -20px rgba(74,50,38,.45); border-radius:0 0 22px 22px;
    transform:translateY(-140%); transition:transform .4s var(--ease);
  }
  body.cat-panel-open .cat-tabpanel{ transform:translateY(0); }
  .cat-tabpanel-head{
    text-align:center; font-family:"Bellefair",Georgia,serif; font-size:22px; color:var(--ink); margin-bottom:14px;
  }
  .cat-tabpanel .cat-toolbar-foot{ margin-top:14px; }
  .cat-tabpanel-apply{ display:flex; width:100%; justify-content:center; margin-top:18px; }

  /* רקע כהה מאחורי הפאנל */
  .cat-tab-backdrop{
    display:block; position:fixed; inset:0; z-index:90; background:rgba(74,50,38,.42);
    opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s;
  }
  body.cat-panel-open .cat-tab-backdrop{ opacity:1; visibility:visible; }
  body.cat-panel-open{ overflow:hidden; }
}

/* ================= בלוק תשובה ישירה (AEO) ================= */
.answer-block{ padding:66px 0 10px; }
.answer-block .wrap{ max-width:760px; text-align:center; }
.answer-block h2{ font-size:clamp(26px,3.6vw,36px); margin-bottom:14px; }
.answer-block p{ font-size:19px; line-height:1.85; color:var(--muted); }

/* ================= שאלות נפוצות ================= */
.faq{ background:var(--bg2); }
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:0 22px; transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open]{ border-color:var(--gold); box-shadow:0 18px 36px -26px var(--shadow-warm); }
.faq-item summary{
  list-style:none; cursor:pointer; padding:18px 0;
  font-weight:700; font-size:17.5px; color:var(--ink);
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
/* גבול פיזי (לא inline-end) כדי שהחץ יצביע למטה גם ב-RTL */
.faq-item summary::after{
  content:""; flex-shrink:0; width:10px; height:10px;
  border-right:2px solid var(--magenta); border-bottom:2px solid var(--magenta);
  transform:rotate(45deg); margin-top:-4px; transition:transform .25s var(--ease);
}
.faq-item[open] summary::after{ transform:rotate(-135deg); margin-top:3px; }
.faq-item p{ margin:0; padding:0 0 20px; color:var(--muted); font-size:16.5px; line-height:1.8; }
@media (max-width:600px){
  .faq-item{ padding:0 18px; }
  .faq-item summary{ font-size:16.5px; }
  .answer-block p{ font-size:17.5px; }
}

/* cta band */
.band{ background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line); text-align:center; }
.band .inner{
  max-width:720px; margin:0 auto; background:linear-gradient(150deg, #fff, var(--bg2));
  border:1px solid var(--gold); border-radius:var(--radius-lg); padding:56px 40px;
  box-shadow:0 30px 60px -30px var(--shadow-warm);
}
.band .eyebrow{ font-size:26px; margin-bottom:6px; }
.band h2{ font-size:clamp(26px,3.6vw,38px); margin-bottom:14px; }
.band p{ color:var(--muted); margin-bottom:22px; font-size:18.5px; }
.band .band-note{ font-family:"HandHeb",cursive; font-size:21px; line-height:1.4; color:var(--magenta-deep); margin:18px 0 0; }

/* טופס ליד בעמוד הבית (בתוך .band) - נשלח ל-CRM דרך js/leads.js */
.lead-form{ max-width:440px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.lead-fields{ display:flex; gap:10px; }
.lead-fields input{
  flex:1; min-width:0; padding:13px 15px; border:1px solid var(--line); border-radius:12px;
  font-family:"Assistant",sans-serif; font-size:16px; background:var(--bg); color:var(--ink); min-height:50px;
}
.lead-fields input:focus-visible{ outline:2px solid var(--magenta); border-color:var(--magenta); }
.lead-form button[type="submit"]{ justify-content:center; width:100%; }
.lead-status{ min-height:18px; font-size:14.5px; color:var(--magenta-deep); margin:0; }
.lead-thanks{ font-family:"Bellefair",Georgia,serif; font-size:23px; color:var(--magenta-deep); padding:16px; }
.lead-or{ display:flex; align-items:center; gap:12px; max-width:440px; margin:18px auto 14px; color:var(--muted); font-size:14.5px; }
.lead-or::before, .lead-or::after{ content:""; height:1px; flex:1; background:var(--line); }
.lead-wa{ display:inline-flex; }
@media (max-width:480px){ .lead-fields{ flex-direction:column; } }

/* footer */
footer{ background:var(--bg); padding:48px 0 34px; text-align:center; color:var(--muted); font-size:15.5px; }
footer .f-logo{ height:104px; width:104px; border-radius:50%; margin:0 auto 16px; box-shadow:0 8px 24px -10px var(--shadow-warm); }
footer .f-links{ display:flex; justify-content:center; gap:22px; margin:18px 0; flex-wrap:wrap; }
footer .f-links a{ display:flex; align-items:center; gap:7px; font-weight:600; color:var(--ink); }
footer .f-links svg{ width:19px; height:19px; color:var(--magenta-deep); }
footer .f-legal{ margin-top:18px; display:flex; justify-content:center; gap:18px; flex-wrap:wrap; font-size:14px; }
footer .f-legal a{ text-decoration:underline; text-underline-offset:3px; }

/* ================= responsive ================= */
@media (max-width:860px){
  .hero .wrap{ grid-template-columns:1fr; gap:36px; padding-top:40px; }
  .why{ grid-template-columns:1fr; }
  .float-badge{ inset-inline-end:14px; }
  section{ padding:56px 0; }
}
@media (max-width:480px){
  .wrap{ padding-inline:18px; }
  .marquee-item{ width:170px; }
  /* כתב היד באודות - להתאים לרוחב הנייד בלי לגלוש מהמסך */
  .about-intro .about-name{ font-size:38px; letter-spacing:-.5px; }
  .about-intro .about-lead{ font-size:22px; line-height:1.55; }
}

/* ===== פתיחה קולנועית (index.html בלבד) =====
   html.intro-on = השכבה מוצגת + גלילה נעולה + אנימציות העמוד מושהות עד הסיום.
   html.intro-leaving = ה-fade החוצה (השכבה עדיין על המסך, העמוד כבר חי מתחתיה). */
.intro{ display:none; }
html.intro-on, html.intro-leaving{ scroll-behavior:auto; }
html.intro-on{ overflow:hidden; }
html.intro-on .intro, html.intro-leaving .intro{
  display:block; position:fixed; inset:0; z-index:9999; background:var(--bg); overflow:hidden;
  transition:opacity 1s cubic-bezier(.4,0,.2,1) .15s, transform 1.15s cubic-bezier(.22,.61,.36,1), visibility 0s linear 1.15s;
}
/* המעבר ל"וואו": בועה. ה-hero עולה מעל השכבה ונפתח כעיגול שגדל מנקודת הנחיתה של הזום (קו השיער),
   בזמן שהסרטון מאחוריו ממשיך להתקרב ולהתרחב. רק clip-path, transform ו-opacity - בלי פילטרים. */
html.intro-leaving .intro{ opacity:0; transform:scale(1.22); visibility:hidden; pointer-events:none; }
html.intro-done .hero{
  position:relative; z-index:10000;
  animation:introBubble 1.05s cubic-bezier(.22,.61,.36,1) both; transform-origin:50% 35%;
}
html.intro-done .nav{ animation:introNav .5s ease-out .45s both; }
@keyframes introBubble{
  from{ clip-path:circle(0% at 50% 35%); -webkit-clip-path:circle(0% at 50% 35%); transform:scale(1.07); }
  to{   clip-path:circle(150% at 50% 35%); -webkit-clip-path:circle(150% at 50% 35%); transform:none; }
}
@keyframes introNav{ from{ opacity:0; } to{ opacity:1; } }
/* ממתינים לנתונים: הפס מהבהב כדי שהפתיחה לא תיראה קפואה בחיבור איטי */
.intro.is-waiting .intro-bar{ background:var(--blush); animation:introPulse .9s ease-in-out infinite alternate; }
@keyframes introPulse{ from{ opacity:.35; } to{ opacity:1; } }
html.intro-on .nav *, html.intro-on .hero *, html.intro-on .hero *::before, html.intro-on .hero *::after{ animation-play-state:paused !important; }

/* מחשב/טאבלט: דיוקן אנכי במרכז + טשטוש רך של אותו וידאו ברקע. נייד: וידאו על כל המסך */
/* הרקע הוא סרטון זעיר שאפוי מראש (assets/intro/intro-bg.mp4) והדפדפן רק מותח אותו. פילטר blur חי על וידאו מלא-מסך הפיל ~80% מהפריימים */
.intro-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.85; }
.intro-fg{ position:absolute; top:0; bottom:0; left:50%; height:100%; aspect-ratio:9/16; transform:translateX(-50%); object-fit:cover; background:var(--blush); box-shadow:0 0 90px rgba(74,50,38,.28); }
@media (max-aspect-ratio: 9/16){
  .intro-bg{ display:none; }
  .intro-fg{ left:0; width:100%; height:100%; aspect-ratio:auto; transform:none; box-shadow:none; }
}

.intro-bar{ position:absolute; left:0; right:0; bottom:0; height:3px; background:rgba(255,255,255,.35); }
.intro-bar i{ display:block; height:100%; width:100%; background:var(--magenta); transform:scaleX(0); transform-origin:right center; }
.intro.is-running .intro-bar i{ animation:introBar linear forwards; }
@keyframes introBar{ to{ transform:scaleX(1); } }

.intro-skip{
  position:absolute; top:max(14px, env(safe-area-inset-top)); left:14px; z-index:2; border:0; cursor:pointer;
  min-height:44px; padding:0 18px; border-radius:999px; background:rgba(255,253,250,.8); color:var(--ink);
  font:600 14px/1 "Assistant",sans-serif; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.intro-skip:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){ .intro{ display:none !important; } }
