/*!
 * TeaLabs â€” styles
 * Mobile-first. Logical properties throughout so RTL (he) / LTR (en) mirror automatically.
 * Breakpoints: 640 / 960 / 1200.
 */

/* ============================================================ TOKENS */
:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-2: #F4F5F7;
  --ink: #0d1b21;
  --ink-2: #2B3038;
  --muted: #525866;
  --line: #E2E4E9;
  --line-strong: #CDD1D8;
  --accent: #2e6b7c;
  --accent-hover: #235766;
  --accent-soft: rgba(46, 107, 124, .08);
  --accent-ring: rgba(46, 107, 124, .18);
  --success: #12B76A;
  --danger: #C5221F;
  --dark: #0a171d;
  --dark-ink: #F4F5F7;
  --dark-muted: #9AA2AF;
  --dark-line: rgba(255, 255, 255, .1);
  --grid-line: rgba(13, 27, 33, .065);

  --font-he: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-brand: 'Plus Jakarta Sans', 'Heebo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Heebo', monospace;
  --font: var(--font-he);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  /* Strong custom curves: ease-out for UI response, in-out for on-screen travel, drawer = iOS sheet. */
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1); /* subtle overshoot: rare delight moments only */
  --dur-press: 160ms;
  --dur-1: 200ms;
  --dur-2: 300ms;
  --dur-3: 400ms;

  --shadow-sm: 0 1px 2px rgba(13, 27, 33, .05);
  --shadow-md: 0 1px 0 rgba(13, 27, 33, .03), 0 18px 40px -24px rgba(13, 27, 33, .22);

  /* ---- "Liquid & Steam" system: shared by the intro, island nav, hero vessel, work swiper and langfx.
     Liquid colours match the hero's WebGL shader constants (C0 / C1 / C2 / CM). */
  --liquid: #2e6b7c;
  --liquid-top: #5b97a6;
  --liquid-deep: #1e4a5a;
  --meniscus: #d3e6ea;
  --steam: #F4F5F7;
  --tea-gold: #C9AE78;
  /* One wave tile (two crests) used as a mask everywhere a liquid surface shows. */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12Q32 -4 64 12T128 12T192 12T256 12V24H0Z' fill='%23000'/%3E%3C/svg%3E");

  /* The island (dark floating nav) */
  --island: #0d1b21;
  --island-line: rgba(255, 255, 255, .12);
  --island-ink: rgba(244, 245, 247, .7);
  --island-ink-hi: #FFFFFF;
  --island-shadow: 0 18px 40px -18px rgba(13, 27, 33, .45);

  --grid-pitch: 56px;
  --dir: 1;                                           /* 1 = LTR, -1 = RTL (set below) */

  --ease-pour: cubic-bezier(.45, .05, .2, 1);         /* liquid filling: slow start, long settle */
  --ease-glide: cubic-bezier(.65, 0, .35, 1);         /* on-screen travel of a whole object */
  --ease-drain: cubic-bezier(.55, 0, 1, .45);         /* exits: gravity */
  --dur-morph: 520ms;
  --dur-fill: 900ms;

  --z-header: 50;
  --z-lfx: 80;
  --z-drawer: 100;
  --z-intro: 200;
}
[dir="rtl"] { --dir: -1; }

[lang="en"] { --font: var(--font-en); }

/* ============================================================ BASE */
*, *::before, *::after { box-sizing: border-box; }

/* Mobile platform layer: no gray tap flash (every control has its own :active), no 300ms
   double-tap wait on controls, and control labels don't get selected on long-press. */
a, button, summary, [role="button"], label[for] { touch-action: manipulation; }
button, .btn, .lang a, .burger, .icon-btn {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto; /* ScrollTrigger measures with instant scrolls; anchors are eased in js/theme.js */
  scroll-padding-top: var(--header-h); /* sections land just below the 72px sticky header */
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Architectural page rails at the container edges (desktop only). */
@media (min-width: 1300px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    margin-inline: auto;
    max-width: calc(var(--container) + 2px);
    border-inline: 1px solid var(--line);
    pointer-events: none;
    z-index: 0;
    opacity: .7;
  }
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-1) var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Directional arrows flip in RTL; the hover nudge follows reading direction. */
.dir-arrow {
  --ax: 0px;
  --flip: 1;
  transform: translateX(var(--ax)) scaleX(var(--flip));
  transition: transform var(--dur-2) var(--ease);
}
[dir="rtl"] .dir-arrow { --flip: -1; }

/* ============================================================ BUTTONS */
.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding-inline: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  --press: 1;
  transform: translate3d(var(--mx), var(--my), 0) scale(var(--press));
  transition:
    background-color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease),
    box-shadow var(--dur-2) var(--ease),
    transform var(--dur-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) { .btn:hover .dir-arrow { --ax: 3px; } }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .btn:hover .dir-arrow { --ax: -3px; } }
/* Press feedback: the interface heard you. Fast in, released by the base transition. */
.btn:active { --press: .97; filter: brightness(.94); transition-duration: var(--dur-press); }
:is(.icon-btn, .burger, .lang a, .faq__icon, .direct__row) { -webkit-tap-highlight-color: transparent; }
:is(.icon-btn, .burger, .lang a):active { transform: scale(.94); transition: transform var(--dur-press) var(--ease); }
.direct__row:active { transform: scale(.985); transition: transform var(--dur-press) var(--ease); }
.faq__btn:active .faq__icon { scale: .9; }
.btn[disabled] { cursor: progress; opacity: .85; }

.btn-sm { height: 38px; padding-inline: 14px; font-size: .875rem; gap: 8px; }
.btn-sm .icon { width: 16px; height: 16px; }
.btn-lg { height: 52px; padding-inline: 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 1px 2px rgba(13, 27, 33, .14),
    0 8px 20px -10px rgba(46, 107, 124, .7);
}
@media (hover: hover) and (pointer: fine) { .btn-primary:hover {
  background: var(--accent-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 1px 2px rgba(13, 27, 33, .14),
    0 12px 28px -10px rgba(46, 107, 124, .8);
} }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--ink); } }

.btn-outline-light {
  background: rgba(255, 255, 255, .02);
  border-color: rgba(255, 255, 255, .18);
  color: var(--dark-ink);
}
@media (hover: hover) and (pointer: fine) { .btn-outline-light:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .4); } }

.btn.is-loading .dir-arrow { animation: nudge 900ms var(--ease) infinite; }
@keyframes nudge { 50% { opacity: .3; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size var(--dur-2) var(--ease), color var(--dur-1);
}
[dir="rtl"] .link-arrow { background-position: 100% 100%; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { background-size: 100% 1px; } }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .dir-arrow { --ax: 3px; } }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .link-arrow:hover .dir-arrow { --ax: -3px; } }
.link-arrow__url { font-family: var(--mono); font-size: .8rem; font-weight: 500; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--dur-1), color var(--dur-1), background-color var(--dur-1);
}
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { border-color: var(--ink); } }

/* ============================================================ HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(250, 250, 250, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 250, 250, .9);
  box-shadow: 0 10px 30px -18px rgba(13, 27, 33, .18);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(250, 250, 250, .97); }
}
/* Reading-progress hairline on the header's bottom edge. Scroll-driven, zero JS, off the main thread. */
@supports (animation-timeline: scroll()) {
  .motion-ok .site-header::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #5b97a6);
    transform: scaleX(0);
    transform-origin: 0 50%;
    animation: read-progress linear both;
    animation-timeline: scroll(root block);
    pointer-events: none;
  }
  [dir="rtl"].motion-ok .site-header::after { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--accent), #5b97a6); }
  @keyframes read-progress { to { transform: scaleX(1); } }
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.025em;
  color: var(--ink);
  border-radius: 10px;
}
.brand__box {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  flex: none;
}
.brand__mark { width: 12px; height: 21px; fill: currentColor; }
.brand__word { line-height: 1; }

.nav { display: none; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .nav__list a:hover { color: var(--ink); background: rgba(13, 27, 33, .04); } }
.nav__list a::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--dur-2) var(--ease);
}
.nav__list a.is-active { color: var(--ink); }
.nav__list a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__actions > .lang, .header__cta { display: none; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.3;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .lang a:hover { color: var(--ink); } }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.lang--lg a { min-width: 56px; padding: 9px 16px; font-size: .85rem; }

.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.burger__line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease);
}
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 960px) {
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav { display: block; }
  .header__actions { justify-self: end; }
  .header__actions > .lang, .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ============================================================ DRAWER */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear var(--dur-3);
}
.drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, .42);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  --off: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
  border-inline-start: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(var(--off));
  transition: transform var(--dur-3) var(--ease-drawer);
}
[dir="rtl"] .drawer__panel { --off: -100%; }
.drawer.is-open .drawer__panel { transform: none; transition-duration: 460ms; }
/* Drawer links cascade in after the sheet (40ms stagger); on close they vanish with no delay. */
.motion-ok .drawer__links li, .motion-ok .drawer__foot {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.motion-ok .drawer.is-open :is(.drawer__links li, .drawer__foot) {
  opacity: 1;
  transform: none;
  transition-duration: 360ms;
  transition-delay: calc(110ms + var(--i, 0) * 40ms);
}
.drawer__links li:nth-child(2) { --i: 1; }
.drawer__links li:nth-child(3) { --i: 2; }
.drawer__links li:nth-child(4) { --i: 3; }
.drawer__links li:nth-child(5) { --i: 4; }
.drawer__links li:nth-child(6) { --i: 5; }
.drawer__foot { --i: 6; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.drawer__links li { border-bottom: 1px solid var(--line); }
.drawer__links a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.drawer__links a .dir-arrow { margin-inline-start: auto; color: var(--muted); }
.drawer__links a.is-active { color: var(--accent); }
.drawer__num { font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--muted); min-width: 22px; }
.drawer__foot { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; justify-items: start; }
.drawer__note { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .02em; justify-self: center; }
.is-locked, .is-locked body { overflow: hidden; }

/* ============================================================ SECTIONS */
main { position: relative; z-index: 1; display: block; }

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 136px);
  border-top: 1px solid var(--line);
}

.sec-index {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-index::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-inline-start: 12px;
  background: var(--line);
}
/* The hairline draws itself from the label outward when its block reveals (seen once per section). */
.js.motion-ok :is([data-reveal] .sec-index, .sec-index[data-reveal])::after {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1s var(--ease-in-out) 180ms;
}
[dir="rtl"].js.motion-ok :is([data-reveal] .sec-index, .sec-index[data-reveal])::after { transform-origin: 100% 50%; }
.js.motion-ok :is(.is-in .sec-index, .sec-index.is-in)::after { transform: none; }
.sec-index__n { color: var(--accent); }
.sec-index__sep { opacity: .5; } /* decorative, aria-hidden in markup */

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head__row { display: grid; gap: 20px; }
.sec-title {
  font-size: clamp(1.9rem, 3.7vw, 3.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.032em;
  text-wrap: balance;
}
[lang="he"] .sec-title { line-height: 1.16; letter-spacing: -.012em; }
.sec-lead { max-width: 54ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.sec-head--stack .sec-title { margin-bottom: 16px; }

@media (min-width: 960px) {
  .sec-head__row { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; }
}

/* ============================================================ HERO */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 25%, transparent 75%);
}
/* Accent glow: a fixed-size layer moved with transform only (compositor), so following the
   pointer never repaints the grid. Drifts slowly on its own; follows the cursor on desktop. */
.hero__grid::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 78%;
  width: 1200px;
  height: 760px;
  margin: -380px 0 0 -600px;
  background: radial-gradient(closest-side, rgba(46, 107, 124, .12), rgba(46, 107, 124, .04) 55%, transparent);
  transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0);
  will-change: transform;
}
[dir="rtl"] .hero__grid::after { left: 22%; }
.motion-ok .hero__grid:not(.is-following)::after { animation: glow-drift 14s var(--ease-in-out) infinite alternate; }
@keyframes glow-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-90px, 50px, 0); }
  100% { transform: translate3d(60px, -30px, 0); }
}
/* The grid itself fades in on load, like a drafting sheet being laid down. */
.motion-ok .hero__grid { animation: fade-in 900ms var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } }

.hero__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
}
.motion-ok .eyebrow__dot::after { animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

.hero__title {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}
[lang="he"] .hero__title { font-size: clamp(2.2rem, 4.7vw, 3.85rem); line-height: 1.12; letter-spacing: -.018em; }
.hero__title .hl { color: var(--accent); }

.hero__sub {
  max-width: 58ch;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .hero__ctas .btn { flex: 0 0 auto; } }
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: .875rem;
}
.hero__note .icon { width: 16px; height: 16px; color: var(--success); }

/* Hero load-in choreography lives in hero.css ("The Infusion"), keyed on html.intro-done. */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@keyframes rise-t { from { transform: translate3d(0, 14px, 0); } }

/* ---------- Hero mockup ---------- */
.hero__visual {
  position: relative;
  perspective: 1400px;
  padding-block: 28px;
  padding-inline: 18px;
}
.mock {
  --rx: 0deg; --ry: 0deg; --px: 0px; --py: 0px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 500ms var(--ease);
}
.mock.is-tilting { transition-duration: 120ms; }

.mock__plane {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, .7),
    0 0 0 7px var(--line),
    0 40px 80px -40px rgba(13, 27, 33, .35);
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #D5D8DE; }
.mock__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 220px;
  margin-inline: auto;
  height: 24px;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
}
.mock__url .icon { width: 11px; height: 11px; color: var(--success); }
.mock__pill {
  flex: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .6rem;
  color: var(--muted);
}

.mock__body { position: relative; display: grid; gap: 16px; padding: 30px 18px 20px; }
.mock__body i, .mock__body b { display: block; }
.wf-dim {
  position: absolute;
  top: 10px;
  inset-inline: 18px;
  height: 9px;
  border-inline: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-dim::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}
.wf-dim span {
  position: relative;
  padding-inline: 6px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: .55rem;
  line-height: 1;
  color: var(--accent);
}
.wf-nav { display: flex; align-items: center; gap: 10px; }
.wf-logo { width: 14px; height: 14px; border-radius: 4px; background: var(--ink); margin-inline-end: auto; }
.wf-link { width: 26px; height: 4px; border-radius: 2px; background: #DADDE3; }
.wf-btn { width: 38px; height: 14px; border-radius: 4px; background: var(--accent); }

.wf-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: center; }
.wf-copy { display: grid; gap: 7px; }
.wf-h { height: 10px; width: 92%; border-radius: 3px; background: var(--ink); }
.wf-h--2 { width: 66%; }
.wf-t { height: 4px; width: 88%; border-radius: 2px; background: #DADDE3; }
.wf-t--s { width: 60%; }
.wf-ctas { display: flex; gap: 6px; margin-top: 6px; }
.wf-cta { width: 52px; height: 16px; border-radius: 4px; background: var(--accent); }
.wf-cta--ghost { width: 44px; background: transparent; border: 1px solid var(--line-strong); }
.wf-media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(13, 27, 33, .045) 7px 8px),
    var(--surface-2);
}
.wf-cross::before, .wf-cross::after {
  content: "";
  position: absolute;
  background: rgba(46, 107, 124, .35);
}
.wf-cross::before { inset-inline: 0; top: 50%; height: 1px; }
.wf-cross::after { inset-block: 0; inset-inline-start: 50%; width: 1px; }
.wf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wf-card { display: grid; gap: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; }
.wf-card i { width: 14px; height: 14px; border-radius: 4px; background: var(--accent-soft); border: 1px solid rgba(46, 107, 124, .25); }
.wf-card b { height: 4px; width: 80%; border-radius: 2px; background: #DADDE3; }
.wf-card b + b { width: 55%; }

.mcard {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  padding-inline: 10px 14px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 36px -16px rgba(13, 27, 33, .3), var(--shadow-sm);
  transform: translate3d(var(--px), var(--py), 40px);
  transition: transform 500ms var(--ease);
  white-space: nowrap;
}
.mock.is-tilting .mcard { transition-duration: 120ms; }
.mcard--perf { inset-inline-start: -14px; bottom: 16%; }
.mcard--lang { inset-inline-end: -16px; top: 30%; transform: translate3d(calc(var(--px) * -0.6), calc(var(--py) * -0.6), 60px); }
.mcard--a11y { inset-inline-end: 10%; bottom: -22px; transform: translate3d(calc(var(--px) * 0.8), calc(var(--py) * 0.8), 30px); }
.mcard__txt { display: grid; gap: 1px; line-height: 1.25; }
.mcard__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: var(--muted); }
.mcard__value { font-size: .85rem; font-weight: 700; color: var(--ink); }
.mcard__value b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; font-family: var(--font-brand); }
.mcard__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}
.mcard__icon .icon { width: 17px; height: 17px; }

.gauge { width: 44px; height: 44px; transform: rotate(-90deg); flex: none; }
.gauge circle { fill: none; stroke-width: 4; }
.gauge__track { stroke: rgba(18, 183, 106, .15); }
.gauge__val {
  stroke: var(--success);
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 1.26;
}
.motion-ok .gauge__val { animation: gauge 1.1s var(--ease) 400ms both; }
@keyframes gauge { from { stroke-dashoffset: 125.66; } }

/* The chip sits at the inline-start corner (mirrors with the page); its code text is an inner dir="ltr" span. */
.mock__code {
  position: absolute;
  z-index: 2;
  top: -14px;
  inset-inline-start: 28px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--ink);
  color: #C9CFD8;
  font-family: var(--mono);
  font-size: .66rem;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(13, 27, 33, .5);
  transform: translate3d(calc(var(--px) * 0.5), calc(var(--py) * 0.5), 50px);
  transition: transform 500ms var(--ease);
}
.c-tag { color: #8AB4FF; }
.c-attr { color: #E2C08D; }
.c-val { color: #9BE3B9; }


@media (max-width: 639px) {
  .eyebrow { font-size: .6rem; letter-spacing: .03em; gap: 8px; padding-inline: 10px 12px; }
  .hero__visual { padding-inline: 4px; }
  .mcard { padding: 8px 10px; gap: 8px; }
  .mcard--perf { inset-inline-start: -2px; }
  .mcard--lang { inset-inline-end: -2px; top: 24%; }
  .mcard--a11y { inset-inline-end: 6%; }
  .gauge { width: 36px; height: 36px; }
  .mcard__value b { font-size: 1.1rem; }
}

/* Single-column hero (tablet): keep the mockup at its desktop proportions instead of stretching it. */
@media (max-width: 959px) {
  .hero__visual { width: 100%; max-width: 560px; margin-inline: auto; }
}

/* ============================================================ TRUST STRIP */
.trust { position: relative; padding-bottom: clamp(64px, 8vw, 96px); }
.trust__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.trust__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px 28px;
  background: var(--surface);
}
.trust__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.trust__top .icon { width: 22px; height: 22px; color: var(--accent); }
.trust__num { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.trust__title { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.trust__text { font-size: .9rem; color: var(--muted); line-height: 1.6; }
@media (min-width: 640px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================ SERVICES */
.bento {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--surface);
  transition: background-color var(--dur-2) var(--ease);
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .svc:hover::after { opacity: 1; } }
/* Pointer spotlight (desktop only): a soft accent light that follows the cursor across the card. */
.spot { --sx: 50%; --sy: 50%; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--sx) var(--sy), var(--spot-color, rgba(46, 107, 124, .07)), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before { opacity: 1; }
}
.svc > * { position: relative; }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.svc__num { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.svc__tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  direction: ltr;
}
.svc__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.svc__icon .icon { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .svc:hover .svc__icon { color: var(--accent); border-color: rgba(46, 107, 124, .35); background: var(--accent-soft); } }
.svc__title { margin-bottom: 12px; font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.svc__text { margin-bottom: 26px; color: var(--muted); line-height: 1.7; }
.svc__list { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px dashed var(--line-strong); }
.svc__list li { display: flex; align-items: baseline; gap: 12px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.svc__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
  transform: translateY(-2px);
}

.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.svc-cta p { max-width: 70ch; color: var(--muted); }

/* ============================================================ WORK */
.work-grid { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project.project--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .project--feature .project__visual { border-bottom: 0; border-inline-end: 1px solid var(--line); display: flex; align-items: center; }
  .project--feature .frame { width: 100%; }
}

.project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .project:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -40px rgba(13, 27, 33, .35); }
}

.project__visual {
  padding: clamp(16px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

.frame {
  overflow: hidden;
  border: 1px solid rgba(13, 27, 33, .12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(13, 27, 33, .45), var(--shadow-sm);
  transition: transform var(--dur-3) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .project:hover .frame { transform: translate3d(0, -6px, 0); }
}
/* Preview "loads": the browser chrome is there first, then the screen wipes in top â†’ bottom. */
.js.motion-ok .project[data-reveal] .frame__screen {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-in-out) 220ms;
}
.js.motion-ok .project.is-in .frame__screen { clip-path: inset(0 0 0 0); }
.frame__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 28px;
  padding-inline: 10px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.frame__chrome .dots i { width: 7px; height: 7px; }
.frame__url {
  margin-inline: auto;
  padding-inline: 10px;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame--dark { background: #061116; border-color: rgba(13, 27, 33, .5); }
.frame--dark .frame__chrome { background: #14171C; border-bottom-color: #22262D; }
.frame--dark .dots i { background: #2C3139; }
.frame--dark .frame__url { color: #7D8593; }
.frame__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  container-type: inline-size;
}
.frame__screen i, .frame__screen b { display: block; }
/* Real screenshot of the project (16:10, same as the screen) */
.frame__screen--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* --- Visdom: dark technical B2B --- */
.vis {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3cqw;
  padding: 3.4cqw 4.4cqw;
  color: #E6E9EE;
  background:
    radial-gradient(60cqw 40cqw at 78% 38%, rgba(46, 107, 124, .2), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 6cqw 6cqw,
    #061116;
}
.vis__nav { display: flex; align-items: center; gap: 3cqw; }
.vis__logo { display: inline-flex; align-items: center; gap: 1cqw; font-family: var(--mono); font-size: 1.6cqw; font-weight: 500; letter-spacing: .3em; margin-inline-end: auto; }
.vis__logo i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; border: 1px solid #7fb4c2; box-shadow: inset 0 0 0 .4cqw #061116, inset 0 0 0 2cqw #7fb4c2; }
.vis__links { display: flex; gap: 2.4cqw; }
.vis__links i { width: 5cqw; height: .6cqw; border-radius: 1px; background: #3A414C; }
.vis__btn { width: 9cqw; height: 3cqw; border: 1px solid #7fb4c2; border-radius: .6cqw; }
.vis__hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4cqw; }
.vis__copy { display: grid; gap: 1.4cqw; }
.vis__kicker { font-family: var(--mono); font-size: 1.15cqw; letter-spacing: .22em; color: #7fb4c2; }
.vis__h { height: 3cqw; width: 92%; border-radius: .4cqw; background: #EEF1F5; }
.vis__h--2 { width: 70%; }
.vis__t { height: .8cqw; width: 85%; border-radius: 1px; background: #353B45; margin-top: .4cqw; }
.vis__t--s { width: 58%; }
.vis__cta { width: 15cqw; height: 3.6cqw; margin-top: 1.2cqw; border-radius: .6cqw; background: linear-gradient(90deg, #2e6b7c, #5b97a6); }
.vis__optic { position: relative; aspect-ratio: 1; width: 82%; justify-self: center; }
.vis__ring { position: absolute; border-radius: 50%; }
.vis__ring--ticks {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  background: repeating-conic-gradient(rgba(255, 255, 255, .32) 0 .8deg, transparent .8deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 65%, #000 69%, transparent 70%);
  mask: radial-gradient(circle, transparent 64%, #000 65%, #000 69%, transparent 70%);
}
.vis__ring--2 { inset: 13%; border: 1px dashed rgba(127, 180, 194, .45); }
.vis__lens {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background:
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, .85) 0 3%, transparent 9%),
    radial-gradient(circle at 40% 40%, rgba(127, 180, 194, .75), rgba(46, 107, 124, .25) 45%, rgba(6, 17, 22, .9) 75%);
  box-shadow: 0 0 6cqw rgba(46, 107, 124, .35);
}
.vis__beam {
  position: absolute;
  top: 50%;
  inset-inline: -60% -20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 180, 194, .9) 45%, transparent);
}
.vis__axis { position: absolute; inset-block: -6%; inset-inline-start: 50%; width: 1px; background: rgba(255, 255, 255, .12); }
.vis__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #1a2d36; border: 1px solid #1a2d36; border-radius: .8cqw; overflow: hidden; }
.vis__card { display: grid; gap: .9cqw; padding: 1.8cqw; background: #0a161b; }
.vis__card i { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; border: 1px solid #2E3540; background: radial-gradient(circle at 40% 40%, #5b97a6 0 18%, #0a161b 60%); }
.vis__card b { height: .7cqw; width: 80%; border-radius: 1px; background: #3A414C; }
.vis__card b + b { width: 52%; background: #262C35; }

/* --- P.Y. Investments: black + brushed gold executive identity --- */
.py {
  --gold: linear-gradient(115deg, #7A5A22 0%, #E9D08C 26%, #A9802F 46%, #F6E7B0 62%, #8C6A2C 84%, #D9B86A 100%);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),
    radial-gradient(70cqw 50cqw at 20% 50%, #1A1610, #0A0A0A 70%);
  color: #EDE6D6;
}
.py__id {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2cqw;
  border-inline-end: 1px solid rgba(201, 167, 91, .25);
}
.py__corner { position: absolute; width: 4cqw; height: 4cqw; border-color: rgba(217, 184, 106, .7); border-style: solid; border-width: 0; }
.py__corner--a { top: 12%; inset-inline-start: 14%; border-top-width: 1px; border-inline-start-width: 1px; }
.py__corner--b { bottom: 12%; inset-inline-end: 14%; border-bottom-width: 1px; border-inline-end-width: 1px; }
.py__mono {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13cqw;
  line-height: 1;
  letter-spacing: .02em;
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.py__rule { width: 12cqw; height: 1px; background: var(--gold); }
.py__name { font-family: var(--mono); font-size: 1.15cqw; letter-spacing: .32em; color: #C9A75B; }
.py__site { display: grid; align-content: center; gap: 1.6cqw; padding: 5cqw; }
.py__nav { display: flex; align-items: center; gap: 2.2cqw; margin-bottom: 3cqw; }
.py__dot { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--gold); margin-inline-end: auto; }
.py__nav b { width: 4.6cqw; height: .5cqw; background: #3B3628; }
.py__h { height: 2.6cqw; width: 90%; background: #EDE6D6; border-radius: 1px; }
.py__h--2 { width: 64%; }
.py__t { height: .7cqw; width: 82%; background: #4A4433; }
.py__t--s { width: 56%; }
.py__btn { width: 14cqw; height: 3.4cqw; margin-top: 1cqw; background: var(--gold); border-radius: .3cqw; }
.py__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; margin-top: 3cqw; }
.py__stats span { display: grid; gap: .9cqw; padding: 1.6cqw; border: 1px solid rgba(201, 167, 91, .3); }
.py__stats i { height: 1.8cqw; width: 60%; background: var(--gold); opacity: .85; }
.py__stats b { height: .5cqw; width: 80%; background: #3B3628; }

/* --- Consultant landing: light bilingual one-pager --- */
.lp { display: grid; grid-template-rows: auto 1fr; gap: 3cqw; padding: 3.6cqw 4.6cqw; background: #fff; }
.lp__nav { display: flex; align-items: center; justify-content: space-between; }
.lp__logo { display: inline-flex; align-items: center; gap: 1.2cqw; }
.lp__logo i { width: 2.8cqw; height: 2.8cqw; border-radius: .6cqw; background: var(--ink); }
.lp__logo b { width: 9cqw; height: 1cqw; border-radius: 1px; background: var(--ink); }
.lp__pill { padding: .5cqw 1.6cqw; border: 1px solid var(--line); border-radius: 99px; font-family: var(--mono); font-size: 1.4cqw; color: var(--muted); }
.lp__pill b { display: inline; color: var(--ink); font-weight: 600; }
.lp__hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; }
.lp__copy { display: grid; gap: 1.5cqw; justify-items: start; }
.lp__h { height: 3.4cqw; width: 95%; border-radius: .4cqw; background: var(--ink); }
.lp__h--2 { width: 72%; background: var(--accent); }
.lp__t { height: .9cqw; width: 88%; border-radius: 1px; background: #DADDE3; margin-top: .4cqw; }
.lp__t--s { width: 62%; }
.lp__btn {
  margin-top: 1.4cqw;
  padding: 1.2cqw 3cqw;
  border-radius: .8cqw;
  background: var(--accent);
  color: #fff;
  font-size: 1.7cqw;
  font-weight: 700;
  line-height: 1.2;
}
.lp__trust { display: flex; align-items: center; gap: .6cqw; margin-top: 1cqw; }
.lp__trust i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; border: 2px solid #fff; background: #E3E6EB; margin-inline-start: -1.2cqw; }
.lp__trust i:first-child { margin-inline-start: 0; }
.lp__trust b { width: 10cqw; height: .8cqw; background: #DADDE3; margin-inline-start: .8cqw; }
.lp__form {
  display: grid;
  gap: .9cqw;
  padding: 2.6cqw;
  border: 1px solid var(--line);
  border-radius: 1.4cqw;
  background: var(--bg);
  box-shadow: 0 2cqw 4cqw -2cqw rgba(13, 27, 33, .2);
}
.lp__label { font-size: 1.3cqw; font-weight: 600; color: var(--ink-2); line-height: 1.2; }
.lp__input { height: 4cqw; border: 1px solid var(--line-strong); border-radius: .7cqw; background: #fff; margin-bottom: .8cqw; }
.lp__submit { display: grid; place-items: center; height: 4.4cqw; border-radius: .7cqw; background: #25D366; color: #fff; }
.lp__submit .icon { width: 2.4cqw; height: 2.4cqw; }

.project__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: clamp(22px, 3vw, 36px);
}
.project--feature .project__body { justify-content: center; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status--live i { background: var(--success); box-shadow: 0 0 0 3px rgba(18, 183, 106, .18); }
.status--proto i { background: #C7922B; }
.status--concept i { background: var(--accent); }
.project__tags { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); direction: ltr; }
.project__title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
[lang="he"] .project__title { letter-spacing: -.01em; }
.project__cat { margin-top: -6px; font-weight: 500; color: var(--ink-2); }
.project__text { color: var(--muted); line-height: 1.7; }
.project__impact { display: grid; gap: 8px; }
.project__impact li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; font-weight: 500; }
.project__impact .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--accent); }
.project__role {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.project__role dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project__role dd { font-weight: 600; color: var(--ink); }
.project .link-arrow { align-self: flex-start; }
.project .link-arrow .icon:not(.dir-arrow) { width: 15px; height: 15px; }

/* ============================================================ ABOUT */
.about { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); }
  .about__media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.portrait {
  position: relative;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 88% 40%;
  border-radius: 10px;
  filter: grayscale(1) contrast(1.14) brightness(1.03);
  transition: filter var(--dur-3) var(--ease);
  background: var(--surface-2);
}
@media (hover: hover) and (pointer: fine) {
  .portrait:hover img { filter: grayscale(.85) contrast(1.1) brightness(1.03); }
}
/* Portrait develops upward like a print; the credentials badge settles in after it. */
.js.motion-ok .about__media[data-reveal] .portrait img {
  clip-path: inset(100% 0 0 0 round 10px);
  transition: clip-path 1.1s var(--ease-in-out) 150ms, filter var(--dur-3) var(--ease);
}
.js.motion-ok .about__media.is-in .portrait img { clip-path: inset(0 0 0 0 round 10px); }
.js.motion-ok .about__media[data-reveal] .badge {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity var(--dur-3) var(--ease) 900ms, transform 500ms var(--ease) 900ms;
}
.js.motion-ok .about__media.is-in .badge { opacity: 1; transform: none; }
.crop { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); pointer-events: none; }
.crop--ss { top: -8px; inset-inline-start: -8px; border-top-width: 1px; border-inline-start-width: 1px; }
.crop--se { top: -8px; inset-inline-end: -8px; border-top-width: 1px; border-inline-end-width: 1px; }
.crop--es { bottom: -8px; inset-inline-start: -8px; border-bottom-width: 1px; border-inline-start-width: 1px; }
.crop--ee { bottom: -8px; inset-inline-end: -8px; border-bottom-width: 1px; border-inline-end-width: 1px; }

.badge {
  position: absolute;
  inset-inline: 22px;
  bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(11, 13, 16, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--dark-ink);
}
.badge__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.badge__title { font-weight: 700; font-size: .95rem; }
.badge__id { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.badge__list { display: grid; gap: 6px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #D6DAE1; }
.badge__list li { display: flex; align-items: center; gap: 10px; }
.badge__list li::before { content: ""; width: 5px; height: 5px; flex: none; background: var(--accent); }

.about__copy { display: grid; gap: 28px; }
.about__text { display: grid; gap: 18px; color: var(--ink-2); font-size: 1.04rem; line-height: 1.8; }
.about__lead { color: var(--ink); font-size: 1.14rem; font-weight: 500; }
.creds {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .creds { grid-template-columns: repeat(3, 1fr); } }
.creds__item { display: grid; align-content: start; gap: 6px; padding: 20px; background: var(--surface); }
.creds__num { font-family: var(--mono); font-size: .7rem; color: var(--accent); }
.creds__title { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; }
.creds__text { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.about__sign { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); }
.about__name { color: var(--ink); font-weight: 700; }

/* ============================================================ PRICING (dark) */
.section--dark {
  --line: var(--dark-line);
  --line-strong: rgba(255, 255, 255, .18);
  --muted: var(--dark-muted);
  --ink: var(--dark-ink);
  --ink-2: #D9DDE3;
  --accent-text: #8fc3cf;
  background: var(--dark);
  color: var(--dark-ink);
  border-top-color: var(--dark);
  overflow: hidden;
}
.section--dark .sec-index__n { color: var(--accent-text); }
.section--dark ::selection { background: #fff; color: var(--dark); }
.pricing__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
}

/* Price styling (amount / currency / period). */
.plan__amount { font-family: var(--font-brand); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.plan__cur { font-family: var(--font-he); font-size: .55em; font-weight: 500; margin-inline-end: .1em; vertical-align: .55em; color: var(--dark-muted); letter-spacing: 0; }
.plan__period, .plan__from { font-size: .9rem; color: var(--dark-muted); }
.plans__note { margin-top: 36px; text-align: center; color: var(--dark-muted); }
.plans__note .link-arrow { color: var(--accent-text); margin-inline-start: 6px; }

/* ============================================================ FAQ */
.faq-wrap { max-width: calc(800px + 2 * var(--gutter)); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { font-size: inherit; font-weight: inherit; }
.faq__btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 2px;
  border: 0;
  background: none;
  text-align: start;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.faq__num { flex: none; min-width: 24px; font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--muted); }
.faq__text { flex: 1; transition: color var(--dur-1) var(--ease); }
@media (hover: hover) and (pointer: fine) { .faq__btn:hover .faq__text { color: var(--accent); } }
.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  transition: transform var(--dur-2) var(--ease), scale var(--dur-press) var(--ease), border-color var(--dur-2), background-color var(--dur-2);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  margin: -0.75px 0 0 -5.5px;
  background: var(--ink);
  border-radius: 1px;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); border-color: var(--accent); background: var(--accent-soft); }
.faq__btn[aria-expanded="true"] .faq__icon::before, .faq__btn[aria-expanded="true"] .faq__icon::after { background: var(--accent); }

.faq__panel { display: grid; grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; }
.faq__inner p { padding-inline: 42px 50px; padding-bottom: 26px; color: var(--muted); line-height: 1.8; max-width: 70ch; }
.js .faq__panel { grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.js .faq__panel .faq__inner { visibility: hidden; transition: visibility 0s linear var(--dur-3); }
.js .faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.js .faq__item.is-open .faq__inner { visibility: visible; transition-delay: 0s; }
@media (max-width: 639px) { .faq__inner p { padding-inline: 0 8px; } }

/* ============================================================ CONTACT */
.contact { display: grid; gap: 48px; align-items: start; }
.contact__more > .steps { margin-top: 0; }
@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; gap: 0 clamp(48px, 6vw, 96px); }
  .contact__intro, .contact__more { grid-column: 1; }
  .contact__form { grid-column: 2; grid-row: 1 / span 2; }
  .contact__more > .steps { margin-top: 32px; }
}
.contact__intro .sec-title { margin-bottom: 18px; }
.contact__tea { margin-top: 18px; font-family: var(--font-brand); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; color: var(--accent); }

.steps { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px dashed var(--line-strong); font-weight: 500; }
.steps__n { flex: none; font-family: var(--mono); font-size: .72rem; color: var(--accent); }

.direct__heading { margin-top: 36px; margin-bottom: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.direct { display: grid; gap: 10px; }
.direct__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .direct__row:hover { border-color: var(--ink); box-shadow: var(--shadow-md); } }
@media (hover: hover) and (pointer: fine) { .direct__row:hover .dir-arrow { --ax: 3px; } }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .direct__row:hover .dir-arrow { --ax: -3px; } }
.direct__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--surface-2); color: var(--ink); }
.direct__txt { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.direct__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.direct__value { font-weight: 600; overflow-wrap: anywhere; }
[dir="rtl"] .direct__value[dir="ltr"] { text-align: right; }
.direct__arrow { color: var(--muted); }
.direct__social { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.direct__social .direct__label { margin-inline-end: auto; }

.form-card {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(13, 27, 33, .03), 0 40px 80px -50px rgba(13, 27, 33, .35);
}
.form-card::before {
  content: "";
  position: absolute;
  inset-inline: 24px;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .7;
}
.form__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form__title { font-weight: 700; font-size: 1.05rem; }
.form__id { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field__label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field__opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.input::placeholder { color: #6B7280; opacity: 1; } /* 4.6:1 on --bg, 4.8:1 on white */
@media (hover: hover) and (pointer: fine) { .input:hover { border-color: #B5BAC3; } }
.input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-ring); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(197, 34, 31, .1); }
[dir="rtl"] .input--ltr { text-align: right; }
.select {
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23525866' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
[dir="rtl"] .select { background-position: left 16px center; }
.textarea { min-height: 116px; resize: vertical; }
.field__error { display: flex; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--danger); }
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .86rem; line-height: 1.55; color: var(--ink-2); }
.consent__box { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent__box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent__box[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.form__submit { margin-top: 6px; }
.form__error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: rgba(197, 34, 31, .07); color: var(--danger); font-size: .9rem; }
.form__privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--muted); text-align: center; }
.form__privacy .icon { width: 14px; height: 14px; }
.form__noscript { margin-top: 12px; font-size: .9rem; color: var(--danger); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.form-success { display: grid; justify-items: center; gap: 14px; padding: 40px 8px; text-align: center; }
.motion-ok .form-success:not([hidden]) { animation: rise var(--dur-3) var(--ease) both; }
.form-success__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(18, 183, 106, .12); color: var(--success); }
.form-success__icon .icon { width: 28px; height: 28px; stroke-width: 2; }
/* Success is a rare, high-emotion moment: the badge pops (subtle overshoot) and the check draws itself. */
.motion-ok .form-success:not([hidden]) .form-success__icon { animation: pop-in 520ms var(--ease-pop) 80ms both; }
.motion-ok .form-success:not([hidden]) .form-success__icon .icon {
  stroke-dasharray: 32;
  animation: check-draw 460ms var(--ease) 300ms both;
}
.motion-ok .form-success:not([hidden]) .form-success__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--success);
  animation: ping 900ms var(--ease) 420ms both;
}
.form-success__icon { position: relative; }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } }
@keyframes check-draw { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
.form-success__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.form-success__title:focus { outline: none; }
.form-success__text { max-width: 42ch; color: var(--muted); }
.form-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

.wa-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.wa-alt > .icon:first-child { color: #128C7E; }
@media (hover: hover) and (pointer: fine) { .wa-alt:hover { color: var(--accent); } }
@media (hover: hover) and (pointer: fine) { .wa-alt:hover .dir-arrow { --ax: 3px; } }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .wa-alt:hover .dir-arrow { --ax: -3px; } }

/* ============================================================ FOOTER */
.site-footer { position: relative; z-index: 1; padding-block: 72px 28px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; } }
.footer__tagline { max-width: 38ch; margin-top: 16px; color: var(--muted); font-size: .94rem; }
.footer__h { margin-bottom: 16px; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__links { display: grid; gap: 10px; margin-bottom: 18px; }
.footer__links a { font-size: .94rem; color: var(--ink-2); transition: color var(--dur-1) var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--accent); } }
.footer__wordmark {
  margin-top: 56px;
  font-family: var(--font-brand);
  font-size: clamp(64px, 18vw, 240px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.06em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, #E4E6EA 0%, rgba(228, 230, 234, 0) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  white-space: nowrap;
}
/* The giant wordmark rises out of the footer floor as you reach the end of the page. */
/* Shift down 60% and clip the same 60% off the bottom: the visible edge stays on the element's own
   baseline, so the letters appear to rise out of a floor instead of overlapping the copyright row. */
.js.motion-ok .footer__wordmark {
  transform: translate3d(0, 60%, 0);
  clip-path: inset(-40% -5% 60% -5%);
  transition: transform 1.2s var(--ease), clip-path 1.2s var(--ease);
}
.js.motion-ok .footer__wordmark.is-in { transform: none; clip-path: inset(-40% -5% -40% -5%); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.footer__top-link .icon { width: 15px; height: 15px; transform: rotate(-90deg); transition: transform var(--dur-2) var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer__top-link:hover { color: var(--accent); } }
@media (hover: hover) and (pointer: fine) { .footer__top-link:hover .icon { transform: rotate(-90deg) translateX(3px); } }

/* Hebrew never gets tracked-out uppercase mono labels. */
[lang="he"] :is(.direct__heading, .direct__label, .footer__h, .project__role dt, .mcard__label, .legal__updated) {
  font-family: var(--font);
  letter-spacing: 0;
}
[lang="he"] :is(.direct__heading, .footer__h) { font-size: .8rem; font-weight: 500; }
[lang="he"] :is(.direct__label, .project__role dt, .mcard__label) { font-size: .75rem; }

/* ============================================================ TOUCH TARGETS */
/* Narrow screens / touch: every interactive target is at least 44px tall. */
@media (max-width: 959px), (pointer: coarse) {
  .brand { min-height: 44px; }
  .lang a { min-width: 44px; min-height: 44px; }
  .lang--lg a { min-width: 64px; min-height: 48px; }
  .footer__links { gap: 0; }
  .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .wa-alt, .footer__top-link { min-height: 44px; }
  /* Inline text links keep their hover underline under the text; the hit area grows invisibly. */
  .link-arrow { position: relative; }
  .link-arrow::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 44px; transform: translateY(-50%); }
}

/* ============================================================ REVEAL */
.js.motion-ok [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 500ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js.motion-ok [data-reveal].is-in { opacity: 1; transform: none; }
/* Hairline grids draw their 1px gaps from a gray background. While the cards are still invisible
   that background would show as a solid gray slab, so it fades in only after the cards land. */
.js.motion-ok :is(.trust__grid, .bento)[data-reveal-group] {
  background-color: transparent;
  transition: background-color 500ms var(--ease) 650ms;
}
.js.motion-ok :is(.trust__grid, .bento)[data-reveal-group].is-in { background-color: var(--line); }

/* ============================================================ LEGAL PAGE */
.legal { padding-block: clamp(56px, 8vw, 104px); }
.legal__wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal__back { display: inline-flex; margin-bottom: 32px; }
.legal__back .dir-arrow { --flip: -1; }
@media (hover: hover) and (pointer: fine) { .legal__back:hover .dir-arrow { --ax: -3px; } }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .legal__back:hover .dir-arrow { --ax: 3px; } }
[dir="rtl"] .legal__back .dir-arrow { --flip: 1; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; }
[lang="he"] .legal h1 { letter-spacing: -.01em; }
.legal__updated { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.8; }
.legal__list { display: grid; gap: 10px; }
.legal__list li { display: flex; gap: 12px; align-items: baseline; }
.legal__list li::before { content: ""; width: 6px; height: 6px; flex: none; border: 1px solid var(--accent); transform: translateY(-2px); }
.legal__card { margin-top: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 8px; }
.legal__card a { color: var(--accent); font-weight: 600; }
.legal-header .header__inner { display: flex; }
.legal-header .header__actions > .lang { display: inline-flex; }
.legal-header .burger { display: none; }

/* ============================================================ MOTION PREFS */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* ============================================================ PRIVACY POLICY (dialog, main.js) */
.consent__link { color: var(--accent-text, var(--accent)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent__link:hover { text-decoration-thickness: 2px; }

.policy {
  --from: 28px;
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: clamp(12px, 4vw, 40px); border: 0; background: transparent; color: var(--ink); overflow: hidden;
}
.policy[open] { display: grid; place-items: center; }
.policy::backdrop { background: rgba(5, 8, 9, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.policy__panel {
  position: relative; display: flex; flex-direction: column; width: min(680px, 100%); max-height: min(84vh, 760px);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(226, 194, 133, .06);
}
.policy__steam { position: absolute; inset: -45% -10% auto; height: 75%; pointer-events: none; background: radial-gradient(ellipse 45% 55% at 50% 100%, rgba(127, 180, 194, .18), transparent 70%); }
.policy__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 4vw, 32px) 16px; border-bottom: 1px solid var(--line); }
.policy__title { font-family: var(--font-brand); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.policy__body { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: 18px clamp(20px, 4vw, 32px) 30px; font-size: .95rem; line-height: 1.7; color: var(--ink-2); }
.policy__body:focus-visible { outline: 2px solid var(--accent-text, var(--accent)); outline-offset: -2px; }
.policy__body h3 { margin-top: 22px; margin-bottom: 6px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.policy__updated { font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; color: var(--muted); }
.policy__intro { margin-top: 10px; color: var(--ink); }
@media (max-width: 600px) {
  .policy { --from: 70%; padding: 0; }
  .policy[open] { place-items: end center; }
  .policy__panel { width: 100%; max-height: 88vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .policy[open]::backdrop { animation: policy-fade 360ms var(--ease) both; }
  .policy[open] .policy__panel { animation: policy-in 560ms var(--ease) both; }
  .policy[open] .policy__steam { animation: policy-steam 1200ms var(--ease) 80ms both; }
  .policy[open] .policy__body > * { animation: policy-rise 520ms var(--ease) 140ms both; }
  .policy.is-closing::backdrop { animation: policy-fade 240ms ease-in reverse both; }
  .policy.is-closing .policy__panel { animation: policy-out 240ms cubic-bezier(.4, 0, 1, 1) both; }
}
@keyframes policy-fade { from { opacity: 0; } }
@keyframes policy-in { from { opacity: 0; transform: translateY(var(--from)) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes policy-out { to { opacity: 0; transform: translateY(calc(var(--from) / 2)) scale(.98); filter: blur(4px); } }
@keyframes policy-steam { from { opacity: 0; transform: translateY(35%) scaleX(.7); } }
@keyframes policy-rise { from { opacity: 0; transform: translateY(8px); } }

@media print {
  .site-header, .drawer, .hero__visual, .wa-alt, .footer__wordmark { display: none !important; }
  .section--dark { background: #fff; color: #000; }
}
