/* ליאת שחר — בסיס משותף לכל אופציות ההירו */
@font-face { font-family: "Polin"; src: url("../assets/fonts/Polin-Thin.otf") format("opentype"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../assets/fonts/Polin-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Polin"; src: url("../assets/fonts/Polin-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Polin Condensed"; src: url("../assets/fonts/Polin-CondensedRegular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Polin Condensed"; src: url("../assets/fonts/Polin-CondensedBlack.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Eyal"; src: url("../assets/fonts/eyal.otf") format("opentype"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f7f5ef;
  --paper-2: #efece3;
  --ink: #1c1a19;
  --ink-soft: #4a4642;
  --pink: #e68590;
  --pink-deep: #d8616f;
  --yellow: #fcf493;
  --lime: #daf396;
  --pink-tint: #f8d7da;
  --yellow-tint: #fdf9c9;
  --lime-tint: #edf9cc;
  --hand: "Eyal", "Polin", sans-serif;
  --sans: "Polin", system-ui, sans-serif;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; /* clip ולא hidden: hidden הופך את body למיכל גלילה ושובר position: sticky */ -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- ניווט: מלבן מעוגל אחד שמכיל לוגו, קישורים וכפתור ---------- */
.nav {
  position: fixed; z-index: 50; top: 16px; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 8px; padding-inline-start: clamp(18px, 2vw, 30px);
  background: rgba(250, 248, 243, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(28, 26, 25, .06); border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(28, 26, 25, .28), 0 1px 0 rgba(255,255,255,.7) inset;
}
.nav__logo { display: block; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; font-size: 16px; }
.nav__links a { position: relative; padding: 6px clamp(14px, 1.8vw, 26px); }
.nav__links a + a { border-inline-start: 1px solid rgba(28, 26, 25, .16); } /* מפריד דק בין הקישורים, כמו ברפרנס */
.nav__links a::after {
  content: ""; position: absolute; inset: auto clamp(14px, 1.8vw, 26px) 0; height: 2px; border-radius: 2px;
  background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn { padding: 15px 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 16px; font-weight: 400; white-space: nowrap;
  transition: transform .35s var(--ease-spring), background .3s;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); background: #000; }
.nav .btn:hover { transform: translateY(-1px); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease-spring); }
.btn:hover .arr { transform: translateX(-4px); }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); place-items: center; }
.nav__menu span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav .btn { display: none; }
  .nav__menu { display: grid; }
  .nav { top: 12px; left: 12px; right: 12px; padding: 6px; padding-inline-start: 18px; }
  .nav__logo img { height: 26px; }
}

/* ---------- טקסט ההירו (משותף) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero__copy {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px; pointer-events: none;
}
.hero__copy > * { pointer-events: auto; }
.h-line { display: block; overflow: hidden; padding: 0 .12em; }
.h-line > span { display: inline-block; }
.hero__title { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
.hero__title .t-light { font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; }
.hero__title .t-bold {
  font-size: clamp(40px, 5vw, 78px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08;
  position: relative; margin-top: .06em;
}
.hero__sub { margin: 26px 0 0; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 680px; text-wrap: balance; }
.hero__cta { margin-top: 30px; }

.scroll-hint {
  position: absolute; z-index: 6; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: var(--hand); font-size: 22px; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.scroll-hint svg { width: 22px; height: 30px; animation: hint-bob 1.8s ease-in-out infinite; }
@keyframes hint-bob { 50% { transform: translateY(6px); } }

/* קטע המשך זמני — רק כדי שהגלילה תסתיים ונראה את היציאה מההירו */
.next-placeholder {
  min-height: 70vh; display: grid; place-items: center; text-align: center;
  background: var(--ink); color: var(--paper); padding: 80px 16px;
}
.next-placeholder p { font-family: var(--hand); font-size: clamp(26px, 3vw, 38px); margin: 0; }
.next-placeholder small { display: block; margin-top: 10px; opacity: .6; font-size: 15px; }

/* בורר אופציות צף */
.opt-switch {
  position: fixed; z-index: 60; left: 16px; bottom: 16px;
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,.12); font-size: 14px;
}
.opt-switch a { padding: 8px 14px; border-radius: 999px; }
.opt-switch a.is-on { background: var(--ink); color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
