/* נקודת איזון: watercolour stones on cold-press paper, deep teal ink */
@font-face { font-family: "Karantina"; font-weight: 400; font-display: swap; src: url("assets/fonts/karantina-400-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Karantina"; font-weight: 400; font-display: swap; src: url("assets/fonts/karantina-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Karantina"; font-weight: 700; font-display: swap; src: url("assets/fonts/karantina-700-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Karantina"; font-weight: 700; font-display: swap; src: url("assets/fonts/karantina-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Playpen"; font-weight: 400 600; font-display: swap; src: url("assets/fonts/playpen-sans-hebrew-400-600-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Playpen"; font-weight: 400 600; font-display: swap; src: url("assets/fonts/playpen-sans-hebrew-400-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Assistant"; font-weight: 200 800; font-display: swap; src: url("assets/fonts/assistant-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 200 800; font-display: swap; src: url("assets/fonts/assistant-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --paper: #fbfcfb;
  --paper-2: #f1f5f5;
  --ink: #1d4a52;
  --ink-2: #3c6770;
  --ink-soft: #55747b;
  --stone-1: #c9d6d9;
  --stone-2: #b2c4c8;
  --stone-3: #9fb6bd;
  --stone-deep: #5e7f8a;
  --wash: #e3ebec;
  --rule: #c5d3d6;

  --display: "Karantina", "Assistant", system-ui, sans-serif;
  --hand: "Playpen", "Assistant", system-ui, sans-serif;
  --body: "Assistant", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--stone-3) var(--paper-2); }
body {
  margin: 0; color: var(--ink); background-color: var(--paper);
  /* cold-press paper grain */
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .29 0 0 0 0 .32 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--body); font-size: 1.1875rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--stone-2); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--stone-3); border-radius: 10px; border: 2px solid var(--paper-2); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
a { color: var(--ink); text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: 0; }
p { margin: 0; }
img { max-width: 100%; }
.latin { unicode-bidi: isolate; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: var(--s4); top: -60px; z-index: 30; background: var(--ink); color: var(--paper); padding: var(--s2) var(--s4); border-radius: 8px; font-weight: 700; }
.skip:focus { top: var(--s3); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 80px; }
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s5); font-size: 1.0625rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a.btn-ink, .nav a.btn-ink:hover { color: var(--paper); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- buttons: ink pebbles ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s3);
  min-height: 52px; padding: 0 26px 2px;
  border-radius: 46% 54% 50% 50% / 60% 60% 40% 40%;
  font-family: var(--body); font-weight: 700; font-size: 1.1875rem; text-decoration: none;
  transition: transform .25s var(--ease-out), background .2s, box-shadow .25s var(--ease-out);
}
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 6px 14px -8px rgba(18, 26, 30, .45); }
.btn-ink:hover { background: #163c43; transform: translateY(-2px) rotate(-1deg); box-shadow: 0 10px 18px -8px rgba(18, 26, 30, .45); }
.btn-ink:active { transform: translateY(0); }
.btn-line { color: var(--ink); border: 2px solid var(--ink); }
.btn-line:hover { background: var(--wash); }
.btn-sm { min-height: 42px; padding: 0 18px 2px; font-size: 1rem; }
.btn-lg { min-height: 64px; padding: 0 36px 3px; font-size: 1.375rem; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero: the stack ---------- */
.hero { position: relative; padding-block: var(--s7) var(--s8); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: center; gap: var(--s6); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(64px, 7.4vw, 112px); margin-top: var(--s3); }
.hero-lede { margin-top: var(--s5); font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.55; max-width: 34ch; color: var(--ink-2); }
.hero-actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.hero-where { font-size: 1.0625rem; color: var(--ink-soft); }
.proof {
  margin-top: var(--s7); position: relative;
  font-family: var(--hand); font-size: 1.1875rem; line-height: 1.6; color: var(--ink);
  max-width: 30ch; padding-inline-end: 120px;
}
/* hand-drawn leader from the proof note up toward the stack */
.proof svg { position: absolute; inset-inline-end: -6px; top: -34px; width: 116px; height: 64px; overflow: visible; }
.proof path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }

.stack { position: relative; width: 100%; max-width: 680px; justify-self: center; }
.stack svg { display: block; width: 100%; height: auto; overflow: visible; }
.stone { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s var(--ease-out); }
.stone .wash { transition: filter .3s; }
.stone-label { font-family: var(--display); font-weight: 700; fill: var(--ink); pointer-events: none; }
.stone:focus { outline: none; }
.stone:focus-visible .rim { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 6 6; }
.rim { fill: none; stroke: transparent; }
.stone-ul { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s var(--ease-out); }
.stone:is(:hover, :focus-visible) .stone-ul { stroke-dashoffset: 0; }
/* a lifted stone carries everything resting on it; the stack counter-tilts */
.stack:has(.s-bot:is(:hover, :focus-visible)) :is(.s-bot, .s-mid, .s-top, .s-peb) { transform: translateY(-6px) rotate(-.6deg); }
.stack:has(.s-mid:is(:hover, :focus-visible)) :is(.s-mid, .s-top, .s-peb) { transform: translateY(-9px) rotate(.9deg); }
.stack:has(.s-top:is(:hover, :focus-visible)) :is(.s-top, .s-peb) { transform: translateY(-10px) rotate(-1.4deg); }
.stack:has(.s-peb:is(:hover, :focus-visible)) .s-peb { transform: translateY(-8px) rotate(2deg); }
.peb-label { font-family: var(--body); font-weight: 800; fill: var(--paper); font-size: 24px; pointer-events: none; }
.stack-note { font-family: var(--hand); fill: var(--ink); font-size: 22px; }
.stack-note-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }

@media (prefers-reduced-motion: no-preference) {
  .js .stone { animation: settle .9s var(--ease-out) backwards; }
  .js .s-bot { animation-delay: .05s; }
  .js .s-mid { animation-delay: .22s; }
  .js .s-top { animation-delay: .39s; }
  .js .s-peb { animation-delay: .56s; }
}
@keyframes settle {
  0% { transform: translateY(-46px); }
  62% { transform: translateY(2px) rotate(.8deg); }
  82% { transform: translateY(0) rotate(-.4deg); }
  100% { transform: none; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--s9); }
.section-wash { position: relative; isolation: isolate; }
.section-wash::before {
  content: ""; position: absolute; inset: 0 0; z-index: -1;
  background: var(--wash);
  /* a wash band with uneven, bled edges */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 90 18 170 40 260 26 C 360 10 450 36 560 22 C 660 10 760 34 860 20 C 920 12 970 24 1000 18 L1000 578 C 930 590 860 572 780 584 C 680 598 590 572 480 586 C 380 598 300 576 200 588 C 120 596 60 580 0 590 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 90 18 170 40 260 26 C 360 10 450 36 560 22 C 660 10 760 34 860 20 C 920 12 970 24 1000 18 L1000 578 C 930 590 860 572 780 584 C 680 598 590 572 480 586 C 380 598 300 576 200 588 C 120 596 60 580 0 590 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section h2 { font-size: clamp(52px, 6vw, 88px); max-width: 16ch; }
.lead { margin-top: var(--s5); font-size: clamp(1.25rem, 1.5vw, 1.4375rem); line-height: 1.6; max-width: 58ch; color: var(--ink-2); }
.prose p { max-width: 64ch; }
.prose p + p { margin-top: var(--s4); }

/* method: pain here, source there */
.method { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; margin-top: var(--s7); }
.method-quote { font-family: var(--hand); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.5; color: var(--ink); border-top: 2px solid var(--ink); padding-top: var(--s5); }
.read-more { display: inline-block; margin-top: var(--s6); font-family: var(--body); font-size: 1.0625rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.method-quote cite { display: block; margin-top: var(--s4); font-style: normal; font-family: var(--body); font-size: 1rem; color: var(--ink-soft); }

/* services as tagged rows */
.services { list-style: none; margin: var(--s7) 0 0; padding: 0; border-top: 2px solid var(--ink); }
.services li { border-bottom: 1px solid var(--rule); }
.services a { display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.6fr) 40px; align-items: center; gap: var(--s6); padding-block: var(--s6); text-decoration: none; color: var(--ink); transition: background .3s var(--ease-out); border-radius: 12px; padding-inline: var(--s4); }
.services a:hover, .services a:focus-visible { background: var(--paper-2); }
.services svg.mini { width: 120px; height: 60px; overflow: visible; }
.services h3 { font-size: clamp(40px, 3.6vw, 56px); }
.services .tag { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.5; }
.services .tag b { display: block; font-family: var(--hand); font-weight: 500; color: var(--ink); font-size: 1.0625rem; }
.services .go { width: 30px; height: 30px; transition: transform .25s var(--ease-out); }
.services a:hover .go { transform: translateX(-6px); }

/* first session steps */
.steps { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 110px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; inset-inline-start: 0;
  font-family: var(--display); font-weight: 700; font-size: 104px; line-height: .9; color: var(--stone-deep);
}
.steps h3 { font-size: 2.5rem; margin-bottom: var(--s3); }
.steps p { color: var(--ink-2); max-width: 34ch; }
.steps-note { margin-top: var(--s7); font-family: var(--hand); font-size: 1.375rem; }

/* about Orit */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: center; }
.photo { position: relative; }
.photo img { display: block; width: 100%; height: auto; border-radius: 28px 28px 28px 120px; box-shadow: 0 30px 50px -36px rgba(18, 26, 30, .35); }
.photo figcaption { margin-top: var(--s3); font-family: var(--hand); font-size: 1rem; color: var(--ink-soft); }
.facts { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.facts li { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); padding-inline-end: var(--s4); }
.facts b { display: block; font-family: var(--display); font-size: 2.75rem; line-height: 1; }
.facts span { color: var(--ink-2); font-size: 1.0625rem; }

/* workshop band */
.band { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; padding: var(--s7) var(--s7); border: 2px solid var(--ink); border-radius: 40px 40px 40px 140px; }
.band h2 { font-size: clamp(40px, 4vw, 60px); }
.band p { margin-top: var(--s3); color: var(--ink-2); max-width: 52ch; }

/* contact */
.contact { text-align: start; }
.contact h2 { font-size: clamp(60px, 7.4vw, 120px); max-width: 12ch; }
.contact-grid { margin-top: var(--s7); display: grid; grid-template-columns: auto 1fr; gap: var(--s8); align-items: start; }
.contact dl { margin: 0; display: grid; gap: var(--s4); }
.contact dt { font-family: var(--hand); font-size: 1rem; color: var(--ink-soft); }
.contact dd { margin: 0; font-size: 1.25rem; font-weight: 600; }

/* service page */
.page-hero { padding-block: var(--s8) var(--s7); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s7); align-items: center; }
.page-hero h1 { font-size: clamp(68px, 8vw, 128px); }
.page-hero .lead { max-width: 44ch; }
.page-stone svg { display: block; width: 100%; height: auto; overflow: visible; }
.page-stone .stone:not(.is-current) .wash { fill: #d3dfe1; }
.page-stone .stone:not(.is-current) .stone-label { fill: var(--ink-soft); }
.page-stone .stone:not(.is-current):is(:hover, :focus-visible) .wash { fill: #cfdcde; }
.crumbs { font-size: 1rem; color: var(--ink-soft); margin-bottom: var(--s4); }
.crumbs a { color: var(--ink-soft); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s8); align-items: start; }
.article h2 { font-size: clamp(40px, 4vw, 60px); margin-top: var(--s8); margin-bottom: var(--s4); max-width: 20ch; }
.article h2:first-child { margin-top: 0; }
.article ul { padding-inline-start: 1.1em; max-width: 60ch; }
.article li + li { margin-top: var(--s2); }
.article li::marker { color: var(--stone-deep); }
.pull { font-family: var(--hand); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.45; margin-block: var(--s7); max-width: 26ch; }
.aside { position: sticky; top: 112px; border: 2px solid var(--ink); border-radius: 28px 28px 28px 90px; padding: var(--s6); background: var(--paper); }
.aside h3 { font-size: 2.25rem; margin-bottom: var(--s3); }
.aside p { font-size: 1.0625rem; color: var(--ink-2); }
.aside .btn { margin-top: var(--s5); }
.next { margin-top: var(--s9); border-top: 2px solid var(--ink); padding-top: var(--s5); display: flex; gap: var(--s6); flex-wrap: wrap; }
.next a { font-family: var(--display); font-weight: 700; font-size: 2.25rem; text-decoration: none; }
.next a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: var(--s8) var(--s6); }
.site-foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s7); align-items: center; }
.site-foot img { width: 300px; height: auto; display: block; }
.foot-nav { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: 1rem; }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-note { font-size: .9375rem; color: var(--ink-soft); }

/* mobile WhatsApp bar */
.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .nav a:not(.btn) { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  /* phone order: headline, the stack (the way in), then the rest */
  .hero-copy { display: contents; }
  .hero h1 { order: 1; font-size: clamp(48px, 13vw, 80px); }
  .hero-actions { order: 2; margin-top: 0; }
  .stack { order: 3; max-width: 520px; }
  .hero-lede { order: 4; margin-top: 0; }
  .proof { order: 5; margin-top: 0; padding-inline-end: 0; }
  .proof svg { display: none; }
  .proof { margin-top: var(--s6); }
  .method, .about, .article, .page-hero .wrap, .contact-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .aside { position: static; }
  .page-stone { max-width: 320px; }
  .services a { grid-template-columns: 80px minmax(0, 1fr) 30px; gap: var(--s4); }
  .services svg.mini { width: 80px; height: 40px; }
  .services .tag { grid-column: 2 / 3; }
  .services .go { grid-row: 1; grid-column: 3; }
  .steps { grid-template-columns: 1fr; gap: var(--s6); }
  .steps li { padding-top: 0; padding-inline-start: 84px; }
  .steps li::before { font-size: 76px; }
  .site-foot .wrap { grid-template-columns: 1fr; gap: var(--s5); }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; padding-bottom: 76px; }
  .site-head .wrap { height: 64px; }
  .brand img { height: 40px; }
  .site-head .btn { display: none; }
  .section { padding-block: var(--s8); }
  .hero { padding-top: var(--s6); }
  .facts { grid-template-columns: 1fr; }
  .band { padding: var(--s6) var(--s5); border-radius: 28px 28px 28px 80px; }
  .mbar {
    display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 25;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 96%, transparent); border-top: 1px solid var(--rule);
  }
  .mbar .btn { width: 100%; justify-content: center; }
  .mbar { transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }
  .cta-in-view .mbar { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .services .tag { grid-column: 1 / -1; grid-row: 2; }
  .site-foot img { width: 240px; }
}
