/* Eshkolot home, rebuilt in code on the existing site's language:
   paper texture, blue condensed titles, brown hand subtitles, glass header, lime pill. */
@font-face { font-family: "Haim"; src: url(../fonts/haim-arukeem-hebrew.woff2) format("woff2"); unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA; font-display: swap; }
@font-face { font-family: "Haim"; src: url(../fonts/haim-arukeem-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: "Hand"; src: url(../fonts/hand-hero.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "HandFull"; src: url(../fonts/hand-hebrew.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Oswald"; src: url(../fonts/oswald-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Heebo"; src: url(../fonts/heebo-hebrew.woff2) format("woff2"); font-weight: 100 900; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+FB1D-FB4F; font-display: swap; }
@font-face { font-family: "Heebo"; src: url(../fonts/heebo-latin.woff2) format("woff2"); font-weight: 100 900; unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: "Sub"; src: url(../fonts/sub-8148cc.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Karantina"; src: url(../fonts/karantina-400-hebrew.woff2) format("woff2"); font-weight: 400; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; font-display: swap; }
@font-face { font-family: "Karantina"; src: url(../fonts/karantina-400-latin.woff2) format("woff2"); font-weight: 400; unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: "Karantina"; src: url(../fonts/karantina-700-hebrew.woff2) format("woff2"); font-weight: 700; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; font-display: swap; }
@font-face { font-family: "Karantina"; src: url(../fonts/karantina-700-latin.woff2) format("woff2"); font-weight: 700; unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: "Asaf"; src: url(../fonts/asaf-light-833527.woff2) format("woff2"); font-display: swap; }

:root {
  --blue: #082F7B;
  --brown: #8B614F;
  --brown-d: #633C2B;
  --green: #1E5B3B;
  --leaf: #39641D;
  --lime: #B9E773;
  --peach: #F1E5DF;
  --peach-2: #E5CEC0;
  --peach-ic: #FFBFA1;
  --paper: #EEEEEC;
  --ink: #1B1B1B;
  --title: "Haim", "Karantina", "Arial Narrow", sans-serif;
  --sub: "Sub", "Haim", sans-serif;
  --hand: "Hand", "Sub", cursive;
  --body: "Asaf", "Segoe UI", Arial, sans-serif;
  --ui: "Heebo", "Segoe UI", Arial, sans-serif;
  --page: #EEEEEC;
  --num: #082F7B;
  --band: rgba(232, 222, 205, .85);
  --foot: #F1E5DF;
  --foot-ink: #1B1B1B;
  --glass: rgba(255, 255, 255, .56);
  --glass-b: rgba(255, 255, 255, .8);
  --glass-sh: 0 18px 40px -26px rgba(30, 45, 80, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
  --nav-ink: #1d2a44;
  --nav-hover: rgba(8, 47, 123, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html { background: #F2EADB; }
body { margin: 0; color: var(--ink); font: 400 18px/1.6 var(--body); background: transparent; overflow-x: clip; }
/* one continuous background for every strip below the video: a soft cream mesh that drifts slowly, with a fine grain */
body::before { content: ""; position: fixed; inset: -25%; z-index: -2; pointer-events: none; background: radial-gradient(42% 50% at 10% 12%, #FBF7EE 0%, rgba(251, 247, 238, 0) 62%), radial-gradient(36% 44% at 94% 6%, #E6CFAE 0%, rgba(230, 207, 174, 0) 64%), radial-gradient(55% 55% at 72% 88%, #D9C3A0 0%, rgba(217, 195, 160, 0) 70%), radial-gradient(50% 55% at 32% 66%, #F1E6D2 0%, rgba(241, 230, 210, 0) 72%), linear-gradient(135deg, #F7F1E4 0%, #EDE1CB 52%, #E2D0B2 100%); animation: mesh-drift 26s ease-in-out infinite alternate; will-change: transform; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E"); }
:root[data-theme="dark"] { background: #151a24; }
:root[data-theme="dark"] body::before { filter: brightness(.38) saturate(.9); }
:root[data-theme="dark"] .menu { background: #151a24; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:root[data-theme="dark"] :focus-visible { outline-color: #A7EBF2 !important; }
/* headings break into even lines, body text avoids a lone last word */
h1, h2, h3, .pg-h { text-wrap: balance; }
p, li { text-wrap: pretty; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- header: floating glass bar (same language as eshkolot-hub) */
.bar { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline: max(16px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); font-family: var(--ui); transition: background .5s; }
.bar-start, .bar-end { display: flex; align-items: center; gap: 12px; flex: none; }
.bar-end { margin-inline-start: auto; gap: 8px; }
.brand { display: block; }
/* the logo is a mask; a gradient flows through it on a loop */
.logo-g { display: block; height: 50px; aspect-ratio: 642 / 200; -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat; background-image: linear-gradient(110deg, #17a864 0%, #2f86f0 25%, #7a55e8 50%, #2f86f0 75%, #17a864 100%); background-size: 200% 100%; animation: logo-flow 7s linear infinite; filter: drop-shadow(0 6px 10px rgba(47, 134, 240, .25)); transition: height .3s var(--ease); }
@keyframes logo-flow { from { background-position: 0% 0; } to { background-position: -200% 0; } }

/* day / night switch */
.daynight { position: relative; flex: none; width: 66px; height: 32px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: none; }
.daynight:focus-visible { outline: 3px solid rgba(124, 196, 255, .8); outline-offset: 3px; }
.dn-track { position: absolute; inset: 0; border-radius: 999px; overflow: hidden; background: linear-gradient(180deg, #62b6ff 0%, #3a8ff0 100%); box-shadow: inset 0 2px 5px rgba(0, 40, 90, .35), inset 0 -1px 0 rgba(255, 255, 255, .35), 0 1px 0 rgba(255, 255, 255, .7); transition: background .6s ease; }
.dn-clouds { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.6, 0, .2, 1), opacity .4s; }
.dn-clouds::before, .dn-clouds::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.dn-clouds::before { width: 30px; height: 30px; right: -6px; bottom: -12px; box-shadow: -14px 6px 0 2px #fff, -27px 10px 0 0 #fff, -6px -4px 0 -4px rgba(255, 255, 255, .7), -20px -2px 0 -3px rgba(255, 255, 255, .6); opacity: .95; }
.dn-clouds::after { width: 22px; height: 22px; right: 4px; bottom: -6px; background: rgba(255, 255, 255, .55); box-shadow: -18px -3px 0 -2px rgba(255, 255, 255, .45); }
.dn-stars { position: absolute; inset: 0; opacity: 0; transform: translateY(-8px); transition: opacity .5s .1s, transform .6s cubic-bezier(.6, 0, .2, 1); }
.dn-stars::before { content: ""; position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; top: 8px; left: 12px; box-shadow: 9px 10px 0 0 #fff, 18px 2px 0 .3px #fff, 26px 13px 0 0 rgba(255, 255, 255, .7), 6px 16px 0 -.3px rgba(255, 255, 255, .6), 31px 4px 0 0 rgba(255, 255, 255, .8); }
.dn-knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe680 0%, #ffcf2e 55%, #f5b400 100%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 0 0 7px rgba(255, 255, 255, .12), 0 3px 6px rgba(0, 0, 0, .3), inset -2px -2px 4px rgba(200, 120, 0, .35); transition: transform .6s cubic-bezier(.6, 0, .2, 1), background .5s; }
.dn-knob::before, .dn-knob::after { content: ""; position: absolute; border-radius: 50%; background: rgba(120, 130, 150, .45); opacity: 0; transition: opacity .4s; }
.dn-knob::before { width: 7px; height: 7px; top: 6px; left: 12px; }
.dn-knob::after { width: 5px; height: 5px; top: 14px; left: 6px; box-shadow: 9px 3px 0 -1px rgba(120, 130, 150, .45); }

/* page names */
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > a, .dd-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 11px; border: 0; border-radius: 8px; background: none; font: 400 22px/1 var(--title); padding-block: 3px 0; margin: 0; vertical-align: top; box-sizing: border-box; color: var(--nav-ink); cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.nav > a::after, .dd-btn::after { content: ""; position: absolute; inset-inline: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #17a864, #2f86f0, #7a55e8); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav > a:hover::after, .dd-btn:hover::after, .dd.open .dd-btn::after { transform: scaleX(1); }
.dd { position: relative; }
.dd-btn i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.dd.open .dd-btn i { transform: translateY(1px) rotate(225deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 230px; display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--glass-strong, rgba(255, 255, 255, .9)); border: 1px solid var(--glass-b); box-shadow: 0 24px 50px -24px rgba(30, 45, 80, .55); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { padding: 8px 12px; border-radius: 10px; font: 400 22px/1.2 var(--title); color: var(--nav-ink); }
.dd-panel a:hover { background: var(--nav-hover); }

/* phone + WhatsApp: filled gradient buttons like the hub's actions */
.act { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; color: #fff; background-image: linear-gradient(110deg, #17a864 0%, #2f86f0 25%, #7a55e8 50%, #2f86f0 75%, #17a864 100%); background-size: 200% 100%; animation: logo-flow 7s linear infinite; box-shadow: 0 10px 22px -12px rgba(47, 134, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .25s var(--ease), box-shadow .25s, filter .25s; }
.act svg { width: 21px; height: 21px; fill: currentColor; }
.act:hover { transform: translateY(-2px) scale(1.05); filter: saturate(1.2); }
/* phone: beige like the original icon buttons; WhatsApp: the original light green */
.act-phone { background: linear-gradient(145deg, #F6E4D3, #E8C9AC); color: #082F7B; animation: none; box-shadow: 0 10px 20px -12px rgba(139, 97, 79, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
/* WhatsApp: the bare green mark, no tile */
/* WhatsApp in the bar: the same navy-outline tile as the menu icon and the language switch */
.bar .act-wa { width: 32px; height: 32px; align-self: center; border-radius: 7px; background: transparent; animation: none; box-shadow: inset 0 0 0 1.5px #1E3A6E; color: #1E3A6E; }
.bar .act-wa svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.bar .act-wa:hover { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1.5px #1E3A6E; transform: none; }
.bar .act-wa:hover svg { transform: scale(1.08); }
@media (max-width: 760px) { .bar .act-wa { width: 28px; height: 28px; border-radius: 6px; } .bar .act-wa svg { width: 16px; height: 16px; } }
/* optical centring: the bar's bright top edge and the shadow under it make exactly-centred tiles read high, so they sit 1px lower */
.bar .act-wa, .bar .lang-tg, .bar .burger { position: relative; top: 1px; }

/* menu button: a logo-gradient tile; opening spins the tile half a turn while the lines fold into an X */
/* (even sizes, and the lines centred by flex layout, so the icon sits exactly in the middle with no half-pixel offset) */
.burger { display: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 7px; align-self: center; position: relative; cursor: pointer; background: none; }
.bg-in { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; height: 100%; border-radius: 7px; background-image: linear-gradient(110deg, #17a864 0%, #2f86f0 25%, #7a55e8 50%, #2f86f0 75%, #17a864 100%); background-size: 200% 100%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -12px rgba(47, 134, 240, .8); transition: transform .65s cubic-bezier(.65, 0, .25, 1.25); }
.burger i { display: block; flex: none; width: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease) .1s, opacity .2s .1s; }
.burger[aria-expanded="true"] .bg-in { transform: rotate(180deg); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 40; background: #F2EADB; display: grid; align-content: start; padding: calc(110px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
.menu nav { display: grid; gap: 0; }
.menu nav > a { font: 400 38px/1.3 var(--title); color: var(--num); padding-block: 4px; border-bottom: 1px solid rgba(8, 47, 123, .1); }
.menu-acts { display: flex; gap: 12px; margin-top: 26px; }
.menu-acts .act { width: 56px; height: 56px; border-radius: 10px; }
.menu-acts .act svg { width: 26px; height: 26px; }

@media (max-width: 1640px) {
  .nav > a, .dd-btn { padding-inline: 8px; font-size: 20px; }
}
@media (max-width: 1460px) {
  .nav > a, .dd-btn { padding-inline: 6px; font-size: 18px; }
}
@media (max-width: 1260px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  .bar .act-phone { display: none; }
  .bar { inset-inline: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); padding: 7px 8px 7px 12px; gap: 8px; border-radius: 18px; }
  .bar-start { gap: 8px; }
  .logo-g { height: 36px; }
  .daynight { transform: scale(.85); margin-inline: -4px; }
  .act { width: 40px; height: 40px; border-radius: 8px; }
  .burger { width: 28px; height: 28px; border-radius: 6px; }
  .bg-in { border-radius: 6px; }
}
@media (max-width: 380px) {
  .logo-g { height: 32px; }
  .bar-end { gap: 6px; }
}

/* ---------- night */
:root[data-theme="dark"] {
  --page: #2a3550;
  --ink: #E8ECF5;
  --num: #A9C3FF;
  --band: rgba(16, 22, 38, .75);
  --foot: #10172A;
  --foot-ink: #C9D2E6;
  --glass: rgba(18, 26, 46, .62);
  --glass-b: rgba(255, 255, 255, .1);
  --glass-strong: rgba(18, 26, 46, .94);
  --glass-sh: 0 18px 40px -22px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  --nav-ink: #E3E9F7;
  --nav-hover: rgba(255, 255, 255, .08);
  color-scheme: dark;
}
:root[data-theme="dark"] .logo-g { background-image: linear-gradient(110deg, #6ee7a8 0%, #7cc4ff 25%, #b8a4ff 50%, #7cc4ff 75%, #6ee7a8 100%); filter: drop-shadow(0 6px 12px rgba(124, 196, 255, .25)); }
:root[data-theme="dark"] .dn-track { background: linear-gradient(180deg, #1d2847 0%, #0c1226 100%); }
:root[data-theme="dark"] .dn-clouds { transform: translateY(26px); opacity: 0; }
:root[data-theme="dark"] .dn-stars { opacity: 1; transform: none; }
:root[data-theme="dark"] .dn-knob { transform: translateX(34px); background: radial-gradient(circle at 35% 30%, #f4f6fa 0%, #d5dbe6 60%, #b4bccb 100%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08), 0 0 0 7px rgba(255, 255, 255, .05), 0 3px 6px rgba(0, 0, 0, .45), inset -2px -2px 4px rgba(60, 70, 90, .35); }
:root[data-theme="dark"] .dn-knob::before, :root[data-theme="dark"] .dn-knob::after { opacity: 1; }
:root[data-theme="dark"] .foot { border-color: rgba(201, 210, 230, .55); background: linear-gradient(180deg, #1B2234 0%, #151B2A 100%); }
:root[data-theme="dark"] .num i { background: #7cc45a; }
:root[data-theme="dark"] .menu nav > a { border-color: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .credit { color: #C9D2E6; border-color: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .logo-g { animation: none; } .dn-knob, .dn-clouds, .dn-stars, .dn-track { transition: none; } }

/* ---------- hero: dunes video + handwritten welcome */
.hero { position: relative; height: min(88svh, 820px); min-height: 480px; overflow: hidden; display: grid; place-items: center; }
.hero-v { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, rgba(0, 0, 0, .18), transparent 70%); }
.hand { position: relative; margin: 0; font: 400 clamp(64px, 8.6vw, 140px)/1.1 var(--hand); color: #fff; text-align: center; padding-inline: 20px; text-shadow: 0 4px 30px rgba(60, 40, 20, .35); }
.hand span { display: inline-block; white-space: nowrap; }


/* ---------- numbers */
.numbers { padding: clamp(18px, 2.4vw, 34px) 24px clamp(22px, 2.8vw, 40px); display: grid; justify-items: center; gap: clamp(2px, .6vw, 10px);  position: relative; isolation: isolate; overflow: hidden; }


@keyframes mesh-drift { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(4%, -3%, 0) rotate(5deg) scale(1.06); } 100% { transform: translate3d(-4%, 2%, 0) rotate(-4deg) scale(1.03); } }

/* title and number tiles sit on the same glass as the top bar */
.nums-title { position: relative; margin: 0 0 clamp(10px, 1.4vw, 18px); width: min(1300px, 100%); box-sizing: border-box; padding: clamp(8px, 1vw, 14px) clamp(16px, 2.4vw, 36px); border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); font: 400 clamp(90px, 12.5vw, 200px)/1 var(--title); line-height: .95; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#numsCanvas { display: block; width: min(1060px, 100%); height: auto; margin-inline: auto; }
.nums-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); width: min(1300px, 100%); }
.num { display: grid; justify-items: center; align-content: center; text-align: center; padding: clamp(18px, 2vw, 30px) 12px clamp(16px, 1.8vw, 26px); border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--glass-sh); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.num b { font: 400 clamp(80px, 9vw, 128px)/.95 "Oswald", var(--title); font-weight: 500; color: var(--num); font-variant-numeric: proportional-nums; letter-spacing: -.015em; }
/* odometer: one clipped column per digit, sized by the final digit */
.odo { display: inline-flex; direction: ltr; unicode-bidi: isolate; }
.od-col { margin-inline: -.008em; position: relative; display: inline-block; overflow: hidden; contain: layout paint; height: 1.08em; line-height: 1.08em; vertical-align: top; }
.od-size { visibility: hidden; }
/* each strip gets its own GPU layer so the spin is a pure transform, no repaint */
.od-strip { position: absolute; inset: 0 0 auto; display: flex; flex-direction: column; text-align: center; will-change: transform; backface-visibility: hidden; }
.od-strip > span { height: 1.08em; }
.od-suf { display: inline-block; line-height: 1.08em; margin-inline-start: -.012em; }
.num > span { font: 400 clamp(30px, 3.3vw, 52px)/1.1 var(--title); color: var(--num); }
.num i { display: none; }

/* ---------- join pill */
.join { background: transparent; padding: 0; display: grid; place-items: center; gap: 14px; }
/* thin dark-blue rules above and below, running edge to edge */
.join::before, .join::after { content: ""; width: 100vw; height: 1px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); opacity: .85; }
:root[data-theme="dark"] .join::before, :root[data-theme="dark"] .join::after { background: linear-gradient(90deg, transparent, #A9C3FF 22%, #A9C3FF 78%, transparent); opacity: .4; }
/* Apple-style glass, same language as the top bar */
/* Apple-style glass: translucent frosted white, a bright top edge, a hairline rim and a soft lift */
.pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; color: #6E1F2E; font: 400 26px/1 var(--title); padding: 14px 26px 14px 32px; border-radius: 10px; text-align: center; background: linear-gradient(135deg, #FFC2A6 0%, #F7A08E 50%, #EC8282 100%); box-shadow: 0 14px 30px -14px rgba(220, 110, 110, .55), 0 2px 6px -2px rgba(160, 70, 70, .25), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(150, 60, 60, .16), inset 0 0 0 1px rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.pill:hover { background: linear-gradient(135deg, #FFCAB1 0%, #F9AA98 50%, #EF8C8B 100%); box-shadow: 0 18px 36px -14px rgba(220, 110, 110, .6), 0 2px 6px -2px rgba(160, 70, 70, .28), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(150, 60, 60, .16), inset 0 0 0 1px rgba(255, 255, 255, .22); }
:root[data-theme="dark"] .pill { color: #6E1F2E; }
:root[data-theme="dark"] .pill:hover { color: #6E1F2E; }
.pill .tap { color: #6E1F2E; }
.pill { white-space: nowrap; }
.pill > span { position: relative; z-index: 1; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.tap { position: relative; z-index: 1; width: 28px; height: 28px; flex: none; fill: currentColor; stroke: currentColor; }
.tap-hand { transform-origin: 50% 90%; animation: tap 1.8s var(--ease) infinite; }
.tap-ring { opacity: 0; animation: tap-ring 1.8s ease-out infinite; }
@keyframes tap { 0%, 55%, 100% { transform: translateY(0) scale(1); } 35% { transform: translateY(2px) scale(.9); } }
@keyframes tap-ring { 0%, 30% { opacity: 0; transform: scale(.8); } 40% { opacity: 1; } 75%, 100% { opacity: 0; transform: scale(1.15); } }
.tap-ring { transform-origin: 50% 60%; }
/* a light traces the whole outline: a rotating conic gradient, masked down to a 2px ring */
/* a white light runs round the outline at one constant speed: a dash travelling along the rounded-rect border (stroke-dashoffset, linear), so it never speeds up at the corners */
.pill-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pill-ring rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: 9px; fill: none; stroke-linecap: round; animation: ring-run 3.2s linear infinite; }
.pr-head { stroke: #fff; stroke-width: 2px; stroke-dasharray: 14 86; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .8)); }
@keyframes ring-run { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }


/* ---------- banners: the original composites, live text on the paper side */
.banners { display: grid; }
/* middle strips: one framed card for all of them (thin white frame, notched tabs with
   concave joins on all four sides, text + pill on the photo, a small glass card opposite) */
.banners { max-width: 1280px; margin: 0 auto; display: grid; gap: clamp(20px, 3vw, 36px); padding: clamp(28px, 4vw, 56px) max(16px, 3vw) clamp(40px, 5vw, 72px); }
/* frosted-glass frame: translucent white over the cream page, bright rim, soft lift.
   The tabs sit on the photo, so they use the solid colour the glass reads as. */
.fc { --tab: 18px; --frame: #F8F4EC; position: relative; padding: 14px; border-radius: 44px; background: linear-gradient(160deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .58) 100%); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(160, 140, 110, .12), 0 30px 60px -38px rgba(60, 50, 30, .35), 0 6px 16px -10px rgba(60, 50, 30, .18); }
.fc.pre { opacity: 0; }
.fc.pre:focus-within { opacity: 1; }
.fc-in { position: relative; aspect-ratio: 2 / 1; border-radius: 30px; overflow: hidden; isolation: isolate; }
.fc-in > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.fc:hover .fc-in > img { transform: scale(1.04); }
/* per-photo focus: keep faces in the frame when the card crops */
.fc-in > img[src*="leumi-guide"] { object-position: 50% 22%; }
/* the whole photo is the link into the page (nothing sits on the photo for now) */
.fc-link { position: absolute; inset: 0; z-index: 1; }
.fc-link:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 26px; }
.fc-tab { position: absolute; left: 50%; transform: translateX(-50%); background: var(--frame); display: grid; place-items: center; z-index: 2; border: 0; margin: 0; padding: 0; color: var(--blue); font: inherit; }
.fc-tab::before, .fc-tab::after { content: ""; position: absolute; width: calc(var(--tab) + 1px); height: calc(var(--tab) + 1px); }
.fc-top { top: -1px; padding: 12px 30px 12px; border-radius: 0 0 var(--tab) var(--tab); font: 400 clamp(30px, 3vw, 44px)/1.1 "HandFull", var(--title); color: var(--num); white-space: nowrap; }
.fc-top::before { top: -1px; right: calc(100% - 1px); background: radial-gradient(circle at 0 100%, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-top::after { top: -1px; left: calc(100% - 1px); background: radial-gradient(circle at 100% 100%, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-bot { bottom: -1px; width: 80px; height: 37px; border-radius: var(--tab) var(--tab) 0 0; padding-top: 6px; cursor: pointer; }
/* bottom tab: an animated tap that invites the click into the page (the hand presses, a ring pings out) */
.fc-bot svg.tap { width: 24px; height: 24px; color: var(--num); }
.fc-ping { position: absolute; left: 50%; top: 58%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(226, 230, 238, .7)); box-shadow: 0 6px 14px -6px rgba(10, 30, 80, .35), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(8, 47, 123, .08); -webkit-backdrop-filter: blur(10px) saturate(170%); backdrop-filter: blur(10px) saturate(170%); }
.fc-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--num); opacity: 0; animation: fc-ping 1.8s var(--ease) infinite; }
@keyframes fc-ping { 0%, 30% { opacity: 0; transform: scale(.85); } 38% { opacity: .45; } 80%, 100% { opacity: 0; transform: scale(1.12); } }
.fc-bot:hover svg.tap { color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .fc-ping::after { animation: none; } }
.fc-bot::before { bottom: -1px; right: calc(100% - 1px); background: radial-gradient(circle at 0 0, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-bot::after { bottom: -1px; left: calc(100% - 1px); background: radial-gradient(circle at 100% 0, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-tab.fc-side { --tab: 13px; left: auto; top: 50%; transform: translateY(-50%); width: 26px; height: 58px; cursor: pointer; }
.fc-side svg { width: 14px; height: 14px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fc-side.r { right: -1px; border-radius: var(--tab) 0 0 var(--tab); }
.fc-side.r:hover svg { transform: translateX(2px); }
.fc-side.r::before { right: -1px; bottom: calc(100% - 1px); background: radial-gradient(circle at 0 0, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-side.r::after { right: -1px; top: calc(100% - 1px); background: radial-gradient(circle at 0 100%, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-tab.fc-side.l { left: -1px; border-radius: 0 var(--tab) var(--tab) 0; }
.fc-side.l:hover svg { transform: translateX(-2px); }
.fc-side.l::before { left: -1px; bottom: calc(100% - 1px); background: radial-gradient(circle at 100% 0, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
.fc-side.l::after { left: -1px; top: calc(100% - 1px); background: radial-gradient(circle at 100% 100%, transparent calc(var(--tab) + .5px), var(--frame) calc(var(--tab) + 1px)); }
/* glass band, edge to edge, centred halfway between the side arrows and the bottom edge; text at the title-tab size */
.fc-band { position: absolute; inset-inline: 0; top: 75%; transform: translateY(-50%); z-index: 1; margin: 0; padding: 12px 24px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; font: 400 clamp(26px, 2.6vw, 38px)/1.15 var(--title); color: var(--num); background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .32)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
:root[data-theme="dark"] .fc-band { color: #E3E9F7; background: linear-gradient(180deg, rgba(20, 26, 40, .5), rgba(20, 26, 40, .35)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.fc-tab:disabled { cursor: default; }
.fc-tab:disabled svg { opacity: .25; }
.fc-txt { position: absolute; top: 50%; right: clamp(48px, 6vw, 80px); transform: translateY(-40%); display: grid; justify-items: start; gap: 6px; max-width: 42%; color: #fff; }
.fc-k { font: 600 14px/1 var(--ui); letter-spacing: .04em; opacity: .85; }
.fc-s { margin: 0; font: 400 clamp(30px, 3vw, 46px)/1.05 var(--sub); text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.fc-pill { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 10px; background: #fff; color: var(--blue); font: 600 16px/1 var(--ui); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); transition: background .35s, color .35s; }
.fc-pill svg { width: 17px; height: 17px; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.fc-pill:hover { background: var(--blue); color: #fff; }
.fc-pill:hover svg { transform: translateX(-4px); }
.fc-mini { position: absolute; left: 44px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 22px; background: rgba(255, 255, 255, .72); box-shadow: 0 18px 40px -24px rgba(10, 30, 80, .6), inset 0 0 0 1px rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.fc-mini span { display: grid; gap: 3px; font: 600 13px/1.2 var(--ui); color: #1d2a44; }
.fc-mini small { font-weight: 500; font-size: 12px; color: #55607a; }
.fc-mini i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; font-style: normal; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.fc-mini i svg { width: 19px; height: 19px; fill: currentColor; }
.fc-mini:hover i { transform: scale(1.08); }
:root[data-theme="dark"] .fc-ping { background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .fc { --frame: #1d2436; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -38px rgba(0, 0, 0, .7); }

/* ---------- footer */
.foot { background: linear-gradient(180deg, #ECE8E1 0%, #DEDAD3 55%, #D2CEC7 100%); color: var(--foot-ink); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding: 40px 16px calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; border-top: 2px solid var(--blue); }
.foot-logo { height: 56px; }
/* footer rhythm: rule→logo 40 · logo→address 16 · address→links tight · links→credit 28 · credit→bottom 40 */
.foot-addr { margin-top: 16px !important; }
.foot .foot-links { margin-top: 0; }
.foot .voos-credit { margin: 28px auto 0; }
.foot a:hover { color: var(--leaf); }
.foot p { margin: 0; font-size: 17px; max-width: 100%; }
.foot-addr { white-space: nowrap; font-size: min(17px, 3.55vw) !important; }
/* legal links: one quiet row, small UI type, thin dot separators drawn in CSS (Asaf's own dot glyph is too wide) */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 6px; font: 500 14px/1 var(--ui); }
.foot-links a { position: relative; padding: 6px 12px; color: color-mix(in srgb, var(--foot-ink) 62%, transparent); text-decoration: none; transition: color .25s; }
@media (max-width: 760px) { .foot-links { flex-wrap: nowrap; font-size: 13px; } .foot-links a { padding: 6px 8px; white-space: nowrap; } }
.foot-links a + a::before { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; opacity: .45; }
.foot-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
:root[data-theme="dark"] .foot-links a:hover { color: #fff; }
.credit { margin-top: 10px; font-size: 13px; letter-spacing: .04em; color: var(--brown-d); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(99, 60, 43, .25); }

/* accessibility */
.a11y-btn { position: fixed; z-index: 46; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: calc(22px + env(safe-area-inset-left, 0px)); width: 52px; height: 52px; border: 0; border-radius: 50%; background: #1a56c9; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(26, 86, 201, .7); transition: transform .3s var(--ease); }
.a11y-btn svg { width: 30px; height: 30px; fill: #fff; }
.a11y-btn:hover { transform: scale(1.08); }
.a11y { position: fixed; z-index: 47; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: calc(22px + env(safe-area-inset-left, 0px)); width: 250px; display: grid; gap: 6px; padding: 14px; border-radius: 18px; background: var(--glass-strong, rgba(255, 255, 255, .94)); border: 1px solid var(--glass-b); box-shadow: 0 24px 50px -20px rgba(20, 30, 60, .6); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font: 600 15px/1.2 var(--ui); color: var(--nav-ink); }
.a11y-h { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.a11y-size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
.a11y button { height: 40px; border: 1px solid rgba(8, 47, 123, .14); border-radius: 8px; background: rgba(8, 47, 123, .05); font: inherit; color: inherit; cursor: pointer; }
.a11y button:hover { background: rgba(8, 47, 123, .1); }
.a11y-opt[aria-pressed=true] { background: #1a56c9; border-color: #1a56c9; color: #fff; }
.a11y-reset { margin-top: 4px; }
.a11y a { text-align: center; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding-top: 4px; }
:root[data-theme=dark] .a11y button { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }
html.a11y-contrast { filter: contrast(1.25); }
html.a11y-contrast .num > span { color: #000 !important; }
html.a11y-links a:not(.brand) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; outline: 2px dashed #f5b400; outline-offset: 2px; }
html.a11y-readable { --title: Arial, sans-serif; --sub: Arial, sans-serif; --hand: Arial, sans-serif; --body: Arial, sans-serif; --ui: Arial, sans-serif; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }

/* floating WhatsApp */
.wa { position: fixed; z-index: 45; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); right: calc(22px + env(safe-area-inset-right, 0px)); width: 62px; height: 62px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(37, 211, 102, .18), 0 8px 20px rgba(0, 0, 0, .25); transition: transform .35s var(--ease); }
.wa svg { width: 34px; height: 34px; fill: #fff; }
.wa:hover { transform: scale(1.08); }

@media (max-width: 760px) {
  body { font-size: 17px; background-size: 200% auto; }
  .hero { height: 70svh; min-height: 420px; }
  .hand { font-size: clamp(54px, 15vw, 80px); line-height: 1.15; }
  .nums-title { font-size: 22vw; }
  .numbers { padding-inline: 16px; }
  .nums-title { width: 100%; }
  .nums-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .num { padding: 16px 6px 14px; border-radius: 14px; }
  .nums-title { border-radius: 16px; padding: 6px 14px; }
  .num b { font-size: 19vw; }
  .num > span { font-size: 5.6vw; white-space: nowrap; }
  .pill { font-size: 19px; padding: 11px 14px 11px 18px; gap: 8px; max-width: 100%; }
  .pill .tap { width: 20px; height: 20px; }
  .tap { width: 24px; height: 24px; }
  /* phones: the card turns portrait, text and pill sit at the bottom centre */
  .fc { padding: 10px; border-radius: 34px; --tab: 16px; }
  .fc-in { aspect-ratio: 8 / 7; border-radius: 26px; }
  .fc-top { padding: 9px 22px 9px; font-size: 30px; }
  .fc-band { font-size: min(26px, 6.8vw); padding: 10px 12px; text-overflow: clip; }
  .fc-txt { top: auto; bottom: 52px; right: 18px; left: 18px; transform: none; max-width: none; justify-items: center; text-align: center; }
  .fc-s { font-size: 30px; }
  .fc-mini { display: none; }
  .fc-tab.fc-side { --tab: 11px; height: 46px; width: 22px; }
  .wa { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* סרגל הקרדיט של VOOSads, כמו במערכת eshkolot-hub */
  .voos-credit {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 32px);
    margin: 18px auto calc(28px + env(safe-area-inset-bottom)); padding: 9px 22px; border-radius: 14px;
    background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); color: #6b7a72;
    font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Heebo, Arial, sans-serif; letter-spacing: .2px; direction: ltr;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 24px -18px rgba(30, 40, 80, .5);
    text-decoration: none; cursor: pointer; transition: box-shadow .15s, border-color .15s;
  }
  .voos-credit:hover { border-color: #6fcf3c; box-shadow: 0 10px 24px -12px rgba(60, 140, 40, .7); }
  .voos-credit:focus-visible { outline: 3px solid rgba(111, 207, 60, .6); outline-offset: 3px; }
  /* פס אור שחולף, כוכב מסתובב ושם בגרדיאנט נע */
  .voos-credit::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%);
    animation: voos-sweep 4.5s ease-in-out infinite;
  }
  .voos-credit b {
    font-weight: 700; color: transparent; background: linear-gradient(90deg, #1c4a1f, #6fcf3c, #1c4a1f, #6fcf3c, #1c4a1f) 0 0 / 200% 100%;
    -webkit-background-clip: text; background-clip: text; animation: voos-shift 4s linear infinite;
  }
  .voos-credit .voos-spark { display: inline-block; color: #6fcf3c; font-size: 15px; line-height: 1; animation: voos-spin 7s linear infinite, voos-pulse 2.2s ease-in-out infinite; }
  @keyframes voos-sweep { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
  @keyframes voos-shift { to { background-position: -200% 0; } }
  @keyframes voos-spin { to { rotate: 360deg; } }
  @keyframes voos-pulse { 50% { scale: 1.35; } }
  @media (max-width: 640px) { .voos-credit { font-size: 12px; padding: 8px 16px; } }
  @media (prefers-reduced-motion: reduce) { .voos-credit, .voos-credit::after, .voos-credit b, .voos-credit .voos-spark { animation: none; } }
  /* מצב כהה */
  html[data-theme="dark"] .voos-credit, html.dark .voos-credit { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #b6bfcc; }
  html[data-theme="dark"] .voos-credit::after, html.dark .voos-credit::after { background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); }
  html[data-theme="dark"] .voos-credit b, html.dark .voos-credit b { background-image: linear-gradient(90deg, #8fe05a, #d6ffb8, #8fe05a, #d6ffb8, #8fe05a); }


/* ---------- scroll performance on phones: keep the fixed background still, drop the full-screen blend,
   and skip rendering sections that are off screen. Visually the same, far less work per frame. */
@media (max-width: 760px), (pointer: coarse) {
  body::before { animation: none; will-change: auto; }
  body::after { mix-blend-mode: normal; opacity: .05; }
  .banners > .fc, main > section:not(.hero):not(.pg-hero) { content-visibility: auto; contain-intrinsic-block-size: auto 600px; }
  .fc, .fc-band, .fc-ping { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fc { background: linear-gradient(160deg, rgba(252, 251, 248, .95), rgba(242, 240, 235, .92)); }
  .fc-band { background: rgba(255, 255, 255, .72); }
  :root[data-theme="dark"] .fc { background: rgba(30, 38, 56, .94); }
}

/* "המספרים שלנו" panel + number tiles: transparent glass like the client's reference — almost no fill, so the page colour shows straight through;
   the box is drawn by a bright hairline rim, a top sheen and a faint shadow (declared last so it wins over the .num / .nums-title rules) */
.numbers .nums-title, .numbers .num { background: linear-gradient(155deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, .12) 100%); border: 1px solid rgba(255, 255, 255, .75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 18px rgba(255, 255, 255, .18), 0 12px 28px -20px rgba(80, 60, 30, .3); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
:root[data-theme="dark"] .numbers .nums-title, :root[data-theme="dark"] .numbers .num { background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border-color: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 28px -20px rgba(0, 0, 0, .6); }

/* numbers strip: soft blurred colour pools in the brand colours (blue, green, sand) drift slowly behind the glass panels; the page stays light */
.numbers::before { content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; background: radial-gradient(26% 38% at 20% 35%, rgba(70, 120, 210, .55) 0%, rgba(70, 120, 210, 0) 70%), radial-gradient(24% 36% at 78% 30%, rgba(110, 160, 95, .55) 0%, rgba(110, 160, 95, 0) 70%), radial-gradient(30% 40% at 55% 78%, rgba(214, 170, 110, .6) 0%, rgba(214, 170, 110, 0) 70%), radial-gradient(18% 28% at 88% 82%, rgba(70, 120, 210, .35) 0%, rgba(70, 120, 210, 0) 70%); animation: num-blobs 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes num-blobs { 0% { transform: translate3d(-4%, 2%, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(3%, -3%, 0) rotate(6deg) scale(1.06); } 100% { transform: translate3d(5%, 3%, 0) rotate(-4deg) scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .numbers::before { animation: none; } }
.numbers .nums-title, .numbers .num { background: linear-gradient(155deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .28) 100%); border-color: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 0 24px rgba(255, 255, 255, .15), 0 18px 36px -22px rgba(30, 18, 8, .55); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }

/* ---------- heartbeat line (homepage under the welcome, Kinar under the title) */
/* heartbeat line under the title, edge to edge — the same construction as the footer line in shoot-shoot:
   two identical beats, a light window sweeping at a steady pace, and the heart in the middle fills only while the light passes through it (50%) */
.pg-pulse { --hs: 60px; --gap: calc(var(--hs) * .34); position: relative; width: 100%; height: 48px; margin-top: 6px; }
/* the line stops at the heart's edges and resumes after it: a gap the heart's width is masked out of both line layers */
.pl-lines { position: absolute; inset: 0; -webkit-mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent calc(50% - var(--gap)), transparent calc(50% + var(--gap)), #000 calc(50% + var(--gap))); mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent calc(50% - var(--gap)), transparent calc(50% + var(--gap)), #000 calc(50% + var(--gap))); }
.pg-pulse svg:not(.pl-heart) { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* matched to the EcgDivider spec: dim 1.5px base, bright 2px pulse without glow, centre item switches dim → bright exactly as the pulse passes (50%) */
.pl-base { stroke: #fff; stroke-width: 1.5px; }
.pl-run { stroke: #7FA9C2; stroke-width: 2px; -webkit-mask: linear-gradient(90deg, transparent, #000 75%, transparent) no-repeat; mask: linear-gradient(90deg, transparent, #000 75%, transparent) no-repeat; -webkit-mask-size: 22% 100%; mask-size: 22% 100%; animation: pl-run 4s linear infinite; }
@keyframes pl-run { from { -webkit-mask-position: -30% 0; mask-position: -30% 0; } to { -webkit-mask-position: 130% 0; mask-position: 130% 0; } }
.pl-heart { position: absolute; left: 50%; top: 50%; width: var(--hs); height: var(--hs); translate: -50% -50%; overflow: visible; filter: drop-shadow(0 2px 6px rgba(10, 20, 40, .35)); }
/* brush-stroke heart (original drawing in the style the client sent): two tapered strokes; it brightens and beats when the pulse passes */
.pl-brush { fill: #fff; animation: pl-beat 4s linear infinite; }
/* everything solid white; the travelling pulse is a light blue-grey, and the centre icon flashes that colour as it passes */
@keyframes pl-beat { 0%, 44%, 62%, 100% { fill: #fff; } 50% { fill: #7FA9C2; } }
@media (max-width: 760px) {
  .pg-pulse { --hs: 52px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .pl-run { display: none; } .pl-brush { animation: none; } }
.hero { align-content: center; }
.hero .pg-pulse { justify-self: stretch; margin-top: clamp(4px, 1vw, 14px); }
/* homepage pulse: the map of the Land of Israel sits in the middle instead of the heart; the line meets its edges */
.pg-pulse-map .pl-lines { -webkit-mask: none; mask: none; }
.pl-heart.pl-map { width: 15.6px; height: 43.2px; filter: none; }

/* ---------- homepage in the LUNA blue palette (#A7EBF2 #54ACBF #26658C #023859 #011C40); inner pages keep their own palettes (body.pg-kinar) */
:root:not([data-theme="dark"]):has(body:not(.pg-kinar)) { background: #E3F2F5; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) { --num: #023859; --blue: #023859; --nav-ink: #011C40; --nav-hover: rgba(2, 56, 89, .08); }
:root:not([data-theme="dark"]) body:not(.pg-kinar)::before { background: radial-gradient(42% 50% at 10% 12%, #F2FAFB 0%, rgba(242, 250, 251, 0) 62%), radial-gradient(36% 44% at 94% 6%, #A7EBF2 0%, rgba(167, 235, 242, 0) 64%), radial-gradient(55% 55% at 72% 88%, #9FCFDC 0%, rgba(159, 207, 220, 0) 70%), radial-gradient(50% 55% at 32% 66%, #DDF1F5 0%, rgba(221, 241, 245, 0) 72%), linear-gradient(135deg, #EEF8FA 0%, #D6EDF2 52%, #BFE0E8 100%); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before { background: radial-gradient(26% 38% at 20% 35%, rgba(38, 101, 140, .5) 0%, rgba(38, 101, 140, 0) 70%), radial-gradient(24% 36% at 78% 30%, rgba(84, 172, 191, .55) 0%, rgba(84, 172, 191, 0) 70%), radial-gradient(30% 40% at 55% 78%, rgba(167, 235, 242, .7) 0%, rgba(167, 235, 242, 0) 70%), radial-gradient(18% 28% at 88% 82%, rgba(2, 56, 89, .35) 0%, rgba(2, 56, 89, 0) 70%); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .fc { --frame: #F1F9FB; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .join::before, :root:not([data-theme="dark"]) body:not(.pg-kinar) .join::after { background: linear-gradient(90deg, transparent, #26658C 22%, #26658C 78%, transparent); }
:root:not([data-theme="dark"]) body .foot { background: linear-gradient(180deg, #E4F1F4 0%, #CFE4EA 55%, #BDD8E0 100%); border-top-color: #023859; }

/* ---------- homepage numbers strip + footer: steel-blue backdrop with soft blurred spheres, and clear frosted glass on top (client reference) */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers, :root:not([data-theme="dark"]) body .foot { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(165deg, #2B5A88 0%, #3F6E9C 38%, #7F9FBF 78%, #B4C6D8 100%); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before, :root:not([data-theme="dark"]) body .foot::before { content: ""; position: absolute; inset: -15%; z-index: -1; pointer-events: none; background: radial-gradient(16% 26% at 18% 30%, #2E5F92 0%, #2E5F92 55%, rgba(46, 95, 146, 0) 72%), radial-gradient(13% 22% at 30% 20%, #3C6FA3 0%, #3C6FA3 50%, rgba(60, 111, 163, 0) 70%), radial-gradient(14% 24% at 84% 72%, #23507F 0%, #23507F 50%, rgba(35, 80, 127, 0) 72%), radial-gradient(10% 16% at 6% 92%, #1E4673 0%, rgba(30, 70, 115, 0) 70%); filter: blur(10px); animation: num-blobs 22s ease-in-out infinite alternate; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .nums-title, :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num { background: linear-gradient(160deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .12) 100%); border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .15), 0 30px 50px -30px rgba(8, 28, 60, .55); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num b, :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num > span { color: #fff; text-shadow: 0 2px 14px rgba(8, 28, 60, .25); }
:root:not([data-theme="dark"]) body .foot { color: #fff; border-top-color: rgba(255, 255, 255, .5); }
:root:not([data-theme="dark"]) body .foot-links a { color: rgba(255, 255, 255, .82); }
:root:not([data-theme="dark"]) body .foot-links a:hover { color: #fff; }
:root:not([data-theme="dark"]) body .foot-logo { background-image: none; background-color: #fff; }
:root:not([data-theme="dark"]) body .foot .voos-credit { background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1)); border-color: rgba(255, 255, 255, .5); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* ---------- reference glass, refined: solid shaded spheres drift behind the panels so the frosted glass has something to blur */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before, :root:not([data-theme="dark"]) body .foot::before {
  inset: -10%; filter: none;
  --s1: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, .32) 0, rgba(255, 255, 255, 0) 26%), radial-gradient(circle, #5D8CC2 0, #2F6197 40%, #1D4675 62%, rgba(29, 70, 117, 0) 63%);
  background: var(--s1) 8% 18% / 340px 340px no-repeat, var(--s1) 30% 2% / 240px 240px no-repeat, var(--s1) 78% 60% / 300px 300px no-repeat, var(--s1) 95% 6% / 180px 180px no-repeat, var(--s1) 50% 104% / 220px 220px no-repeat;
  animation: glass-orbs 16s ease-in-out infinite alternate;
}
@keyframes glass-orbs { 0% { transform: translate3d(-5%, 4%, 0) rotate(0deg); } 50% { transform: translate3d(4%, -4%, 0) rotate(4deg) scale(1.04); } 100% { transform: translate3d(-2%, -6%, 0) rotate(-3deg); } }
@media (max-width: 760px) { :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before, :root:not([data-theme="dark"]) body .foot::before { background-size: 220px 220px, 160px 160px, 200px 200px, 120px 120px, 150px 150px; } }
@media (prefers-reduced-motion: reduce) { :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before, :root:not([data-theme="dark"]) body .foot::before { animation: none; } }
/* the frosted panel: heavy blur, a milky lift, a bright 1px rim and an inner glow, like the reference card */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .nums-title, :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num,
:root:not([data-theme="dark"]) body .foot-addr, :root:not([data-theme="dark"]) body .foot .foot-links {
  background: linear-gradient(155deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .16) 100%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 0 22px rgba(255, 255, 255, .12), 0 36px 60px -32px rgba(6, 24, 52, .6);
  -webkit-backdrop-filter: blur(26px) saturate(150%) brightness(1.06); backdrop-filter: blur(26px) saturate(150%) brightness(1.06);
}
/* "המספרים שלנו" in translucent white, so the backdrop shows through the letters */
:root:not([data-theme="dark"]) body:not(.pg-kinar) #numsCanvas { filter: brightness(0) invert(1); opacity: .6; }
/* footer sentences in glass pills */
:root:not([data-theme="dark"]) body .foot-addr { padding: 10px 22px; border-radius: 14px; max-width: calc(100% - 8px); box-sizing: border-box; }
:root:not([data-theme="dark"]) body .foot .foot-links { margin-top: 10px; padding: 4px 8px; border-radius: 14px; }

/* no spheres: only the gradient colours drift — large soft colour pools in the blue palette sliding slowly over the base gradient */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before, :root:not([data-theme="dark"]) body .foot::before {
  inset: -30%;
  background: radial-gradient(38% 42% at 22% 30%, rgba(84, 172, 191, .7) 0%, rgba(84, 172, 191, 0) 70%), radial-gradient(40% 46% at 78% 70%, rgba(1, 28, 64, .55) 0%, rgba(1, 28, 64, 0) 70%), radial-gradient(34% 40% at 70% 20%, rgba(167, 235, 242, .55) 0%, rgba(167, 235, 242, 0) 70%), radial-gradient(36% 40% at 28% 82%, rgba(38, 101, 140, .65) 0%, rgba(38, 101, 140, 0) 70%);
  background-size: auto;
  animation: glass-flow 14s ease-in-out infinite alternate;
}
@keyframes glass-flow { 0% { transform: translate3d(-8%, -4%, 0) rotate(0deg); } 50% { transform: translate3d(6%, 5%, 0) rotate(12deg) scale(1.08); } 100% { transform: translate3d(-3%, 7%, 0) rotate(-8deg); } }
/* footer address pill: shrink with the screen so the sentence stays inside its glass */
:root:not([data-theme="dark"]) body .foot-addr { padding: 9px 14px; font-size: min(17px, 3.15vw) !important; }

/* "המספרים שלנו" in solid white */
:root:not([data-theme="dark"]) body:not(.pg-kinar) #numsCanvas { opacity: 1; filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(8, 28, 60, .25)); }

/* a little lighter backdrop for the numbers strip and footer */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers, :root:not([data-theme="dark"]) body .foot { background: linear-gradient(165deg, #3F72A3 0%, #5687B6 38%, #92B1CE 78%, #C2D3E3 100%); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before, :root:not([data-theme="dark"]) body .foot::before { background: radial-gradient(38% 42% at 22% 30%, rgba(84, 172, 191, .6) 0%, rgba(84, 172, 191, 0) 70%), radial-gradient(40% 46% at 78% 70%, rgba(2, 56, 89, .35) 0%, rgba(2, 56, 89, 0) 70%), radial-gradient(34% 40% at 70% 20%, rgba(167, 235, 242, .6) 0%, rgba(167, 235, 242, 0) 70%), radial-gradient(36% 40% at 28% 82%, rgba(38, 101, 140, .45) 0%, rgba(38, 101, 140, 0) 70%); }
/* footer: both glass boxes share one width */
:root:not([data-theme="dark"]) body .foot-addr, :root:not([data-theme="dark"]) body .foot .foot-links { width: min(600px, calc(100% - 16px)); box-sizing: border-box; justify-content: center; text-align: center; }
@media (max-width: 760px) { :root:not([data-theme="dark"]) body .foot .foot-links { padding: 4px 2px; font-size: min(13px, 3.3vw); } :root:not([data-theme="dark"]) body .foot .foot-links a { padding: 6px min(8px, 1.8vw); } }
/* footer pills: same, tighter corners; VOOSads credit animated in white */
:root:not([data-theme="dark"]) body .foot-addr, :root:not([data-theme="dark"]) body .foot .foot-links { border-radius: 8px; }
:root:not([data-theme="dark"]) body .foot .voos-credit { border-radius: 8px; }
:root:not([data-theme="dark"]) body .foot .voos-credit b { background-image: linear-gradient(90deg, rgba(255, 255, 255, .55), #fff, rgba(255, 255, 255, .55), #fff, rgba(255, 255, 255, .55)); }
:root:not([data-theme="dark"]) body .foot .voos-credit .voos-spark { color: #fff; }
:root:not([data-theme="dark"]) body .foot .voos-credit:hover { border-color: #fff; box-shadow: 0 10px 24px -12px rgba(8, 28, 60, .5); }

/* "המספרים שלנו" animated like the VOOSads credit: a light sweeps across the glass panel, and a brighter band travels through the letters */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .nums-title { overflow: hidden; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .nums-title::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%); background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%); animation: voos-sweep 4.5s ease-in-out infinite; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) #numsCanvas { -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .78) 40%, #000 50%, rgba(0, 0, 0, .78) 60%, rgba(0, 0, 0, .78) 100%); mask-image: linear-gradient(100deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .78) 40%, #000 50%, rgba(0, 0, 0, .78) 60%, rgba(0, 0, 0, .78) 100%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; animation: title-shine 4s linear infinite; }
@keyframes title-shine { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .nums-title::after, :root:not([data-theme="dark"]) body:not(.pg-kinar) #numsCanvas { animation: none; } }
/* footer pills: dark navy glass so the white text reads clearly on any part of the gradient */
:root:not([data-theme="dark"]) body .foot-addr, :root:not([data-theme="dark"]) body .foot .foot-links, :root:not([data-theme="dark"]) body .foot .voos-credit { background: linear-gradient(160deg, rgba(1, 28, 64, .7) 0%, rgba(2, 56, 89, .62) 100%); border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 34px -22px rgba(1, 20, 45, .7); }
:root:not([data-theme="dark"]) body .foot-addr, :root:not([data-theme="dark"]) body .foot-addr a, :root:not([data-theme="dark"]) body .foot-links a { color: #fff; text-shadow: none; }
:root:not([data-theme="dark"]) body .foot-links a + a::before { opacity: .6; }
/* footer: the links line in Asaf too, matching the address line */
.foot .foot-links, :root:not([data-theme="dark"]) body .foot .foot-links { font: 400 min(17px, 3.15vw)/1.2 var(--body); }
/* homepage main backdrop: light beige instead of the blue mesh (the numbers strip and footer keep their blue glass) */
:root:not([data-theme="dark"]) body:not(.pg-kinar)::before { background: radial-gradient(42% 50% at 10% 12%, #FFFDF8 0%, rgba(255, 253, 248, 0) 62%), radial-gradient(36% 44% at 94% 6%, #F3E9D7 0%, rgba(243, 233, 215, 0) 64%), radial-gradient(55% 55% at 72% 88%, #EFE3CE 0%, rgba(239, 227, 206, 0) 70%), radial-gradient(50% 55% at 32% 66%, #FAF5EB 0%, rgba(250, 245, 235, 0) 72%), linear-gradient(135deg, #FBF8F1 0%, #F5EEE1 52%, #EFE5D4 100%); }
/* homepage "המספרים שלנו": cream backdrop with the same slow drifting colour pools, in warm cream tones; navy type on the glass tiles */
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers { background: linear-gradient(165deg, #FBF6EC 0%, #F5ECDC 45%, #EEE1CB 100%); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers::before { background: radial-gradient(38% 42% at 22% 30%, rgba(233, 214, 182, .9) 0%, rgba(233, 214, 182, 0) 70%), radial-gradient(40% 46% at 78% 70%, rgba(222, 196, 158, .7) 0%, rgba(222, 196, 158, 0) 70%), radial-gradient(34% 40% at 70% 20%, rgba(255, 252, 244, .95) 0%, rgba(255, 252, 244, 0) 70%), radial-gradient(36% 40% at 30% 80%, rgba(240, 225, 200, .85) 0%, rgba(240, 225, 200, 0) 70%); background-size: auto; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .nums-title, :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num { background: linear-gradient(160deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 100%); border-color: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 16px 32px -22px rgba(120, 90, 50, .45); }
:root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num b, :root:not([data-theme="dark"]) body:not(.pg-kinar) .numbers .num > span { color: #023859; text-shadow: none; }
:root:not([data-theme="dark"]) body:not(.pg-kinar) #numsCanvas { filter: brightness(0) invert(15%) sepia(55%) saturate(2600%) hue-rotate(187deg) brightness(.9) drop-shadow(0 2px 10px rgba(120, 90, 50, .2)); opacity: 1; }
/* menu tile: a soft pastel take on the same green-blue-violet gradient, frosted, with navy lines — it sits in the glass bar instead of shouting */
.bg-in { background-image: linear-gradient(110deg, #BFE6D3 0%, #C3DAF6 25%, #D6CCF3 50%, #C3DAF6 75%, #BFE6D3 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 6px 14px -10px rgba(8, 47, 123, .45); }
.burger i { background: #1E3A6E; }
/* mobile menu: a frosted, see-through sheet instead of a solid one */
.menu { background: rgba(242, 234, 219, .62); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
:root[data-theme="dark"] .menu { background: rgba(21, 26, 36, .62); }
/* footer logo is a link home */
.foot-home { display: inline-block; }
/* menu tile: a fine outline in the colour of its own lines */
.bg-in { box-shadow: inset 0 0 0 1.5px #1E3A6E, inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 14px -10px rgba(8, 47, 123, .45); }
/* menu tile: no gradient, see-through, the navy outline only */
.bg-in { background: transparent; background-image: none; box-shadow: inset 0 0 0 1.5px #1E3A6E; }
/* "הללויה": a square portrait — keep the hat and face in the wide card */
.fc-in > img[src*="r-cow"] { object-position: 50% 18%; }
.fc-in > img[src*="r-heroic"] { object-position: 50% 0%; }
/* language switch: the same tile as the menu icon (size, corners, navy outline), with the other language's code */
.lang-tg { width: 32px !important; height: 32px; padding: 0; align-self: center; border-radius: 7px; font: 700 12px/1 "Heebo", sans-serif; letter-spacing: 0; color: #1E3A6E; text-decoration: none; background: transparent; border: 0; box-shadow: inset 0 0 0 1.5px #1E3A6E; }
.lang-tg:hover { background: rgba(255, 255, 255, .55); transform: none; }
/* optical centring, measured in pixels: the font's line box sits the letters a hair off-centre */
.lang-tg:lang(en) { padding: .5px 0 0; }
.lang-tg:lang(he) { padding: 0 0 1.25px .75px; }
@media (max-width: 760px) { .lang-tg { width: 28px !important; height: 28px; border-radius: 6px; font-size: 11px; } }
/* ---------- English pages (html[lang="en"]): Latin faces in place of the Hebrew-only ones, tighter display sizes ---------- */
html[lang="en"] { --title: "Oswald", "Arial Narrow", sans-serif; --body: "Heebo", "Segoe UI", Arial, sans-serif; }
/* English in Apple's type: SF Pro on Apple devices (the system font, it can't be embedded), Inter elsewhere (loaded on the English pages) */
html[lang="en"], [lang="en"] { --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif; --title: var(--sf); --body: var(--sf); --hand: var(--sf); }
html[lang="en"] body, [lang="en"]:not(html):not(.lang-tg) { font-family: var(--sf); -webkit-font-smoothing: antialiased; }
/* Apple-style display text: semibold to bold, tight tracking */
html[lang="en"] :is(h1, h2, h3, .pg-h, .hand, .hero-kick, .nums-title, .num b, .fc-top, .fc-band, .f-type-h, .f-tname, .f-reg-name, .f-price, .f-price-line, .f-dates, .c-head, .gt), [lang="en"]:not(html) :is(.f-tname, h3) { font-family: var(--sf) !important; font-weight: 700; letter-spacing: -.022em; }
html[lang="en"] :is(.nav > a, .dd-btn, .dd-panel a, .menu nav > a, .pg-btn, .f-btn, .c-chip, .pg-tile summary h3, .f-kinds span, .f-pass-info h2, .f-pass-info h3, .f-safe, .f-ready span, .f-facts b, .f-sub, .pg-steps b span) { font-family: var(--sf) !important; font-weight: 600; letter-spacing: -.01em; }
html[lang="en"] :is(p, li, .f-facts span, .f-lead) { font-family: var(--sf); letter-spacing: -.003em; }
html[lang="en"] body { font-family: var(--body); }
html[lang="en"] .nav > a, html[lang="en"] .dd-btn, html[lang="en"] .dd-panel a, html[lang="en"] .menu nav > a { font-family: var(--title); font-weight: 500; letter-spacing: .01em; }
html[lang="en"] .nav > a, html[lang="en"] .dd-btn { font-size: 17px; }
html[lang="en"] .num > span { font-size: clamp(14px, 1.3vw, 18px); line-height: 1.2; }
html[lang="en"] .fc-band, html[lang="en"] .fc-top { letter-spacing: .01em; }
html[lang="en"] .fc-top { font-family: "HandFull", var(--title); }
html[lang="en"] #hFaq { white-space: normal; text-wrap: balance; }
html[lang="en"] .pg-faq-tiles h3 { white-space: normal; text-wrap: balance; }
html[lang="en"] .pg-h { text-wrap: balance; }
html[lang="en"] .pg-last { white-space: normal; text-wrap: balance; text-align: center; }
html[lang="en"] .pg-last.pg-last-big { font-size: clamp(22px, 2.4vw, 36px); }
html[lang="en"] #hJoin, html[lang="en"] #hSteps, html[lang="en"] #hWhyUs, html[lang="en"] #hServe, html[lang="en"] #hMag, html[lang="en"] #hVid { white-space: normal; text-wrap: balance; }
html[lang="en"] .c-head { white-space: normal; font-size: clamp(40px, 5vw, 76px); }
html[lang="en"] .c-head span::before { content: none; }
html[lang="en"] .c-head span { display: block; }
@media (max-width: 760px) { html[lang="en"] .c-head { font-size: 11vw; } html[lang="en"] #hJoin, html[lang="en"] #hWhyUs, html[lang="en"] #hServe, html[lang="en"] #hMag, html[lang="en"] #hVid { font-size: 8vw; } }
html[lang="en"] .nav > a, html[lang="en"] .dd-btn { font-size: 15.5px; padding-inline: 8px; }
@media (max-width: 1360px) { html[lang="en"] .nav > a, html[lang="en"] .dd-btn { font-size: 14px; padding-inline: 6px; } }
/* English nav: one more menu item (festivals) — tighter from 1520px, burger below 1380px */
@media (max-width: 1520px) { html[lang="en"] .nav > a, html[lang="en"] .dd-btn { font-size: 14px; padding-inline: 5px; } }
@media (max-width: 1380px) { html[lang="en"] .nav { display: none; } html[lang="en"] .burger { display: block; } }
@media (max-width: 760px) { html[lang="en"] .g-nums .nums-title, html[lang="en"] .g-nums .nums-title .gt { white-space: normal; text-wrap: balance; } }
/* ---------- review fixes: touch targets, menu, phone dock, night details ---------- */
/* phones: bigger tap areas for the menu tile and the day / night switch, with no visual change */
@media (max-width: 760px) {
  .burger::after { content: ""; position: absolute; inset: -8px -6px; }
  .daynight::after { content: ""; position: absolute; inset: -10px -2px; }
}
/* open menu: the page behind it stays put */
.menu { overscroll-behavior: contain; }
html.menu-open { overflow: hidden; }
html.menu-open .m-dock { visibility: hidden; }
/* footer: taller tap rows on phones, same look (the extra padding is taken back by a negative margin) */
@media (max-width: 760px) {
  .foot .foot-links a { padding-block: 13px; margin-block: -7px; }
  .foot-addr a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
/* accessibility button on phones: smaller, and it slides out of the way while reading down (main.js adds .tuck) */
@media (max-width: 760px) {
  .a11y-btn { width: 44px; height: 44px; transition: transform .35s var(--ease), opacity .3s, bottom .35s var(--ease); }
  .a11y-btn svg { width: 26px; height: 26px; }
  .a11y-btn.tuck { transform: translateX(-70px); opacity: 0; }
}
/* phones: sticky sign-up pill at the bottom (main.js builds it from the page's [data-dock] button) */
.m-dock { display: none; }
@media (max-width: 760px) {
  .m-dock { position: fixed; z-index: 44; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 20px; box-sizing: border-box; border-radius: 99px; text-align: center; font: 400 22px/1.1 var(--title); color: #6E1F2E; background: linear-gradient(90deg, #FFC2A6, #EC8282); box-shadow: 0 16px 32px -14px rgba(110, 31, 46, .6), inset 0 1px 0 rgba(255, 255, 255, .45); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .m-dock.on { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  body.pg-fest .m-dock { color: #2A1A00; background: linear-gradient(150deg, #F6CF7A 0%, #E9B44C 55%, #D79A26 100%); box-shadow: 0 16px 32px -14px rgba(154, 106, 14, .8), inset 0 1px 0 rgba(255, 255, 255, .55); }
  body.has-dock .a11y-btn { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.dock-page .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .m-dock, .m-dock.on { transition: none; } }
/* night: the EN / עב switch keeps a light pill with dark letters */
:root[data-theme="dark"] .lang-tg { color: #0B1A2E; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); }
/* English on phones: long card titles and the services heading may wrap */
@media (max-width: 760px) {
  html[lang="en"] .fc-tab.fc-top { white-space: normal; max-width: calc(100% - 32px); text-wrap: balance; font-size: min(30px, 6vw); text-align: center; }
  html[lang="en"] body.pg-sand #hServe { white-space: normal; text-wrap: balance; }
}

/* ---------- top bar, desktop: the same icons as on phones (no phone icon), and the pages stay spread across the bar ---------- */
.bar .act-phone { display: none; }
@media (max-width: 1260px) and (min-width: 1025px) {
  .nav { display: flex; }
  .burger { display: none; }
}
@media (max-width: 1360px) { .nav > a, .dd-btn { padding-inline: 5px; font-size: 17px; } .bar { gap: 10px; } }
@media (max-width: 1180px) { .nav { gap: 0; } .nav > a, .dd-btn { padding-inline: 4px; font-size: 15.5px; } .logo-g { height: 40px; } }
@media (max-width: 1024px) { .nav { display: none; } .burger { display: block; } }

/* ---------- homepage, requested sizes ---------- */
/* "ברוכים הבאים לאשכולות" 20% smaller */
@media (min-width: 761px) { .hand { font-size: clamp(51px, 6.9vw, 112px); } }
/* "המספרים שלנו" title at half size, its glass box with it */
@media (min-width: 761px) { #numsCanvas { width: min(530px, 100%); } .numbers .nums-title { width: fit-content; min-width: min(650px, 100%); max-width: 100%; margin-inline: auto; } }
/* the map of the Land of Israel in the pulse line: twice the size (every page that has it) */
@media (min-width: 761px) { .pl-heart.pl-map { width: 31.2px; height: 86.4px; } }   /* desktop only; phones keep the original size */
/* cards: two to a row on wider screens; the neighbour arrows give way (both cards are on screen anyway) */
@media (min-width: 761px) {
  .banners { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1440px; }
  .banners .fc { padding: 12px; border-radius: 38px; }
  .banners .fc-in { aspect-ratio: 16 / 10; border-radius: 27px; }
  .banners .fc-side { display: none; }
  .banners .fc-top { font-size: clamp(24px, 2.3vw, 36px); padding: 10px 24px; }
  .banners .fc-band { font-size: clamp(18px, 1.6vw, 24px); }
}
/* National Service: the title over the video 30% smaller */
@media (min-width: 761px) { body.pg-rose .pg-hero h1.hand { font-size: clamp(50px, 6.3vw, 101px); } }

/* ---------- English: every piece of text in Apple's system face, thin (SF Pro Light; Inter Light where SF isn't installed) ---------- */
html[lang="en"] body, html[lang="en"] body *:not(svg):not(svg *) { font-family: var(--sf) !important; font-weight: 300 !important; }
html[lang="en"] body :is(h1, h2, h3, .pg-h, .hand, .nums-title, .num b, .fc-top) { letter-spacing: -.01em; }
/* top-bar icons (WhatsApp, cart, EN, menu) on light-blue glass, the navy outline kept */
.bar :is(.act-wa, .act-cart, .lang-tg, .burger) {
  background: linear-gradient(150deg, rgba(196, 240, 247, .78) 0%, rgba(167, 235, 242, .5) 55%, rgba(84, 172, 191, .32) 100%);
  box-shadow: inset 0 0 0 1.5px #1E3A6E, inset 0 1.5px 0 rgba(255, 255, 255, .85), 0 4px 10px -6px rgba(1, 28, 64, .45);
  -webkit-backdrop-filter: blur(10px) saturate(170%); backdrop-filter: blur(10px) saturate(170%); }
.bar :is(.act-wa, .act-cart, .lang-tg, .burger):hover { background: linear-gradient(150deg, rgba(214, 246, 250, .95), rgba(167, 235, 242, .7)); box-shadow: inset 0 0 0 1.5px #1E3A6E, inset 0 1.5px 0 #fff, 0 6px 14px -6px rgba(1, 28, 64, .5); }
.bar .burger .bg-in { background: transparent; }
:root[data-theme="dark"] .bar :is(.act-wa, .act-cart, .lang-tg, .burger) { background: linear-gradient(150deg, rgba(167, 235, 242, .9), rgba(84, 172, 191, .7)); }
/* English on phones: the one-line rules were sized for the Hebrew words; English lines wrap to the screen instead of running off it */
@media (max-width: 760px) {
  html[lang="en"] main *:not(svg):not(svg *):not(.num b):not(.num b *):not([class*="od-"]), html[lang="en"] .foot * { white-space: normal !important; overflow-wrap: break-word; min-width: 0; }
  html[lang="en"] main :is(h1, h2, h3, .pg-h, .pg-h small, .pg-oneline, figcaption, .pg-btn) { text-wrap: balance; max-width: 100%; box-sizing: border-box; }
  html[lang="en"] .foot-addr, html[lang="en"] .voos-credit { white-space: normal !important; text-align: center; height: auto; }
}
/* English card tabs on phones: as wide as their words need (an absolutely placed tab otherwise squeezes into half the card) */
@media (max-width: 760px) { html[lang="en"] .fc-tab.fc-top { width: max-content; max-width: calc(100% - 48px); } }
/* English desktop: the pages stay spread across the bar down to 1100px too, in a smaller size */
@media (max-width: 1380px) and (min-width: 1100px) {
  html[lang="en"] .nav { display: flex; } html[lang="en"] .burger { display: none; }
  html[lang="en"] .nav > a, html[lang="en"] .dd-btn { font-size: 13.5px; padding-inline: 4px; }
}
@media (max-width: 1240px) and (min-width: 1100px) { html[lang="en"] .nav > a, html[lang="en"] .dd-btn { font-size: 12.5px; padding-inline: 3px; } html[lang="en"] .logo-g { height: 36px; } }

/* ---------- smooth scrolling on desktop too (the phone settings, now everywhere) ----------
   - the grain sits on top in plain opacity: an "overlay" blend over the whole screen had to be recomposited every scrolled frame
   - the big cards keep their milky glass without a live blur (their fill is ~70% white; a blur under it was barely visible but cost every frame)
   - sections off screen aren't laid out or painted until they come near
   - the drifting background holds still while the page moves, and anything animating off screen waits (js/main.js toggles the classes) */
body::after { mix-blend-mode: normal; opacity: .05; }
.fc, .fc-band, .fc-ping { -webkit-backdrop-filter: none; backdrop-filter: none; }
.banners > .fc, main > section:not(.hero):not(.pg-hero) { content-visibility: auto; contain-intrinsic-block-size: auto 600px; }
html.is-scrolling body::before { animation-play-state: paused; }
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after, .anim-off::before, .anim-off::after { animation-play-state: paused !important; }
body::before { animation: none; will-change: auto; }   /* the page background holds still on every screen (as it already did on phones) */
/* smooth scrolling: the bar already blurs what's behind it, so the buttons on it don't blur again (a blur inside a blur
   is redone on every scroll frame); the accessibility panel is nearly opaque, so it needs none either */
.bar .act, .bar .burger, .bar .daynight, .a11y { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* home numbers entrance ("sand sweep", js/main.js): each number rises out of a slot, a gold line opens from its centre, a glint runs once */
.nums-sand .num { position: relative; overflow: hidden; }
.nums-sand .num b { display: inline-block; overflow: hidden; padding-block: .04em; }
.nums-sand .num b .nv { display: inline-block; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.nums-sand .num i { display: block; width: 44%; height: 3px; margin-top: clamp(8px, .9vw, 12px); border-radius: 3px; background: linear-gradient(90deg, rgba(217, 178, 106, 0), #D9B26A 30%, #F2D69B 50%, #D9B26A 70%, rgba(217, 178, 106, 0)); transform: scaleX(0); transform-origin: 50% 50%; }
:root[data-theme="dark"] .nums-sand .num i { background: linear-gradient(90deg, rgba(217, 178, 106, 0), #D9B26A 30%, #F2D69B 50%, #D9B26A 70%, rgba(217, 178, 106, 0)); }
.nums-sand .num::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(130%); background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); }
.nums-sand .num.glint::after { animation: num-glint 1.1s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes num-glint { from { transform: translateX(130%); } to { transform: translateX(-130%); } }
@media (prefers-reduced-motion: reduce) { .nums-sand .num.glint::after { animation: none; } }
@media (max-width: 760px) {
  .m-dock.m-dock-lock { inset-inline: calc(12px + (100vw - 24px) * .15); gap: 10px; border-radius: 14px; }
  .m-dock-lock svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
/* the caption band on the banner cards ("הרשמה נפתחה"): a real blur under it again (only this strip, not the whole card)
   and a milkier fill, so the words stay clear over any photo */
.fc-band { -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); background: linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .5)); }
:root[data-theme="dark"] .fc-band { background: linear-gradient(180deg, rgba(20, 26, 40, .66), rgba(20, 26, 40, .52)); }
/* the bottom tab is a little taller and the tapping hand sits higher, so its ring no longer runs into the card's bottom edge */
.fc-bot { height: 44px; padding-top: 2px; }
.fc-ping { top: 48%; }
/* buttons all over the site have soft square corners, not round pill ends (client's rule, 28.10.2026).
   Declared here with :root in front so it outranks each page sheet's own rule, wherever it is loaded. */
:root :is(.f-btn, .f-reg, .c-chip, .cart-go, .cart-tip button, .cart-days button, .co-pay-btn, .td-cal, .co-file-btn, .co-more-btn, .m-dock, .lf .pill, .lf .pg-choice),
:root #coGo.co-pay-btn, :root body.pg-rose .lf .pg-choice, :root .co .co-pill, :root .co-pay-btn::before { border-radius: 12px; }
@media (max-width: 760px) { :root .co-dock { border-radius: 16px; } }
/* footer: "ט.ל.ח" (errors excepted) sits after the legal links as plain text, and the links box is as tall as the address box */
.foot-links .foot-tlh { position: relative; padding: 6px 12px; color: inherit; white-space: nowrap; }
.foot-links :is(a, .foot-tlh) + .foot-tlh::before { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; opacity: .45; }
:root:not([data-theme="dark"]) body .foot-links .foot-tlh { color: #fff; }
@media (max-width: 760px) { .foot-links .foot-tlh { padding: 6px min(8px, 1.8vw); } }
:root body .foot .foot-links { box-sizing: border-box; min-height: 47.2px; }
@media (max-width: 760px) { :root body .foot .foot-links { min-height: 39.7px; } }
/* home: "המספרים שלנו" by day in the numbers' dark blue, solid (js/main.js paints it so) – no recolouring filter, no shimmer mask */
:root:not([data-theme="dark"]) body:not(.pg-kinar) #numsCanvas { filter: none; opacity: 1; -webkit-mask-image: none; mask-image: none; animation: none; }

/* mobile menu: half-size page names, each with its line icon */
.menu nav > a { display: flex; align-items: center; gap: 12px; font-size: 19px; padding-block: 12px; }
.menu nav > a .mi { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
