/* ──────────────────────────────────────────────────────────────
   LAYOUT: multi-page RTL site on a warm charcoal ground. Centred
   wordmark hero over motion, grain and drifting dust. One coral
   red carries every action. Hierarchy comes from scale and weight
   — outlines, not filled boxes; no micro-labels.
   ────────────────────────────────────────────────────────────── */
:root{
  color-scheme: dark;

  /* Three grounds, warm. Each already carries a little red, so the accent
     reads as light falling in the room rather than paint laid on top. */
  --ink:        #0B0908;   /* page */
  --ink-2:      #171312;   /* panels, cards, bands */
  --ink-3:      #221C1A;   /* open / hovered panel */
  --line:       #2E2523;   /* hairline */
  --line-2:     #463936;   /* a border meant to be seen */
  --bone:       #F2EDEB;
  --bone-dim:   #A39B98;
  --bone-faint: #67605E;

  /* ACCENT — the studio's coral red, straight off the posters.
     Measured on --ink: acc 6.4:1, acc-deep 4.5:1, amber 8.5:1. */
  --acc:        #FF5757;   /* safe as small text */
  --acc-deep:   #E13432;   /* large text and fills only */
  --amber:      #FF8A3D;   /* the warm end of every gradient */
  --acc-ink:    #140707;   /* on a solid red fill — 6.4:1 inside it */
  --acc-glow:   #FF575722;

  /* SELECTION — same red, read through weight of fill */
  --sel:        #FF5757;
  --sel-ink:    #140707;
  --sel-glow:   #FF575726;   /* small rows — a track in the queue */
  --sel-wash:   #FF575710;   /* large surfaces — a whole card */

  --display: "Noto Sans Hebrew", "Segoe UI", system-ui, sans-serif;
  /* Latin lockups only — PT Sans ships no Hebrew glyphs, Noto catches them */
  --mark:    "PT Sans", "Noto Sans Hebrew", "Segoe UI", sans-serif;
  --body:    "Assistant", "Segoe UI", system-ui, sans-serif;

  /* The gap between body and a heading is the whole point: body holds at 17px
     while headings run away from it, so scale alone carries the hierarchy. */
  --s1:.8125rem; --s2:.9375rem; --s3:1.0625rem; --s4:1.3rem;
  --s5:1.75rem;
  --s6:clamp(2.3rem, 6.4vw, 4.6rem);   /* section titles */
  --s7:clamp(2.8rem, 9vw, 7rem);       /* page titles */
  --r: 6px;              /* buttons and chips */
  --r-lg: 16px;          /* cards and panels — a softer box reads as current */
  --play: 54px; --play-glyph: 31px;   /* one play button, used everywhere */
  /* the brand's breathing unit, scaled to the lockup above it */
  --hero-gap: clamp(34px, 5.4vw, 70px);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
}

*{box-sizing:border-box}
body{
  direction:rtl; text-align:start; margin:0;   /* start, not right: the language switch flips dir */
  background:var(--ink); color:var(--bone);
  font-family:var(--body); font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
/* GRAIN. Two layers do two different jobs. This one is the page: fine, faint,
   just enough to stop a flat fill reading as flat and to break up banding in
   the gradients. The hero gets its own, coarser one — see .hero::after. */
body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:1; opacity:.07;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* DUST, page-wide. One fixed canvas behind the content, in the same plane as
   the grain: both show through everywhere the page is transparent, which is now
   almost everywhere — the cards became outlines, so the motes drift through
   them too. Only the few opaque panels and the glyphs themselves sit over it,
   which is what keeps running text clean. */
.dust{position:fixed; inset:0; z-index:1; pointer-events:none}
@media (prefers-reduced-motion: reduce){ .dust{display:none} }

/* One span per character, lit as the pointer crosses it. Instant on, slow off:
   equal timings would read as an ordinary hover state, where fast-on-slow-off
   reads as something disturbed, settling back. inline-block is what lets the
   letter carry a transform without breaking the line. */
.ltr{display:inline-block; transition:color .5s ease, transform .5s ease; will-change:color}
.ltr.lit{color:var(--acc); transform:translateY(-2px); transition:color .05s ease, transform .05s ease}
/* groups one word's letter-spans so the line can wrap between words but
   never in the middle of one — see app.js's splitIntoLetters() */
.word-nowrap{display:inline-block; white-space:nowrap}

h1,h2,h3,h4{font-family:var(--display); font-weight:700; line-height:1.12; margin:0; text-wrap:balance; letter-spacing:-.02em}
p{margin:0}
a{color:inherit}
button{font:inherit; color:inherit; background:none; border:0; cursor:pointer}
:focus-visible{outline:2px solid var(--acc); outline-offset:3px; border-radius:3px}
img{max-width:100%}

.wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter)}
.sec{padding-block:clamp(3.5rem,8vw,6.5rem); position:relative; z-index:2}
.rule{height:1px; background:var(--line); border:0; margin:0}
.lede{color:var(--bone-dim); font-size:var(--s4); font-weight:300; max-width:58ch}
/* an invitation, not a reference link: the rule draws itself on approach */
.lede a{
  color:var(--sel); text-decoration:none; font-weight:600; position:relative;
  display:inline-flex; align-items:center; gap:.5rem; transition:color .2s;
}
.lede a::after{content:"←"; font-size:.9em; transition:transform .25s}
.lede a::before{
  content:""; position:absolute; inset-inline:0; bottom:-4px; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:right; transition:transform .3s;
}
.lede a:hover{color:#fff}
.lede a:hover::after{transform:translateX(-5px)}
.lede a:hover::before{transform:scaleX(1)}
.sec-head{margin-bottom:clamp(2.2rem,5vw,4rem)}
.sec-head h2{font-size:var(--s6)}
.sec-head .lede{margin-top:.9rem; font-size:var(--s3)}
.ph{color:var(--bone-faint); border-bottom:1px dashed var(--bone-faint); font-weight:400}

/* ─── BUTTONS ─────────────────────────────────────────────── */
/* Two buttons, told apart by weight and fill — never by an outline. A 1px grey
   box around a word is the flat-design tic that dates a page fastest; the eye
   already knows a solid red slab is the action and bold type is the next one. */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  padding:.95rem 1.85rem; border:0; font-family:var(--display);
  text-decoration:none;   /* a.btn inherits the browser's underline otherwise */
  font-weight:600; font-size:var(--s3); border-radius:var(--r);
  transition:background .25s, color .25s, transform .2s, box-shadow .35s;
}
.btn-primary{background:var(--acc); color:var(--acc-ink); font-weight:700; letter-spacing:-.01em}
.btn-primary:hover{background:var(--bone); box-shadow:0 12px 36px -12px #FF575770}
/* the secondary action is not a box: weight carries it, the arrow points it */
.btn-ghost{background:none; color:var(--bone); font-weight:700; font-size:var(--s4); padding-inline:.25rem}
.btn-ghost::after{content:"←"; font-size:.8em; transition:transform .25s}
.btn-ghost:hover{color:var(--acc)}
.btn-ghost:hover::after{transform:translateX(-6px)}
.btn:active{transform:translateY(1px)}
.btn svg{width:17px; height:17px; fill:currentColor; flex:none}

/* ─── NAV ─────────────────────────────────────────────────── */
.nav{
  position:sticky; top:env(safe-area-inset-top,0px); z-index:50;
  background:rgba(11,9,8,.72); backdrop-filter:blur(16px);
  border-bottom:1px solid transparent; transition:border-color .3s, background .3s;
}
.nav.stuck{border-bottom-color:var(--line); background:rgba(11,9,8,.93)}
.nav-in{display:flex; align-items:center; gap:2rem; height:70px}
.nav-mark{
  font-family:var(--mark); font-weight:700; letter-spacing:.055em; font-size:var(--s3);
  text-decoration:none; white-space:nowrap; display:flex; align-items:baseline; gap:.45rem;   /* was .5rem — 10% tighter */
  direction:ltr;   /* Latin lockup — keep the words in reading order inside an RTL page */
}
/* the second word of the lockup, same proportion as the hero */
.nm-sm{font-size:.6em; font-weight:400; letter-spacing:.24em; color:var(--bone-dim)}
@media(max-width:560px){ .nav-mark .nm-sm{display:none} }
.nav-links{display:flex; gap:1.8rem; margin-inline-start:auto; font-family:var(--display); font-size:var(--s2); font-weight:400}
.nav-links a{text-decoration:none; color:var(--bone-dim); transition:color .2s}
.nav-links a:hover,.nav-links a.on{color:var(--bone)}
/* Two runs, one rule between them: everything to its right moves you around
   THIS page, everything to its left loads another one. The menu was telling
   you nothing about where a word would take you; now the gap does. */
.nav-sep{width:1px; align-self:center; height:17px; background:var(--line-2); flex:none}
.nav .btn{padding:.58rem 1.25rem; font-size:var(--s2)}

/* narrow screens get the same menu behind a toggle, not no menu at all */
.burger{display:none; width:42px; height:42px; position:relative; flex:none; margin-inline-start:.4rem}
.burger span{
  position:absolute; inset-inline:11px; height:2px; background:var(--bone); border-radius:2px;
  transition:transform .3s, opacity .2s;
}
.burger span:nth-child(1){top:14px}
.burger span:nth-child(2){top:20px}
.burger span:nth-child(3){top:26px}
.nav.open .burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav.open .burger span:nth-child(2){opacity:0}
.nav.open .burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:940px){
  .burger{display:block}
  .nav .btn{margin-inline-start:auto}
  .nav-links{
    display:none; position:absolute; inset-inline:0; top:100%;
    flex-direction:column; gap:0; margin:0; font-size:var(--s3);
    background:var(--ink-2); border-bottom:1px solid var(--line);
    padding:.2rem var(--gutter) 1rem;
  }
  .nav.open .nav-links{display:flex}
  .nav-links a{padding:.95rem 0; border-bottom:1px solid var(--line)}
  .nav-links a:last-child{border-bottom:0}
  .nav-sep{width:auto; height:0; align-self:stretch; background:none; margin-block:.45rem}
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero{
  position:relative; min-height:clamp(600px,88vh,980px); display:flex; align-items:stretch;
  text-align:center; overflow:hidden;
}
.hero-media{position:absolute; inset:0; z-index:0}
.hero-media video,.hero-media .stand-in{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
/* stand-in for the real clip: slow drifting light, so the hero is alive without footage */
.hero-media .stand-in{
  background:
    radial-gradient(ellipse 60% 50% at 30% 35%, #ffffff0e, transparent 70%),
    radial-gradient(ellipse 50% 60% at 75% 70%, var(--acc-glow), transparent 70%),
    linear-gradient(160deg,#171312,#0B0908 60%);
  animation:drift 26s ease-in-out infinite alternate;
}
@keyframes drift{from{transform:scale(1.06) translate3d(0,0,0)} to{transform:scale(1.14) translate3d(-2.5%,-2%,0)}}
/* the clip is shot vertical, so a wide screen upscales it hard — a hair of blur
   turns the scaling artefacts back into atmosphere */
@media(min-width:861px){ .hero-vid{filter:blur(1.2px) saturate(.94)} }
@media (prefers-reduced-motion: reduce){ .hero-vid{display:none} }
/* The light in the room. A warm red bloom off one shoulder, an amber kicker on
   the other, a vignette pulling the corners down, and the ground coming up from
   the bottom so the hero hands over to the page instead of ending at a line. */
.hero-media::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 54% 46% at 76% 28%, #FF575730, transparent 72%),
    radial-gradient(ellipse 48% 44% at 18% 74%, #FF8A3D1f, transparent 70%),
    radial-gradient(ellipse 96% 78% at 50% 46%, transparent 42%, #0B0908d9 100%),
    linear-gradient(to top, var(--ink) 1%, #0B0908c4 34%, #0B090866 100%);
}
/* The hero's own grain, four times the page's. This is the poster moment: the
   reference is a printed frame, and print grain is what the eye reads as
   "photographed" rather than "filled". It stops at the hero on purpose —
   carried across a whole scrolling page it costs legibility and reads as dirt. */
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:3; opacity:.17;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* Dust is a page-level layer now — see .dust below the grain rule. */
/* One block, centred. The lockup and the play control read as a single mark
   with a handle on it, which is what the poster reference does. */
.hero-in{
  position:relative; z-index:2; width:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:clamp(.9rem,2vw,1.5rem);
  padding-block:clamp(2rem,5vw,3rem);   /* symmetric: the sticky nav already takes its own space */
}
/* the lockup set as live type, straight over the clip */
.wordmark{
  margin:0; display:flex; flex-direction:column; align-items:center; gap:.1em;
  direction:ltr; font-family:var(--mark); color:#fff; line-height:.95;
  font-size:clamp(72px, 12vw, 9.5rem); letter-spacing:.01em;
  text-shadow:0 4px 44px #000a, 0 1px 4px #0007;
}
.zz-name{display:block; font-weight:700}
/* THE STRESS. One word of the name carries the brand colour, in all three
   lockups at once — hero, nav, footer — because they share one rule. "ZONE"
   takes it rather than "ZOMBIE": the first word is the noun everyone already
   reads, the second is the one that turns a creature into a place. Deep red,
   not the bright accent: on the lockup this is identity, not an action, and a
   mark that wears the same red as the buttons invites a click that isn't there. */
.wordmark em,.nav-mark em,.foot-brand .mark em{font-style:normal; color:var(--acc-deep)}
.wordmark em{color:#E13432; text-shadow:0 4px 44px #E1343255, 0 1px 4px #0007}
.zz-sub{font-size:.3em; font-weight:400; letter-spacing:.42em; padding-inline-start:.42em; color:var(--bone-dim)}
.sr-only{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}
/* The hero asks for one thing: listen. The disc is hollowed out here — the only
   place on the site where it is — because over a moving frame a solid red fill
   competes with the wordmark above it, and the wordmark has to win. A hairline
   of white over glass reads as an invitation rather than as an instruction, and
   it fills with red the moment the pointer arrives. */
.hero-actions{display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:1rem}
.hero-listen{display:flex; align-items:center; gap:.85rem}
.hero .play-big{background:#ffffff14; color:var(--bone); box-shadow:inset 0 0 0 1px #ffffff40; backdrop-filter:blur(4px)}
.hero .play-big:hover{background:var(--acc); color:var(--acc-ink); box-shadow:inset 0 0 0 1px var(--acc)}
.play-big{
  width:var(--play); height:var(--play); border-radius:50%; background:var(--acc); color:var(--acc-ink);
  display:grid; place-items:center; transition:transform .25s, background .25s; flex:none;
  box-shadow:0 0 0 0 var(--acc-glow);
}
.play-big:hover{transform:scale(1.07); background:var(--bone)}
.play-big svg{width:var(--play-glyph); height:var(--play-glyph); fill:currentColor}
/* one button, two glyphs — the transport shows the action it will perform */
.i-pause{display:none}
.is-playing .i-play{display:none}
.is-playing .i-pause{display:block}
.play-cap{font-family:var(--display); font-size:var(--s2); color:var(--bone-dim)}

/* ─── 02 · PATH ACCORDION ─────────────────────────────────── */
/* Rows rest as single title bars; the pointer opens one into a full card.
   Total height is fixed, so nothing below the section ever shifts. */
.acc{
  --row:70px; --row-open:206px;
  display:flex; flex-direction:column; gap:1px; overflow:hidden;
  background:var(--line); border:1px solid var(--line); border-radius:var(--r-lg);
  height:calc(var(--row) * 5 + 4px);
  transition:height .45s cubic-bezier(.4,0,.2,1);
}
.pane{
  background:var(--ink-2); flex:0 0 var(--row); position:relative; overflow:hidden;
  display:flex; flex-direction:column; text-align:start;
  padding-inline:clamp(1.1rem,2.6vw,1.9rem); padding-bottom:1.4rem;
  transition:flex-basis .45s cubic-bezier(.4,0,.2,1), background .35s;
}
.pane::before{
  content:""; position:absolute; inset:0; opacity:.45;
  background:repeating-linear-gradient(-45deg, transparent 0 16px, #ffffff05 16px 17px);
}
/* rows open on click only — hovering just lights the row it is over */
.pane:hover,.pane:focus-visible{background:var(--ink-3)}
.pane.open{flex-basis:var(--row-open); background:var(--ink-3)}
.pane .hd{position:relative; display:flex; align-items:center; gap:1rem; height:var(--row); flex:none}
.pane .num{font-family:var(--display); font-size:var(--s2); font-weight:600; color:var(--acc); flex:none}
.pane h3{font-size:clamp(1.15rem,2vw,1.55rem); transition:color .3s}
.pane:hover h3,.pane.open h3,.pane:hover .num,.pane.open .num{color:var(--sel)}
.pane p{
  position:relative; font-size:var(--s3); color:var(--bone-dim); line-height:1.6;
  max-width:54ch; opacity:0; transform:translateY(8px);
  transition:opacity .35s .1s, transform .35s .1s;
}
/* the only part of an open row that acts — everything else just closes it */
.pane .go{
  position:relative; margin-top:.9rem; align-self:flex-start; font-family:var(--display);
  font-size:var(--s4); color:var(--sel); font-weight:600; opacity:0;
  padding-bottom:3px;
  transition:opacity .35s .18s, color .2s;
}
/* The rule draws itself rather than switching on. A border-bottom can only fade
   its colour — the line is already the full width before you can see it, so it
   reads as an announcement. A scaled pseudo-element has a direction, and that
   makes it read as a stroke being pulled. transform-origin:right starts it at
   the reading edge in Hebrew, so it travels right to left with the eye.
   Same mechanism as the .lede links — one gesture, used everywhere. */
.pane .go::before{
  content:""; position:absolute; inset-inline:0; bottom:0; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:right;
  transition:transform .32s cubic-bezier(.2,.7,.3,1);
}
/* The arrow used to be typed into the Hebrew string itself ("לתיאום ←"),
   with the dictionary pairing a whole second string ("Book it →") for English.
   That worked, but it meant the arrow lived in content instead of style — the
   one place on the site where it did. Service copy now comes from Sanity
   without an arrow baked in (see the service schema), so the arrow moves here,
   next to the other three places that already draw it this way. */
.pane .go::after{content:"←"; font-size:.85em; margin-inline-start:.35em; display:inline-block; transition:transform .25s}
.pane.open .go:hover{color:#fff}
.pane.open .go:hover::before{transform:scaleX(1)}
.pane.open .go:hover::after{transform:translateX(-5px)}
html[dir="ltr"] .pane .go::after{content:"→"}
html[dir="ltr"] .pane.open .go:hover::after{transform:translateX(5px)}
.pane.open p{opacity:1; transform:none}
.pane.open .go{opacity:1}
/* every row rests closed; the stack makes room whenever one opens — on any
   device and at any width, so an expanded row never clips the rows below it */
.acc:has(.pane.open){height:calc(var(--row) * 4 + var(--row-open) + 4px)}
@media(max-width:860px){
  .acc{--row:62px; --row-open:248px}
  .pane h3{font-size:1.15rem}
  .pane p{font-size:var(--s2)}
}

/* ─── PLAYER ──────────────────────────────────────────────── */
/* The player sits directly under the accordion, so it has to wear the same
   corner. overflow:hidden is what makes the radius real on a panel whose last
   child is a full-bleed list — without it the queue's bottom row paints over
   the curve and the corner looks broken rather than square. */
.player{border:1px solid var(--line); background:var(--ink-2); border-radius:var(--r-lg); overflow:hidden}
.now{display:grid; grid-template-columns:auto 1fr; gap:1.2rem; align-items:center; padding:1.5rem; border-bottom:1px solid var(--line)}
.now-play{width:var(--play); height:var(--play); border-radius:50%; background:var(--acc); color:var(--acc-ink); display:grid; place-items:center; flex:none; transition:transform .2s, background .25s}
.now-play:hover{transform:scale(1.06); background:var(--bone)}
.now-play svg{width:var(--play-glyph); height:var(--play-glyph); fill:currentColor}
.now-info .nm{font-family:var(--display); font-weight:600; font-size:var(--s5); line-height:1.2}
.now-info .ar{color:var(--bone-dim); font-size:var(--s3)}
.wave{display:flex; align-items:center; gap:2px; height:56px; padding:0 1.5rem; margin-block:1.1rem; cursor:pointer}
.wave i{flex:1; min-width:1px; background:var(--line-2); border-radius:1px; transition:background .1s}
.wave i.on{background:var(--sel)}
.queue{list-style:none; margin:0; padding:0; border-top:1px solid var(--line)}
.queue li{display:grid; grid-template-columns:28px 1fr auto; gap:1rem; align-items:center; padding:.85rem 1.5rem; border-bottom:1px solid var(--line); cursor:pointer; transition:background .2s}
.queue li:last-child{border-bottom:0}
.queue li:hover{background:#ffffff06}
.queue li.cur{background:var(--sel-glow)}
.queue li.cur .q-n,.queue li.cur .q-t b{color:var(--sel)}
.q-n{font-family:var(--display); font-size:var(--s2); color:var(--bone-faint); font-variant-numeric:tabular-nums}
.q-t{min-width:0}
.q-t b{display:block; font-family:var(--display); font-weight:500; font-size:var(--s3)}
.q-t span{font-size:var(--s2); color:var(--bone-dim)}
.q-w{font-family:var(--display); font-size:var(--s1); color:var(--bone-faint); white-space:nowrap}
@media(max-width:620px){ .q-w{display:none} }

/* ─── CTA BAND ────────────────────────────────────────────── */
.band{background:var(--ink-2); border-block:1px solid var(--line); padding-block:clamp(2.5rem,5vw,3.8rem)}
.band-in{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.6rem}
.band h3{font-size:clamp(1.4rem,3vw,2.1rem); max-width:20ch}
.band p{color:var(--bone-dim); margin-top:.5rem; max-width:44ch}

/* ─── SERVICES ────────────────────────────────────────────── */
/* Separate outlined cards, not cells of one table. The old hairline grid read
   as a spec sheet; distinct cards with air between them read as choices. */
.svc{display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:14px}
.svc-col{
  background:none; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:1.9rem 1.5rem; display:flex; flex-direction:column; cursor:pointer; text-align:start;
  transition:background .3s, border-color .3s, box-shadow .35s,
             transform .35s cubic-bezier(.2,.7,.3,1);
}
.svc-col:hover{
  background:var(--sel-wash); border-color:var(--acc);
  transform:translateY(-6px) scale(1.012);
  box-shadow:0 24px 54px -26px #FF57575c;
}
/* An interactive card has to say what the click does. The line is there at
   rest — dimmed, but present — because on a phone there is no hover to reveal
   it, and that is exactly where the card was reading as decoration. */
.svc-go{
  margin-top:1.15rem; padding-top:1rem; border-top:1px solid var(--line);
  font-family:var(--display); font-weight:600; font-size:var(--s3);
  color:var(--bone-faint); display:flex; align-items:center; gap:.45rem;
  transition:color .25s, border-color .3s;
}
.svc-go::after{content:"←"; font-size:.85em; transition:transform .25s}
.svc-col:hover .svc-go{color:var(--acc); border-color:#FF575738}
.svc-col:hover .svc-go::after{transform:translateX(-5px)}
.svc-col h3{font-size:1.45rem; transition:color .25s}
.svc-col:hover h3{color:#fff}
.svc-col ul{list-style:none; padding:0; margin:1.2rem 0 0; display:flex; flex-direction:column; gap:.65rem}
.svc-col li{font-size:var(--s3); color:var(--bone-dim); padding-inline-start:1rem; position:relative; transition:color .25s}
/* the wash lifts the whole card, so the text inside has to come up with it */
.svc-col:hover li{color:var(--bone)}
.svc-col:hover .price-tag .lbl{color:var(--bone-dim)}
.svc-col li::before{content:""; position:absolute; inset-inline-start:0; top:.72em; width:6px; height:1px; background:var(--acc)}
.price-tag{margin-top:auto; padding-top:1.3rem; display:flex; align-items:baseline; justify-content:space-between; gap:.6rem}
.price-tag .lbl{font-size:var(--s2); color:var(--bone-faint); transition:color .25s}
.price-tag .val{font-family:var(--display); font-size:var(--s3); font-weight:500; font-variant-numeric:tabular-nums}

/* ─── GALLERY / SLOTS ─────────────────────────────────────── */
.slot{
  position:relative; background:linear-gradient(150deg,var(--ink-2),var(--ink-3));
  border:1px solid var(--line); overflow:hidden; display:flex; align-items:flex-end;
  padding:.9rem; min-height:120px; max-width:100%;
}
/* A card with a 16px corner holding a picture with 0px corners is the detail
   that makes a layout look unfinished: the eye reads the mismatch before it
   reads the photo. The mask goes on the frame, not the file, so the same
   image can sit in a square context elsewhere. */
.slot{border-radius:var(--r-lg); overflow:hidden}
.slot::before{
  content:""; position:absolute; inset:0; opacity:.55;
  background:repeating-linear-gradient(-45deg, transparent 0 15px, #ffffff06 15px 16px),
             radial-gradient(ellipse at 28% 18%, #ffffff0a, transparent 62%);
}
.slot span{position:relative; font-size:var(--s2); color:var(--bone-faint); background:#0B0908cc; padding:.25rem .55rem}
.slot img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.slot:has(img)::before{display:none}
.gal .slot:hover img{transform:scale(1.045)}
.gal{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.gal .slot{aspect-ratio:1/1}
.gal .slot:nth-child(1){grid-column:span 2; grid-row:span 2}
@media(max-width:760px){ .gal{grid-template-columns:repeat(2,1fr)} .gal .slot:nth-child(1){grid-column:span 2; grid-row:auto; aspect-ratio:16/10} }

/* ─── PEOPLE ──────────────────────────────────────────────── */
.people{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media(max-width:760px){ .people{grid-template-columns:1fr} }
.person{
  background:none; border:1px solid var(--line); border-radius:var(--r-lg); padding:1.6rem;
  transition:border-color .3s, transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.person:hover{border-color:var(--line-2); transform:translateY(-5px); box-shadow:0 22px 48px -26px #00000090}
.person .slot{aspect-ratio:1/1; margin-bottom:1.3rem}
.person h3{font-size:1.8rem}
.person p{font-size:var(--s3); color:var(--bone-dim); margin-top:.8rem}

/* ─── WORK GRID ───────────────────────────────────────────── */
.filters{display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.8rem}
.filters button{font-family:var(--display); font-size:var(--s2); padding:.5rem 1.2rem; border:1px solid var(--line); border-radius:999px; color:var(--bone-dim); transition:.2s}
.filters button:hover{border-color:var(--line-2); color:var(--bone)}
.filters button[aria-pressed="true"]{border-color:var(--sel); color:var(--sel); background:var(--sel-glow)}
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px}
.proj{
  border:1px solid var(--line); background:none; border-radius:var(--r-lg);
  text-align:start; overflow:hidden;
  transition:border-color .3s, transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.proj:hover{border-color:var(--acc); transform:translateY(-6px); box-shadow:0 24px 54px -26px #FF57575c}
.proj .art{position:relative; width:100%; aspect-ratio:1/1; background:linear-gradient(150deg,var(--ink-2),var(--ink-3)); border:0; border-bottom:1px solid var(--line); display:grid; place-items:center; padding:0; cursor:pointer; appearance:none; -webkit-appearance:none; font:inherit; color:inherit; overflow:hidden}
.proj .art::before{content:""; position:absolute; inset:0; opacity:.5; background:repeating-linear-gradient(-45deg, transparent 0 15px, #ffffff06 15px 16px)}
/* a card whose link is a YouTube video shows its real thumbnail instead of
   the plain gradient placeholder — the darkening gradient keeps the play
   button legible over whatever the frame grab looks like */
.proj .art-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.proj .art.has-thumb::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 35%, #080606b8 100%)}
.proj .pbtn{position:relative; width:46px; height:46px; border-radius:50%; background:#0B0908b0; border:1px solid var(--line-2); display:grid; place-items:center; transition:.25s}
.proj:hover .pbtn{background:var(--acc); border-color:var(--acc)}
.proj .pbtn svg{width:26px; height:26px; fill:var(--bone)}
.proj:hover .pbtn svg{fill:var(--acc-ink)}
.proj .body{padding:.6rem .7rem .7rem}
.proj .name{font-family:var(--display); font-weight:500; font-size:var(--s3)}
.proj .sub{font-size:var(--s2); color:var(--bone-dim)}
/* each tag filters the work page by that kind of job */
.tags{display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.6rem}
.tags .tag{
  font-family:var(--display); font-size:var(--s1); color:#fff;
  border:1px solid var(--line-2); border-radius:var(--r);
  padding:.16rem .55rem; transition:border-color .2s, background .2s;
}
.tags .tag:hover{border-color:var(--sel); background:var(--sel-wash)}

/* ─── PROOF ───────────────────────────────────────────────── */
/* ══════════ reviews strip ══════════
   The same full-bleed band as .band, but what sits inside it moves: three
   quote slots cycling over a larger pool while the score beside them holds
   still. .sec-proof drops the section's own bottom padding, because the
   strip brings its own — otherwise the two stack into a gap twice the size
   of every other section break on the page. */
.sec-proof{padding-bottom:0}
.strip{
  background:var(--ink-2); border-block:1px solid var(--line);
  padding-block:clamp(2.4rem,5vw,3.6rem); position:relative; overflow:hidden;
}
.strip::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 50% 120% at 88% 50%, var(--acc-glow), transparent 70%);
}
.strip-in{
  position:relative; display:grid; grid-template-columns:auto 1fr;
  gap:clamp(1.6rem,4vw,3.4rem); align-items:center;
}
.strip-score{
  text-align:center;
  padding-inline-end:clamp(1.6rem,4vw,3.4rem); border-inline-end:1px solid var(--line-2);
}
.strip-score .num{
  font-family:var(--display); font-weight:700; line-height:1;
  font-variant-numeric:tabular-nums; font-size:clamp(3rem,7vw,4.6rem);
}
.strip-score .stars{display:block; margin-top:.35rem; font-size:1.1rem; color:var(--acc); letter-spacing:.22em}
.strip-score .src{font-size:var(--s2); color:var(--bone-faint); margin-top:.5rem; white-space:nowrap}

/* --dir flips the wave with the reading direction: a quote should wash in
   from the side the reader starts on, which is the right in Hebrew and the
   left in English. Without this the motion runs backwards in one language. */
.q-slots{display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.2rem,3vw,2.4rem); --dir:1}
[dir="ltr"] .q-slots{--dir:-1}
.q-slot{will-change:transform,opacity,filter}
.q-slot blockquote{margin:0; font-size:var(--s3); color:var(--bone-dim); line-height:1.6}
.q-slot .who{font-size:var(--s2); color:var(--bone-faint); margin-top:.7rem}
.q-slot .q-stars{display:block; font-size:.9rem; letter-spacing:.14em; margin-bottom:.6rem}
.q-slot .q-stars .on{color:var(--acc)}
.q-slot .q-stars .off{color:var(--line-2)}

/* Water on sand. Going out is a PULL: it accelerates away, smears, and the
   letters spread as they are dragged — ease-in, because a receding wave is
   fastest at the end. Coming in is a SETTLE: it arrives from the other side
   already slowing, and takes half again as long — ease-out, because water
   spreading over sand loses speed the whole way. The asymmetry between the
   two is the entire effect; matched durations and one easing would read as
   a slideshow. */
@keyframes pullOut{
  to{ opacity:0; transform:translateX(calc(var(--dir) * -30px)) scaleX(1.07); filter:blur(8px); letter-spacing:.07em }
}
@keyframes washIn{
  from{ opacity:0; transform:translateX(calc(var(--dir) * 30px)) scaleX(.985); filter:blur(10px); letter-spacing:-.014em }
}
.q-slot.out{animation:pullOut .45s cubic-bezier(.5,0,1,.4) forwards}
.q-slot.in {animation:washIn .738s cubic-bezier(.16,.84,.3,1) both}

@media(max-width:860px){
  .strip-in{grid-template-columns:1fr}
  .strip-score{padding-inline-end:0; padding-bottom:1.6rem; border-inline-end:0; border-bottom:1px solid var(--line-2)}
  .q-slots{grid-template-columns:1fr; gap:1.5rem}
}
@media (prefers-reduced-motion: reduce){
  .q-slot.out,.q-slot.in{animation:none}
}

.proof{display:grid; grid-template-columns:250px 1fr; gap:clamp(1.5rem,4vw,3rem); align-items:start}
@media(max-width:760px){ .proof{grid-template-columns:1fr} }
.score{border:1px solid var(--line); padding:1.7rem; text-align:center; background:var(--ink-2)}
.score .num{font-family:var(--display); font-size:3.4rem; font-weight:700; line-height:1}
.score .stars{color:var(--acc); letter-spacing:.25em; margin-top:.5rem; font-size:var(--s4)}
.score .src{font-size:var(--s2); color:var(--bone-faint); margin-top:.7rem}
.quotes{display:grid; gap:12px}
.quote{border:1px solid var(--line); border-inline-start:2px solid var(--acc); padding:1.2rem 1.3rem; background:var(--ink-2)}
.quote p{font-size:var(--s3); color:var(--bone-dim)}
.quote .who{font-size:var(--s2); color:var(--bone-faint); margin-top:.7rem}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq{border-top:1px solid var(--line); max-width:900px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none; cursor:pointer; padding:1.05rem 0; display:flex; gap:1rem; align-items:center; font-size:var(--s4); font-family:var(--display); font-weight:500; transition:color .2s}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover,.faq details[open] summary{color:var(--sel)}
.faq summary .plus{margin-inline-start:auto; color:var(--sel); font-size:1.4rem; flex:none; transition:transform .3s; line-height:1}
.faq details[open] summary .plus{transform:rotate(45deg)}
.faq .ans{padding:0 0 1.2rem; color:var(--bone-dim); font-size:var(--s3); max-width:66ch}

/* ─── PROCESS PAGE ────────────────────────────────────────── */
.stage{display:grid; grid-template-columns:90px 1fr; gap:clamp(1rem,3vw,2.5rem); padding-block:clamp(2rem,4vw,3rem); border-bottom:1px solid var(--line)}
@media(max-width:700px){ .stage{grid-template-columns:1fr; gap:.8rem} }
.stage .n{font-family:var(--display); font-size:2.6rem; font-weight:700; color:var(--acc-deep); line-height:1}
.stage h3{font-size:clamp(1.5rem,3vw,2.1rem)}
.stage p{color:var(--bone-dim); margin-top:.8rem; max-width:62ch}

/* ─── FINAL ───────────────────────────────────────────────── */
.final{background:var(--ink-2); border-block:1px solid var(--line); text-align:center}
.final h2{font-size:clamp(1.9rem,5vw,3.4rem); max-width:17ch; margin-inline:auto}
.final .lede{margin:1.1rem auto 0; text-align:center}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer{padding-block:3.5rem 2rem; font-size:var(--s2)}
.foot-grid{display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:2.5rem}
@media(max-width:700px){ .foot-grid{grid-template-columns:1fr 1fr} .foot-brand{grid-column:1/-1} }
.foot-grid h5{font-family:var(--display); font-size:var(--s2); color:var(--bone-faint); margin:0 0 1rem; font-weight:500}
.foot-grid ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.55rem}
.foot-grid a{color:var(--bone-dim); text-decoration:none; transition:color .2s}
.foot-grid a:hover{color:var(--acc)}
.foot-brand .mark{font-family:var(--mark); font-size:1.5rem; font-weight:700; letter-spacing:.055em; display:flex; align-items:baseline; gap:.5rem; flex-wrap:wrap; direction:ltr; justify-content:flex-end}
.foot-brand p{color:var(--bone-dim); margin-top:.6rem; max-width:34ch}
.contact-line{font-family:var(--display); color:var(--bone); margin-top:.9rem; user-select:all}

/* ─── SOCIAL RAIL ─────────────────────────────────────────── */
/* pinned to the reading-start edge and vertically centred, so it rides the
   whole scroll without ever sitting on top of the page's own content. This
   has to be a LOGICAL edge (inset-inline-start), not a physical one — in
   Hebrew that's the physical right, in English the physical left — because
   the padding further down that clears room for it (padding-inline-start)
   is logical too. Pin this side with a physical `right:0` instead and the
   two stop agreeing the moment the page switches to English: the clearance
   padding moves to the left while the rail itself stays put on the right,
   so English text runs straight under the icons with no gap at all — which
   is exactly the overlap Ian found on a phone in English. */
.rail{
  position:fixed; inset-inline-start:0; top:50%; transform:translateY(-50%); z-index:40;
  display:flex; flex-direction:column; gap:1px;
  background:var(--line); border:1px solid var(--line); border-inline-start:0;
  border-start-start-radius:0; border-end-start-radius:0;
  border-start-end-radius:var(--r); border-end-end-radius:var(--r);
  overflow:hidden;
}
.rail a{
  width:44px; height:44px; display:grid; place-items:center; color:var(--bone-dim);
  background:rgba(11,9,8,.86); backdrop-filter:blur(8px);
  transition:background .25s, color .25s;
}
.rail svg{width:19px; height:19px; display:block}
/* each mark wears its own brand at rest; hover hands the tile to ours */
.rail .ig path{fill:url(#igGrad)}
.rail .sp path{fill:#1DB954}
.rail .wa path{fill:#25D366}
.rail a:hover{background:var(--acc)}
.rail a:hover svg path{fill:var(--acc-ink)}
@media(max-width:860px){
  /* Bigger on a phone, where it is the only place these links appear above the
     footer — and where a 36px target was under the 44px a thumb needs. */
  .rail a{width:46px; height:46px}
  .rail svg{width:21px; height:21px}
  /* the rail floats over the reading edge, so running text steps in to clear it */
  .wrap:not(.hero-in):not(.nav-in){padding-inline-start:calc(var(--gutter) + 34px)}
}

/* ─── STICKY MOBILE ───────────────────────────────────────── */
.mbar{position:fixed; inset-inline:0; bottom:0; z-index:45; display:none; gap:10px; padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)); background:rgba(11,9,8,.95); backdrop-filter:blur(12px); border-top:1px solid var(--line)}
.mbar .btn{flex:1; padding:.82rem .6rem; font-size:var(--s2)}
/* The no-outline rule holds for a button standing in the flow of a page, where
   the page itself is the ground. A fixed two-up tray is a different problem:
   side by side with a solid slab, bare type reads as floating rather than as
   the other half of a pair. It gets a body rather than a border — a filled
   tile at the same radius, so the two read as matched controls without
   bringing back the 1px box. */
.mbar .btn-ghost{background:var(--ink-3); color:var(--bone); font-size:var(--s3); font-weight:600}
.mbar .btn-ghost:hover,.mbar .btn-ghost:active{background:var(--ink-2); color:var(--acc)}
@media(max-width:860px){ .mbar{display:flex} body{padding-bottom:80px} }

/* ─── SHEET ───────────────────────────────────────────────── */
.ov{position:fixed; inset:0; z-index:100; background:#080606e8; backdrop-filter:blur(6px); display:grid; place-items:center; padding:16px; overflow-y:auto}
.ov[hidden]{display:none!important}
.sheet{width:min(540px,100%); background:var(--ink-2); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; max-height:calc(100dvh - 32px); display:flex; flex-direction:column}
.sheet-top{display:flex; align-items:center; padding:1.1rem 1.4rem; border-bottom:1px solid var(--line); flex:none}
.sheet-top b{font-family:var(--display); font-weight:600; font-size:var(--s4)}
.sheet-top .x{margin-inline-start:auto; font-size:1.6rem; line-height:1; color:var(--bone-dim); padding:.1rem .4rem}
.sheet-top .x:hover{color:var(--bone)}

/* reused by the video player below: a close button sitting on its own,
   not inside a .sheet-top bar */
.vid-box .x{position:absolute; inset-inline-end:-8px; top:-40px; font-size:1.8rem; line-height:1; color:var(--bone); background:none; padding:.2rem .5rem}
.vid-box .x:hover{color:var(--acc)}
.vid-box{position:relative; width:min(900px,100%)}
.vid-frame{position:relative; width:100%; aspect-ratio:16/9; background:#000; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden}
.vid-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0}

.sheet-body{padding:1.5rem 1.4rem; overflow-y:auto}
.sheet-body .hint{color:var(--bone-dim); font-size:var(--s2); margin-bottom:1.2rem}
.chips{display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.5rem}
.chips button{border:1px solid var(--line); border-radius:var(--r); padding:.55rem 1.1rem; font-family:var(--display); font-size:var(--s3); transition:.2s}
.chips button:hover{border-color:var(--line-2)}
.chips button[aria-pressed="true"]{border-color:var(--sel); background:var(--sel); color:var(--sel-ink); font-weight:600}
.field{display:flex; flex-direction:column; gap:.45rem}
.field label{font-size:var(--s2); color:var(--bone-dim)}
.field textarea{background:var(--ink); border:1px solid var(--line); color:var(--bone); padding:.75rem .9rem; font:inherit; font-size:var(--s3); min-height:84px; resize:vertical; width:100%}
.field textarea:focus{border-color:var(--acc); outline:none}
.preview{margin-top:1.3rem; border:1px dashed var(--line-2); padding:.9rem 1rem; font-size:var(--s2); color:var(--bone-dim); white-space:pre-wrap; line-height:1.55}
.sheet-foot{padding:1.1rem 1.4rem; border-top:1px solid var(--line); flex:none}
.sheet-foot .btn{width:100%}

/* ─── PROTOTYPE PALETTE SWITCHER (remove before launch) ───── */@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important}
}

/* ─── SECTION RHYTHM ──────────────────────────────────────── */
/* The page used to run at one pitch: same width, same padding, same ground,
   top to bottom. A uniform run reads as a document. Alternating sections now
   carry a faint warm bloom off one shoulder, so the scroll has a pulse. */
.sec{position:relative; isolation:isolate}
.sec:nth-of-type(even)::before{
  content:""; position:absolute; inset:-1px 0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 64% 58% at 82% 4%, #FF57570e, transparent 72%);
}
.sec:nth-of-type(odd)::before{
  content:""; position:absolute; inset:-1px 0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 60% 54% at 14% 92%, #FF8A3D09, transparent 72%);
}
/* the closing call gets the most air in the document — it is the last thing
   anyone reads, and crowding it is what makes a CTA feel like a footer */
.sec.final{padding-block:clamp(5rem,12vw,9rem)}

/* ─── BETWEEN PAGES ───────────────────────────────────────── */
/* Three documents, one surface. Without this the browser tears one page down
   and builds the next: a flash, the scroll jumping, the logo blinking out and
   back. That hard cut — not the menu — is what made the separate pages feel
   like leaving the site. Naming the nav and the rail keeps them put while the
   body moves, so the chrome reads as one fixed frame the content passes through.
   Chrome 126+ and Safari 18.2+; Firefox has not shipped it and simply loads the
   page the old way, which costs nothing. */
@view-transition{ navigation: auto }
.nav { view-transition-name: nav }
.rail{ view-transition-name: rail }
::view-transition-old(root){ animation:vt-out .2s cubic-bezier(.4,0,1,1) both }
::view-transition-new(root){ animation:vt-in .34s cubic-bezier(0,0,.2,1) both }
@keyframes vt-out{ to  { opacity:0; transform:translateY(-10px) } }
@keyframes vt-in { from{ opacity:0; transform:translateY(14px)  } }
@media (prefers-reduced-motion: reduce){
  @view-transition{ navigation: none }
}

/* ─── THE ENTRANCE ────────────────────────────────────────── */
/* Three beats: the Z fills with red, the full lockup resolves in its place,
   the sheet lifts off the site. The lockup is set in the same face and the
   same fluid size as the hero's, so the lift reads as the page assembling
   around a mark that was already there rather than as one screen replacing
   another. Shown once per tab — a loader that replays on every page is a toll
   booth, not an entrance. */
.loader{
  position:fixed; inset:0; z-index:200; background:var(--ink);
  display:grid; place-items:center; padding-top:70px;   /* matches the sticky nav */
  transition:opacity .55s ease, transform .55s ease, visibility .55s;
  animation:loader-failsafe 0s linear 6s forwards;       /* never trap the site */
}
@keyframes loader-failsafe{ to{ opacity:0; visibility:hidden; pointer-events:none } }
.loader.gone{ opacity:0; visibility:hidden; transform:scale(1.04); pointer-events:none }
.loader-in{display:grid; place-items:center}
.loader-in > *{grid-area:1/1}

.load-z{
  position:relative; direction:ltr; font-family:var(--mark); font-weight:700;
  font-size:clamp(130px, 24vw, 320px); line-height:1; user-select:none;
  transition:opacity .4s ease, transform .4s ease;
}
.load-z span{display:block}
/* the ghost is the empty vessel; the red one is clipped to a rising level */
.z-ghost{color:var(--ink-3)}
.z-fill{
  position:absolute; inset:0; color:var(--acc);
  clip-path:inset(100% 0 0 0);
  transition:clip-path .8s cubic-bezier(.65,0,.35,1);
}
.loader.fill .z-fill{clip-path:inset(0 0 0 0)}
.loader.resolve .load-z{opacity:0; transform:scale(.82)}

.loader-mark{opacity:0; transform:scale(.94); transition:opacity .5s ease, transform .5s ease}
.loader.resolve .loader-mark{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){ .loader{display:none} }

/* ─── LANGUAGE SWITCH ─────────────────────────────────────── */
/* Two letters, no box. It is a setting, not an action — a filled button here
   would compete with "לתיאום סשן" standing right beside it. */
.lang-btn{
  font-family:var(--mark); font-weight:700; font-size:var(--s2); letter-spacing:.06em;
  color:var(--bone-dim); background:none; border:0; cursor:pointer; direction:ltr;
  padding:.5rem .4rem; margin-inline-end:.3rem; transition:color .2s; flex:none;
}
.lang-btn:hover{color:var(--acc)}

/* The nav bar ran 32px past a 390px screen, which put a horizontal scrollbar
   on every page. The language switch is the one item there that is a setting
   rather than a destination or an action, so it is the one that moves: into
   the collapsed menu, where there is room. The lockup, the booking button and
   the burger all stay. */
.lang-in-menu{display:none}
/* The bar is a single row of fixed-height controls. A label that wraps turns
   one of them into two lines and the whole row grows — so the booking button
   never breaks, it only ever gets tighter. */
.nav-in .btn-primary{white-space:nowrap}
@media(max-width:560px){
  .nav-in > .lang-btn{display:none}
  .lang-in-menu{display:block; align-self:flex-start; padding-inline:0; font-size:var(--s3)}
  .nav-in .btn-primary{padding-inline:1rem; font-size:var(--s2)}
}
/* On the narrowest phones in use the row is 12px short of fitting. The bar
   takes a tighter gutter than the rest of the page rather than the button
   shrinking to a size nobody can hit — a 44px target is the floor. */
@media(max-width:400px){
  .nav-in{padding-inline:14px}
  .nav-in .btn-primary{padding-inline:.8rem}
}

/* ─── PLAYER STATES ───────────────────────────────────────── */
/* Pressing play on a phone can mean a second of silence while the clip
   arrives. Without a sign of life that second reads as a broken button, and
   people press again — which pauses it. The waveform breathing is the
   cheapest honest way to say "it is coming". */
.player.loading .wave{animation:wave-wait 1.1s ease-in-out infinite}
@keyframes wave-wait{50%{opacity:.45}}
.player.failed .wave i{background:var(--line)}
.player.failed .now-info .ar{color:var(--acc)}
.wave:focus-visible{outline:2px solid var(--acc); outline-offset:4px; border-radius:var(--r)}
.queue li:focus-visible{outline:2px solid var(--acc); outline-offset:-2px}
@media (prefers-reduced-motion: reduce){ .player.loading .wave{animation:none; opacity:.6} }

/* ─── QUEUE TAGS ──────────────────────────────────────────── */
/* The work on a track used to be one run-on line — "הפקה · מיקס · מאסטר" —
   which reads as a caption. As separate tags each term is its own phrase:
   scannable for a person, and a distinct keyword rather than a sentence for
   a crawler. */
.q-w{display:flex; flex-wrap:wrap; gap:.3rem; justify-content:flex-end}
.q-w i{
  font-style:normal; font-family:var(--display); font-size:var(--s1);
  color:var(--bone-dim); border:1px solid var(--line-2); border-radius:999px;
  padding:.1rem .55rem; white-space:nowrap; transition:border-color .25s, color .25s;
}
.queue li:hover .q-w i{border-color:var(--line-2); color:var(--bone)}
.queue li.cur .q-w i{border-color:var(--acc); color:var(--acc)}
/* on a phone the row has no third column to spare, so the tags take their own line */
@media(max-width:620px){
  .queue li{grid-template-columns:28px 1fr}
  .q-w{grid-column:2; justify-content:flex-start; margin-top:.45rem}
}

/* ─── DIRECTION ───────────────────────────────────────────── */
/* body{direction:rtl} is a stylesheet rule, and a stylesheet rule outranks the
   dir attribute — so setting html.dir="ltr" alone left the whole page still
   laid out right-to-left. It mostly passed unnoticed, because flex rows
   reorder and a sentence still reads; the headings gave it away, since they
   are split into one inline-block per character and came out mirrored:
   "Selected Work" rendered as "kroW detceleS".

   So the attribute gets an explicit rule of its own, at higher specificity
   than the body default. Both directions are stated, so neither depends on
   which one happens to be written first. */
html[dir="ltr"], html[dir="ltr"] body{direction:ltr}
html[dir="rtl"], html[dir="rtl"] body{direction:rtl}

/* ─── DIRECTIONAL SIGNS IN ENGLISH ────────────────────────────
   An arrow is not a glyph, it is a gesture: it points the way the eye is
   already travelling. In Hebrew that is right-to-left, so "←" leads. Flip
   the page to English and the same character now points back at the text
   it came from — it reads as "return", not "continue". The logical
   properties handle the layout; these characters and origins are the part
   that direction cannot infer, so they are named per direction.
   The hover travel moves with them, and the underlines start at whichever
   edge the reader's eye starts at. */
html[dir="ltr"] .lede a::after,
html[dir="ltr"] .btn-ghost::after,
html[dir="ltr"] .svc-go::after{content:"→"}
html[dir="ltr"] .lede a:hover::after{transform:translateX(5px)}
html[dir="ltr"] .btn-ghost:hover::after{transform:translateX(6px)}
html[dir="ltr"] .svc-col:hover .svc-go::after{transform:translateX(5px)}
html[dir="ltr"] .lede a::before,
html[dir="ltr"] .pane .go::before{transform-origin:left}
