/* ============================================================
   ניצן דורי — סטודיו לאתרים
   סקין: broadsheet עריכתי חם (קרם, דיו, hairline) — RTL
   ============================================================ */

/* ---------- פונטים (self-hosted, סאבסט עברית+לטינית) ---------- */
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/FrankRuhlLibre-400-hebrew.woff2) format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/FrankRuhlLibre-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/FrankRuhlLibre-700-hebrew.woff2) format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/FrankRuhlLibre-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/FrankRuhlLibre-900-hebrew.woff2) format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/FrankRuhlLibre-900-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexSansHebrew-400-hebrew.woff2) format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexSansHebrew-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/IBMPlexSansHebrew-600-hebrew.woff2) format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/IBMPlexSansHebrew-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* ---------- טוקנים ---------- */
:root {
  --paper: #f9f7f3;
  --bone: #ecebe7;
  --ink: #1c1a17;
  --muted: #70695f;
  --clay: #b4552d;
  --hairline: 1px solid var(--ink);
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans: "IBM Plex Sans Hebrew", -apple-system, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: contents;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

/* גרעין פילם עדין על כל הדף */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- טיפוגרפיה ---------- */
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.serif-i {
  font-weight: 400;
  font-style: italic;
}
.small {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- שלד ---------- */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
main {
  display: block;
}
section {
  padding-block: clamp(64px, 9vw, 140px);
}
.rule-top {
  border-top: var(--hairline);
}

/* ---------- skip link ---------- */
.skip {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 22px;
  border-radius: 4px;
  transform: translateY(-64px);
  transition: transform 0.2s;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.skip:focus {
  transform: none;
}

/* ---------- header ---------- */
header.site {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  /* tuck דרך top ולא transform — transform על ההורה שובר את ה-nav ה-fixed במובייל */
  transition:
    top 0.45s cubic-bezier(0.22, 0.8, 0.3, 1),
    background 0.3s,
    box-shadow 0.3s;
}
header.site.tuck {
  top: -96px;
}
header.site.solid {
  background: rgba(249, 247, 243, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 26, 23, 0.12);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark em {
  font-style: normal;
  color: var(--clay);
}
nav.main {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
nav.main a {
  text-decoration: none;
  font-size: 15px;
  padding: 4px 2px;
  position: relative;
}
nav.main a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 100%;
  height: 1px;
  background: var(--ink);
  transition: left 0.3s;
}
nav.main a:not(.btn):hover::after {
  left: 0;
}
.nav-toggle {
  display: none;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  padding: 13px 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: var(--hairline);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.18s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover {
  background: transparent;
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn svg {
  flex: none;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: 0;
}
.hero h1 {
  font-size: clamp(42px, 8.6vw, 118px);
  max-width: 100%;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.hero h1 .ln {
  display: block;
  overflow: hidden;
}
.hero h1 .ln > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
body.ready .hero h1 .ln > span {
  transform: none;
}
.hero h1 .ln:nth-child(2) > span {
  transition-delay: 0.12s;
}
.hero-sub {
  max-width: 34em;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.hero-fig {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: calc(-1 * clamp(64px, 9vw, 140px));
}
.hero-fig img {
  width: 100%;
  height: clamp(340px, 58vh, 640px);
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.hero-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform-origin: right;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}
body.ready .hero-fig::after {
  transform: scaleX(0);
}
body.ready .hero-fig img {
  transform: scale(1);
}
.hero-note {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(249, 247, 243, 0.92);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* פס אמון */
.trust {
  padding-block: 0;
}
.trust .in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 4vw, 54px);
  padding-block: 22px;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  font-size: 15px;
}
.trust .in span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.trust .in b {
  font-weight: 600;
}
.trust .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

/* ---------- הצהרה (serif) ---------- */
.statement p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.3;
  max-width: 22em;
}
.statement p b {
  font-weight: 700;
}
.statement p.who {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 26px;
}

/* ---------- reveals ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.rv2 {
  transition-delay: 0.12s;
}
.rv3 {
  transition-delay: 0.22s;
}

/* ---------- סקשן הדיו (scrub) ---------- */
.inkwrap {
  height: 240vh; /* מסך נעוץ + 1.4 מסכי גלילה — תקציב הגלילה */
  position: relative;
  padding: 0;
}
.ink-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #efe9dd;
}
.ink-sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ink-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 var(--gutter);
}
.ink-stage p {
  position: absolute;
  max-width: 15em;
  font-family: var(--serif);
  font-weight: 900;
  color: var(--ink);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.25;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s,
    transform 0.5s;
  text-shadow:
    0 0 26px rgba(239, 233, 221, 0.85),
    0 0 8px rgba(239, 233, 221, 0.9);
}
.ink-stage p.on {
  opacity: 1;
  transform: none;
}
.ink-hint {
  position: absolute;
  bottom: 26px;
  right: 0;
  left: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: opacity 0.4s;
}

/* ---------- עבודות ---------- */
.works h2,
.sec-head h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  margin-bottom: 10px;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.sec-head .small {
  margin-bottom: 10px;
}
.work-card {
  position: relative;
  text-decoration: none;
  display: block;
}
.work-card .shot {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(28, 26, 23, 0.14);
}
.work-card .shot img {
  width: 100%;
  transform: scale(1.001);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.work-card:hover .shot img {
  transform: scale(1.045);
}
.work-card .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
}
.work-card .meta h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}
.work-card .meta .small {
  white-space: nowrap;
}
.work-card .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--paper);
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.works .grid {
  align-items: start;
}
.wc-a {
  grid-column: 1/8;
}
.wc-b {
  grid-column: 8/13;
  margin-top: clamp(40px, 7vw, 110px);
}
.works .more {
  margin-top: clamp(28px, 4vw, 48px);
  color: var(--muted);
  max-width: 44em;
}

/* ---------- תהליך + צ'אט ---------- */
.process {
  background: var(--bone);
}
.process .grid {
  align-items: center;
}
.proc-txt {
  grid-column: 1/6;
}
.proc-phone {
  grid-column: 7/12;
}
.steps {
  list-style: none;
  margin-top: 30px;
  counter-reset: st;
}
.steps li {
  counter-increment: st;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid rgba(28, 26, 23, 0.16);
}
.steps li:first-child {
  border-top: 1px solid rgba(28, 26, 23, 0.16);
}
.steps li::before {
  content: counter(st, decimal);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  min-width: 1.4em;
  color: var(--clay);
}
.steps b {
  font-weight: 600;
}
.steps .small {
  display: block;
}
.phone {
  background: var(--ink);
  border-radius: 36px;
  padding: 12px;
  max-width: 390px;
  margin-inline: auto;
  box-shadow: 0 1px 2px rgba(28, 26, 23, 0.18);
}
.phone .scr {
  background: #e8e2d9;
  border-radius: 26px;
  padding: 52px 12px 18px;
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.phone .ptop {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 40px;
  background: #f6f2ea;
  border-radius: 26px 26px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
}
.phone .ptop .av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.bub {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 12px;
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity 0.45s,
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 1px 1px rgba(28, 26, 23, 0.08);
}
.bub.on {
  opacity: 1;
  transform: none;
}
.bub.me {
  background: #fff;
  margin-inline-end: auto;
  border-top-right-radius: 3px;
}
.bub.you {
  background: #d9efd3;
  margin-inline-start: auto;
  border-top-left-radius: 3px;
}
.bub .t {
  display: block;
  font-size: 11px;
  color: rgba(28, 26, 23, 0.45);
  margin-top: 3px;
  text-align: left;
}

/* ---------- מחיר ---------- */
.pricing .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  align-items: stretch;
}
.price-card {
  border: var(--hairline);
  border-radius: 8px;
  padding: clamp(26px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
}
.price-card.hot {
  background: var(--ink);
  color: var(--paper);
}
.price-card .num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
}
.price-card .num sub {
  font-size: 0.3em;
  font-weight: 600;
  font-family: var(--sans);
  vertical-align: baseline;
}
.price-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 15.5px;
}
.price-card ul li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.price-card ul li::before {
  content: "·";
  font-weight: 900;
  color: var(--clay);
}
.price-card.hot ul li::before {
  color: #e5a884;
}
.price-card .btn {
  margin-top: auto;
  justify-content: center;
}
.price-card.hot .btn {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}
.price-card.hot .btn:hover {
  background: transparent;
  color: var(--paper);
}
.pay-note {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
}

/* ---------- עליי ---------- */
.about .grid {
  align-items: center;
}
.about-fig {
  grid-column: 1/6;
  overflow: hidden;
  border-radius: 8px;
}
.about-fig img {
  width: 100%;
  height: clamp(320px, 46vw, 520px);
  object-fit: cover;
}
.about-txt {
  grid-column: 7/13;
}
.about-txt h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  margin-bottom: 18px;
}
.about-txt p {
  max-width: 36em;
  margin-bottom: 14px;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bone);
}
.faq .grid {
  align-items: start;
}
.faq-head {
  grid-column: 1/5;
  position: sticky;
  top: 110px;
}
.faq-list {
  grid-column: 5/13;
}
.faq details {
  border-bottom: 1px solid rgba(28, 26, 23, 0.2);
}
.faq details:first-of-type {
  border-top: 1px solid rgba(28, 26, 23, 0.2);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 2px;
  font-weight: 600;
  font-size: clamp(16.5px, 1.3vw, 19px);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .x {
  font-family: var(--serif);
  font-size: 24px;
  transition: transform 0.3s;
  flex: none;
  line-height: 1;
}
.faq details[open] summary .x {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 2px 22px;
  max-width: 46em;
  color: #4c463e;
}

/* ---------- CTA ענק ---------- */
.endcta {
  text-align: center;
}
.endcta h2 {
  font-size: clamp(38px, 7.4vw, 96px);
  max-width: 11em;
  margin-inline: auto;
  margin-bottom: 22px;
}
.endcta h2 .serif-i {
  color: var(--clay);
}
.endcta p {
  max-width: 30em;
  margin: 0 auto 34px;
  color: var(--muted);
}
.endcta .btn {
  font-size: 18px;
  padding: 17px 38px;
}
.endcta .alt {
  margin-top: 18px;
  font-size: 15px;
}
.endcta .alt a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
footer.site {
  border-top: var(--hairline);
  padding: 34px 0 44px;
  font-size: 14.5px;
}
footer.site .in {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: space-between;
  align-items: baseline;
  /* מרווח לכפתור הנגישות הצף בפינה השמאלית */
  padding-inline-end: 76px;
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
footer.site a {
  text-decoration: none;
}
footer.site a:hover {
  text-decoration: underline;
}
footer.site .fmark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 17px;
}

/* ---------- עמודי קייס ---------- */
.case-hero {
  padding-top: clamp(130px, 18vh, 190px);
}
.case-hero .eyebrow {
  margin-bottom: 14px;
}
.case-hero h1 {
  font-size: clamp(38px, 6.6vw, 92px);
  margin-bottom: 18px;
}
.case-hero .lead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--muted);
  max-width: 36em;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: var(--hairline);
  font-size: 15px;
}
.case-meta b {
  font-weight: 600;
}
.case-shot {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(28, 26, 23, 0.14);
}
/* קטעי הקולנוע של הקייסים כווידאו שעומד במקום וזז (3.9.26) */
.case-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ink);
}
.case-body h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 14px;
}
.case-body p {
  max-width: 44em;
  margin-bottom: 14px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.cg-a {
  grid-column: 1/9;
}
.cg-b {
  grid-column: 9/13;
}
.case-stats {
  display: grid;
  gap: 0;
  border-top: var(--hairline);
}
.case-stats div {
  padding: 16px 2px;
  border-bottom: 1px solid rgba(28, 26, 23, 0.16);
}
.case-stats .n {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
}
.case-cta {
  background: var(--bone);
  text-align: center;
}
.dark .case-shot {
  border-color: rgba(249, 247, 243, 0.2);
}

/* ---------- עמודי טקסט (תקנון/נגישות) ---------- */
.doc {
  padding-top: clamp(130px, 18vh, 180px);
  max-width: 820px;
}
.doc h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin-bottom: 8px;
}
.doc h2 {
  font-size: 22px;
  margin: 34px 0 10px;
}
.doc p,
.doc li {
  color: #4c463e;
  max-width: 60em;
}
.doc ul {
  padding-inline-start: 22px;
  display: grid;
  gap: 6px;
}
.doc .upd {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

/* ---------- ווידג'ט נגישות ---------- */
.a11y-btn {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(28, 26, 23, 0.35);
}
.a11y-panel {
  position: fixed;
  bottom: 74px;
  left: 18px;
  z-index: 150;
  background: var(--paper);
  border: var(--hairline);
  border-radius: 8px;
  padding: 16px;
  display: none;
  min-width: 210px;
  box-shadow: 0 2px 6px rgba(28, 26, 23, 0.18);
}
.a11y-panel.open {
  display: grid;
  gap: 8px;
}
.a11y-panel button {
  border: 1px solid rgba(28, 26, 23, 0.3);
  background: var(--paper);
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14.5px;
  text-align: right;
}
.a11y-panel button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
body.a11y-bigtext {
  font-size: 20px;
}
body.a11y-contrast {
  --paper: #fff;
  --bone: #f2f2f2;
  --muted: #333;
  --clay: #8a3312;
}
body.a11y-contrast .bub.you {
  background: #b9e0af;
}
body.a11y-links a {
  text-decoration: underline !important;
}
body.a11y-nomotion * {
  transition: none !important;
  animation: none !important;
}
body.a11y-nomotion .rv,
body.a11y-nomotion .bub {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .wc-a,
  .wc-b {
    grid-column: 1/13;
    margin-top: 0;
  }
  .proc-txt,
  .proc-phone {
    grid-column: 1/13;
  }
  .proc-phone {
    margin-top: 40px;
  }
  .about-fig,
  .about-txt {
    grid-column: 1/13;
  }
  .about-txt {
    margin-top: 30px;
  }
  .faq-head {
    grid-column: 1/13;
    position: static;
    margin-bottom: 20px;
  }
  .faq-list {
    grid-column: 1/13;
  }
  .cg-a,
  .cg-b {
    grid-column: 1/13;
  }
}
@media (max-width: 720px) {
  nav.main {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    font-size: 22px;
    transform: translateY(-102%);
    transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
  }
  nav.main.open {
    transform: none;
  }
  nav.main a {
    font-size: 22px;
  }
  .nav-toggle {
    display: block;
    z-index: 110;
    background: none;
    border: var(--hairline);
    border-radius: 4px;
    padding: 9px 18px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
    background: var(--paper);
  }
  .hero-fig img {
    height: 52vh;
  }
  .trust .in {
    gap: 8px 18px;
    font-size: 13.5px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .rv,
  .bub,
  .ink-stage p {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero h1 .ln > span {
    transform: none;
  }
  .hero-fig::after {
    display: none;
  }
  .hero-fig img {
    transform: none;
  }
  .inkwrap {
    height: auto;
  }
  .ink-sticky {
    position: static;
    height: auto;
    min-height: 60vh;
  }
  .ink-stage {
    position: static;
    display: grid;
    gap: 20px;
    padding: 40px var(--gutter);
  }
  .ink-stage p {
    position: static;
    opacity: 1;
    transform: none;
    text-shadow: none;
  }
  .ink-hint {
    display: none;
  }
}

/* ============================================================
   v3 — שני רצפים (פתיחה/סיום) + סקשנים גוללים
   ============================================================ */
.reel {
  position: relative;
  padding: 0; /* section גנרי מקבל padding-block — לרצף אסור רצועת נייר מעל */
  height: 240vh; /* מסך אחד נעוץ + 1.4 מסכי גלילה — תקציב הגלילה */
}
.reel-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #17140f;
}
.reel-poster,
.reel-poster img,
.reel-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reel-poster {
  display: contents;
}
.reel-poster img {
  object-fit: cover;
}
.reel-canvas {
  display: block;
  opacity: 0;
  transition: opacity 0.25s;
}
.reel.is-live .reel-canvas {
  opacity: 1;
}
.reel-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(23, 20, 15, 0.42), rgba(23, 20, 15, 0) 28%),
    linear-gradient(to top, rgba(23, 20, 15, 0.5), rgba(23, 20, 15, 0) 45%);
}
.reel-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(84px, 12vh, 120px) var(--gutter) clamp(56px, 9vh, 90px);
}
.reel-copy > * {
  width: min(880px, 100%);
}
/* scrim מקומי ומנוצה מתחת לטקסט בלבד — לא הכהיית הפריים כולו */
.reel-copy.center::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* נמדד על הפיקסלים: הקיר הבהיר מאחורי ה-h1 נתן 2.4:1 בלי זה.
     scrim מקומי ומנוצה, לא הכהיית הפריים — הפריים נשאר מואר בשוליים. */
  background: radial-gradient(
    ellipse 58% 56% at 50% var(--scrim-y, 50%),
    rgba(23, 20, 15, 0.8),
    rgba(23, 20, 15, 0.6) 48%,
    rgba(23, 20, 15, 0.22) 78%,
    rgba(23, 20, 15, 0) 100%
  );
}
/* הסיום: החלון המוצף אור יושב במרכז-עליון של הפריים — הטקסט יורד
   לשליש התחתון (שולחן ועץ כהה), הרצועה היחידה שמחזיקה ניגודיות. */
.reel-close .reel-copy {
  justify-content: flex-end;
  --scrim-y: 74%;
}
/* בפורטרט הטקסט נוחת על הנייר הלבן שעל המדף — נמדד 1.44:1. רצועה
   תחתונה כהה יותר רק בסיום, לא בפתיחה. */
.reel-close .reel-vignette {
  background: linear-gradient(
    to top,
    rgba(23, 20, 15, 0.72) 18%,
    rgba(23, 20, 15, 0.38) 50%,
    rgba(23, 20, 15, 0) 70%
  );
}
.reel-copy.center {
  text-align: center;
}
.reel h1 {
  font-size: clamp(42px, 7.6vw, 104px);
  line-height: 1.06;
  margin-bottom: 18px;
}
.reel h2 {
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.reel .eyebrow.onvid {
  color: #f6f1e6;
  margin-bottom: 14px;
}
.reel .sub {
  font-size: clamp(16.5px, 1.5vw, 20px);
  max-width: 34em;
  margin-inline: auto;
}
.onvid {
  color: #fdfcf8;
  text-shadow:
    0 1px 30px rgba(23, 20, 15, 0.55),
    0 1px 8px rgba(23, 20, 15, 0.6);
}
.reel .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.btn-paper {
  background: #fdfcf8;
  color: var(--ink);
  border-color: #fdfcf8;
}
.btn-paper:hover {
  background: transparent;
  color: #fdfcf8;
}
.btn-line {
  background: transparent;
  color: #fdfcf8;
  border-color: rgba(253, 252, 248, 0.7);
}
.btn-line:hover {
  background: #fdfcf8;
  color: var(--ink);
}
.btn:active {
  transform: translateY(1px);
}
.reel-hint {
  position: absolute;
  bottom: 22px;
  right: 0;
  left: 0;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #efe9db;
  opacity: 0.8;
}
.contact-lines {
  margin-top: 22px;
  font-size: 15px;
}
.contact-lines a {
  color: #fdfcf8;
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 252, 248, 0.5);
}
.contact-lines a:hover {
  border-bottom-color: #fdfcf8;
}

/* header מעל וידאו */
header.site.overvid:not(.solid) .wordmark,
header.site.overvid:not(.solid) nav.main a:not(.btn) {
  color: #fdfcf8;
  text-shadow: 0 1px 12px rgba(23, 20, 15, 0.5);
}
header.site.overvid:not(.solid) nav.main a:not(.btn)::after {
  background: #fdfcf8;
}
header.site.overvid:not(.solid) .nav-toggle {
  color: #fdfcf8;
  background: transparent;
  border-color: rgba(253, 252, 248, 0.6);
}

/* ---------- סקשנים גוללים ---------- */
.sec {
  background: var(--paper);
  color: var(--ink);
}
.sec .wrap.narrow {
  max-width: 880px;
}
.sec h2 {
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.12;
  margin-bottom: 18px;
}
.sec .lede {
  font-size: clamp(17px, 1.55vw, 21px);
  max-width: 36em;
  margin-inline: auto;
  color: #3d3831;
}
.sec-claim {
  padding-block: clamp(80px, 12vw, 170px);
}
.sec-works {
  background: var(--bone);
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: start;
}
.works-grid .work-card .shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.works-more {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.aud-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.aud-grid li {
  border: var(--hairline);
  border-radius: 4px;
  padding: 12px 10px;
  text-align: center;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
}
/* שוט 3 נגמר על החלון המואר — בפורטרט הרשת נחתה עליו (1.82:1).
   scrim רחב יותר לרצף הזה בלבד. */
.reel-aud .reel-copy::before {
  background: radial-gradient(
    ellipse 64% 60% at 50% 50%,
    rgba(23, 20, 15, 0.74),
    rgba(23, 20, 15, 0.56) 50%,
    rgba(23, 20, 15, 0.2) 80%,
    rgba(23, 20, 15, 0) 100%
  );
}
/* בפורטרט החלון תופס את רוב הפריים — רק שם ה-scrim מתחזק (2.16:1 בלעדיו) */
@media (max-width: 720px) {
  .reel-aud .reel-copy::before {
    background: radial-gradient(
      ellipse 72% 66% at 50% 50%,
      rgba(23, 20, 15, 0.88),
      rgba(23, 20, 15, 0.72) 50%,
      rgba(23, 20, 15, 0.3) 80%,
      rgba(23, 20, 15, 0) 100%
    );
  }
}
/* הרשת על רצף וידאו (שוט 3) */
.reel .aud-grid {
  width: min(880px, 100%);
  margin-inline: auto;
}
.reel .aud-grid li {
  border-color: rgba(253, 252, 248, 0.55);
  color: #fdfcf8;
  background: rgba(23, 20, 15, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.reel-open .reel-hint {
  display: block;
}
.steps-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: 34px;
}
.steps-grid .st {
  border-top: var(--hairline);
  padding: 20px 4px 0;
}
.steps-grid .st .n {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 34px;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 10px;
}
.steps-grid .st b {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.sec-tiers {
  background: var(--ink);
  color: var(--paper);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  align-items: stretch;
  margin-top: 30px;
}
.tier {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(249, 247, 243, 0.2);
  border-radius: 6px;
  padding: clamp(20px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}
.tier.hot {
  background: transparent;
  color: var(--paper);
  border-color: rgba(249, 247, 243, 0.45);
}
.tier .t-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
}
.tier .t-price {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.05;
}
.tier .t-price .amt {
  display: block; /* "1,900 ₪" בלי עטיפת dir — bidi טבעי נכון */
}
.tier .t-price .from {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  opacity: 0.75;
  margin-top: 4px;
}
.tier ul {
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 14.5px;
  padding: 0;
}
.tier ul li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.tier ul li::before {
  content: "·";
  font-weight: 900;
  color: var(--clay);
}
.tier.hot ul li::before {
  color: #e5a884;
}
.tier .t-note {
  margin-top: auto;
  font-size: 13px;
  opacity: 0.75;
}
.tiers-note {
  margin-top: 26px;
  font-size: 14.5px;
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  opacity: 0.85;
}
.oath {
  list-style: none;
  padding: 0;
  max-width: 720px;
  margin: 10px auto 0;
}
.oath li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(28, 26, 23, 0.22);
  font-size: clamp(16px, 1.4vw, 19px);
}
.oath li:first-child {
  border-top: var(--hairline);
}
.oath .k {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--clay);
  min-width: 1.4em;
}

@media (max-width: 960px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .aud-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sec h2 {
    font-size: clamp(28px, 7vw, 38px);
  }
}
@media (max-width: 720px) {
  .reel-copy {
    padding-top: 96px;
  }
  .reel .btn-row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .reel-hint {
    display: none;
  }
}

/* reduced motion / עצירת אנימציות — הפוסטר במקום הרצף, בלי pin */
@media (prefers-reduced-motion: reduce) {
  .reel {
    height: auto;
  }
  .reel-sticky {
    position: static;
    height: 100svh;
  }
  .reel-canvas {
    display: none;
  }
}
body.a11y-nomotion .reel {
  height: auto;
}
body.a11y-nomotion .reel-sticky {
  position: static;
  height: 100svh;
}
body.a11y-nomotion .reel-canvas {
  display: none;
}
body.a11y-nomotion .rv {
  opacity: 1;
  transform: none;
}
