/* home-nav.css — header + menu of the homepage (he + en), approved design 30.11.2026.
   Loaded after b.css / c.css / site.css. Over the hero only the burger is shown; on scroll the existing cream bar
   carries only the name and the burger; the burger opens a menu sheet (#nv-menu, home-nav.js).
   Hebrew: burger at the top LEFT (inline-end), name on the right. English: mirrored by the logical properties. */

/* ── the bar ── */
.nv .b-header__in{justify-content:space-between;gap:16px}
.nv .b-nav,.nv .b-tools,.nv .b-lang{display:none!important}
.nv .b-mark{order:0}
/* the burger: always shown, at the inline-end corner */
.c-page .nv .nv-btn{display:inline-grid!important;order:1;place-items:center;width:48px;height:48px;margin-inline-start:auto;margin-inline-end:-12px;border-radius:50%;color:inherit;transition:background-color .25s,color .35s var(--ease)}
.nv .nv-btn span,.nv .nv-btn span::before,.nv .nv-btn span::after{width:24px;height:2px;border-radius:2px}
.nv .nv-btn span::before{top:-7px}.nv .nv-btn span::after{top:7px}
@media (hover:hover) and (pointer:fine){.nv .nv-btn:hover{background:rgba(240,146,58,.16)}}
/* over the hero: no bar at all, only the burger (the corner of the photo is background, the figure is never covered) */
.nv:not(.is-solid){background:none;box-shadow:none}
.c-page .nv:not(.is-solid) .b-mark{display:inline-flex;opacity:0;visibility:hidden}
/* on scroll: the existing cream bar, now only the name and the burger */
.nv.is-solid{color:var(--ink)}

/* ── the open menu ── */
.nv-menu{position:fixed;inset:0;z-index:60;--focus:var(--amber)}
.nv-menu[hidden]{display:none}
.nv-scrim{position:absolute;inset:0;background:rgba(10,10,12,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .35s var(--ease)}
/* the sheet opens from the burger's side: left in Hebrew, right in English */
.nv-sheet{position:absolute;top:0;bottom:0;inset-inline-end:0;width:min(440px,100%);display:flex;flex-direction:column;overflow-y:auto;
  padding:0 var(--nv-pad,clamp(40px,5vw,72px)) clamp(32px,4vh,48px);
  background:radial-gradient(70% 45% at 0% 0%,rgba(240,146,58,.12),transparent 70%),#141518;color:var(--on-ink);
  box-shadow:0 0 60px rgba(0,0,0,.35);transform:translateX(var(--nv-from,-100%));transition:transform .45s var(--ease)}
:lang(en) .nv-sheet{--nv-from:100%;background:radial-gradient(70% 45% at 100% 0%,rgba(240,146,58,.12),transparent 70%),#141518}
.nv-menu.is-in .nv-scrim{opacity:1}
.nv-menu.is-in .nv-sheet{transform:none}

/* top row: the language on the start side, the close button exactly where the burger was */
.nv-top{flex:none;display:flex;align-items:center;justify-content:space-between;height:var(--header-h)}
.nv-close{display:grid;place-items:center;width:48px;height:48px;margin-inline-end:-12px;border-radius:50%;color:var(--on-ink);transition:background-color .25s}
.nv-close svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none}
@media (hover:hover) and (pointer:fine){.nv-close:hover{background:rgba(240,146,58,.16)}}
.nv-lang{font-size:.9375rem;font-weight:500;letter-spacing:.04em;text-decoration:none;color:var(--on-ink-muted);padding:8px 0;border-bottom:1px solid transparent;transition:color .25s,border-color .25s}
@media (hover:hover) and (pointer:fine){.nv-lang:hover{color:var(--on-ink);border-bottom-color:var(--amber)}}

/* the links: large, quiet, an amber line on hover / focus */
.nv-nav{margin-top:clamp(28px,6vh,64px);display:flex;flex-direction:column}
.nv-nav a{position:relative;display:block;padding:clamp(10px,1.6vh,16px) 0;font-size:clamp(1.75rem,2.3vw,2.25rem);line-height:1.15;font-weight:700;letter-spacing:-.02em;text-decoration:none;color:var(--on-ink);transition:color .25s}
.nv-nav a::after{content:'';position:absolute;inset-inline-start:0;bottom:clamp(6px,1.1vh,10px);width:40px;height:2px;background:var(--amber);transform:scaleX(0);transform-origin:var(--origin,right);transition:transform .35s var(--ease)}
:lang(en) .nv-nav a::after{--origin:left}
.nv-nav a:focus-visible::after{transform:scaleX(1)}
@media (hover:hover) and (pointer:fine){.nv-nav a:hover{color:#fff}.nv-nav a:hover::after{transform:scaleX(1)}}

/* contact + social, at the foot of the sheet */
/* desktop: contact follows the links at a fixed, moderate distance */
.nv-foot{margin-top:clamp(40px,6vh,56px)}
.nv-label{margin:0 0 10px;font-size:.8125rem;font-weight:500;letter-spacing:.08em;color:var(--amber)}
.nv-contact{display:flex;flex-direction:column;border-top:1px solid var(--line-ink)}
.nv-contact a{display:flex;align-items:center;gap:14px;min-height:52px;border-bottom:1px solid var(--line-ink);font-size:1.0625rem;font-weight:500;text-decoration:none;color:var(--on-ink);transition:color .25s}
.nv-contact a>i{width:22px;font-size:19px;color:var(--amber);text-align:center}
.nv-contact .b-val{direction:ltr;unicode-bidi:isolate}
@media (hover:hover) and (pointer:fine){.nv-contact a:hover{color:var(--amber)}}
.nv-social{display:flex;gap:10px;margin-top:22px}
.nv-social a{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line-ink);border-radius:50%;font-size:19px;text-decoration:none;color:var(--on-ink);transition:background-color .25s,border-color .25s,color .25s}
@media (hover:hover) and (pointer:fine){.nv-social a:hover{background:var(--on-ink);border-color:var(--on-ink);color:var(--ink)}}

/* phones: the sheet takes the whole screen, the same composition */
@media (max-width:640px){
 .nv-sheet{width:100%;--nv-pad:var(--gutter)}
 .nv .b-mark__node{display:inline-block!important}
 .c-page .nv .b-mark{font-size:1rem;gap:10px}
 .nv-foot{margin-top:auto;padding-top:clamp(32px,5vh,56px)}
 .nv-nav{margin-top:24px}
 .nv-nav a{font-size:1.75rem;padding:11px 0}
}
@media (prefers-reduced-motion:reduce){.nv-scrim,.nv-sheet{transition:none}}
