/* ==========================================================================
   VISION AI STUDIO — Design tokens
   ========================================================================== */

:root{
  /* color — warm ivory, black, charcoal, beige-gray. no accent hue. */
  --paper:      #F4EFE6;
  --stone:      #E7DFD0;
  --stone-2:    #DCD2BE;
  --charcoal:   #1B1913;
  --ink:        #16140F;
  --ink-70:     rgba(22,20,15,.68);
  --ink-50:     rgba(22,20,15,.48);
  --grey:       #6A6356; /* 5.2:1 on paper — WCAG AA */
  --line:       rgba(22,20,15,.13);
  --line-strong:rgba(22,20,15,.26);
  --line-inverse: rgba(244,239,230,.22);

  /* frame tones — neutral beige/taupe only */
  --tone-a-1: #E3DACB; --tone-a-2: #D3C6AE;
  --tone-b-1: #DCD6C8; --tone-b-2: #C7BFA9;
  --tone-c-1: #E9E2D6; --tone-c-2: #D8CBB3;
  --tone-d-1: #D6CFC2; --tone-d-2: #BEB29A;
  --ph-text:  rgba(22,20,15,.62); /* ~4.8:1 on paper — WCAG AA */

  /* type — a single confident grotesk throughout */
  --font-sans: 'Assistant', 'Arial Hebrew', Arial, sans-serif;

  /* layout */
  --gutter:    clamp(20px, 5vw, 88px);
  --sect-y:    clamp(88px, 12vw, 176px);
  --sect-y-sm: clamp(48px, 7vw, 96px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html{ background: var(--paper); scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p{ margin: 0; }

/* hollow / outline emphasis — the site's one recurring typographic signature, ink only (no accent hue) */
/* Google serves Assistant as a variable font, whose glyphs keep overlapping contours
   (e.g. the bar of "A" crossing its legs) — invisible when filled, but text-stroke
   draws every contour. This is a static 800 instance with overlaps merged, Latin only,
   used just for stroked type. */
@font-face{
  font-family: 'Assistant Outline';
  src: url('../assets/fonts/assistant-800-outline.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D;
}

.outline{ color: var(--ink); }
.outline-inverse{ color: var(--paper); }
@supports (-webkit-text-stroke: 1px black){
  .outline, .outline-inverse{ font-family: 'Assistant Outline', var(--font-sans); }
  .outline{ color: transparent; -webkit-text-stroke: 2px var(--ink); }
  .outline-inverse{ color: transparent; -webkit-text-stroke: 2px var(--paper); }
}

/* ==========================================================================
   Type helpers
   ========================================================================== */

.kicker{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 20px;
}
.kicker[dir="ltr"]{ text-align: left; }

.section-title-lg{
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 22px;
}

.section-lede{
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-70);
  max-width: 46ch;
  line-height: 1.6;
}

/* ==========================================================================
   Buttons / links
   ========================================================================== */

.btn-primary, .btn-ghost, .btn-line, .btn-talk{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-sans);
  font-weight: 500;
  white-space: nowrap;
}

.btn-primary{
  background: var(--ink);
  color: var(--paper);
  padding: 15px 28px;
  font-size: 14.5px;
  transition: opacity .3s var(--ease);
}
.btn-primary:hover{ opacity: .82; }
/* Hebrew CTAs point left (reading direction) and nudge left on hover */
.btn-primary .arrow, .btn-ghost .arrow{ display: inline-block; transition: transform .35s var(--ease); }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow{ transform: translateX(-4px); }

.btn-ghost{
  font-size: 14.5px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease);
}
.btn-ghost:hover{ border-color: var(--ink); }

.btn-line{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.btn-line .arrow{ display: inline-block; transition: transform .35s var(--ease); }
.btn-line:hover .arrow{ transform: translateX(4px); }

/* header CTA — a thin outlined frame that fills on hover
   (ink on the light header, cream over the hero video) */
.btn-talk{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0; /* Hebrew label — no caps tracking */
  margin-left: auto; /* physical: the link itself is dir=rtl, so a logical margin would flip sides */
  padding: 9px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-talk .arrow{ display: inline-block; transition: transform .35s var(--ease); }
.btn-talk:hover{ background: var(--ink); color: var(--paper); }
.btn-talk:hover .arrow{ transform: translateX(-3px); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(244,239,230,.82);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

.header-inner{
  max-width: 1680px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: baseline; /* the logo image's bottom edge is its letters' baseline, so the nav sits on the same line */
  gap: 44px;
}

.brand{ display: flex; align-items: center; line-height: 1; }
.brand img{ display: block; height: 16px; width: auto; }
.brand .logo-on-dark{ display: none; }

.site-header.on-hero:not(.is-scrolled):not(.menu-open) .logo-on-light{ display: none; }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .logo-on-dark{ display: block; }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .main-nav a{ color: rgba(244,239,230,.8); }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .main-nav a:hover{ color: var(--paper); }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .main-nav a::after{ background: var(--paper); }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .btn-talk{ border-color: rgba(244,239,230,.7); color: var(--paper); }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .btn-talk:hover{ background: var(--paper); border-color: var(--paper); color: var(--ink); }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .menu-toggle span{ background: var(--paper); }
.site-header.menu-open{ background: var(--paper); }

.main-nav{ display: flex; gap: 30px; }
.main-nav a{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--ink-70);
  position: relative;
  padding-bottom: 3px;
  transition: color .25s var(--ease);
}
.main-nav a::after{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ width: 100%; }

.menu-toggle{
  display: none;
  width: 30px; height: 20px;
  background: none; border: 0;
  position: relative;
  top: 3px; /* centre the two lines on the logo's letters (header is baseline-aligned) */
  cursor: pointer;
  padding: 0;
}
.menu-toggle span{
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child{ top: 5px; }
.menu-toggle span:last-child{ top: 15px; }
.menu-toggle[aria-expanded="true"] span:first-child{ top: 10px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child{ top: 10px; transform: rotate(-45deg); }

.mobile-nav{
  display: none;
  flex-direction: column;
  padding: 4px var(--gutter) 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a{ padding: 14px 0; font-size: 15px; font-weight: 500; border-top: 1px solid var(--line); }
.mobile-nav.is-open{ display: flex; }

/* ==========================================================================
   Reveal
   ========================================================================== */

.reveal{ opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Frame system
   ========================================================================== */

.frame{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ar, 4/5);
  overflow: hidden;
  border: 1px solid var(--line);
}
.frame[data-tone="a"]{ background: linear-gradient(150deg, var(--tone-a-1), var(--tone-a-2)); }
.frame[data-tone="b"]{ background: linear-gradient(150deg, var(--tone-b-1), var(--tone-b-2)); }
.frame[data-tone="c"]{ background: linear-gradient(150deg, var(--tone-c-1), var(--tone-c-2)); }
.frame[data-tone="d"]{ background: linear-gradient(150deg, var(--tone-d-1), var(--tone-d-2)); }

.frame-tag{
  position: absolute;
  inset-inline-start: 20px;
  bottom: 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ph-text);
}

.tick{ position: absolute; width: 12px; height: 12px; opacity: .5; pointer-events: none; }
.tick.tl{ top: 14px; inset-inline-start: 14px; border-top: 1px solid var(--ink-50); border-inline-start: 1px solid var(--ink-50); }
.tick.br{ bottom: 14px; inset-inline-end: 14px; border-bottom: 1px solid var(--ink-50); border-inline-end: 1px solid var(--ink-50); }

a.frame{ transition: opacity .4s var(--ease); }
a.frame:hover{ opacity: .9; }

/* ==========================================================================
   Section shell
   ========================================================================== */

.section{
  max-width: 1680px;
  margin: 0 auto;
  padding: var(--sect-y) var(--gutter);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Hero — full-bleed looping campaign video, typography on top
   ========================================================================== */

.hero{
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper);
}

.hero-media{ position: absolute; inset: 0; z-index: -1; }
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-video.is-active{ opacity: 1; }
/* portrait screens get the dedicated 9:16 cut — frame it centered */
@media (orientation: portrait){
  .hero-video{ object-position: 50% 35%; }
}

/* warm charcoal wash: heavier behind the type (left + bottom), clear over the subject */
.hero-shade{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(22,20,15,.86) 0%, rgba(22,20,15,.42) 38%, rgba(22,20,15,0) 64%),
    linear-gradient(to right, rgba(22,20,15,.62) 0%, rgba(22,20,15,.18) 46%, rgba(22,20,15,0) 70%),
    linear-gradient(to bottom, rgba(22,20,15,.38) 0%, rgba(22,20,15,0) 18%);
}

.hero-inner{
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(112px, 14vw, 156px) var(--gutter) clamp(48px, 7vw, 96px);
}

.hero .kicker{ font-size: clamp(13px, 1.15vw, 17px); letter-spacing: .2em; color: rgba(244,239,230,.8); margin-bottom: clamp(20px, 3vw, 32px); }

.hero-headline{
  direction: ltr;
  text-align: left;
  font-weight: 800;
  font-size: clamp(48px, 9vw, 150px);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--paper);
}
.hero-headline span{ display: block; }
.hero .outline{ color: var(--paper); }
@supports (-webkit-text-stroke: 1px black){
  .hero .outline{ color: transparent; -webkit-text-stroke: 2px var(--paper); }
}

/* bottom band: English services pinned left (LTR), Hebrew copy pinned right (RTL) */
.hero-bottom{
  direction: ltr;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(244,239,230,.22);
}

.hero-text{ order: 2; direction: rtl; text-align: right; }
.hero-lede{ font-size: clamp(16px, 1.55vw, 22px); line-height: 1.55; font-weight: 500; white-space: nowrap; } /* one line on wide screens; wraps again ≤980px */
.hero-ctas{ display: flex; align-items: center; gap: 26px; margin-top: 28px; flex-wrap: wrap; }

.hero-services{
  order: 1;
  direction: ltr;
  text-align: left;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 8px 14px;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(244,239,230,.78);
  padding-bottom: 4px;
}
.hero-services i{ font-style: normal; color: rgba(244,239,230,.38); }
.cta-phone{ display: none; }

/* phones: a tighter hero — no kicker (the logo sits right above),
   two equal CTAs, no services line (the services section covers it) */
@media (max-width: 720px){
  .hero .kicker{ display: none; }
  /* two equal CTAs side by side: works (solid) + contact (outline) */
  .hero-ctas{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-ctas .btn-primary, .hero .btn-ghost{ justify-content: center; padding: 15px 12px; }
  .hero .btn-ghost{ border: 1px solid rgba(244,239,230,.55); }
  .hero-ctas .btn-primary{ border: 1px solid var(--paper); } /* same box height as the outlined one */
  .cta-wide{ display: none; }
  .cta-phone{ display: inline; }
  .hero-services{ display: none; }
}

/* 981–1200px: both lines can't sit side by side on one line each, so they stack (as on mobile) */
@media (min-width: 981px) and (max-width: 1200px){
  .hero-bottom{ flex-direction: column; align-items: stretch; }
  .hero-text{ order: 1; }
  .hero-services{ order: 2; padding-top: 18px; border-top: 1px solid rgba(244,239,230,.16); }
}

.hero .btn-primary{ background: var(--paper); color: var(--ink); }
.hero .btn-ghost{ border-bottom-color: rgba(244,239,230,.4); }
.hero .btn-ghost:hover{ border-color: var(--paper); }
.hero .spine{ color: rgba(244,239,230,.6); }

@media (prefers-reduced-motion: reduce){
  .hero-video{ transition: none; }
}

.spine{
  display: none;
  position: absolute;
  top: clamp(112px, 14vw, 156px);
  bottom: clamp(64px, 9vw, 120px);
  inset-inline-end: 6px;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--grey);
  opacity: .5;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1220px){ .spine{ display: flex; } }

/* ==========================================================================
   Selected Work — 3×3 campaign wall
   ========================================================================== */

/* head: English label pinned left (LTR), Hebrew headline pinned right (RTL) */
.work-head{
  direction: ltr;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.work-head .kicker{ margin: 0; padding-bottom: 6px; }
.work-head-text{ direction: rtl; text-align: right; }
.work-title{ font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.01em; }
.work-sub{ margin-top: 14px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: var(--ink-70); }
.work-sub-line{ white-space: nowrap; } /* one line on wide screens */
@media (max-width: 980px){ .work-sub-line{ white-space: normal; } }

/* mouse only: tiles play on hover, so say so (touch screens play the centred row by themselves) */
.work-hint{ display: none; }
@media (hover: hover) and (pointer: fine){
  .work-hint{
    --head-gap: clamp(40px, 5vw, 64px); /* the head's own bottom margin */
    display: block;
    text-align: right; /* right-aligned like the Hebrew line above; sits just over the videos */
    margin: calc(var(--head-gap) * -1 + max(8px, var(--head-gap) - 32px)) 0 12px;
    font-size: 13.5px;
    font-weight: 400; /* same face and colour as the line above, a size down */
    line-height: 20px;
    color: var(--ink-70);
  }
}

.work-grid{
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.work-tile{
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
  cursor: pointer;
  outline: none;
}
.work-tile[data-tone="a"]{ background: linear-gradient(160deg, var(--tone-a-1), var(--tone-a-2)); }
.work-tile[data-tone="b"]{ background: linear-gradient(160deg, var(--tone-b-1), var(--tone-b-2)); }
.work-tile[data-tone="c"]{ background: linear-gradient(160deg, var(--tone-c-1), var(--tone-c-2)); }
.work-tile[data-tone="d"]{ background: linear-gradient(160deg, var(--tone-d-1), var(--tone-d-2)); }
.work-tile[data-tone="e"]{ background: linear-gradient(160deg, #3A352C, #1E1B16); }
.work-tile[data-tone="f"]{ background: linear-gradient(160deg, #A69C89, #7D7463); }

.work-media{
  position: absolute;
  inset: 0;
  display: block;
  transition: transform 1.1s var(--ease);
}
.work-poster, .work-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%); /* per-tile focal point, set inline on .work-tile */
}
.work-video{ opacity: 0; transition: opacity .6s var(--ease); }
.work-tile.is-playing .work-video{ opacity: 1; }

/* empty slot until the project's poster is placed */
.work-slot{
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ph-text);
}
.work-tile[data-tone="e"] .work-slot, .work-tile[data-tone="f"] .work-slot{ color: rgba(244,239,230,.4); }

.work-label{
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  color: var(--paper);
  text-shadow: 0 1px 14px rgba(22,20,15,.35);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.work-label-name{ font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.work-label-cat{ font-size: 10px; font-weight: 600; letter-spacing: .16em; opacity: .78; }
.work-tile[data-tone="a"]:not(:has(.work-poster)) .work-label,
.work-tile[data-tone="b"]:not(:has(.work-poster)) .work-label,
.work-tile[data-tone="c"]:not(:has(.work-poster)) .work-label{ color: var(--ink); text-shadow: none; }

.work-tile.is-active .work-media{ transform: scale(1.02); }
.work-tile.is-active .work-label,
.work-tile:focus-visible .work-label{ opacity: 1; transform: none; }
.work-tile:focus-visible{ outline: 1px solid var(--ink); outline-offset: 3px; }


@media (max-width: 720px){
  .work-head{ flex-direction: column; align-items: stretch; gap: 18px; }
  .work-head .kicker{ padding-bottom: 0; }
  .work-grid{ grid-template-columns: repeat(2, 1fr); gap: 4px; }
  /* 2 columns on mobile: the 9th tile is left out so the grid closes evenly (4 × 2) */
  .work-tile:last-child{ display: none; }
  .work-label{ left: 12px; bottom: 10px; }
  .work-label-name{ font-size: 12px; }
  .work-label-cat{ font-size: 9px; }
}

@media (prefers-reduced-motion: reduce){
  .work-media, .work-label, .work-video{ transition: none; }
  .work-tile.is-active .work-media{ transform: none; }
}

/* ==========================================================================
   Stills — campaign photography on one stage
   (head reuses .work-head) the list on the right picks a campaign; its three frames take the stage
   ========================================================================== */

.stills-wrap{
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 360px);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}

/* every campaign sits in the same cell; only the chosen one shows */
.stills-stage{ display: grid; }
.stills-panel{
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.stills-panel.is-active{ opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
/* 4:5 frames; on narrower desktops the list is the taller side, and the frames stretch to meet it */
.stills-panel li{ position: relative; overflow: hidden; background: var(--stone); }
.stills-panel li::before{ content: ""; display: block; padding-top: 125%; }
.stills-panel img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.stills-tabs{ display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.stills-tab{
  flex: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  align-content: center;
  gap: 4px 0;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  font: inherit;
  text-align: left;
  color: var(--ink-50);
  cursor: pointer;
  transition: color .45s var(--ease);
}
.stills-tab-num{ font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.stills-tab-name{ font-size: clamp(20px, 2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: .04em; }
.stills-tab-cat{ grid-column: 2; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; }
.stills-tab.is-active{ color: var(--ink); }
.stills-tab.is-active .stills-tab-cat{ color: var(--grey); }

/* narrow screens: the list becomes a row of names over the stage, and the frames a strip to swipe */
@media (max-width: 860px){
  .stills-wrap{ grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stills-tabs{
    order: -1;
    flex-direction: row;
    gap: 22px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--line);
  }
  .stills-tabs::-webkit-scrollbar{ display: none; }
  .stills-tab{ flex: none; display: block; padding: 12px 0; border-top: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .stills-tab.is-active{ border-bottom-color: var(--ink); }
  .stills-tab-num, .stills-tab-cat{ display: none; }
  .stills-tab-name{ font-size: 13px; letter-spacing: .12em; }
}
@media (max-width: 720px){
  .stills-panel{
    display: flex;
    gap: 4px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .stills-panel::-webkit-scrollbar{ display: none; }
  .stills-panel li{ flex: none; width: 74vw; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce){
  .stills-panel, .stills-panel.is-active, .stills-tab{ transition: none; }
}

/* ==========================================================================
   Digital — the campaign carried onto the screen
   (head reuses .work-head / .work-title / .work-sub)
   ========================================================================== */

.digital-sub{ max-width: none; white-space: nowrap; }
@media (max-width: 980px){ .digital-sub{ white-space: normal; } }

.digital-grid{
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(48px, 5vw, 80px) clamp(24px, 3vw, 48px);
}

/* caption: English label pinned left (LTR), Hebrew line pinned right (RTL) */
.digital-caption{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 16px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line-strong);
}
.digital-label{
  direction: ltr;
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
}
.digital-num{ margin-right: 12px; color: var(--grey); font-weight: 600; }
.digital-desc{ direction: rtl; text-align: right; font-size: 14.5px; color: var(--ink-70); margin-left: auto; }

/* the visual: a cropped browser — thin chrome, the live site inside */
.digital-visual{
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
}

.digital-bar{
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 26px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.digital-bar i{ width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }

.digital-screen{
  position: absolute;
  inset: 26px 0 0 0;
  display: block;
  overflow: hidden;
  transition: transform 1.1s var(--ease);
  transform-origin: 50% 0;
}
.digital-visual:focus-visible{ outline: 1px solid var(--ink); outline-offset: 3px; }

/* live site preview — a real page at desktop width, scaled down into the frame (--s set by main.js).
   Frozen by default, so the page keeps scrolling straight past it; the visitor presses the
   button in its centre to scroll inside (.is-live), and leaves by the exit button, Esc,
   moving the pointer away or scrolling it out of view. */
.digital-url{
  flex: 1;
  margin: 0 12px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--grey);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.digital-visit{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-70);
  transition: color .25s var(--ease);
}
.digital-visit:hover{ color: var(--ink); }
.is-live-site .digital-bar i:nth-child(3){ margin-right: 0; }
.digital-frame{
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: calc(100% / var(--s, .45));
  border: 0;
  transform: scale(var(--s, .45));
  transform-origin: 0 0;
  background: #fff;
  pointer-events: none;
}
.is-live-site.is-live .digital-frame{ pointer-events: auto; }
/* while a preview is being scrolled, the page underneath stays put */
html.is-preview-lock{ overflow: hidden; }
html{ scrollbar-gutter: stable; }

/* frozen: a light veil + the button; live: both gone, a frame and an exit instead */
.digital-screen::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22,20,15,.16);
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.is-live .digital-screen::after{ opacity: 0; }
.digital-enter{
  position: absolute;
  top: calc(50% + 13px); /* centre of the screen area, under the 26px bar */
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: 600 14px/1 var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(22,20,15,.28);
  transition: opacity .3s var(--ease), transform .35s var(--ease), background-color .3s var(--ease), visibility 0s;
}
.digital-enter:hover{ transform: translate(-50%, -50%) scale(1.04); }
/* a small "mouse" glyph whose wheel dot travels down */
.digital-enter-icon{ position: relative; width: 13px; height: 20px; border: 1.5px solid currentColor; border-radius: 7px; flex-shrink: 0; }
.digital-enter-icon::after{ content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px; background: currentColor; border-radius: 1px; animation: enter-wheel 1.6s var(--ease) infinite; }
@keyframes enter-wheel{ 0%{ transform: translateY(0); opacity: 1; } 70%, 100%{ transform: translateY(6px); opacity: 0; } }
.is-live .digital-enter{ opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.is-live-site.is-live{ outline: 2px solid var(--ink); outline-offset: -1px; }
.digital-exit{
  position: absolute;
  top: 36px;
  right: 10px;
  z-index: 3;
  padding: 8px 12px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: 600 12.5px/1 var(--font-sans);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22,20,15,.25);
}
.digital-exit[hidden]{ display: none; }

/* touch screens: also a clear way out to the real (mobile) site */
.digital-open{ display: none; }
@media (hover: none){
  .digital-open{
    display: inline-flex;
    gap: 8px;
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
  }
}

@media (max-width: 980px){
  .digital-grid{ grid-template-columns: 1fr; gap: clamp(48px, 10vw, 72px); }
  .digital-caption{ flex-wrap: wrap; gap: 6px 16px; }
}

@media (prefers-reduced-motion: reduce){
  .digital-screen{ transition: none; }
  .digital-enter-icon::after{ animation: none; }
}

/* ==========================================================================
   What We Do — editorial capabilities page (content-led, no media)
   Intro (headline + paragraph) → ruled rows (number / title / description).
   main.js marks the row being read (.is-current) and the
   rows above it (.is-past); rows reveal once as they enter (.is-in).
   ========================================================================== */

.wwd-label{ margin-bottom: clamp(36px, 5vw, 64px); }

/* intro — spread across the width: headline on the right, paragraph on the left, sharing a baseline */
.wwd-intro{
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(32px, 6vw, 120px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.wwd-headline{
  grid-column: 1;
  text-align: right;
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 76px);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.wwd-lede{
  grid-column: 2;
  margin: 0;
  max-width: 60ch;
  text-align: right;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--ink-70);
}
.wwd-lede bdi, .cap-desc bdi, .cap-title bdi{ unicode-bidi: isolate; }

/* the four areas — a ruled editorial list, not cards */
.cap-list{ list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.cap-row{
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 8fr); /* wider description column: text runs further left */
  gap: 0 clamp(24px, 4vw, 72px);
  align-items: baseline;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.cap-row.is-in{ opacity: 1; transform: none; }
.cap-num{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ph-text);
  text-align: right;
  transition: color .5s var(--ease), font-weight .5s var(--ease);
}
.cap-title{
  margin: 0;
  text-align: right;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.15;
  color: var(--ink-70);
  transition: color .5s var(--ease);
}
.cap-title[dir="ltr"]{ letter-spacing: .01em; } /* English title keeps LTR shaping, sits flush with the column */
.cap-desc{
  text-align: right;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--grey);
  transition: color .5s var(--ease);
}

/* the row being read comes forward; rows already read settle back a little */
.cap-row.is-current .cap-num{ color: var(--ink); font-weight: 800; }
.cap-row.is-current .cap-title{ color: var(--ink); }
.cap-row.is-current .cap-desc{ color: var(--ink-70); }

/* hover (mouse): the row under the pointer takes over — bigger title, full ink —
   while the rest of the list steps back */
.cap-title, .cap-desc{ transform-origin: right center; transition: color .45s var(--ease), transform .55s var(--ease); }
@media (hover: hover) and (pointer: fine){
  .cap-row{ cursor: default; transition: opacity .45s var(--ease), transform .8s var(--ease); }
  .cap-list:hover .cap-row.is-in{ opacity: .4; }
  .cap-list:hover .cap-row.is-in:hover{ opacity: 1; }
  .cap-row:hover .cap-num{ color: var(--ink); font-weight: 800; }
  .cap-row:hover .cap-title{ color: var(--ink); transform: scale(1.12); }
  .cap-row:hover .cap-desc{ color: var(--ink); transform: scale(1.05); }
}

@media (max-width: 980px){
  .wwd-intro{ grid-template-columns: 1fr; }
  .cap-row{ grid-template-columns: 48px minmax(0, 1fr); row-gap: 12px; }
  .cap-desc{ grid-column: 2; }
  .wwd-lede{ grid-column: 1; margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce){
  .cap-row{ opacity: 1; transform: none; transition: none; }
  .cap-num, .cap-title, .cap-desc{ transition: none; }
  .cap-row:hover .cap-title, .cap-row:hover .cap-desc{ transform: none; }
}

/* ==========================================================================
   Contact — the last frame. One viewport, type-led, asymmetric:
   LET'S / TALK. owns the left, Hebrew line + ruled form sit right, credits close it.
   ========================================================================== */

.closing{ border-top: 1px solid var(--line); }
.closing-frame{
  direction: ltr; /* layout axis; every text block sets its own direction */
  max-width: 1680px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(96px, 12vh, 136px) var(--gutter) clamp(28px, 4vh, 44px);
}

.closing-top{ display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.closing-label{ margin: 0; }

.closing-main{
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: end;
  align-content: center;
  padding: clamp(40px, 6vh, 72px) 0;
}

/* the dominant element — stacked, with TALK. stepped in and hollow */
.closing-title{
  direction: ltr;
  text-align: left;
  font-weight: 800;
  font-size: clamp(76px, 11.5vw, 188px);
  line-height: .86;
  letter-spacing: -.025em;
}
.closing-title span{ display: block; }
.closing-title .outline{ padding-left: .9em; }
@supports (-webkit-text-stroke: 1px black){
  .closing-title .outline{ -webkit-text-stroke-width: 2.5px; }
}

.closing-side{ direction: ltr; padding-bottom: .4em; }
.closing-lede{
  direction: rtl;
  text-align: right;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: clamp(32px, 5vh, 52px);
}

/* the form — no boxes: a label, a line, a small index number */
.closing-form{ direction: rtl; }
.cf-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 2.6vw, 40px); }
.cf-field{
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0 10px;
}
.cf-field::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1.1s var(--ease) var(--d, 0s), background-color .3s var(--ease);
}
.cf-field.is-visible::after{ transform: scaleX(1); }
.cf-field:focus-within::after{ background: var(--ink); }
.cf-label{ flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--grey); transition: color .3s var(--ease); }
.cf-field:focus-within .cf-label{ color: var(--ink); }
.cf-optional{ font-weight: 400; color: var(--ph-text); }
.cf-index{ flex-shrink: 0; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--ph-text); }
.cf-field input, .cf-field textarea{
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  outline: none;
  resize: none;
}
.cf-wide{ margin-top: 6px; }

.cf-submit{ display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; } /* RTL: start = right, flush with the fields */
.cf-status{ min-height: 1.5em; font-size: 14px; color: var(--ink-70); text-align: right; }
.cf-status.is-error{ color: var(--ink); }
.cf-status.is-success{ font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; color: var(--ink); }
.cf-status a{ border-bottom: 1px solid currentColor; }
/* honeypot: invisible and unfocusable, kept inside the page (an off-screen offset would widen an RTL page) */
.cf-honey{ position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.btn-submit{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.btn-submit .arrow{ display: inline-block; transition: transform .35s var(--ease); }
.btn-submit:hover .arrow{ transform: translateX(-4px); }
.btn-submit:disabled{ cursor: default; color: var(--ink-70); border-color: var(--line-strong); }

/* quiet, ordered entrance: label → title → Hebrew → lines → credits */
.closing .reveal{ transition-delay: var(--d, 0s); }

/* closing credits */
.site-footer{ margin-top: auto; }
.footer-credits{
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* logo letters and links share a baseline, as in the header */
  gap: 24px;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.footer-logo{ display: block; height: clamp(16px, 1.4vw, 22px); width: auto; }
.footer-links{ display: flex; gap: clamp(24px, 2.6vw, 40px); font-size: clamp(14px, 1.1vw, 16px); letter-spacing: .06em; }
.footer-links a{ color: var(--ink-70); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), color .25s var(--ease); }
.footer-links a:hover{ color: var(--ink); border-color: var(--ink); }

@media (max-width: 980px){
  .closing-frame{ min-height: 0; }
  .closing-main{ grid-template-columns: 1fr; gap: clamp(40px, 8vw, 64px); padding-top: 40px; }
  .closing-title .outline{ padding-left: .6em; }
}
@media (max-width: 560px){
  .closing-top{ flex-direction: column; gap: 8px; }
  .cf-grid{ grid-template-columns: 1fr; }
  .footer-credits{ flex-direction: column; align-items: center; gap: 22px; text-align: center; }
  .footer-links{ justify-content: center; }
}
@media (prefers-reduced-motion: reduce){
  .cf-field::after{ transform: none; transition: background-color .3s var(--ease); }
}

/* ==========================================================================
   Accessibility — focus, skip link, hero pause, menu + its modes
   ========================================================================== */

.sr-only{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* visible keyboard focus everywhere (mouse clicks don't show it) */
:focus-visible{ outline: 2px solid currentColor; outline-offset: 3px; }
.cf-field input:focus-visible, .cf-field textarea:focus-visible{ outline: none; } /* the field's rule darkens instead */
main:focus{ outline: none; }

.skip-link{
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus{ transform: none; }

/* hero video pause (moving content > 5s needs a way to stop it) —
   icon only, tucked beside the accessibility button at the hero's bottom corner */
.hero-pause{
  position: absolute;
  right: calc(clamp(16px, 2vw, 28px) + 48px + 8px);
  bottom: calc(clamp(16px, 2vw, 28px) + 8px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  opacity: .55;
  cursor: pointer;
  transition: opacity .3s var(--ease);
}
.hero-pause:hover, .hero-pause:focus-visible{ opacity: 1; }
.hero-pause:focus-visible{ outline: 1px solid var(--paper); outline-offset: 2px; }
.hero-pause-icon{ display: inline-flex; gap: 3px; }
.hero-pause-icon i{ display: block; width: 3px; height: 10px; background: currentColor; }
.hero-pause.is-paused .hero-pause-icon{ gap: 0; }
.hero-pause.is-paused .hero-pause-icon i:first-child{ width: 0; height: 0; background: none; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero-pause.is-paused .hero-pause-icon i:last-child{ display: none; }

/* menu button — bottom-right (WhatsApp sits bottom-left) */
.a11y-toggle{
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 91;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244,239,230,.16);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 28px rgba(22,20,15,.22);
  cursor: pointer;
}
.a11y-panel{
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: calc(clamp(16px, 2vw, 28px) + 58px);
  z-index: 92;
  width: min(300px, calc(100vw - 32px));
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px rgba(22,20,15,.2);
  font-family: var(--font-sans);
}
.a11y-panel[hidden]{ display: none; }
.a11y-head{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.a11y-title{ font-size: 16px; font-weight: 700; }
.a11y-close{ border: 0; background: none; font-size: 16px; color: var(--ink); cursor: pointer; padding: 4px 8px; }
.a11y-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 11px 12px;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
}
button.a11y-row[aria-pressed="true"]{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
button.a11y-row[aria-pressed="true"]::after{ content: "✓"; }
.a11y-size{ cursor: default; }
.a11y-steps{ display: inline-flex; align-items: center; gap: 10px; }
.a11y-steps button{ width: 30px; height: 30px; border: 1px solid var(--ink); background: none; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.a11y-text-level{ min-width: 44px; text-align: center; font-size: 14px; }
.a11y-reset{ font-weight: 500; }
.a11y-link{ justify-content: center; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* modes (classes on <html>, set by the menu) */
html.a11y-text-1 body{ zoom: 1.15; }
html.a11y-text-2 body{ zoom: 1.3; }
html.a11y-text-3 body{ zoom: 1.45; }

html.a11y-contrast{
  --grey: var(--ink);
  --ink-70: var(--ink);
  --ph-text: var(--ink);
  --line: rgba(22,20,15,.55);
  --line-strong: var(--ink);
}
html.a11y-contrast .hero-shade{ background: rgba(10,9,7,.72); }
html.a11y-contrast .work-label{ text-shadow: 0 1px 3px #000, 0 0 12px #000; }

html.a11y-links a{ text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }

html.a11y-font body, html.a11y-font body *{ font-family: Arial, 'Arial Hebrew', sans-serif !important; letter-spacing: normal !important; }

html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after{ animation: none !important; transition: none !important; }
html.a11y-still .reveal, html.a11y-still .cap-row{ opacity: 1 !important; transform: none !important; }
html.a11y-still .wa-float{ opacity: 1; transform: none; }

/* ==========================================================================
   Floating WhatsApp — a quiet ink pill, the only colour is WhatsApp's own mark
   ========================================================================== */

.wa-float{
  position: fixed;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 90; /* under the header (100) */
  display: inline-flex;
  flex-direction: row-reverse; /* label reads RTL; the icon sits at the outer (left) end */
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(244,239,230,.16);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(22,20,15,.22);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  animation: wa-in .7s var(--ease) 1.2s forwards;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-icon{
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
}
.wa-float:hover{ transform: translateY(-2px); box-shadow: 0 12px 32px rgba(22,20,15,.28); }
@keyframes wa-in{ to{ opacity: 1; transform: none; } }

@media (max-width: 560px){
  .wa-float{ gap: 8px; padding: 6px 14px 6px 6px; font-size: 13px; }
  .wa-icon{ width: 32px; height: 32px; }
  .site-footer{ padding-bottom: 76px; } /* keep the footer links clear of the floating buttons */
  .a11y-toggle{ width: 44px; height: 44px; }
  .hero-pause{ right: calc(clamp(16px, 2vw, 28px) + 44px + 6px); bottom: calc(clamp(16px, 2vw, 28px) + 6px); }
  .a11y-panel{ bottom: 70px; }
  .hero-inner{ padding-bottom: 84px; } /* hero CTAs sit above the floating button */
}
@media (prefers-reduced-motion: reduce){
  .wa-float{ animation: none; opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px){
  .main-nav, .btn-talk{ display: none; }
  .menu-toggle{ display: block; margin-inline-start: auto; }

  .hero-bottom{ flex-direction: column; align-items: stretch; }
  .hero-text{ order: 1; max-width: none; }
  .hero-lede{ white-space: normal; }
  .hero-services{ order: 2; flex-wrap: nowrap; justify-content: space-between; gap: 6px; font-size: 11px; letter-spacing: .08em; white-space: nowrap; padding-top: 18px; border-top: 1px solid rgba(244,239,230,.16); }
  .br-wide{ display: none; }
}

@media (max-width: 560px){
  .section{ padding-top: var(--sect-y-sm); padding-bottom: var(--sect-y-sm); }
}

/* ==========================================================================
   Courses — home section (05) + the courses screen (courses.html)
   ========================================================================== */

/* hero: the middle CTA, to the courses screen — sits between the solid button and the
   plain link: same box as the solid one, filled with a faded wash of its colour */
.btn-soft{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 15px 28px;
  background: rgba(244,239,230,.24);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: background-color .3s var(--ease);
}
.btn-soft:hover{ background: rgba(244,239,230,.38); }
.btn-soft .arrow{ display: inline-block; transition: transform .35s var(--ease); }
.btn-soft:hover .arrow{ transform: translateX(-4px); }
/* phones: works + courses side by side */
@media (max-width: 720px){
  .hero-ctas .btn-soft{ justify-content: center; padding: 15px 12px; border: 1px solid transparent; }
}

/* home: the course in one line — the whole band is the link to the courses screen */
.course-band{
  direction: ltr;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  color: inherit;
}
.course-band .kicker{ margin: 0; padding-bottom: 8px; white-space: nowrap; }
.course-band-text{ display: block; direction: rtl; text-align: right; }
.course-band-title{
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: clamp(34px, 6vw, 92px);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.course-band-dim{ color: var(--ink-50); transition: color .5s var(--ease); }
.course-band-foot{ display: flex; align-items: baseline; gap: 14px 28px; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 40px); }
.course-band-sub{ font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-70); }
@media (hover: hover) and (pointer: fine){
  .course-band:hover .course-band-dim{ color: var(--ink); }
  .course-band:hover .cc-go i{ transform: translateX(-5px); }
}
@media (max-width: 720px){
  .course-band{ flex-direction: column; align-items: stretch; gap: 18px; }
  .course-band .kicker{ padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce){
  .course-band-dim{ transition: none; }
}

/* course card — type only: number, name, one line, the price as the outline numeral.
   Home: a link to the courses screen. Courses screen: the button that opens the course. */
.cc-grid{
  direction: rtl;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.cc{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: clamp(330px, 27vw, 430px);
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 3vw, 48px) clamp(22px, 2.4vw, 34px);
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: right;
  direction: rtl;
  cursor: pointer;
  transition: background-color .5s var(--ease);
}
.cc-grid > .cc + .cc{ border-inline-start: 1px solid var(--line-strong); }
.cc-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-grid--3 .cc-name{ font-size: clamp(24px, 2.3vw, 36px); }
.cc-grid--3 .cc{ padding-inline: clamp(18px, 2.2vw, 36px); }
.cc-top{ display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cc-num{ font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--ph-text); }
.cc-tag{ font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--grey); }
.cc-name{ display: block; margin-top: clamp(30px, 4vw, 60px); font-weight: 700; font-size: clamp(28px, 3.2vw, 50px); line-height: 1.1; letter-spacing: -.01em; }
.cc-desc{ display: block; margin-top: 12px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-70); }
.cc-bottom{ display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: auto; padding-top: clamp(24px, 3vw, 40px); }
/* price: a quiet label + the amount in solid type (not the outline display face) */
.price{ display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; direction: rtl; text-align: right; line-height: 1; }
.price-label{ font-size: 12.5px; font-weight: 600; color: var(--grey); }
.price-val{ direction: ltr; display: inline-flex; align-items: baseline; gap: .16em; font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.01em; }
.price-cur{ font-size: .62em; font-weight: 600; }
.cc-go{ font-size: 14.5px; font-weight: 600; padding-bottom: 5px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.cc-go i{ display: inline-block; font-style: normal; margin-inline-start: 6px; transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine){
  .cc:hover{ background: var(--stone); }
  .cc:hover .cc-go i{ transform: translateX(-5px); }
  .cc:hover .cc-go i.plus{ transform: rotate(90deg); }
}
@media (max-width: 760px){
  .cc-grid{ grid-template-columns: 1fr; }
  .cc{ min-height: 0; }
  .cc-grid > .cc + .cc{ border-inline-start: 0; border-top: 1px solid var(--line-strong); }
}
@media (max-width: 980px){
  .cc-grid--3{ grid-template-columns: 1fr; }
  .cc-grid--3 .cc{ min-height: 0; }
  .cc-grid--3 > .cc + .cc{ border-inline-start: 0; border-top: 1px solid var(--line-strong); }
}

/* courses screen — opener: full-bleed like the home hero; still / film / still behind the type */
.cp-hero{
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper);
}
/* three vertical panels edge to edge: still / film / still. No frames, no gaps. */
.cp-wall{ position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 1fr 1fr 1fr; direction: ltr; }
.cp-wall img, .cp-wall video{ width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.cp-wall > *{ position: relative; overflow: hidden; }
.cp-shade{
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(22,20,15,.9) 0%, rgba(22,20,15,.5) 36%, rgba(22,20,15,.12) 66%),
    linear-gradient(to right, rgba(22,20,15,.6) 0%, rgba(22,20,15,.14) 50%, rgba(22,20,15,0) 72%),
    linear-gradient(to bottom, rgba(22,20,15,.42) 0%, rgba(22,20,15,0) 20%);
}
.cp-hero-inner{ width: 100%; max-width: 1680px; margin: 0 auto; padding: clamp(112px, 14vw, 156px) var(--gutter) clamp(44px, 6vw, 84px); }
.cp-hero .kicker{ font-size: clamp(13px, 1.15vw, 17px); letter-spacing: .2em; color: rgba(244,239,230,.8); margin-bottom: clamp(20px, 3vw, 32px); }
.cp-headline{
  direction: ltr;
  text-align: left;
  font-weight: 800;
  font-size: clamp(52px, 10vw, 168px);
  line-height: .9;
  letter-spacing: -.025em;
  color: var(--paper);
}
.cp-headline span{ display: block; }
.cp-headline .outline{ color: var(--paper); }
@supports (-webkit-text-stroke: 1px black){
  .cp-headline .outline{ color: transparent; -webkit-text-stroke: 2.5px var(--paper); }
}
.cp-band{
  direction: ltr;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(36px, 5vw, 72px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid rgba(244,239,230,.22);
}
.cp-lede{ direction: rtl; text-align: right; font-size: clamp(17px, 1.6vw, 23px); font-weight: 500; line-height: 1.5; }
.cp-lede .l2{ display: block; color: rgba(244,239,230,.72); }
.cp-band .hero-ctas{ margin-top: 22px; }
.cp-hero .btn-primary{ background: var(--paper); color: var(--ink); }
.cp-meta{ display: flex; align-items: center; gap: 14px; font-size: clamp(11px, .95vw, 14px); font-weight: 600; letter-spacing: .18em; color: rgba(244,239,230,.78); white-space: nowrap; padding-bottom: 4px; }
.film-sound{
  padding: 7px 11px;
  border: 1px solid rgba(244,239,230,.6);
  background: transparent;
  color: var(--paper);
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .14em;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.film-sound:hover{ background: var(--paper); color: var(--ink); }
@media (max-width: 860px){
  .cp-wall{ grid-template-columns: 1fr; }
  .cp-wall img{ display: none; } /* phones are portrait: the film alone fills the screen */
  .cp-band{ flex-direction: column-reverse; align-items: stretch; }
}

/* courses screen — the course, once: four topics in a ruled 2×2 list */
.pg-num{ font-size: clamp(13px, 1.05vw, 15px); font-weight: 700; letter-spacing: .08em; color: var(--grey); padding-top: .4em; }
.gets{ direction: rtl; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 88px); border-bottom: 1px solid var(--line); }
.gets li{ display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; padding: clamp(20px, 2.4vw, 32px) 0; border-top: 1px solid var(--line); }
.gets h3{ margin: 0 0 6px; font-size: clamp(20px, 2vw, 30px); font-weight: 700; line-height: 1.2; }
.gets p{ font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; color: var(--ink-70); max-width: 46ch; }

/* courses screen — the tracks: same course, three ways to take it. Cards show only what differs. */
#course{ padding-bottom: clamp(48px, 6vw, 88px); }
#tracks{ padding-bottom: clamp(36px, 4.5vw, 64px); }
.tk-grid{
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.tk{
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 38px) clamp(18px, 2.2vw, 36px) clamp(22px, 2.4vw, 34px);
  scroll-margin-top: 84px;
  transition: background-color .5s var(--ease);
}
.tk + .tk{ border-inline-start: 1px solid var(--line-strong); }
.tk:target{ background: var(--stone); } /* arrived from a link to this track */
.tk-name{ margin-top: clamp(26px, 3vw, 44px); font-weight: 700; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.12; letter-spacing: -.01em; }
.tk-angle{ margin-top: 12px; min-height: 3.2em; font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.6; color: var(--ink-70); }
.tk-gets{ margin-top: clamp(18px, 2vw, 26px); border-bottom: 1px solid var(--line); }
.tk-gets li{ position: relative; padding: 11px 18px 11px 0; border-top: 1px solid var(--line); font-size: clamp(14.5px, 1.15vw, 16.5px); font-weight: 600; line-height: 1.45; }
.tk-gets li::before{ content: ""; position: absolute; right: 0; top: 1.25em; width: 7px; height: 1px; background: var(--ink); }
.tk-facts{ margin: clamp(18px, 2vw, 26px) 0 0; display: grid; gap: 12px; }
.tk-facts > div{ display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.tk-facts dt{ font-size: 12.5px; font-weight: 600; color: var(--grey); }
.tk-facts dd{ margin: 0; font-size: clamp(14.5px, 1.15vw, 16.5px); font-weight: 600; line-height: 1.45; }
/* price, then a full-width button under it: the three cards line up at every width */
.tk-bottom{ margin-top: auto; padding-top: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.tk-bottom .btn-primary{ justify-content: center; }
.price-note{ font-size: 13px; font-weight: 600; color: var(--grey); letter-spacing: 0; margin-left: .5em; direction: rtl; }

@media (max-width: 980px){
  .tk-grid{ grid-template-columns: 1fr; }
  .tk + .tk{ border-inline-start: 0; border-top: 1px solid var(--line-strong); }
  .tk-angle{ min-height: 0; }
}
@media (max-width: 760px){ .gets{ grid-template-columns: 1fr; } }

/* courses screen — moving strip of work made with the same tools */
.strip-head{ max-width: 1680px; margin: 0 auto; padding: clamp(28px, 3.5vw, 52px) var(--gutter) clamp(20px, 2.4vw, 32px); display: flex; justify-content: space-between; align-items: baseline; gap: 24px; direction: ltr; }
.strip-head .kicker{ margin: 0; }
.strip-head p:last-child{ direction: rtl; font-size: clamp(17px, 1.6vw, 23px); font-weight: 600; }
.strip{ direction: ltr; overflow: hidden; }
.strip-track{ display: flex; gap: 10px; width: max-content; animation: strip 60s linear infinite; }
.strip:hover .strip-track{ animation-play-state: paused; }
.strip img{ height: clamp(220px, 26vw, 400px); width: auto; flex-shrink: 0; }
@keyframes strip{ to{ transform: translateX(calc(-50% - 5px)); } }
@media (prefers-reduced-motion: reduce){
  .strip{ overflow-x: auto; }
  .strip-track{ animation: none; }
}

html.a11y-still .strip{ overflow-x: auto; }

.cp-foot{ max-width: 1680px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(28px, 4vh, 44px); }
@media (max-width: 560px){ .cp-foot{ padding-bottom: 96px; } } /* clear of the floating buttons */
@media (max-width: 560px){ .cp-hero-inner{ padding-bottom: 84px; } } /* CTA sits above the floating buttons */
html.a11y-contrast .cp-shade{ background: rgba(10,9,7,.72); }

/* ==========================================================================
   Language switch (header) + the English pages under /en
   The Hebrew layout pins English labels left and Hebrew copy right. On the English
   pages (<html lang="en" dir="ltr">) the copy reads left to right, so each of those
   pairs is mirrored: copy on the left, the small label on the right.
   ========================================================================== */

.lang-switch{
  margin-left: auto; /* header is dir=ltr: sits at the right, just before the CTA */
  padding: 6px 2px 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--ink-70);
  border-bottom: 1px solid var(--line-strong);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.lang-switch[lang="he"]{ font-size: 13.5px; letter-spacing: 0; }
.lang-switch:hover{ color: var(--ink); border-color: var(--ink); }
.lang-switch + .btn-talk{ margin-left: -16px; } /* the switch takes the auto margin; keep the two close */
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .lang-switch{ color: rgba(244,239,230,.85); border-color: rgba(244,239,230,.45); }
.site-header.on-hero:not(.is-scrolled):not(.menu-open) .lang-switch:hover{ color: var(--paper); border-color: var(--paper); }
@media (max-width: 980px){
  .lang-switch ~ .menu-toggle{ margin-inline-start: -18px; } /* switch + menu button share the right edge */
}

/* arrows point right and nudge right */
html[lang="en"] .btn-primary:hover .arrow,
html[lang="en"] .btn-ghost:hover .arrow,
html[lang="en"] .btn-soft:hover .arrow,
html[lang="en"] .btn-submit:hover .arrow{ transform: translateX(4px); }
html[lang="en"] .btn-talk:hover .arrow{ transform: translateX(3px); }

/* hero: copy + CTAs left, services line right */
html[lang="en"] .hero-text{ order: 1; direction: ltr; text-align: left; }
html[lang="en"] .hero-services{ order: 2; }
html[lang="en"] .hero-lede{ white-space: normal; max-width: 40ch; }

/* section heads: headline left, label right */
html[lang="en"] .work-head-text{ direction: ltr; text-align: left; }
html[lang="en"] .work-sub-line, html[lang="en"] .digital-sub{ white-space: normal; max-width: 58ch; }
html[lang="en"] .work-hint{ text-align: left; }
@media (min-width: 721px){
  html[lang="en"] .work-head{ flex-direction: row-reverse; }
}
html[lang="en"] .digital-desc{ direction: ltr; }

/* what we do */
html[lang="en"] .wwd-intro{ direction: ltr; }
html[lang="en"] .wwd-headline, html[lang="en"] .wwd-lede,
html[lang="en"] .cap-num, html[lang="en"] .cap-title, html[lang="en"] .cap-desc{ text-align: left; }
html[lang="en"] .cap-title, html[lang="en"] .cap-desc{ transform-origin: left center; }

/* contact */
html[lang="en"] .closing-lede{ direction: ltr; text-align: left; }
html[lang="en"] .closing-form{ direction: ltr; }
html[lang="en"] .cf-field::after{ transform-origin: left; }
html[lang="en"] .cf-status{ text-align: left; }

/* floating buttons */
html[lang="en"] .a11y-row{ text-align: left; }
html[lang="en"] .wa-float{ flex-direction: row; } /* icon stays at the outer (left) end */

/* courses screen */
html[lang="en"] .cp-lede{ direction: ltr; text-align: left; }
@media (min-width: 861px){
  html[lang="en"] .cp-band{ flex-direction: row-reverse; }
}
html[lang="en"] .gets, html[lang="en"] .tk-grid{ direction: ltr; }
html[lang="en"] .tk-gets li{ padding: 11px 0 11px 18px; }
html[lang="en"] .tk-gets li::before{ right: auto; left: 0; }
html[lang="en"] .tk-facts > div{ grid-template-columns: 78px minmax(0, 1fr); }
html[lang="en"] .price{ direction: ltr; text-align: left; }
html[lang="en"] .price-note{ direction: ltr; }
html[lang="en"] .strip-head{ flex-direction: row-reverse; }
html[lang="en"] .strip-head p:last-child{ direction: ltr; }

/* narrow screens: the longer English labels need room */
@media (max-width: 980px){
  html[lang="en"] .digital-desc{ margin-left: 0; } /* wraps under its label: stay flush left */
}
@media (max-width: 560px){
  html[lang="en"] .footer-links{ flex-wrap: wrap; gap: 12px 24px; }
}

/* ==========================================================================
   Cookie consent — a quiet ruled bar at the foot of the screen (js/consent.js).
   Sits above the floating WhatsApp / accessibility buttons until answered.
   ========================================================================== */
.consent{
  position: fixed;
  z-index: 95;
  left: 50%;
  bottom: clamp(16px, 2vw, 28px);
  width: min(640px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 16px 28px;
  padding: 18px 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 50px -24px rgba(22,20,15,.45);
  font-family: var(--font-sans);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent.is-open{ opacity: 1; transform: translate(-50%, 0); }
.consent-text{ flex: 1; font-size: 14px; line-height: 1.6; color: var(--ink-70); }
.consent-actions{ display: flex; gap: 8px; flex: none; }
.consent-btn{
  appearance: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.consent-btn:hover{ border-color: var(--ink); }
.consent-btn.is-primary{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.consent-btn.is-primary:hover{ opacity: .82; }
.consent-btn:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; }
.footer-links [data-consent-open]{ cursor: pointer; }
@media (max-width: 560px){
  .consent{ flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px 18px; }
  .consent-actions .consent-btn{ flex: 1; }
}
@media (prefers-reduced-motion: reduce){
  .consent{ transition: none; }
}
html.a11y-still .consent{ transition: none; }
