/* =========================================================
   Ofek Goldstein – One-pager
   Mobile-first. Breakpoints: 768px (tablet), 1100px (desktop)

   Palette (strict) – every other tone below is one of these at reduced opacity:
     #F8F8F8  background / light ink on dark
     #F5F3ED  background (warm)
     #B17548  main headings
     #3A2417  subheadings + body text
     #B6521C  buttons
     #C44A00  hero illustrations (focus areas)
   ========================================================= */

:root {
  --bg: #F8F8F8;
  --bg-warm: #F5F3ED;
  --heading: #B17548;
  --heading-ink: #985F3B;   /* same family, darker: for SMALL text in the heading colour (WCAG AA 4.9:1) */
  --btn-ink: #A9501B;       /* same family, darker: small orange text on the warm background (4.9:1) */
  --text: #3A2417;
  --btn: #B6521C;
  --illus: #C44A00;

  /* alpha variants of the palette (no new hues) */
  --text-soft: rgba(58, 36, 23, .78);
  --text-mute: rgba(58, 36, 23, .66);
  --line: rgba(58, 36, 23, .1);
  --line-strong: rgba(58, 36, 23, .16);
  --tint: rgba(177, 117, 72, .08);
  --tint-2: rgba(177, 117, 72, .16);
  --heading-60: rgba(177, 117, 72, .6);

  /* legacy aliases used in markup/inline styles */
  --brand: var(--heading);
  --white: var(--bg);

  /* Type */
  --font-head: 'Fredoka', 'Heebo', system-ui, sans-serif;
  --font-body: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-h1: 32px;
  --fs-h2: 24px;
  --fs-h3: 18px;
  --fs-sub: 18px;
  --fs-body: 16px;

  /* Layout */
  --pad: 20px;
  --gap: 16px;
  --section-y: 48px; /* mobile: 40–60px between sections */
  --container: 1120px;
  --header-h: 64px;
  --wave-h: clamp(32px, 4.5vw, 72px);

  /* Shape + depth */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(58, 36, 23, .04), 0 2px 8px -2px rgba(58, 36, 23, .06);
  --shadow-md: 0 1px 2px rgba(58, 36, 23, .04), 0 14px 32px -16px rgba(58, 36, 23, .2);
  --shadow-lg: 0 2px 4px rgba(58, 36, 23, .04), 0 30px 60px -28px rgba(58, 36, 23, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root {
    --fs-h1: 44px;
    --fs-h2: 30px;
    --fs-sub: 20px;
    --pad: 40px;
    --gap: 24px;
    --section-y: 80px;
    --header-h: 72px;
  }
}
@media (min-width: 1100px) {
  :root {
    --fs-h1: 56px;
    --fs-h2: 36px;
    --fs-h3: 19px;
    --fs-sub: 21px;
    --fs-body: 17px;
    --gap: 32px;
    --section-y: 112px;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--tint-2); color: var(--text); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { color: inherit; }
input, textarea, select, dialog { color: var(--text); }
[hidden] { display: none !important; }

h1, h2 {
  font-family: var(--font-head);
  color: var(--heading);
  margin: 0;
  letter-spacing: -.015em;
}
h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.08; }
h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.18; }
h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}
p { margin: 0; }

:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
section { position: relative; padding-block: var(--section-y); }

/* ---------- Section backgrounds + waves ---------- */
.hero      { background: var(--bg-warm); }
.about     { background: var(--bg); }
.stories   { background: var(--bg-warm); }
.process   { background: var(--bg); }
.goal-band { background: var(--text); }
.contact   { background: var(--bg-warm); }

.has-wave { padding-bottom: calc(var(--section-y) + var(--wave-h)); }
.wave {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  z-index: 0;
  height: var(--wave-h);
  color: var(--wave);
  pointer-events: none;
}
.wave svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.wave-flip { transform: scaleX(-1); }

.section-head { max-width: 640px; margin: 0 auto calc(var(--gap) * 2); text-align: center; }
.section-sub {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--fs-sub);
  line-height: 1.5;
  color: var(--text-soft);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* Primary / WhatsApp buttons (the shape itself is set further down: assets/shape/btn-red.svg / btn-brown.svg) */
.btn-primary, .btn-whatsapp {
  background: none;
  border: 0 solid transparent;
  border-radius: 0;
  color: var(--bg);
  filter: drop-shadow(0 8px 12px rgba(182, 82, 28, .28));
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.btn-primary:hover, .btn-whatsapp:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 14px rgba(58, 36, 23, .3));
}
.btn:active { transform: translateY(0) scale(.99); }
.btn-lg { width: 100%; min-height: 56px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 8px 22px; font-size: 14px; border-image-width: 18px; }
.wa-icon { width: 22px; height: 22px; fill: currentColor; flex: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  background-image: linear-gradient(var(--heading), var(--heading));
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 0 1px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-size .45s var(--ease), color .3s;
}
.text-link:hover { background-size: 100% 1px; color: var(--heading); }

.icon-btn {
  flex: none;
  aspect-ratio: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s, border-color .3s, opacity .3s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(245, 243, 237, .82);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  transition: background-color .3s;
}
.site-header.is-scrolled { background: rgba(245, 243, 237, .92); }
/* Hand-drawn line that closes the header: its baseline sits exactly on the header's bottom edge.
   nav-line.png is split into 3 pieces so the straight parts stretch while the loop
   stays put just to the left of the logo (--brand-x is measured in script.js). */
.site-header {
  --nl-h: 24px;                                                  /* drawn height of the line strip */
  --loop-w: calc(var(--nl-h) * 228 / 71);                        /* loop piece keeps its ratio */
  --loop-r: calc(var(--brand-x, 230px) + 10px - var(--nl-h) * 1.86); /* loop ink ends ~10px left of the logo */
}
@media (min-width: 768px) { .site-header { --nl-h: 30px; } }
.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: calc(var(--nl-h) * -8 / 71);
  height: var(--nl-h);
  background:
    url("../assets/nav-line-loop.png?v=20261115zi") right var(--loop-r) top / var(--loop-w) 100% no-repeat,
    url("../assets/nav-line-right.png?v=20261115zi") right top / calc(var(--loop-r) + 1px) 100% no-repeat,
    url("../assets/nav-line-left.png?v=20261115zi") left top / calc(100% - var(--loop-r) - var(--loop-w) + 1px) 100% no-repeat;
  pointer-events: none;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 500; font-size: 18px; letter-spacing: -.005em; color: var(--text); }
.main-nav { display: none; gap: 36px; }
.main-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: color .3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 1px;
  background: var(--heading);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  flex: none;
  width: 44px; height: 44px;
  padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}
/* three bars → X */
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 18px; height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767px) {
  /* dropdown panel under the header; z-index -1 keeps it under the hand-drawn header line */
  .main-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    z-index: -1;
    top: 100%;
    inset-inline: 0;
    padding: 18px var(--pad) 22px;
    background: var(--bg-warm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .main-nav a { padding: 13px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .nav-contact { display: block; color: var(--btn) !important; font-weight: 500 !important; }
}
@media (max-width: 380px) { .header-actions .btn-sm { display: none; } } /* very narrow: "כתבו לי" lives in the menu */
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Image placeholders (until assets load) ---------- */

.phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero { padding-top: calc(var(--section-y) * .55); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-text h1 { margin-bottom: 16px; }
@media (max-width: 767px) {
  .hero-text h1, .hero-sub { text-align: center; }
  .hero-sub { margin-inline: auto; }
}
.hero-sub {
  max-width: 28em;
  margin-bottom: 30px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--fs-sub);
  line-height: 1.55;
  color: var(--text-soft);
}

/* Focus areas + credentials – soft rounded boxes, same shape as the buttons.
   One continuous, even outline per box; no dividers. */
/* Lines, no boxes: one continuous line above and below the whole group,
   and a divider between the rows that is split in two (one per column). */
.focus-cloud, .toolkit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 28px;
  border-block: 1px solid var(--line);
}
.focus-cloud { max-width: 520px; margin-bottom: 40px; }
.tag, .tk {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}
/* mobile (one column): a line between every item; from 768px (2×2): one line between the rows, split in two */
.tag + .tag, .tk + .tk { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .focus-cloud, .toolkit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tag:nth-child(2), .tk:nth-child(2) { border-top: 0; }
}
/* hover: a fine line in the heading colour draws in along the item's top edge */
.tag::before, .tk::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 1px;
  background: var(--heading);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.tag:hover::before, .tk:hover::before { transform: scaleX(1); }
.tag { color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.35; cursor: default; }
.tag:hover { font-weight: 700; }
/* hero illustrations: line-art PNGs recoloured to --illus via mask */
.tag .tag-icon {
  flex: none;
  width: 44px;
  height: 44px;
  background-color: var(--illus);
  -webkit-mask: var(--icon) no-repeat center / contain;
          mask: var(--icon) no-repeat center / contain;
  transition: transform .45s var(--ease);
}
.tag:hover .tag-icon { transform: translateY(-3px) rotate(-5deg) scale(1.06); }
@media (min-width: 1100px) { .tag .tag-icon { width: 52px; height: 52px; } }
/* the four hero illustrations (recoloured by the mask above) */
.tag-1 .tag-icon { --icon: url("../assets/selfNew.png?v=20261112i"); }
.tag-2 .tag-icon { --icon: url("../assets/friendship.png?v=20261116n"); }
.tag-3 .tag-icon { --icon: url("../assets/love.png?v=20261112"); }
.tag-4 .tag-icon { --icon: url("../assets/careerNew.png?v=20261112i"); }
@media (max-width: 767px) {
  .tag, .tk { padding: 14px 0; } /* 12–16px rhythm between stacked items */
  .focus-cloud { margin-inline: auto; }
}
@media (max-width: 420px) {
  .tag, .tk { gap: 10px; }
  .tag { font-size: 15px; }
  .tag .tag-icon { width: 36px; height: 36px; }
}

.js .tag { opacity: 0; animation: fadeUp .7s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .08s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Hero portrait – organic frame with soft shapes behind (previous layout) */
.hero-visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  padding: 18px;
}
.blob { position: absolute; }
.blob-a {
  width: 70%; aspect-ratio: 1;
  top: 0; inset-inline-end: -6%;
  background: var(--heading);
  opacity: .16;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
  animation: float 16s ease-in-out infinite;
}
.blob-b {
  width: 55%; aspect-ratio: 1;
  bottom: -2%; inset-inline-start: -6%;
  background: var(--btn);
  opacity: .1;
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(6px, -8px) rotate(6deg); }
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); } /* text | image – exactly half each */
  .hero-visual { max-width: none; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
  .btn-lg { width: auto; white-space: nowrap; }
}
@media (min-width: 1100px) {
  .hero-grid { gap: 56px; }
}

/* =========================================================
   2. ABOUT
   ========================================================= */
.about-grid { display: grid; gap: 48px; }
.about-text h2 { margin-bottom: 24px; }
.title-line { display: block; }

/* Quote: vertical line with the quote marks in its middle (from quote.png).
   The marks are an image; the two line pieces are drawn so they stretch with the text. */
.pull-quote {
  position: relative;
  margin: 0 0 28px;
  padding-block: 12px;
  padding-inline-start: 58px;
  min-height: 92px;
  display: flex;
  align-items: center;
}
.pull-quote::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 36px;
  background:
    url("../assets/quote-marks.png?v=20261115b") center / 36px auto no-repeat,
    linear-gradient(var(--illus), var(--illus)) center top / 1.5px calc(50% - 18px) no-repeat,
    linear-gradient(var(--illus), var(--illus)) center bottom / 1.5px calc(50% - 18px) no-repeat;
}
.pull-quote p {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--fs-sub);
  line-height: 1.45;
  color: var(--heading);
}
.prose { max-width: 36em; }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose p:first-child { font-weight: 400; }
.prose strong { font-weight: 500; color: inherit; }

/* Credentials */
.toolkit { margin-top: 36px; }
.tk { justify-content: center; text-align: center; }
.tk-text { display: flex; flex-direction: column; align-items: center; line-height: 1.4; color: var(--btn); }
.tk-text strong { font-weight: 500; font-size: 16px; color: var(--btn); }
.tk-text span { font-size: 14px; color: var(--btn); opacity: .8; }

/* Hero "אז / היום" figure (layout details further down) */
.then-now { max-width: 440px; margin: 0 auto; }

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
}
@media (min-width: 1100px) {
  .about-grid { grid-template-columns: 2fr 1fr; gap: 72px; }
}

/* =========================================================
   3. STORIES
   ========================================================= */
.carousel { position: relative; }
.carousel-track {
  list-style: none;
  margin: 0 calc(var(--pad) * -1);
  padding: 10px var(--pad) 30px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.shot-card { scroll-snap-align: start; }
.shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: none;
  cursor: zoom-in;
}
.phone {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.phone img { object-position: top center; transition: transform 1s var(--ease); }
.shot:hover .phone { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot:hover .phone img { transform: scale(1.02); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.dots { display: flex; gap: 2px; }
.dots button {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.dots button::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width .4s var(--ease), background-color .4s;
}
.dots button[aria-current="true"]::before { width: 20px; background: var(--heading); }

.video-block {
  display: grid;
  gap: 24px;
  margin-top: calc(var(--section-y) * .75);
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--text);
  box-shadow: var(--shadow-lg);
}
.video-text h3, .video-text .video-title {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--bg-warm); /* #F5F3ED on the dark-brown block */
}
.video-text p { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-sub); line-height: 1.5; color: rgba(245, 243, 237, .82); }

.video-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;   /* mobile: vertical Short */
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--text);
}
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 768px) {
  .carousel-track { grid-auto-columns: calc((100% - var(--pad) * 2 - 24px) / 2.3); gap: 24px; }
  .video-block { padding: 32px; }
  .video-frame { aspect-ratio: 16 / 9; max-width: none; }
}
@media (min-width: 1100px) {
  .carousel-track {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
    grid-auto-columns: calc((100% - 32px * 2) / 3);
    gap: 32px;
  }
  .video-block { grid-template-columns: 4fr 7fr; align-items: center; gap: 56px; padding: 44px; }
}

/* =========================================================
   4. PROCESS – growth timeline
   ========================================================= */
.timeline { position: relative; max-width: 680px; margin-inline: auto; }
.tl-line { display: none; }

.milestones {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* vertical axis (mobile/tablet) */
.milestones::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  inset-inline-start: 21px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(177, 117, 72, .25), var(--heading) 60%, var(--btn));
}
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.node {
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  margin-top: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--heading-60);
  border-radius: 50%;
  background: var(--bg);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 17px;
  transition: background-color .4s var(--ease), color .4s, border-color .4s;
}
.milestone:last-child .node { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.milestone:hover .node { background: var(--heading); border-color: var(--heading); color: var(--bg); }

.m-card {
  position: relative;
  z-index: 1;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.milestone:hover .m-card { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.m-card h3 { margin-bottom: 6px; }
.m-card p { font-size: 15px; color: var(--text-soft); line-height: 1.65; }

@media (min-width: 768px) {
  .milestone { grid-template-columns: 52px 1fr; gap: 22px; }
  .milestones::before { inset-inline-start: 25px; }
  .node { width: 52px; height: 52px; font-size: 19px; }
  .m-card { padding: 22px 28px; }
}

@media (min-width: 1100px) {
  .timeline { max-width: none; }
  .milestones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .milestones::before { display: none; }
  .milestone { grid-template-columns: 1fr; grid-template-rows: 1fr auto 1fr; gap: 0; }
  .node { grid-row: 2; justify-self: center; margin: 0; width: 54px; height: 54px; box-shadow: 0 0 0 8px var(--bg); }
  .m-card { padding: 22px 20px; text-align: center; }
  .milestone:nth-child(odd) .m-card { grid-row: 1; align-self: end; margin-bottom: 30px; }
  .milestone:nth-child(even) .m-card { grid-row: 3; align-self: start; margin-top: 30px; }
  .m-card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 22px;
    background: var(--line-strong);
  }
  .milestone:nth-child(odd) .m-card::after { top: 100%; margin-top: 4px; }
  .milestone:nth-child(even) .m-card::after { bottom: 100%; margin-bottom: 4px; }

  .tl-line {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke-linecap: round;
  }
  .tl-track { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .tl-path { stroke: url(#tl-grad); stroke-width: 2; vector-effect: non-scaling-stroke; }
  /* coloured line draws in from step 1 (right) to step 5 (left) */
  .js .tl-fill { clip-path: inset(0 0 0 100%); transition: clip-path 2.6s var(--ease); }
  .js .timeline.is-drawn .tl-fill { clip-path: inset(0 0 0 0); }
}

/* Parents – rhythm around each session */
.parents {
  margin-top: calc(var(--gap) * 2.4);
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-warm);
}
.parents-head { margin-bottom: 30px; text-align: center; }
.parents-head h3 {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--heading);
}
.parents-head p { color: var(--text-soft); }
.pf-icon svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.parents-flow {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.parents-flow li { position: relative; display: flex; align-items: center; gap: 16px; }
.parents-flow strong { display: block; font-weight: 500; color: var(--text); }
.pf-text { color: var(--text-soft); font-size: 15px; line-height: 1.6; }
.pf-icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--heading);
  position: relative;
  z-index: 1;
  transition: background-color .4s var(--ease), color .4s;
}
.parents-flow li:hover .pf-icon { background: var(--heading); color: var(--bg); }
.pf-icon svg { width: 22px; height: 22px; }
/* one continuous timeline line through the stations (vertical on mobile, horizontal from 768px) */
.parents-flow::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 23px;
  inset-inline-start: 22.5px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--heading-60), var(--heading));
}

@media (min-width: 768px) {
  .parents { padding: 40px 44px; }
  .parents-flow { flex-direction: row; gap: 64px; }
  .parents-flow li { flex: 1; flex-direction: column; gap: 12px; text-align: center; }
  .parents-flow::before {
    top: 22.5px;
    bottom: auto;
    inset-inline: calc((100% - 128px) / 6);
    width: auto;
    height: 1.5px;
    background: linear-gradient(to left, var(--heading-60), var(--heading));
  }
}
@media (min-width: 1100px) {
  .parents { max-width: 960px; margin-inline: auto; padding: 48px 64px; }
  .parents-flow { gap: 96px; }
  .parents-flow::before { inset-inline: calc((100% - 192px) / 6); }
}

/* =========================================================
   GOAL – dark flowing band
   ========================================================= */
.goal-band { padding-top: calc(var(--section-y) * .4); padding-bottom: calc(var(--section-y) * .4 + var(--wave-h)); text-align: center; color: var(--bg-warm); }
.goal-inner { max-width: 720px; }
.goal-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
}
.goal-text {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -.005em;
  color: var(--bg-warm);
}
@media (min-width: 768px) { .goal-text { font-size: 21px; } }
@media (min-width: 1100px) { .goal-text { font-size: 24px; line-height: 1.55; } }

/* =========================================================
   5. CONTACT
   ========================================================= */
.contact-grid { display: grid; gap: 40px; }
.contact-intro h2 { margin-bottom: 4px; }
.contact-intro .section-sub { max-width: 30em; margin-bottom: 30px; }
.contact-intro .btn-whatsapp { width: 100%; }

.fb-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color .3s;
}
.fb-link:hover { color: var(--heading); }
.fb-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--heading-60);
  border-radius: 50%;
  color: var(--heading);
  transition: background-color .3s, color .3s;
}
.fb-link:hover .fb-icon { background: var(--heading); color: var(--bg); }
.fb-icon svg { width: 18px; height: 18px; fill: currentColor; }

.form-card {
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--font-head);
  font-size: calc(var(--fs-h2) - 4px);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--heading);
}
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.optional { font-weight: 400; color: var(--text-mute); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg-warm);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field input[dir="ltr"] { text-align: right; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); font-weight: 300; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--heading);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--tint);
}
.field.has-error input { border-color: var(--btn); box-shadow: 0 0 0 4px rgba(182, 82, 28, .1); }
.field-error { margin-top: 6px; color: var(--btn); font-size: 14px; font-weight: 400; }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; opacity: 0; pointer-events: none; } /* hidden in place – NOT pushed off-screen (on an RTL page that widened the page sideways) */
.form-status { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 400; color: var(--btn); }
.form-status a { color: inherit; font-weight: 500; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--text-mute); }

.form-success { padding: 24px 0; text-align: center; }
.form-success:focus { outline: none; }
.success-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border: 1px solid var(--heading-60);
  border-radius: 50%;
  color: var(--heading);
  animation: fadeUp .6s var(--ease);
}
.success-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-success p { margin: 8px 0 16px; color: var(--text-soft); }
.form-success a { color: var(--btn); font-weight: 500; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
  .contact-intro { display: flex; flex-direction: column; align-items: flex-start; }
  .contact-intro .btn-whatsapp { width: auto; }
  .form-card { padding: 40px 36px; }
}
@media (min-width: 1100px) {
  .contact-grid { grid-template-columns: 6fr 5fr; gap: 88px; }
  .form-card { padding: 48px 44px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 28px calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--text);
  color: rgba(245, 243, 237, .72);
  font-size: 14px;
}
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: rgba(245, 243, 237, .82); text-decoration: none; transition: color .3s; }
.footer-nav a:hover { color: var(--bg-warm); text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid rgba(245, 243, 237, .3);
  border-radius: 50%;
  color: var(--bg-warm);
  transition: background-color .3s var(--ease), color .3s, border-color .3s;
}
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }
.social-icon:hover { background: var(--bg-warm); border-color: var(--bg-warm); color: var(--text); }
.footer-inner strong { font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--bg-warm); }
.footer-end { display: flex; align-items: center; gap: 22px; }
.site-footer .text-link { color: var(--bg-warm); font-size: 14px; }
.site-footer .text-link:hover { color: var(--bg-warm); }
.to-top svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Floating WhatsApp (mobile/tablet) ---------- */
.wa-float {
  position: fixed;
  z-index: 40;
  inset-inline-start: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--btn);
  color: var(--bg);
  box-shadow: 0 12px 28px -12px rgba(58, 36, 23, .6);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-float .wa-icon { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1100px) { .wa-float { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s ease; }
.lightbox::backdrop { background: rgba(58, 36, 23, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb-stage { display: grid; place-items: start center; width: min(440px, 84vw); max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; border-radius: var(--r-md); animation: zoomIn .35s var(--ease); }
.lb-img { width: 100%; height: auto; border-radius: var(--r-md); background: var(--bg); box-shadow: 0 30px 80px -30px rgba(58, 36, 23, .7); }
.lb-close { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); inset-inline-end: 16px; }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav { position: fixed; top: 50%; translate: 0 -50%; }
.lb-prev { inset-inline-start: 16px; }
.lb-next { inset-inline-end: 16px; }
.lb-count {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: var(--bg-warm);
  font-size: 13px;
  letter-spacing: .1em;
}
@media (max-width: 600px) {
  .lb-nav { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); translate: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .milestone.reveal { transition-delay: calc(var(--n) * .1s); }

/* =========================================================
   SHAPE LANGUAGE (card bg) – one organic shape everywhere
   The shape comes from the design file "crad bg.svg" (assets/card-bg.svg).
   assets/shape/*.svg = the same path in each element's colours; they stretch to
   any size (preserveAspectRatio="none") while the outline stays 1px
   (vector-effect="non-scaling-stroke"). Shadows use filter: drop-shadow so they
   follow the shape. Images/video are clipped with shape-mask.svg.
   ========================================================= */
:root { --shape-mask: url("../assets/shape/shape-mask.svg?v=20261115h"); }

/* Buttons (CTA): same colours as the old PNG skins, now in the card shape */
.btn-primary, .btn-whatsapp {
  border: 0;
  border-image: none;
  border-radius: 0;
  background: url("../assets/shape/btn-red.svg?v=20261115h") center / 100% 100% no-repeat;
}
.btn-primary:hover, .btn-whatsapp:hover {
  border-image: none;
  background-image: url("../assets/shape/btn-brown.svg?v=20261115y");
}
.btn-sm { border-image: none; padding-inline: 24px; }

/* Image / video frames: clipped to the shape, shadow on the parent */
.phone, .video-frame, .lb-img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask: var(--shape-mask) center / 100% 100% no-repeat;
          mask: var(--shape-mask) center / 100% 100% no-repeat;
}
.shot { filter: drop-shadow(0 14px 18px rgba(58, 36, 23, .16)); transition: filter .5s var(--ease); }
.shot:hover { filter: drop-shadow(0 22px 26px rgba(58, 36, 23, .24)); }
.shot:hover .phone { box-shadow: none; }
.video-frame { filter: none; }
.lb-stage { border-radius: 0; filter: drop-shadow(0 30px 40px rgba(10, 6, 3, .5)); }

/* Cards: the shape as background + outline, shadow follows the shape */
.m-card, .form-card, .parents, .video-block {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.m-card {
  background: url("../assets/shape/card-light.svg?v=20261115h") center / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 10px rgba(58, 36, 23, .07));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.milestone:hover .m-card { box-shadow: none; filter: drop-shadow(0 14px 20px rgba(58, 36, 23, .14)); }
.form-card {
  background: url("../assets/shape/big-card-light.svg?v=20261115i") center / 100% 100% no-repeat;
  filter: drop-shadow(0 24px 36px rgba(58, 36, 23, .16));
}
.parents { background: url("../assets/shape/card-warm.svg?v=20261115h") center / 100% 100% no-repeat; }
/* "מהצד שלהם": exact shape, no outline */
.video-block {
  background: url("../assets/shape/big-card-dark.svg?v=20261115i") center / 100% 100% no-repeat;
  filter: drop-shadow(0 26px 40px rgba(58, 36, 23, .3));
}


/* =========================================================
   BIG CARD SHAPE ("big card bg.svg") – only for: testimonial screenshots,
   the video player, the "מהצד שלהם" box, and the contact-form card.
   Same technique as above: stretches to size, outline stays 1px.
   ========================================================= */
:root { --big-mask: url("../assets/shape/big-mask.svg?v=20261115i"); }

/* testimonial screenshots: clipped to the big shape + thin brown outline on top */
.phone {
  -webkit-mask-image: var(--big-mask);
          mask-image: var(--big-mask);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/shape/big-frame.svg?v=20261115i") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* video player */
.video-frame {
  -webkit-mask-image: var(--big-mask);
          mask-image: var(--big-mask);
}

/* "מהצד שלהם" box (no outline, as before) */
.video-block { padding: 34px 26px; }
@media (min-width: 768px) { .video-block { padding: 44px 40px; } }
@media (min-width: 1100px) { .video-block { padding: 56px 56px; } }

/* contact-form card */
.form-card { padding-block: 44px; }
@media (min-width: 768px) { .form-card { padding: 52px 40px; } }
@media (min-width: 1100px) { .form-card { padding: 60px 48px; } }

/* Contact form: fields in the big card shape + a compact, centred submit button */
.field input, .field textarea { padding-inline: 22px; }
.form-card .btn-block {
  display: flex;
  width: fit-content;
  min-width: 200px;
  margin: 8px auto 0;
  padding-inline: 52px;
}

/* =========================================================
   ABOUT – bigger then/now, card-bg labels, credentials as one full-width row
   ========================================================= */
/* the figure is the positioning frame for the two photos and their labels */
.then-now { position: relative; max-width: 520px; }

/* "היום" / "אז" in the card-bg shape */
.tn-tag {
  position: absolute;
  z-index: 2;
  padding: 7px 22px 8px;
  background: url("../assets/card-bg.svg?v=20261115g") center / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 10px rgba(58, 36, 23, .16));
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.2;
  white-space: nowrap;
}
.now-tag { top: 15.4%; left: 0; translate: 0 -50%; }
.then-tag { top: 94.2%; left: 57.4%; translate: -50% -50%; }

/* bigger photos while keeping the 2/3 – 1/3 grid: the figure grows toward the page edge */
@media (min-width: 768px) {
  .about-grid { align-items: center; }
  .about-text { grid-column: 1; grid-row: 1; }
}

/* credentials: one wide row across the whole grid, clean line language */
.about-grid > .toolkit { margin-top: 0; order: 1; } /* mobile: after the text, before the photos */
.toolkit-list { max-width: none; column-gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.toolkit-list .tk { border-top: 0; padding: 18px 12px; }
.toolkit-list .tk:nth-child(n+3) { border-top: 1px solid var(--line); }
.toolkit-list .tk:nth-child(even) { border-inline-start: 1px solid var(--line); }
@media (min-width: 768px) {
  .about-grid > .toolkit { grid-column: 1 / -1; grid-row: 2; }
  .toolkit-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .toolkit-list .tk { padding: 24px 18px; }
  .toolkit-list .tk:nth-child(n+3) { border-top: 0; }
  .toolkit-list .tk + .tk { border-inline-start: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .toolkit-list .tk { padding: 28px 22px; }
  .tk-text strong { font-size: 17px; }
}

/* =========================================================
   15.11 – clean quote line, floating then/now, clean logo, compact sections
   ========================================================= */
/* Quote: a clean line only (no quote-mark icon); the quote marks are now in the text itself */
.pull-quote { padding-inline-start: 28px; min-height: 0; }
.pull-quote::before {
  width: 1.5px;
  background: var(--illus);
  border-radius: 2px;
}

/* Then/now: gentle float + soft response on hover */
.then-now { animation: tnFloat 8s ease-in-out infinite; transition: scale .8s var(--ease); }

.then-now:hover { scale: 1.02; }

.then-now:hover .tn-tag { translate: 0 calc(-50% - 4px); }
.then-now:hover .then-tag { translate: -50% calc(-50% - 4px); }
.tn-tag { transition: translate .6s var(--ease); }
@keyframes tnFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Logo: just the words, no frame (no focus box after a mouse click; keyboard users get a soft underline) */
.brand:focus { outline: none; }
.brand:focus-visible { outline: none; }
.brand:focus-visible .brand-name { text-decoration: underline; text-decoration-color: var(--heading); text-underline-offset: 6px; }

/* Personal story: tighter, so title → credentials reads as one focused block */
.about { padding-top: calc(var(--section-y) * .55); padding-bottom: calc(var(--section-y) * .5 + var(--wave-h)); }
.about-grid { row-gap: 32px; }
.about-text h2 { margin-bottom: 16px; }
.pull-quote { margin-bottom: 18px; padding-block: 6px; }
.prose { max-width: 46em; }
.prose p { margin-bottom: 10px; line-height: 1.7; }
.toolkit-list .tk { padding-block: 14px; }
@media (min-width: 768px) {
  .about-grid { row-gap: 36px; }
  .toolkit-list .tk { padding-block: 18px; }
}
@media (min-width: 1100px) {
  .toolkit-list .tk { padding-block: 20px; }
}

/* Gallery: header → arrows fits in one screen */
.stories { padding-top: calc(var(--section-y) * .5); }
.stories .section-head { margin-bottom: 20px; }
.stories .section-sub { margin-top: 6px; }
.carousel-track { padding-block: 8px 18px; }
.phone { aspect-ratio: 9 / 14; }
.carousel-controls { margin-top: 0; }
@media (min-width: 1100px) {
  .carousel-track { grid-auto-columns: calc((100% - 24px * 3) / 4); gap: 24px; }
}

/* =========================================================
   15.11 – no gallery shadow, clean form focus, "המטרה שלי" card
   ========================================================= */
/* 1. Gallery: no shadow under the screenshots */
.shot, .shot:hover { filter: none; }
.phone, .shot:hover .phone { box-shadow: none; }

/* 2. Form fields: clean typing – no outline, ring, glow or extra stroke on focus */
.field input:focus, .field textarea:focus,
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  box-shadow: none;
  filter: none;
  border-radius: 0;
  background-color: transparent;
}
.field input, .field textarea { -webkit-appearance: none; appearance: none; background-color: transparent; }
.field.has-error input { filter: none; }

/* 3. "המטרה שלי": a dark big-card (like the parents card, same spacing) on the light background */
.goal-band {
  background: var(--bg);
  padding-top: 0;
  padding-bottom: calc(var(--section-y) * .6 + var(--wave-h));
  color: var(--bg-warm);
}
.goal-inner {
  width: calc(100% - var(--pad) * 2);
  max-width: 960px;
  margin-inline: auto;
  padding: 30px 22px;
  background: url("../assets/shape/big-card-dark.svg?v=20261115i") center / 100% 100% no-repeat;
}
@media (min-width: 768px) { .goal-inner { padding: 40px 44px; } }
@media (min-width: 1100px) { .goal-inner { padding: 48px 64px; } }
.goal-label {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--heading);
}
.goal-text {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--bg-warm);
}

/* "המטרה שלי" – compact card (~1/3 of the parents card) + heading identical to "קשר רציף עם ההורים" */
.goal-inner { max-width: 340px; padding: 40px 30px; }
@media (min-width: 768px) { .goal-inner { padding: 44px 34px; } }
@media (min-width: 1100px) { .goal-inner { padding: 48px 36px; } }
.goal-label {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.35; /* = h3 line-height used by the parents heading */
  color: var(--heading);
}
.goal-text { font-size: 18px; line-height: 1.6; }

/* "המטרה שלי" – exactly two lines on wide screens: heading, then the whole goal text in one wide line.
   The card grows to fit that line (wider, shorter). Font sizes/weights unchanged. */
@media (min-width: 1200px) {
  .goal-inner { width: fit-content; max-width: calc(100% - var(--pad) * 2); padding: 40px 48px; }
  .goal-text { white-space: nowrap; text-wrap: nowrap; }
}
/* below 1200px one line can't fit at 18px, so the text wraps and the card uses the available width */
@media (min-width: 768px) and (max-width: 1199px) {
  .goal-inner { max-width: calc(100% - var(--pad) * 2); }
}

/* =========================================================
   Form fields – the big-card SVG lives on a wrapper (.field-box) behind the field;
   the input/textarea itself is fully transparent (no background, border, outline,
   shadow, filter or browser autofill paint), so typed text never meets the shape.
   ========================================================= */
.field-box {
  display: block;
  position: relative;
  background: url("../assets/shape/big-field.svg?v=20261115j") center / 100% 100% no-repeat;
}
.field.has-error .field-box { background-image: url("../assets/shape/big-field-error.svg?v=20261115j"); }

.field input, .field textarea,
.field input:hover, .field textarea:hover,
.field input:focus, .field textarea:focus,
.field input:focus-visible, .field textarea:focus-visible,
.field.has-error input {
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  filter: none;
  -webkit-appearance: none;
  appearance: none;
}
.field input, .field textarea { padding: 14px 24px; }
.field textarea { resize: none; } /* the resize grip drew diagonal lines in the corner */

/* browser autofill: keep it transparent and in our text colour (no rectangular blue/yellow box) */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  -webkit-box-shadow: none;
  transition: background-color 600000s 0s, color 600000s 0s;
}
.field input:autofill { background: transparent; }

/* =========================================================
   Centring: footer, "מוכנים לעשות את הצעד הראשון?", "מהצד שלהם"
   ========================================================= */
/* Footer: name, tagline, links and social icons centred; © + "חזרה למעלה" on the left */
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
@media (min-width: 768px) { .footer-inner { flex-direction: column; align-items: center; justify-content: flex-start; } }
.footer-brand { align-items: center; }
.footer-nav { justify-content: center; }
.footer-social { justify-content: center; }
.footer-end { align-self: center; justify-content: center; flex-wrap: wrap; } /* © + "חזרה למעלה" centred too */

/* Contact intro: everything centred in its column */
.contact-intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-intro .section-sub { margin-inline: auto; }
@media (min-width: 768px) { .contact-intro { align-items: center; } }

/* "מהצד שלהם": heading and subtitle centred */
.video-text { text-align: center; }

/* Hamburger: just the three lines – no circle, border or background (keeps a 44px tap area) */
.nav-toggle, .nav-toggle:hover, .nav-toggle:active, .nav-open .nav-toggle {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.nav-toggle { -webkit-tap-highlight-color: transparent; }
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--heading); outline-offset: 2px; border-radius: 6px; } /* keyboard only */

/* Hamburger on the far LEFT of the header row (last item of .header-actions in RTL) */
.header-start { display: flex; align-items: center; }
.header-actions .nav-toggle { margin-inline-end: -10px; } /* line the bars up with the page edge (44px tap area kept) */
.header-actions { gap: 8px; }

/* =========================================================
   Header: reliably fixed to the top while scrolling
   (sticky can break when body has overflow-x: hidden). The page content
   gets a matching top padding so nothing hides under the header.
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
body {
  overflow-x: clip; /* stops sideways scroll without turning body into a scroll container */
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
html { overflow-x: clip; } /* nothing can widen the page sideways (no white strip when zooming out on a phone) */
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

/* "איך נעבוד יחד": card text centred at every width */
.m-card { text-align: center; }
.m-card h3, .m-card p { margin-inline: auto; }

/* Mobile: the four hero focus areas as 2×2 (pair next to pair), like desktop */
@media (max-width: 767px) {
  .focus-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .tag:nth-child(2) { border-top: 0; }
  .tag { gap: 8px; padding: 14px 0; font-size: 15px; }
  .tag .tag-icon { width: 36px; height: 36px; }
}
@media (max-width: 359px) {
  .tag { flex-direction: column; text-align: center; gap: 6px; } /* very narrow phones: icon above text */
}

/* Mobile: "קשר רציף עם ההורים" – the steps centred in the card:
   icon on top, text centred below it, a short connecting line between the steps */
@media (max-width: 767px) {
  .parents-flow { align-items: center; gap: 44px; }
  .parents-flow::before { display: none; }
  .parents-flow li { flex-direction: column; gap: 10px; text-align: center; max-width: 280px; }
  .parents-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 1.5px;
    height: 24px;
    translate: -50% 0;
    background: linear-gradient(to bottom, var(--heading-60), var(--heading));
  }
}

/* =========================================================
   Hero then/now photos inside organic shapes. The figure keeps a fixed
   880:905 proportion, so the photos and the "היום"/"אז" labels stay in place.
   ========================================================= */
.then-now { aspect-ratio: 880 / 905; }
.tn-photo {
  position: absolute;
  display: block;
  overflow: hidden;
  background: var(--tint-2, #EDE6DC);
  transition: filter .8s var(--ease), scale .8s var(--ease);
}
.tn-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-photo-now {   /* big shape – like .blob-a */
  left: 1.5%;
  top: 0;
  width: 74.5%;
  height: 90%;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
}
.tn-photo-now img { object-position: 50% 18%; }
.tn-photo-then {  /* small shape – like .blob-b, overlapping the bottom corner */
  z-index: 1;
  left: 48.5%;
  top: 53%;
  width: 42%;
  height: 46%;
  border: 5px solid var(--bg); /* thin ring in the page colour separates it from the big photo */
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
}
.tn-photo-then img { object-position: 50% 30%; }
.then-now:hover .tn-photo { filter: drop-shadow(0 18px 24px rgba(58, 36, 23, .18)); }

/* =========================================================
   ACCESSIBILITY (WCAG 2.1 AA)
   ========================================================= */
/* text only for screen readers (e.g. "opens in a new window") */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Contrast: small text that used #B17548 (3.6:1) now uses the darker brand brown (4.9:1).
   Big headings (24px+) keep #B17548 – large text only needs 3:1. */
.pull-quote p,
.node,
.tn-tag,
.form-card h3,
.form-success h3,
.text-link:hover,
.fb-link:hover { color: var(--heading-ink); }
.milestone:last-child .node,
.milestone:hover .node { background: var(--heading-ink); border-color: var(--heading-ink); color: var(--bg); }
.tk-text span { opacity: 1; }                      /* was 80% opacity → below 4.5:1 */
@media (max-width: 767px) { .nav-contact { color: var(--btn-ink) !important; } } /* on the warm menu background */

/* Form fields: a visible focus indicator (required) that keeps the clean look –
   the field's own outline turns brand-brown, no extra rings or lines */
.field-box:focus-within { background-image: url("../assets/shape/big-field-focus.svg?v=20261115y"); }
.field.has-error .field-box:focus-within { background-image: url("../assets/shape/big-field-error.svg?v=20261115y"); }

/* Keyboard focus is always visible on buttons/links with shaped backgrounds too */
.btn:focus-visible, .icon-btn:focus-visible, .shot:focus-visible, .dots button:focus-visible,
.social-icon:focus-visible, .wa-float:focus-visible, .carousel-track:focus-visible {
  outline: 2px solid var(--heading-ink);
  outline-offset: 3px;
}
.lightbox .icon-btn:focus-visible { outline-color: var(--bg); }

/* Windows high-contrast / forced colours: keep the shaped controls recognisable */
@media (forced-colors: active) {
  .btn, .field-box, .m-card, .form-card, .parents, .video-block, .tn-tag { border: 1px solid CanvasText; }
}

/* =========================================================
   Gallery cards: the big-card shape is sized by the screenshot itself.
   No fixed aspect-ratio / object-fit: cover any more (that cut off the bottom),
   and the screenshot sits INSIDE the shape with an inner margin, so the curved
   corners frame it instead of clipping the text.
   ========================================================= */
.carousel-track { align-items: start; }
.phone {
  aspect-ratio: auto;
  height: auto;
  padding: 9% 8%;               /* keeps the screenshot clear of the shape's curves */
  background: var(--bg);
}
.phone img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.shot:hover .phone img { transform: none; } /* no zoom: nothing may grow past the frame */

/* Enlarged view: whole screenshot, plain rounded corners (no shape clipping its edges) */
.lb-img {
  -webkit-mask-image: none;
          mask-image: none;
  border-radius: var(--r-md);
}

/* =========================================================
   Lightbox: the whole screenshot is always visible.
   - height from the REAL visible screen (dvh) – on iPhone "vh" includes the area
     under Safari's toolbars, which hid the bottom of the message
   - a reserved strip on top (X) and at the bottom (counter / arrows on phones),
     so no control ever sits on top of the image
   - long messages: full width, scroll inside the frame down to the last line
   ========================================================= */
.lightbox {
  --lb-top: calc(76px + env(safe-area-inset-top, 0px));
  --lb-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  height: 100vh;
  height: 100dvh;
  max-height: none;
}
.lb-stage {
  width: min(440px, calc(100vw - 2 * 76px));               /* room for the side arrows */
  max-height: calc(100vh - var(--lb-top) - var(--lb-bottom));
  max-height: calc(100dvh - var(--lb-top) - var(--lb-bottom));
  margin-top: calc(var(--lb-top) - var(--lb-bottom));       /* centre inside the free area */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
}
.lb-img { display: block; width: 100%; height: auto; max-width: none; }
@media (max-width: 600px) {
  .lightbox { --lb-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } /* arrows + counter live down here */
  .lb-stage { width: calc(100vw - 32px); }
  .lb-count { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   Lightbox = the original "big card" shape (big-card-bg.svg, brown outline).
   The whole card – frame + screenshot – is SCALED DOWN to fit the visible screen
   with a safe margin: no cropping, no inner scrolling, the screenshot keeps its
   exact proportions. (Overrides the plain rounded-rectangle version above.)
   ========================================================= */
.lightbox {
  --lb-pad-x: 22px;   /* frame → screenshot, sides */
  --lb-pad-y: 30px;   /* frame → screenshot, top/bottom (clear of the shape's curves) */
  --lb-max-w: min(440px, calc(100vw - 2 * 76px));
}
.lb-stage {
  width: auto;
  max-height: none;
  overflow: visible;
  padding: var(--lb-pad-y) var(--lb-pad-x);
  border-radius: 0;
  background: url("../assets/shape/big-card-bg.svg?v=20261115zb") center / 100% 100% no-repeat;
  filter: drop-shadow(0 30px 40px rgba(10, 6, 3, .45));
}
.lb-img {
  display: block;
  width: auto;
  height: auto;
  /* the image may be at most as wide / tall as the free space minus the frame's padding –
     whichever limit is hit first scales it down, the aspect ratio stays */
  max-width: calc(var(--lb-max-w) - 2 * var(--lb-pad-x));
  max-height: calc(100vh - var(--lb-top) - var(--lb-bottom) - 2 * var(--lb-pad-y));
  max-height: calc(100dvh - var(--lb-top) - var(--lb-bottom) - 2 * var(--lb-pad-y));
  border-radius: 12px;
  box-shadow: none;
  -webkit-mask-image: none;
          mask-image: none;
}
@media (max-width: 600px) {
  .lightbox { --lb-pad-x: 16px; --lb-pad-y: 24px; --lb-max-w: calc(100vw - 32px); }
  .lb-stage { width: auto; }
}

/* =========================================================
   Gallery cards = same shadow + hover as the "איך נעבוד יחד" cards (.m-card):
   soft drop-shadow that follows the shape, lift 2px + deeper shadow on hover,
   .45s with the site's easing. The shadow sits on .shot because .phone is masked.
   ========================================================= */
.shot {
  filter: drop-shadow(0 6px 10px rgba(58, 36, 23, .07));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.shot:hover,
.shot:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 20px rgba(58, 36, 23, .14));
}
.shot .phone, .shot:hover .phone { transform: none; box-shadow: none; } /* the lift happens once, on the card */
.shot:active { transform: translateY(0); transition-duration: .15s; } /* tap feedback on phones */
/* room inside the scrolling row so the shadow isn't cut off */
.carousel-track { padding-block: 10px 30px; }
.carousel-controls { margin-top: -8px; }

/* =========================================================
   Footer on desktop (1024px+): three columns
   right: name + tagline | centre: links + Facebook/WhatsApp | left: © year + "חזרה למעלה"
   The two side columns are equal (1fr), so the middle group is exactly centred.
   Phone/tablet stay fully centred as before.
   ========================================================= */
@media (min-width: 1024px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "brand nav    end"
      "brand social end";
    align-items: center;
    column-gap: 40px;
    row-gap: 12px;
    text-align: start;
  }
  .footer-brand  { grid-area: brand;  justify-self: start; align-items: flex-start; text-align: start; }
  .footer-nav    { grid-area: nav;    justify-self: center; justify-content: center; }
  .footer-social { grid-area: social; justify-self: center; justify-content: center; }
  .footer-end    { grid-area: end;    justify-self: end; align-self: center; justify-content: flex-end; flex-wrap: nowrap; }
}

/* =========================================================
   Mobile menu ABOVE everything
   The header (and with it the open menu) is the top layer of the page; the open
   panel itself is fixed right under the header with z-index 9999 and scrolls if
   it is taller than the screen. The hand-drawn line stays on top of the panel.
   ========================================================= */
.site-header { z-index: 9000; }            /* above all page content, the floating WhatsApp, animations */
.skip-link { z-index: 10000; }             /* the skip link must still appear above the header */
.site-header::after { z-index: 2; }        /* line drawn over the panel's top edge */
@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    z-index: 9999;
    /* header box = safe-area padding + --header-h (works whether the header or the viewport is the containing block) */
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* =========================================================
   1–2. No unwanted rings after a tap
   (keyboard users still get a clear focus indicator)
   ========================================================= */
.no-ring:focus, .no-ring:focus-visible { outline: none !important; }
/* lightbox buttons: ONE clean circle. Keyboard focus is shown by filling the circle (no second ring). */
.lightbox .icon-btn:focus-visible {
  outline: none;
  background: var(--text);
  border-color: var(--bg-warm);
  color: var(--bg-warm);
}
.lightbox .icon-btn { -webkit-tap-highlight-color: transparent; }
/* counter reads "5 / 14" (not "14 / 5") on the RTL page */
.lb-count { direction: ltr; unicode-bidi: isolate; }

/* =========================================================
   3. Life on phones (touch screens have no hover):
   gentle, slow motion + tap feedback. Desktop is unchanged;
   everything is switched off by "reduce motion" (see below).
   ========================================================= */
@media (hover: none) {
  /* tap feedback: a soft press on everything you can tap */
  .btn, .shot, .icon-btn, .social-icon, .fb-link, .text-link, .wa-float {
    -webkit-tap-highlight-color: transparent;
  }
  .btn:active, .icon-btn:active, .social-icon:active { scale: .96; transition: scale .12s ease; }
  .btn, .icon-btn, .social-icon { transition: scale .35s var(--ease); }

  /* hero focus areas: the icons float gently, one after another */

  /* main hero button: a slow, soft glow every few seconds */
  .hero-cta .btn-primary { animation: mGlow 4.5s ease-in-out 2s infinite; }

  /* gallery: the card in view lifts slightly, the others rest */
  .shot-card .shot { transition: transform .6s var(--ease), filter .6s var(--ease); }
  .shot-card.in-view .shot { transform: translateY(-3px); filter: drop-shadow(0 14px 20px rgba(58, 36, 23, .14)); }

  /* "איך נעבוד יחד": as each step scrolls in, its number pops and its card follows */
  .js .milestone.reveal .node { scale: .6; opacity: 0; transition: scale .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--n, 0) * .05s + .15s), opacity .4s ease calc(var(--n, 0) * .05s + .15s), background-color .4s, color .4s; }
  .js .milestone.reveal.is-visible .node { scale: 1; opacity: 1; }

  /* parents: the three icons light up in turn, slowly and continuously */

  /* floating WhatsApp: a soft ring "breathes" around it */
  .wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--btn);
    opacity: 0;
    pointer-events: none;
  }
  .wa-float.is-visible::after { animation: mRing 3.2s ease-out 1s infinite; }

  /* the "אז / היום" tags bob gently */
  .tn-tag { animation: mBob 5s ease-in-out infinite; }
  .then-tag { animation-delay: 1.4s; }
}

@keyframes mGlow {
  0%, 100% { filter: drop-shadow(0 8px 14px rgba(196, 74, 0, .18)); }
  50%      { filter: drop-shadow(0 10px 22px rgba(196, 74, 0, .42)); }
}

@keyframes mRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes mBob { 0%, 100% { margin-top: 0; } 50% { margin-top: -4px; } }

/* =========================================================
   Numbers / icons turn brown ONLY when clicked/tapped
   ("איך נעבוד יחד" step numbers + "קשר רציף עם ההורים" icons).
   No colour change on hover, on scroll, or by default (incl. the last step).
   ========================================================= */
.milestone .node,
.milestone:hover .node,
.milestone:last-child .node {
  background: var(--bg);
  border-color: var(--heading-60);
  color: var(--heading-ink);
}
.parents-flow li .pf-icon,
.parents-flow li:hover .pf-icon { background: var(--bg); color: var(--heading); }
.milestone.is-active .node,
.milestone.is-active:hover .node { background: var(--heading-ink); border-color: var(--heading-ink); color: var(--bg); }
.parents-flow li.is-active .pf-icon,
.parents-flow li.is-active:hover .pf-icon { background: var(--heading-ink); color: var(--bg); }
.milestone, .parents-flow li { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* =========================================================
   Gallery: "tap to enlarge" magnifier on every card.
   Sits on the bottom edge of the frame (half in, half out), centred –
   it never covers the screenshot itself.
   ========================================================= */
.shot-zoom {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  translate: -50% 45%;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--heading-60);
  background: var(--bg);
  color: var(--heading-ink);
  box-shadow: 0 6px 14px -6px rgba(58, 36, 23, .35);
  pointer-events: none; /* the whole card is the button */
  transition: background-color .35s var(--ease), color .35s, scale .35s var(--ease);
}
.shot-zoom svg { width: 19px; height: 19px; }
.shot:not(.no-ring):focus-visible .shot-zoom { background: var(--heading-ink); border-color: var(--heading-ink); color: var(--bg); scale: 1.08; }
.shot:active .shot-zoom { scale: .94; }
@media (max-width: 767px) { .shot-zoom { width: 34px; height: 34px; } .shot-zoom svg { width: 17px; height: 17px; } }
.carousel-track { padding-bottom: 40px; } /* room for the half-outside magnifier + shadow */

/* =========================================================
   Hero: the four focus-area icons are completely still
   (no float, no hover wiggle, no entrance slide).
   ========================================================= */
.tag .tag-icon,
.tag:hover .tag-icon { animation: none; transform: none; transition: none; }
.js .tag { opacity: 1; animation: none; transform: none; }

/* Magnifier fills brown on mouse hover only (devices with a real hover) */
@media (hover: hover) {
  .shot:hover .shot-zoom { background: var(--heading-ink); border-color: var(--heading-ink); color: var(--bg); scale: 1.08; }
}

/* =========================================================
   "איך נעבוד יחד" (and the parents icons):
   desktop – the number turns brown while the mouse is over the step (whole card);
   phone   – a tap on the step turns it brown; tapping another step (or the same
             one again, or anywhere else) brings it back to light.
   Nothing changes colour on its own.
   ========================================================= */
@media (hover: hover) {
  .milestone:hover .node { background: var(--heading-ink); border-color: var(--heading-ink); color: var(--bg); }
  .parents-flow li:hover .pf-icon { background: var(--heading-ink); color: var(--bg); }
}
.milestone .node, .parents-flow li .pf-icon { transition: background-color .35s var(--ease), color .35s, border-color .35s, scale .6s cubic-bezier(.3, 1.6, .5, 1), opacity .4s ease; }

/* =========================================================
   Footer legal links (הצהרת נגישות · מדיניות פרטיות) + privacy line under the form
   ========================================================= */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; }
.footer-legal a { color: rgba(245, 243, 237, .82); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 243, 237, .35); }
.footer-legal a:hover { color: var(--bg-warm); text-decoration-color: currentColor; }
@media (min-width: 1024px) {
  .footer-inner { grid-template-areas: "brand nav end" "brand social end" "brand legal end"; }
  .footer-legal { grid-area: legal; justify-self: center; }
}
.form-privacy { margin-top: 6px; text-align: center; font-size: 13px; color: var(--text-mute); }
.form-privacy a { color: var(--heading-ink); text-underline-offset: 3px; }

/* =========================================================
   Legal pages (accessibility.html, privacy.html)
   ========================================================= */
.legal-main { background: var(--bg); padding-block: 36px 64px; }
.legal-inner { max-width: 760px; }
.legal-back { display: inline-block; margin-bottom: 18px; font-size: 14px; }
.legal-main h1 { font-size: var(--fs-h1); margin-bottom: 6px; }
.legal-updated { margin-bottom: 26px; color: var(--text-mute); font-size: 14px; }
.legal-main h2 { margin: 34px 0 10px; font-size: calc(var(--fs-h2) - 2px); }
.legal-main p { margin: 0 0 12px; line-height: 1.75; color: var(--text-soft); }
.legal-main ul { margin: 0 0 14px; padding-inline-start: 22px; line-height: 1.75; color: var(--text-soft); }
.legal-main li { margin-bottom: 6px; }
.legal-main li::marker { color: var(--heading); }
.legal-main strong { color: var(--text); font-weight: 500; }
.legal-main a:not(.text-link) { color: var(--heading-ink); text-underline-offset: 3px; }
.legal-contact { list-style: none; padding-inline-start: 0 !important; }
/* Legal pages footer = the home page footer: centred on phone/tablet,
   from 1024px the name + tagline sit on the right, links in the middle, © on the left */
@media (max-width: 1023px) {
  .legal-page .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
}
@media (min-width: 1024px) {
  .legal-page .footer-inner { grid-template-areas: "brand nav end"; }
}
@media (min-width: 768px) { .legal-main { padding-block: 56px 88px; } }
/* wave into the footer, like the home page: room for it under the text */
.legal-main { position: relative; padding-bottom: calc(64px + var(--wave-h)); }
@media (min-width: 768px) { .legal-main { padding-bottom: calc(88px + var(--wave-h)); } }

/* =========================================================
   "איך נעבוד יחד" cards on touch screens: no "hover" state at all.
   (iPhone keeps :hover on the last tapped card, which gave that one card – e.g. step 5 –
   a different, heavier shadow.) Every card keeps the same soft shadow; only the
   number reacts to a tap. Desktop hover is unchanged.
   ========================================================= */
@media (hover: none) {
  .m-card,
  .milestone:hover .m-card,
  .milestone:active .m-card,
  .milestone.is-active .m-card {
    transform: none;
    box-shadow: none;
    filter: drop-shadow(0 6px 10px rgba(58, 36, 23, .07));
    -webkit-tap-highlight-color: transparent;
  }
}

/* About: the quote now comes FIRST, then "נעים להכיר, אני אופק גולדשטיין", then the text */
.about-text .pull-quote { margin-top: 0; margin-bottom: 22px; }
.about-text .pull-quote + h2 { margin-top: 0; }
@media (min-width: 768px) { .about-text .pull-quote { margin-bottom: 26px; } }

/* Hero CTA on mobile: width follows the text (not full-screen), even proportional padding */
@media (max-width: 767px) {
  .hero-cta .btn-lg {
    width: auto;
    max-width: 100%;
    padding-inline: 34px;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .tag { opacity: 1; transform: none; }
  .blob { animation: none; }

  .then-now { animation: none; }
}

/* ---------- Typographic polish: balanced line breaks, no orphans ---------- */
h1, h2, h3, .hero-sub, .section-sub, .pull-quote p, .goal-text, .video-text p { text-wrap: balance; }
.prose p, .m-card p, .pf-text { text-wrap: pretty; }

/* =========================================================
   16.11 – floating buttons on every screen size + no card shadows
   ========================================================= */
/* WhatsApp stays fixed while scrolling, mobile and desktop */
@media (min-width: 1100px) { .wa-float { display: grid; } }
@media (min-width: 768px) {
  .wa-float { inset-inline-start: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* Cards / boxes: clean, no shadow frame around them (form, process cards, gallery, video box, parents) */
.m-card, .milestone:hover .m-card, .milestone:active .m-card, .milestone.is-active .m-card,
.form-card, .parents, .video-block,
.shot, .shot:hover, .shot:focus-visible, .shot-card.in-view .shot,
.phone, .shot:hover .phone,
.main-nav {
  box-shadow: none !important;
  filter: none !important;
}

/* =========================================================
   Hero: the before/after (then-now) composition.
   ========================================================= */
.hero-visual .then-now { width: 100%; max-width: 520px; margin-inline: auto; z-index: 1; }

/* Hero before/after: no light ring around the "אז" photo */
.hero-visual .tn-photo-then { border: 0; }

/* Mobile story order: quote → photo → "נעים להכיר, אני…" → text → credentials */
@media (max-width: 767px) {
  .about-grid { row-gap: 0; }
  .about-text { display: contents; }
  .about-text .pull-quote { order: 1; }

  .about-text h2 { order: 3; }
  .about-text .prose { order: 4; }
  .about-grid > .toolkit { order: 5; margin-top: 28px; }
}

/* =========================================================
   16.11 – story without a photo, contact order on mobile
   ========================================================= */
/* Story: text only – one centred column, credentials row below */
.about-grid { grid-template-columns: minmax(0, 1fr) !important; }
.about-text { grid-column: 1 / -1; grid-row: auto; width: 100%; max-width: 820px; margin-inline: auto; }
@media (min-width: 768px) { .about-grid > .toolkit { grid-row: auto; } }
@media (max-width: 767px) { .about-grid > .toolkit { margin-top: 24px; } }
/* credential with two lines (NLP + חונכות ההעצמה): both in the same weight as a title */
.tk-text strong + strong { margin-top: 2px; }

/* Contact on mobile: title + text → form → WhatsApp → Facebook */
@media (max-width: 767px) {
  .contact-grid { row-gap: 0; }
  .contact-intro { display: contents; }
  .contact-intro h2 { order: 1; }
  .contact-intro .section-sub { order: 2; margin-bottom: 26px; }
  .contact-grid > .form-card { order: 3; margin-bottom: 30px; }
  .contact-intro .btn-whatsapp { order: 4; }
  .contact-intro .fb-link { order: 5; justify-self: center; }
}

/* WhatsApp button in "צור קשר": as wide as its text + even padding (not full width) */
.contact-intro .btn-whatsapp { width: auto; max-width: 100%; padding-inline: 34px; justify-self: center; align-self: center; }

/* Hero "היום" photo: exactly the same soft round shape as the "אז" photo
   (same border-radius %, so it scales with the frame on mobile and desktop).
   No border/ring around either photo. */
.hero-visual .tn-photo-now { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; border: 0; }
