/* לב של אבן: צבעים נלקחו מהאבן, האדמה והזית שבתמונות */

@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-hebrew-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("../fonts/heebo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193;
}

:root {
  --basalt: #17130f;
  --soil: #241d17;
  --lime: #f2ece1;
  --lime-deep: #e6dccb;
  --ink: #221b14;
  --ink-soft: #5d5244;
  --bone: #efe6d8;
  --bone-soft: #b9ac99;
  --ochre: #d3a15f;
  --ochre-deep: #875320;
  --line-dark: rgba(239, 230, 216, .16);
  --line-light: rgba(34, 27, 20, .16);
  --sans: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --section: clamp(5rem, 11vw, 10.5rem);
  --ease: cubic-bezier(.2, .7, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure, ul, ol, fieldset { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h2 {
  font: 300 clamp(2.1rem, 4.6vw, 4.25rem)/1.18 var(--sans);
  letter-spacing: -.005em;
  text-wrap: balance;
}
h3 { font: 400 clamp(1.8rem, 3.4vw, 3rem)/1.2 var(--sans); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.65; text-wrap: pretty; }

.eyebrow {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ochre-deep);
  margin-bottom: 1.25rem;
}
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: fixed; top: .5rem; right: .5rem; z-index: 100;
  padding: .6rem 1rem; background: var(--ochre); color: var(--basalt);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.5rem; padding: .7rem 1.75rem;
  font-weight: 500; text-decoration: none; border-radius: 999px;
  transition: background-color .3s, color .3s, transform .3s var(--ease), border-color .3s;
}
.btn--primary { background: var(--ochre); color: var(--basalt); }
.btn--primary:hover { background: #e2b576; transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(239, 230, 216, .35); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); }
.btn--wide { width: 100%; }

/* כפתור וואטסאפ: נראה כמו וואטסאפ, כדי שלא יתבלבל עם "קרא עוד" */
.wa-link {
  display: inline-flex; align-items: center; gap: .85rem;
  min-height: 3.5rem; padding: .45rem .6rem .45rem 1.25rem;
  border-radius: 999px; text-decoration: none;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(37, 211, 102, .45);
  box-shadow: 0 1px 0 rgba(34, 27, 20, .04), 0 10px 26px -18px rgba(18, 140, 126, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.wa-link__ico {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none;
  border-radius: 50%; background: #25d366; color: #fff;
}
.wa-link__ico .ico { width: 1.35rem; height: 1.35rem; }
.wa-link__txt { display: grid; line-height: 1.25; }
.wa-link__txt strong { font-weight: 500; font-size: 1rem; }
.wa-link__txt small { font-size: .82rem; color: var(--ink-soft); }
.wa-link__go { margin-inline-start: .35rem; font-size: 1.05rem; color: #128c7e; transition: transform .35s var(--ease); }
.wa-link:hover { transform: translateY(-2px); border-color: #25d366; box-shadow: 0 1px 0 rgba(34, 27, 20, .04), 0 16px 30px -16px rgba(18, 140, 126, .6); }
.wa-link:hover .wa-link__go { transform: translate(-3px, -3px); }
.wa-link:hover .wa-link__ico { animation: ping 1.2s var(--ease); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }

/* ---------- כותרת עליונה ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; text-decoration: none; }
.brand__mark { width: 2.7rem; height: 2.7rem; flex: none; color: var(--bone); overflow: visible; }
.brand__mark .stone { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease); }
.brand:hover .brand__mark .heart { transform: scale(1.08); }
.brand__text { display: grid; gap: .3rem; }
.brand__name { font: 500 1.3rem/1 var(--sans); }
.brand__tag { font-size: .72rem; line-height: 1; letter-spacing: .08em; color: var(--bone-soft); }
/* הרכבת הלוגו בטעינה: כל אבן נכנסת למקומה */
.js .brand__mark.is-build .stone { animation: lay .9s var(--ease) both; }
/* הנדבכים מונחים מלמטה למעלה, ואבן הלב נכנסת אחרונה */
.brand__mark .r4 { --dy: -14px; animation-delay: .15s !important; }
.brand__mark .r3 { --dy: -14px; animation-delay: .27s !important; }
.brand__mark .r2 { --dy: -14px; animation-delay: .39s !important; }
.brand__mark .r1 { --dy: -14px; animation-delay: .51s !important; }
.brand__mark .r0 { --dy: -14px; animation-delay: .63s !important; }
.brand__mark .heart { animation-name: drop !important; animation-delay: .85s !important; }
@keyframes lay { from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, -14px)); } }
@keyframes drop { from { opacity: 0; transform: scale(1.7); } }
.scrollbar {
  position: absolute; inset: auto 0 0 auto; height: 2px; width: 100%;
  background: linear-gradient(to left, var(--ochre), #e9c58f);
  transform-origin: right; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

.site-head {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.1rem var(--gutter);
  color: var(--bone);
  transition: background-color .4s, padding .4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(23, 19, 15, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-block: .7rem;
}
.site-nav { display: flex; gap: clamp(1.25rem, 2.6vw, 2.5rem); font-size: .975rem; }
.site-nav a { text-decoration: none; opacity: .82; transition: opacity .25s; }
.site-nav a:hover { opacity: 1; }
.head-cta {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  padding: .35rem 1.15rem; font-size: .95rem; font-weight: 500; text-decoration: none;
  border: 1px solid rgba(239, 230, 216, .32); border-radius: 999px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.head-cta:hover { background: var(--ochre); border-color: var(--ochre); color: var(--basalt); }

/* ---------- גיבור ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(6rem, 12vh, 8.5rem) var(--gutter) 0;
  background: radial-gradient(90% 70% at 18% 20%, #33281d 0%, var(--basalt) 70%);
  color: var(--bone);
  overflow: hidden;
}
.hero__text { position: relative; z-index: 2; align-self: center; padding-bottom: 2rem; }
.hero .eyebrow, .story .eyebrow, .contact .eyebrow { color: var(--ochre); }
.hero__eyebrow i {
  display: inline-block; width: 4px; height: 4px; margin: 0 .55em; vertical-align: .2em;
  background: currentColor; transform: rotate(45deg);
}
.hero__title {
  font: 300 clamp(3.4rem, 7.4vw, 8.5rem)/1.04 var(--sans);
  letter-spacing: -.012em;
}
.line { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.line > span { display: block; animation: rise 1.2s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .12s; }
.hero__sub { margin-top: clamp(1rem, 2.4vh, 1.75rem); font-size: clamp(1.2rem, 1.9vw, 1.65rem); font-weight: 300; animation: fade 1.2s .45s both; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: clamp(1.5rem, 4vh, 2.75rem); animation: fade 1.2s .6s both; }

.hero__arch {
  grid-column: 2; grid-row: 1 / 3;
  align-self: end;
  height: min(82svh, 58vw);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  animation: fade 1.4s .1s both;
}
.hero__arch img {
  width: 100%; height: calc(100% + 8vh); object-fit: cover; object-position: 50% 42%;
  translate: 0 calc(var(--py, 0) * -8vh);
  animation: settle 2.2s var(--ease) both;
}
.hero__meta {
  grid-column: 1; grid-row: 2; position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .25rem 2.25rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: .95rem; color: var(--bone-soft);
}

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.09); } to { transform: none; } }

/* ---------- הלב ---------- */
.heart { position: relative; height: 210vh; background: var(--lime); }
.heart__pin {
  position: sticky; top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  column-gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5rem, 9vh, 7rem) var(--gutter) 3rem;
}
.heart__copy { grid-column: 1; grid-row: 1; max-width: 36rem; }
.heart__copy h2 { margin-bottom: 1.75rem; }
.heart__copy p:last-child { margin-top: 1.1rem; color: var(--ink-soft); }
.heart__frame {
  grid-column: 2; grid-row: 1;
  justify-self: end;
  width: min(100%, calc((100svh - 9rem) * .75));
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--lime-deep);
}
.heart__zoom {
  position: relative; width: 100%; height: 100%;
  transform-origin: 52% 50%;
  transform: scale(var(--z, 1));
  will-change: transform;
}
.heart__zoom img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ידיים ---------- */
.hands { padding: var(--section) var(--gutter); background: var(--lime); }
.hands__statement {
  max-width: 62rem;
  font: 300 clamp(1.75rem, 3.5vw, 3.25rem)/1.36 var(--sans);
  text-wrap: pretty;
}
.hands__statement em { font-style: normal; color: var(--ochre-deep); }
.hands__row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.75rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}
.hands__row figure { overflow: hidden; }
.hands__row img, .hands__row video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }


/* ---------- שירותים ---------- */
.services { padding: 0 var(--gutter) var(--section); background: var(--lime); }
.section-head { max-width: 50rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head h2 + .lead { margin-top: 1.5rem; color: var(--ink-soft); }
.section-head--dark .lead { color: var(--bone-soft) !important; }

.service {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 5.5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line-light);
}
.service:nth-of-type(even) .service__img { order: 2; }
.service:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.service__img { overflow: hidden; aspect-ratio: 16 / 11; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.service:hover .service__img img { transform: scale(1.035); }
.service__n { display: block; margin-bottom: .5rem; font: 200 clamp(3.5rem, 6vw, 5.5rem)/1 var(--sans); color: transparent; -webkit-text-stroke: 1px var(--ochre-deep); font-variant-numeric: lining-nums; }
.service ul { margin: 1.25rem 0 1.75rem; }
.service li { padding: .55rem 0; border-bottom: 1px solid var(--line-light); }

/* ---------- סיפור פרויקט ---------- */
.story { padding: var(--section) var(--gutter); background: var(--basalt); color: var(--bone); }
.story .section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.story__stage {
  position: sticky; top: 6rem;
  grid-column: 2; grid-row: 1;
  justify-self: end;
  width: min(100%, calc((100svh - 8rem) * .75));
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soil);
}
.story__stage { display: block; color: var(--bone); text-decoration: none; }
.story__badge {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
  display: inline-flex; gap: .6rem; padding: .6rem 1.1rem; border-radius: 999px;
  background: rgba(23, 19, 15, .82); color: var(--bone); font-size: .95rem; font-weight: 500;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .3s, color .3s;
}
a:hover > .story__badge { background: var(--ochre); color: var(--basalt); }
.story__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.story__frame.is-on { opacity: 1; }
.story__frame img { width: 100%; height: 100%; object-fit: cover; }
.story__steps { grid-column: 1; grid-row: 1; }
.story__step {
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line-dark);
  opacity: .72;
  transition: opacity .5s;
}
.story__step.is-on { opacity: 1; }
.story__n { color: var(--ochre); font-size: .95rem; margin-bottom: .75rem; }
.story__step p { margin-top: 1rem; max-width: 26rem; font-size: 1.125rem; color: var(--bone-soft); }
.story__inline { display: none; position: relative; color: var(--bone); text-decoration: none; }

/* ---------- גלריה ---------- */
.work { padding: var(--section) var(--gutter); background: var(--lime); }
.work .section-head { max-width: none; margin-bottom: 2.25rem; }
.work .section-head .lead { max-width: 50rem; }
.h-line { display: block; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filter {
  min-height: 2.75rem; padding: .3rem 1.2rem; border-radius: 999px;
  border: 1px solid var(--line-light); font-size: .975rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2rem) clamp(.75rem, 1.6vw, 1.5rem); }
.tile { min-width: 0; }
.tile[hidden] { display: none; }
.tile__btn { display: block; width: 100%; overflow: hidden; cursor: zoom-in; background: var(--lime-deep); }
.tile__btn img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile__btn:hover img { transform: scale(1.035); }
.tile figcaption { padding-top: .55rem; font-size: .925rem; color: var(--ink-soft); }

/* ---------- יצירת קשר ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: var(--section) var(--gutter) 0;
  background: radial-gradient(90% 70% at 85% 15%, #33281d 0%, var(--basalt) 70%);
  color: var(--bone);
}
.contact__main { grid-column: 1; grid-row: 1; padding-bottom: var(--section); max-width: 46rem; }
.contact h2 { font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1.02; }
.contact .lead { margin-top: 1.5rem; color: var(--bone-soft); }
.contact__arch {
  grid-column: 2; grid-row: 1;
  align-self: end;
  aspect-ratio: 5 / 8;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}
.contact__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

.brief { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.brief legend, .field > span { display: block; margin-bottom: .75rem; font-size: .95rem; color: var(--bone-soft); }
.brief__types { display: flex; flex-wrap: wrap; gap: .5rem; }
.brief__types legend { float: right; width: 100%; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; min-height: 2.75rem; padding: .3rem 1.1rem;
  border: 1px solid rgba(239, 230, 216, .28); border-radius: 999px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip span:hover { border-color: var(--bone); }
.chip input:checked + span { background: var(--bone); border-color: var(--bone); color: var(--basalt); }
.chip input:focus-visible + span { outline: 2px solid var(--ochre); outline-offset: 3px; }
.brief__fields { display: grid; grid-template-columns: 1fr 2fr; gap: 1.25rem; margin: 1.75rem 0; }
.field input, .field textarea {
  width: 100%; min-height: 3rem; padding: .55rem 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(239, 230, 216, .35);
  border-radius: 0; resize: vertical; font-size: 1.0625rem;
}
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--ochre); }
.field ::placeholder { color: rgba(185, 172, 153, .75); }
.brief__note { margin-top: .85rem; font-size: .875rem; color: var(--bone-soft); }

.contact__direct {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2.25rem, 4vw, 3.25rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.contact__label { display: block; font-size: .9rem; color: var(--bone-soft); }
.contact__direct strong { font: 400 1.5rem/1.3 var(--sans); }
.contact__phone {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem;
  font: 400 clamp(1.6rem, 3vw, 2.25rem)/1 var(--sans);
  font-variant-numeric: lining-nums; text-decoration: none; color: var(--ochre);
}
.contact__phone:hover { color: #e2b576; }

/* ---------- תחתית ---------- */
.site-foot {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.5rem;
  padding: 2rem var(--gutter);
  background: var(--basalt); color: var(--bone-soft);
  border-top: 1px solid var(--line-dark);
  font-size: .95rem;
}
.site-foot .brand { color: var(--bone); }
.site-foot .brand__mark { width: 2rem; height: 2rem; }
.site-foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.75rem; }
.site-foot__meta a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }

/* ---------- סרגל נייד ---------- */
.dock { display: none; }

/* ---------- לייטבוקס ---------- */
.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(15, 12, 9, .97); color: var(--bone);
}
.lb[open] { display: grid; place-items: center; animation: fade .3s both; }
.lb::backdrop { background: transparent; }
.lb__fig { display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: 4.25rem 1rem 1.25rem; height: 100%; width: 100%; justify-content: center; }
.lb__fig img { max-width: min(100%, 1400px); max-height: calc(100dvh - 8.5rem); width: auto; height: auto; min-height: 0; }
.lb__fig figcaption { font-size: .975rem; color: var(--bone-soft); text-align: center; }
.lb__close, .lb__nav {
  position: absolute; z-index: 2; width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center; font-size: 1.5rem; border-radius: 50%;
  background: rgba(239, 230, 216, .08); transition: background-color .25s;
}
.lb__close:hover, .lb__nav:hover { background: rgba(239, 230, 216, .2); }
.lb__close { top: .75rem; left: .75rem; font-size: 1.9rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { right: .75rem; }
.lb__nav--next { left: .75rem; }

/* ---------- דף התקדמות ---------- */
.is-locked, .is-locked body { overflow: hidden; }
.progress {
  --slide-w: min(84vw, calc((100svh - 15rem) * .75));
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--basalt); color: var(--bone);
}
.progress[hidden] { display: none; }
.progress__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.1rem var(--gutter) .75rem;
}
.progress__head .eyebrow { margin-bottom: .15rem; color: var(--ochre); }
.progress__head h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.progress__close {
  flex: none; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem;
  padding: .35rem 1.1rem; border: 1px solid rgba(239, 230, 216, .32); border-radius: 999px;
  text-decoration: none; font-size: .95rem; transition: background-color .3s, color .3s, border-color .3s;
}
.progress__close:hover { background: var(--bone); border-color: var(--bone); color: var(--basalt); }
.progress__track {
  flex: 1; min-height: 0;
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem);
  padding-inline: calc(50% - var(--slide-w) / 2);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab; outline-offset: -4px;
}
.progress__track::-webkit-scrollbar { display: none; }
.progress__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slide { flex: 0 0 var(--slide-w); scroll-snap-align: center; opacity: .38; transition: opacity .45s; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--soil); -webkit-user-drag: none; }
.slide figcaption { display: flex; gap: .85rem; padding-top: .6rem; font-size: 1rem; }
.slide__n { color: var(--ochre); font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; }
.progress__foot {
  display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 3vw, 2rem);
  padding: .6rem var(--gutter) calc(.85rem + env(safe-area-inset-bottom));
}
.progress__nav {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.25rem;
  border: 1px solid rgba(239, 230, 216, .32); border-radius: 50%; transition: background-color .25s, color .25s, opacity .25s;
}
.progress__nav:hover:not(:disabled) { background: var(--bone); color: var(--basalt); }
.progress__nav:disabled { opacity: .3; cursor: default; }
.progress__dots { display: flex; }
.progress__dot { width: clamp(1.4rem, 5vw, 2.75rem); height: 2.75rem; display: grid; place-items: center; }
.progress__dot::before { content: ""; width: calc(100% - 4px); height: 3px; background: rgba(239, 230, 216, .25); transition: background-color .3s; }
.progress__dot.is-done::before { background: var(--ochre); }

/* ---------- סרט מילים ---------- */
.marquee { overflow: hidden; background: var(--lime); border-block: 1px solid var(--line-light); padding-block: clamp(1rem, 2.2vw, 1.6rem); margin-bottom: var(--section); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__row { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); padding-inline-end: clamp(1.5rem, 3vw, 2.75rem); }
.marquee__row span { font: 300 clamp(1.6rem, 3.6vw, 3rem)/1 var(--sans); white-space: nowrap; color: var(--ink); }
.marquee__row span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--ink-soft); }
.marquee__mark { width: clamp(1.3rem, 2.4vw, 2rem); height: clamp(1.3rem, 2.4vw, 2rem); flex: none; color: var(--ink); --heart-c: var(--ochre-deep); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- ספסלי אבן ---------- */
.benches {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem);
  padding: var(--section) var(--gutter);
  background: var(--lime-deep);
}
.benches__head { position: sticky; top: 7rem; align-self: start; }
.benches__head .lead { margin: 1.5rem 0 2rem; color: var(--ink-soft); }
.benches h2 { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.05; }
.benches__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.5rem); align-items: start; }
.bench { overflow: hidden; }
.bench img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.4s var(--ease); }
.bench:hover img { transform: scale(1.04); }
.bench figcaption { padding-top: .55rem; font-size: .925rem; color: var(--ink-soft); }
.bench--a { grid-column: 1 / -1; }
.bench--a img { aspect-ratio: 16 / 8; }
.bench--d img { object-position: 50% 62%; }

/* ---------- חותם מסתובב ליד "מתכננים פרויקט?" ---------- */
.contact__title { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.seal { position: relative; flex: none; width: clamp(6.5rem, 9vw, 8.5rem); aspect-ratio: 1; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.seal__mark { width: 36%; height: 36%; color: var(--bone); }
@keyframes spin { to { transform: rotate(-360deg); } }

/* ---------- פתיח ---------- */
.intro { display: none; }
.js .intro.is-on {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 1.25rem;
  background: var(--basalt); color: var(--bone);
  animation: lift .9s 1.4s var(--ease) both;
}
.intro__mark { width: clamp(6.5rem, 14vw, 9rem); overflow: visible; }
.intro__mark .stone { transform-box: fill-box; transform-origin: center; animation: lay .8s var(--ease) both; }
.intro__mark .r4 { --dy: -36px; animation-delay: .05s; }
.intro__mark .r3 { --dy: -36px; animation-delay: .17s; }
.intro__mark .r2 { --dy: -36px; animation-delay: .29s; }
.intro__mark .r1 { --dy: -36px; animation-delay: .41s; }
.intro__mark .r0 { --dy: -36px; animation-delay: .53s; }
.intro__mark .heart { animation-name: drop; animation-delay: .75s; }
.intro__name { font: 300 clamp(1.6rem, 3vw, 2.2rem)/1 var(--sans); letter-spacing: .04em; animation: fade .8s .8s both; }
@keyframes lift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.intro { clip-path: inset(0); }

/* ---------- חשיפות ---------- */
.js .clip video, .js .clip img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease); }
.js .clip.is-in img, .js .clip.is-in video { clip-path: inset(0 0 0 0); transform: none; }
.js .bench.clip.is-in:hover img, .js .service:hover .service__img.is-in img { transform: scale(1.04); }
[data-words] .w { transition: opacity .35s linear, color .35s linear; opacity: .18; }
[data-words] .w.on { opacity: 1; }
.js .tile.is-pop { animation: pop .7s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }


/* ---------- שכבת גרעין עדינה, כמו נייר או אבן ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- כותרת שנעלמת בגלילה למטה וחוזרת למעלה ---------- */
.site-head { transition: background-color .4s, padding .4s var(--ease), transform .45s var(--ease); }
.site-head.is-hidden { transform: translateY(-105%); }

/* ---------- רמז גלילה בפתיחה ---------- */
.hero__cue {
  position: absolute; z-index: 2; bottom: 1.4rem; left: 50%; translate: -50% 0;
  display: grid; justify-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .12em; color: var(--bone-soft); text-decoration: none;
  animation: fade 1s 1.4s both;
}
.hero__cue i { display: block; width: 1px; height: 2.75rem; background: linear-gradient(var(--ochre), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- קו קטן שנמתח לפני כל כותרת משנה ---------- */
.eyebrow { display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; flex: none; transform-origin: right; }
.js .reveal .eyebrow::before { transform: scaleX(0); transition: transform 1.1s .25s var(--ease); }
.js .reveal.is-in .eyebrow::before { transform: none; }
.hero__eyebrow::before { display: none; }

/* ---------- גלריה: שכבת ריחוף עם סימן הגדלה ---------- */
.tile__btn { position: relative; }
.tile__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 19, 15, .45), transparent 55%); opacity: 0; transition: opacity .45s; }
.tile__zoom {
  position: absolute; z-index: 1; bottom: 1rem; left: 1rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--bone); color: var(--ink); font-size: 1.4rem; line-height: 1;
  opacity: 0; transform: translateY(8px) scale(.8); transition: opacity .35s, transform .45s var(--ease);
}
.tile__btn:hover::after, .tile__btn:focus-visible::after { opacity: 1; }
.tile__btn:hover .tile__zoom, .tile__btn:focus-visible .tile__zoom { opacity: 1; transform: none; }

/* ---------- לייטבוקס: מונה ומעבר רך ---------- */
.lb__fig figcaption { display: flex; gap: 1rem; justify-content: center; align-items: baseline; }
.lb__count { color: var(--ochre); font-variant-numeric: tabular-nums; direction: ltr; }
.lb__fig img { transition: opacity .3s; }
.lb__fig img.is-swap { opacity: 0; }

/* ---------- סיפור: מונה שלבים על התמונה ---------- */
.story__count {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: block; padding: .5rem .85rem .6rem; border-radius: .5rem; line-height: 1.4;
  background: rgba(23, 19, 15, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .85rem; color: var(--bone-soft); direction: ltr; text-align: right;
}
.story__count b { font-weight: 500; color: var(--bone); }
.story__count > i { display: block; width: 5.5rem; height: 2px; margin-top: .4rem; background: rgba(239, 230, 216, .2); }
.story__count > i > i { display: block; height: 100%; width: 25%; background: var(--ochre); transition: width .6s var(--ease); }

/* ---------- סיום: שם העסק בגדול ---------- */
.site-foot { display: block; padding: 0; }
.finale {
  display: grid; justify-items: center; gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(4.5rem, 10vw, 8rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line-dark); text-align: center;
}
.finale__mark { width: clamp(4rem, 7vw, 6rem); height: auto; aspect-ratio: 1; color: var(--bone); }
.finale__word { font: 200 clamp(4rem, 16vw, 15rem)/.95 var(--sans); letter-spacing: -.02em; color: var(--bone); }
.finale__word .ch { display: inline-block; }
.js .finale__word .ch { opacity: 0; transform: translateY(.35em); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .finale.is-in .finale__word .ch { opacity: 1; transform: none; }
.site-foot__row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2.5rem;
  padding: 2rem var(--gutter);
}

/* ---------- סמן מותאם במחשב ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor {
    display: grid; place-items: center; position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
    width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem; border-radius: 50%;
    border: 1px solid rgba(211, 161, 95, .8); color: var(--basalt); font-size: .78rem; font-weight: 500;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s;
    opacity: 0;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-link { width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem; background: rgba(211, 161, 95, .14); }
  .cursor.is-view { width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; background: var(--bone); border-color: var(--bone); }
  .cursor span { opacity: 0; transition: opacity .2s; }
  .cursor.is-view span { opacity: 1; }
}

/* ---------- כניסה בגלילה ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- טאבלט ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { display: none; }
}

/* ---------- נייד ---------- */
@media (max-width: 899px) {
  body { padding-bottom: calc(4.1rem + env(safe-area-inset-bottom)); }
  .head-cta { display: none; }

  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 5.5rem; }
  .hero__text { align-self: stretch; padding-bottom: 2rem; }
  .hero__title { font-size: clamp(3.4rem, 16.5vw, 6.5rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__arch { order: 3; height: auto; aspect-ratio: 5 / 6; width: 100%; margin-inline: auto; }
  .hero__meta { order: 2; margin-bottom: 1.5rem; }

  .heart { height: auto; }
  .heart__pin { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 2.5rem; min-height: 0; padding: var(--section) var(--gutter) 0; }
  .heart__copy { order: 1; }
  .heart__frame { order: 2; width: 100%; }

  /* בטלפון: שורה אחת שגוללים הצידה, כל התמונות באותו גודל */
  .hands__row { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .hands__row::-webkit-scrollbar { display: none; }
  .hands__row figure { scroll-snap-align: center; }

  .service, .service:nth-of-type(even) { grid-template-columns: 1fr; }
  .benches { grid-template-columns: 1fr; }
  .benches__head { position: static; }
  .seal { width: 5.5rem; }
  .brand__tag { display: none; }
  .service:nth-of-type(even) .service__img { order: 0; }

  .story__grid { display: block; }
  .story__stage { display: none; }
  .story__step { min-height: 0; opacity: 1; padding-block: 0 2.75rem; border: 0; }
  .story__inline { display: block; margin-bottom: 1.25rem; }
  .story__inline img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

  .contact { display: flex; flex-direction: column; }
  .contact__main { padding-bottom: 3.5rem; order: 1; }
  .contact__arch { order: 2; width: 72%; margin-inline: auto; }
  .brief__fields { grid-template-columns: 1fr; }
  .site-foot__row { grid-template-columns: 1fr; }
  .hero__cue { display: none; }

  .dock {
    position: fixed; inset: auto 0 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.6fr; gap: .5rem;
    padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(23, 19, 15, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
    transition: transform .35s var(--ease);
  }
  .dock.is-away { transform: translateY(110%); }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3rem; border-radius: 999px; font-weight: 500; text-decoration: none;
  }
  .dock__call { color: var(--bone); border: 1px solid rgba(239, 230, 216, .3); }
  .dock__wa { background: var(--ochre); color: var(--basalt); }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .6rem; }
  .tile figcaption { font-size: .8rem; line-height: 1.4; }
  .tile__zoom { display: none; }
  .benches__grid { grid-template-columns: 1fr 1fr; }
  .bench--d { grid-column: 1 / -1; }
  .bench--a img { aspect-ratio: 4 / 3; }
  .wa-link { width: 100%; }
  /* מפנה מקום לתמונה במסך הפתיחה; הסרגל התחתון נשאר זמין */
  .hero__actions .btn--ghost { display: none; }
  .hero__meta { margin-bottom: 1rem; padding-block: .8rem; font-size: .9rem; }
}

/* גלילה לא מקובעת במסכים נמוכים */
@media (min-width: 900px) and (max-height: 640px) {
  .heart { height: auto; }
  .heart__pin { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .clip img, .js .clip video { clip-path: none; transform: none; }
  [data-words] .w { opacity: 1; }
  .js .intro.is-on { display: none; }
  .js .finale__word .ch { opacity: 1; transform: none; }
  .js .reveal .eyebrow::before { transform: none; }
  .heart { height: auto; }
  .heart__pin { position: static; }
}

@media print {
  .site-head, .dock, .lb, .intro, .seal, .marquee, .cursor, .hero__cue { display: none; }
  body::after { display: none; }
}

/* תנועה רכה לכפתורים המגנטיים */
.btn, .head-cta, .wa-link { transition-property: background-color, color, transform, border-color, box-shadow, translate; transition-duration: .3s, .3s, .35s, .3s, .35s, .45s; transition-timing-function: ease, ease, var(--ease), ease, var(--ease), var(--ease); }

/* ---------- ניווט מהיר: כפתור תפריט, לשונית צד ומגירה ---------- */
.menu-btn {
  display: none; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .35rem 1rem;
  border: 1px solid rgba(239, 230, 216, .32); border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--bone);
}
.menu-btn__lines { display: grid; gap: 5px; width: 18px; }
.menu-btn__lines i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }
.menu-btn__lines i:last-child { width: 70%; }

.side-tab {
  position: fixed; z-index: 44; left: 0; top: 50%;
  translate: -110% -50%; transition: translate .5s var(--ease), background-color .3s;
  writing-mode: vertical-rl;
  padding: 1.1rem .65rem; border-radius: 0 .75rem .75rem 0;
  background: var(--ochre); color: var(--basalt); font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  box-shadow: 0 10px 30px -12px rgba(23, 19, 15, .5);
}
.side-tab:hover { background: #e2b576; }
.has-scrolled .side-tab { translate: 0 -50%; }

.drawer {
  margin: 0; padding: 0; border: 0; max-width: none; max-height: none;
  width: 100vw; height: 100dvh; background: transparent; color: var(--bone);
}
.drawer::backdrop { background: rgba(15, 12, 9, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer[open] { display: block; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(26rem, 88vw);
  display: flex; flex-direction: column; gap: 2rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.25rem) calc(1.5rem + env(safe-area-inset-bottom));
  background: radial-gradient(120% 60% at 100% 0%, #33281d, var(--basalt) 70%);
  box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .6);
  overflow-y: auto;
}
.drawer[open] .drawer__panel { animation: drawer-in .55s var(--ease) both; }
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__brand { display: inline-flex; align-items: center; gap: .6rem; font: 500 1.2rem/1 var(--sans); }
.drawer__mark { width: 2.2rem; height: 2.2rem; color: var(--bone); }
.drawer__close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.8rem; border-radius: 50%; background: rgba(239, 230, 216, .08); transition: background-color .25s; }
.drawer__close:hover { background: rgba(239, 230, 216, .2); }
.drawer__nav { display: grid; }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; text-decoration: none;
  border-bottom: 1px solid var(--line-dark); font: 300 clamp(1.6rem, 4.5vw, 2.1rem)/1.2 var(--sans);
  transition: color .25s, padding .35s var(--ease);
}
.drawer__nav a b { font: 400 .8rem/1 var(--sans); color: var(--ochre); font-variant-numeric: tabular-nums; }
.drawer__nav a:hover, .drawer__nav a.is-here { color: var(--ochre); padding-inline-start: .5rem; }
.drawer[open] .drawer__nav a { animation: rise-in .6s var(--ease) both; }
.drawer[open] .drawer__nav a:nth-child(2) { animation-delay: .05s; }
.drawer[open] .drawer__nav a:nth-child(3) { animation-delay: .1s; }
.drawer[open] .drawer__nav a:nth-child(4) { animation-delay: .15s; }
.drawer[open] .drawer__nav a:nth-child(5) { animation-delay: .2s; }
.drawer[open] .drawer__nav a:nth-child(6) { animation-delay: .25s; }
@keyframes rise-in { from { opacity: 0; transform: translateX(-16px); } }
.drawer__foot { margin-top: auto; display: grid; gap: 1rem; justify-items: center; }
.drawer__phone { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; color: var(--ochre); text-decoration: none; font-size: 1.25rem; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
}
@media (max-width: 899px) {
  .side-tab { padding: .9rem .5rem; font-size: .82rem; top: 42%; }
}
@media print { .side-tab, .drawer, .menu-btn { display: none; } }

/* שורת "בעבודת כפיים" עם הסרטון: 2x2 בטאבלט */
@media (min-width: 900px) and (max-width: 1100px) { .hands__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
