/*
 * Daniel Azar - services site
 *
 * Built on one construction grid (Müller-Brockmann):
 *  - 8 columns on desktop, subdivided from 4 (4 on phones), one interval of 24px
 *  - an 8px line module: every text leading and every vertical space is a multiple of it
 *  - one typeface (Simpler Pro), two unequivocal weights: regular for text, bold for display
 *  - pictures sized to whole fields only (2, 4 or 8 columns; rows of one field depth)
 *  - margins are never equal: the label column sits alone on the start side,
 *    the content begins on column 3, and the tail of a section is deeper than its head
 * Brand carried from the portfolio: black, the pink circle, the photo.
 */

:root {
  --u: 8px;                               /* line module */
  --gut: calc(var(--u) * 3);              /* interval between columns and between fields */
  --m: clamp(20px, 4.4vw, 72px);          /* side margin */
  --cols: 8;
  --field: calc(var(--u) * 60);           /* depth of one picture field */

  /* DanDe! palette: charcoal and cream carry the page, pink is the one accent */
  --charcoal: #191919;
  --cream: #f5f3ef;
  --pink: #f41479;
  --pink-2: #ffdfeb;

  --bg: var(--charcoal);
  --bg-2: #222222;
  --ink: var(--cream);
  --ink-2: #a6a6a6;                       /* 7.2:1 on charcoal */
  --line: rgba(245, 243, 239, .14);
  --acc: var(--pink);
  --acc-ink: #ff5c9d;                     /* pink for small text: 6.1:1 on charcoal (brand pink is 4.4) */
  --on-acc: #000;                         /* text on pink: 5.2:1 (charcoal is 4.4, short of AA) */

  --font: 'Space Grotesk', 'Heebo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* reading direction: where lines start, and which way "forward" points */
  --start: right;
  --fwd: -1;
}
[dir="ltr"] { --start: left; --fwd: 1; --end: right; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--u) * 12); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
main, .foot { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--on-acc); }

.skip { position: absolute; inset-inline-start: var(--m); top: -100px; z-index: 50; padding: var(--u) calc(var(--u) * 2); background: var(--acc); color: var(--on-acc); font-weight: 700; }
.skip:focus { top: var(--u); }

/* ── The grid ─────────────────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gut); padding-inline: var(--m);
  max-width: 1760px; margin-inline: auto;
}

.progress { position: fixed; inset: 0 0 auto; z-index: 35; height: 2px; background: var(--acc); transform-origin: var(--start); transform: scaleX(var(--p, 0)); }

/* ── Type ─────────────────────────────────────────────────── */
.eyebrow, .label { font-weight: 500; font-size: .875rem; line-height: calc(var(--u) * 3); color: var(--ink-2); letter-spacing: .02em; }
.h1, .h2, .hero-h { font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; }
.h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 1.02; }
.h3 { font-weight: 700; font-size: 1.5rem; line-height: calc(var(--u) * 4); letter-spacing: -.015em; }
.h1 em, .h2 em { font-style: normal; color: var(--bg); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; letter-spacing: .045em; }
.h1 i, .h2 i, .hero-h i { font-style: normal; color: var(--acc); }
.lede, .big { font-size: 1.25rem; line-height: calc(var(--u) * 4); }
.lede { color: var(--ink-2); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: calc(var(--u) * 2);
  height: calc(var(--u) * 6); padding-inline: calc(var(--u) * 3); border-radius: var(--u);
  background: linear-gradient(var(--ink), var(--ink)) bottom / 100% 0 no-repeat var(--acc);
  color: var(--on-acc); font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-size .4s var(--ease), color .25s;
}
.btn--ghost { background-color: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover, .btn:hover { color: var(--bg); }
.wa { width: calc(var(--u) * 3); height: calc(var(--u) * 3); flex: none; }
.btn span { transition: transform .3s var(--ease); }
.btn:hover { background-size: 100% 100%; }
.btn:hover span { transform: translate(calc(var(--fwd) * 3px), -3px); }
.btn--sm { height: calc(var(--u) * 5); border-radius: 6px; padding-inline: calc(var(--u) * 2); font-size: .9375rem; }
.btn--lg { height: calc(var(--u) * 7); padding-inline: calc(var(--u) * 4); font-size: 1.125rem; }
.link { font-weight: 500; padding-block: var(--u); box-shadow: inset 0 -1px var(--ink); transition: color .2s, box-shadow .2s; }
.link:hover { color: var(--acc-ink); box-shadow: inset 0 -2px var(--acc); }

/* ── Top bar ──────────────────────────────────────────────── */
.top { position: fixed; inset: 0 0 auto; z-index: 30; background: rgba(25, 25, 25, .84); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px var(--line); }
.top-in { align-items: center; height: calc(var(--u) * 9); }
.logo { grid-column: 1 / span 2; justify-self: start; display: inline-flex; align-items: center; padding-block: var(--u); }
.logo img { height: calc(var(--u) * 5.5); width: auto; }
.menu { grid-column: 3 / span 4; display: flex; gap: calc(var(--u) * 4); font-size: .9375rem; }
.menu a { color: var(--ink-2); padding-block: var(--u); transition: color .2s; }
.menu a:hover { color: var(--ink); }
.top-end { grid-column: 7 / span 2; justify-self: end; display: flex; align-items: center; gap: calc(var(--u) * 2); }
.lang { font-size: .875rem; font-weight: 500; color: var(--ink-2); padding: var(--u) 0; transition: color .2s; }
.lang:hover { color: var(--ink); }
.menu-lang { display: none; }
.burger { display: none; }

/* ── Hero: the cover ─────────────────────────────────────
   The photo holds the far half; the words hold the near columns, at the bottom of the screen.
   Type, one family, one scale, each step unequivocal:
     eyebrow  14 / 24   medium, grey      - what I do, scanned first
     headline 6.2vw (48-104) / 0.98, bold - three short lines, never past column 5
     lede     20 / 32   regular, grey     - one sentence, 40 characters a line at most
   The headline sits on the line module; its last word is drawn in outline, the stop in cyan. */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--u) * 12) calc(var(--u) * 10); overflow: hidden; }
.hero-photo {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: 62%;
  background: url(assets/hero.jpg?v=dark) 50% 50% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to var(--end, left), transparent, #000 34%); mask-image: linear-gradient(to var(--end, left), transparent, #000 34%);
  translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px + var(--sy, 0) * 1px);
}
@keyframes breathe { from { filter: brightness(.92) saturate(1); } to { filter: brightness(1.08) saturate(1.15); } }
.hero-in { position: relative; width: 100%; row-gap: calc(var(--u) * 4); align-items: end; }
.hero-title { display: contents; }
.hero-eyebrow { grid-column: 1 / span 5; display: flex; align-items: center; gap: calc(var(--u) * 2); font-size: .875rem; line-height: calc(var(--u) * 3); font-weight: 500; letter-spacing: .01em; color: var(--ink-2); }
.rule { width: calc(var(--u) * 6); height: 1px; background: var(--acc); flex: none; }
.hero-h { grid-column: 1 / span 6; display: block; font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
.hero-h > span { display: block; overflow: hidden; padding-block: .06em .12em; margin-block: -.06em -.12em; }
.hero-h b { display: block; font-weight: inherit; }
@media (min-width: 721px) { .hero-h b { white-space: nowrap; } }
.hero-h em { font-style: normal; color: var(--bg); -webkit-text-stroke: max(3px, .036em) var(--ink); paint-order: stroke fill; letter-spacing: .04em; }
.hero-h i { display: inline-block; font-style: normal; color: var(--acc); }
.hero-sub { grid-column: 1 / span 5; }
.hero-lede { max-width: 46ch; font-size: 1.25rem; line-height: calc(var(--u) * 4); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--u) * 2); margin-top: calc(var(--u) * 4); }
.hero-meta { grid-column: 8; justify-self: end; text-align: var(--end, left); font-size: .8125rem; line-height: calc(var(--u) * 3); color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }

/* the opening: the bar drops, the circle arrives, the rule draws, three lines rise in order,
   the stop lands, then the offer and the meta. Nothing starts at 0. */
.js .top { animation: drop .7s cubic-bezier(.2, .7, .1, 1) .1s both; }
.js .hero-photo { animation: photo-in 2s cubic-bezier(.16, 1, .3, 1) .1s both, breathe 9s ease-in-out 2.2s infinite alternate; }
.js .hero-eyebrow { animation: fade .6s ease-out .45s both; }
.js .rule { animation: draw .9s cubic-bezier(.7, 0, .2, 1) .2s both; }
.js .hero-h b { transform: translateY(112%) rotate(calc(var(--fwd) * -3deg)); transform-origin: var(--start) bottom; animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) .3s forwards; }
.js .hero-h > span:nth-child(2) b { animation-delay: .42s; }
.js .hero-h > span:nth-child(3) b { animation-delay: .54s; }
.js .hero-h i { animation: pop .55s cubic-bezier(.34, 1.7, .64, 1) 1.35s both; }
.js .hero-sub { animation: up .9s cubic-bezier(.2, .7, .1, 1) 1.05s both; }
.js .hero-meta { animation: fade 1.4s ease 1.5s both; }
@keyframes rise { to { transform: none; } }
@keyframes drop { from { transform: translateY(-100%); } }
@keyframes photo-in { from { opacity: 0; scale: 1.14; } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes pop { from { scale: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

/* ── Sections: head 12 modules, tail 16 (never equal) ─────── */
.sec { padding-block: calc(var(--u) * 12) calc(var(--u) * 16); border-bottom: 1px solid var(--line); }
.sec--tight { padding-block: 0; }
.sec > .grid + .grid { margin-top: calc(var(--u) * 9); }
.label { position: relative; grid-column: 1 / span 2; display: flex; gap: calc(var(--u) * 2); padding-top: var(--u); align-self: start; }
.label::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: var(--ink); transform-origin: var(--start); }
.label b { font-weight: 500; color: var(--acc-ink); font-variant-numeric: tabular-nums; }
.sec .h2, .sec .h1 { grid-column: 3 / -1; }
.sec .lede { grid-column: 3 / span 4; margin-top: calc(var(--u) * 4); }

/* ── Light sections: cream between the charcoal ones, light pink for the numbers.
   They only redefine the tokens, so every component inside follows. */
.sec--light { --bg: var(--cream); --bg-2: #ebe8e2; --ink: var(--charcoal); --ink-2: #5c5a57; --line: rgba(25, 25, 25, .14); --acc-ink: #c40d5f; background: var(--bg); color: var(--ink); border-bottom-color: transparent; }
/* the numbers strip: a dark grey band; pink numbers 3.5:1 (large type), grey text 5.8:1 */
.sec--grey { --bg: #2b2b2b; --bg-2: #333333; --ink: var(--cream); --ink-2: #a6a6a6; --line: rgba(245, 243, 239, .12); background: var(--bg); color: var(--ink); border-bottom-color: transparent; }
.sec--light .logos img { filter: brightness(0); opacity: .72; }
.sec--light ::selection { color: var(--cream); }

.sec--light .logos-cta a { color: var(--acc-ink); }
.sec--light .logos-cta a:hover { color: var(--on-acc); }

/* ── Clients: 8 equal fields, ruled ───────────────────────── */
.logos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logos li { height: calc(var(--u) * 22); display: grid; place-items: center; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .3s; }
.logos img { height: var(--h, 40px); width: auto; max-width: 60%; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; transition: opacity .3s; }
.logos b { font-weight: 700; font-size: clamp(1.125rem, 2vw, 1.75rem); letter-spacing: -.02em; opacity: .78; transition: opacity .3s; }
.logos li:hover b { opacity: 1; }
.logos-cta { grid-column: span 2; }
.logos-cta a { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; padding-inline: calc(var(--u) * 5); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 2.5rem); letter-spacing: -.03em; color: var(--acc); background: linear-gradient(var(--acc), var(--acc)) bottom / 100% 0 no-repeat; transition: background-size .45s var(--ease), color .2s; }
.logos-cta strong { font-weight: inherit; }
.logos-cta i { font-style: normal; }
.logos-cta span { font-weight: 400; transition: transform .4s var(--ease); }
.logos-cta a:hover { background-size: 100% 100%; color: var(--on-acc); }
.logos-cta a:hover span { transform: translate(calc(var(--fwd) * 6px), -6px); }
.logos li:hover { background: var(--bg-2); }
.logos li:hover img { opacity: 1; }

/* ── Services: 4 fields of 2 columns ──────────────────────── */
.services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gut); }
.svc { position: relative; padding-top: calc(var(--u) * 3); border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.svc::before { content: ''; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: var(--start); transition: transform .5s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc-n, .step-n { font-size: .875rem; line-height: calc(var(--u) * 3); color: var(--acc-ink); font-variant-numeric: tabular-nums; }
.svc .h3 { font-size: clamp(1.75rem, 2.7vw, 3rem); line-height: calc(var(--u) * 8); font-weight: 700; letter-spacing: -.03em; margin-block: calc(var(--u) * 8) calc(var(--u) * 2); }
.svc > p:not(.svc-n) { color: var(--ink-2); min-height: calc(var(--u) * 15); }
.svc ul { margin-top: calc(var(--u) * 3); }
.svc li { padding-block: var(--u); border-top: 1px solid var(--line); font-size: .9375rem; }

/* ── Process: a table of 5 rows on the same columns ───────── */
.steps { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gut); padding-block: calc(var(--u) * 4); transition: background .3s; }
.step::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); transform-origin: var(--start); }
.step:hover { background: var(--bg-2); }
.step-n { grid-column: 1 / span 2; display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 1.5); }
.step-ic { width: calc(var(--u) * 5); height: calc(var(--u) * 5); fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }  /* graphics need 3:1: pink is 3.6 on cream */
.js .step.rv .step-ic { transition: transform .8s cubic-bezier(.34, 1.4, .64, 1) .2s; transform: scale(.6) rotate(-12deg); }
.js .step.rv.in .step-ic { transform: none; }
.step:hover .step-ic { transform: rotate(-6deg) scale(1.08); transition: transform .4s var(--ease); }
.step .h3 { grid-column: 3 / span 2; }
.step > p:not(.step-out) { grid-column: 5 / span 2; color: var(--ink-2); }
.step-out { grid-column: 7 / span 2; font-size: .9375rem; }
.step-out b { display: block; font-weight: 500; font-size: .8125rem; color: var(--ink-2); }

/* ── Work: an index ───────────────────────────────────────
   Eleven rows on the start columns, a preview on the far columns that follows the row you point at.
   Each row opens the project's own page. On a phone the preview moves into each row. */
.wl-wrap { align-items: start; }
.wl { grid-column: 1 / span 5; border-top: 1px solid var(--line); counter-reset: wl; }
.wl-link { position: relative; display: grid; grid-template-columns: calc(var(--u) * 6) 1fr auto calc(var(--u) * 4); grid-template-areas: "n name kind go" "n line kind go"; align-items: center; column-gap: calc(var(--u) * 2); padding-block: calc(var(--u) * 3); border-bottom: 1px solid var(--line); isolation: isolate; }
.wl-link::before { content: ''; position: absolute; z-index: -1; inset: 0; inset-inline-start: calc(var(--u) * -2); background: var(--solid); opacity: 0; transform: scaleX(.96); transform-origin: var(--start); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.wl-n { grid-area: n; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: color .3s; }
.wl-name { grid-area: name; font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; transition: translate .5s var(--ease); }
.wl-line { grid-area: line; font-size: .9375rem; color: var(--ink-2); transition: color .3s, translate .5s var(--ease); }
.wl-kind { grid-area: kind; font-size: .8125rem; color: var(--ink-2); text-align: end; transition: color .3s; }
.wl-go { grid-area: go; justify-self: end; font-size: 1.25rem; color: var(--acc); opacity: 0; translate: calc(var(--fwd) * -8px) 0; transition: opacity .3s, translate .4s var(--ease); }
.wl-thumb { display: none; }
.wl-item.on .wl-link::before, .wl-link:focus-visible::before { opacity: .14; transform: none; }
.wl-item.on .wl-name, .wl-item.on .wl-line { translate: calc(var(--fwd) * 10px) 0; }
.wl-item.on .wl-n, .wl-item.on .wl-kind, .wl-item.on .wl-line { color: var(--ink); }
.wl-item.on .wl-go { opacity: 1; translate: 0; }

.wl-preview { grid-column: 6 / -1; position: sticky; top: calc(var(--u) * 12); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--u) * 16); margin-inline-start: auto; width: 100%; border-radius: calc(var(--u) * 4); overflow: hidden; }
.wp { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.wp .cv { width: 100%; height: 100%; aspect-ratio: auto; }
.wp .cv-a { transition: translate .9s cubic-bezier(.16, 1, .3, 1); }
.wp:not(.on) .cv-ph, .wp:not(.on) .cv-web { translate: 0 6%; }
.wp.on { opacity: 1; }
.wht { filter: brightness(0) invert(1); }
.blk { filter: brightness(0); }

/* the phone frame, used in the preview and on the project pages */
.ph { position: relative; flex: none; aspect-ratio: var(--ar, 390 / 844); border-radius: 15% / 6.9%; border: 5px solid #0d0d0f; background: #0d0d0f; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.ph img, .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── Project pages ─────────────────────────────────────────
   One summary per project: its colour band with the cover, the facts, the brief, what I did,
   a gallery on the same 8 columns, then the next project and a way to start one. */
.pp-hero { position: relative; padding-block: calc(var(--u) * 15) 0; background: var(--bg); color: var(--ink); overflow: hidden; }
.pp-hero-in { align-items: end; row-gap: calc(var(--u) * 4); }
.pp-back { grid-column: 1 / -1; justify-self: start; font-size: .875rem; font-weight: 500; opacity: .75; padding-block: var(--u); transition: opacity .2s; }
.pp-back:hover { opacity: 1; }
.pp-head { grid-column: 1 / span 4; align-self: center; padding-bottom: calc(var(--u) * 8); }
.pp-k { font-size: .875rem; font-weight: 500; opacity: .75; }
.pp-logo { display: flex; align-items: center; min-height: calc(var(--u) * 8); margin-block: calc(var(--u) * 3) calc(var(--u) * 2); }
.pp-logo img { height: var(--lh, 40px); width: auto; max-width: 100%; object-fit: contain; object-position: var(--start); }
.pp-logo--word { font-weight: 700; font-size: 3rem; letter-spacing: -.03em; }
.pp-title { font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.pp-intro { margin-top: calc(var(--u) * 3); max-width: 44ch; font-size: 1.1875rem; line-height: calc(var(--u) * 3.75); opacity: .85; }
.pp-cover { grid-column: 5 / -1; align-self: center; display: flex; justify-content: center; padding-bottom: calc(var(--u) * 8); }
.pp-cover .cv { width: min(100%, 520px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .55); }

.pp-facts { padding-block: calc(var(--u) * 5); border-bottom: 1px solid var(--line); row-gap: calc(var(--u) * 3); align-items: start; }
.pp-meta { grid-column: 1 / span 4; display: flex; flex-wrap: wrap; gap: calc(var(--u) * 3) calc(var(--u) * 6); }
.pp-meta dt { font-size: .8125rem; color: var(--ink-2); }
.pp-meta dd { margin: 0; font-weight: 500; }
.pp-scope { grid-column: 5 / -1; display: flex; flex-wrap: wrap; gap: var(--u); align-content: start; }
.pp-scope li { font-size: .8125rem; line-height: calc(var(--u) * 3.5); padding-inline: 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }

.pp-sec { padding-block: calc(var(--u) * 10) calc(var(--u) * 12); }
.pp-big { grid-column: 3 / span 5; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.pp-did { grid-column: 3 / -1; border-top: 1px solid var(--line); }
.pp-did li { display: grid; grid-template-columns: calc(var(--u) * 7) 1fr; align-items: baseline; padding-block: calc(var(--u) * 2.5); border-bottom: 1px solid var(--line); }
.pp-did span { font-size: .8125rem; color: var(--acc-ink); font-variant-numeric: tabular-nums; }
.pp-did p { font-size: 1.1875rem; line-height: calc(var(--u) * 3.5); }

.pp-gallery { margin-top: calc(var(--u) * 6); row-gap: calc(var(--u) * 6); align-items: start; }
.pg { grid-column: span 2; }
.pg--square { grid-column: span 4; }
.pg--wide { grid-column: span 8; }
.pg--store { grid-column: span 2; }
.pg .ph { width: 100%; }
.pg-pic { border-radius: calc(var(--u) * 2.5); overflow: hidden; background: var(--bg-2); }
.pg-pic img, .pg-pic video { width: 100%; height: auto; display: block; }
.pg figcaption { margin-top: calc(var(--u) * 1.5); font-size: .875rem; line-height: calc(var(--u) * 2.75); color: var(--ink-2); }

/* the real site, for projects that are live: one wide row that fills with the accent */
.pp-live { border-top: 1px solid var(--line); }
.pp-live-in { align-items: center; padding-block: calc(var(--u) * 6); color: var(--ink); background: linear-gradient(var(--acc), var(--acc)) bottom / 100% 0 no-repeat; transition: background-size .5s var(--ease), color .25s; }
.pp-live-k { grid-column: 1 / span 2; font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.pp-live-host { grid-column: 3 / span 4; justify-self: start; font-weight: 700; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.03em; }
.pp-live-go { grid-column: 7 / span 2; justify-self: end; display: inline-flex; align-items: center; gap: calc(var(--u) * 1.5); font-weight: 700; font-size: 1.125rem; }
.pp-live-go b { display: grid; place-items: center; width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; background: var(--acc); color: var(--on-acc); font-weight: 400; transition: translate .4s var(--ease), background .25s, color .25s; }
.pp-live-in:hover { background-size: 100% 100%; color: var(--on-acc); }
.pp-live-in:hover .pp-live-k { color: var(--on-acc); }
.pp-live-in:hover .pp-live-go b { background: #000; color: var(--acc); translate: calc(var(--fwd) * 4px) -4px; }

.pp-end { padding-block: calc(var(--u) * 10) calc(var(--u) * 14); border-top: 1px solid var(--line); }
.pp-end .grid { row-gap: calc(var(--u) * 6); align-items: stretch; }
.pp-talk { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: center; }
.pp-talk .h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.pp-talk p:not(.hero-actions) { margin-top: calc(var(--u) * 2); color: var(--ink-2); max-width: 40ch; }
.pp-next { grid-column: 5 / -1; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: calc(var(--u) * 6); min-height: calc(var(--u) * 36); padding: calc(var(--u) * 4); border-radius: calc(var(--u) * 4); background: var(--bg); color: var(--ink); overflow: hidden; }
.pp-next-k { font-size: .875rem; font-weight: 500; opacity: .75; }
.pp-next-logo img { height: min(var(--lh, 40px), 64px); width: auto; object-fit: contain; }
.pp-next-logo--word { font-weight: 700; font-size: 2.5rem; letter-spacing: -.03em; }
.pp-next-line { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.25rem; }
.pp-next-line b { transition: translate .4s var(--ease); }
.pp-next:hover .pp-next-line b { translate: calc(var(--fwd) * 6px) calc(var(--u) * -.75); }

/* ── Project covers ───────────────────────────────────────
   A 4:5 frame per project: the brand's colour and its own elements, a desktop screen where there
   is one, a phone in front. Every position is a percentage of the frame, so a cover reads the
   same in the list, on a phone and at the top of its page. Physical left/right on purpose:
   a cover is a picture, identical in both languages. */
.cv { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--u) * 4); isolation: isolate; container-type: inline-size; }
.cv-a { position: absolute; display: block; }
.cv-logo { top: 6.5%; left: 50%; translate: -50% 0; height: 6.5%; width: auto; max-width: 60%; object-fit: contain; z-index: 6; }
.cv-ph { aspect-ratio: var(--ar, 390 / 844); border-radius: 15% / 6.9%; border: 1.1cqi solid #0d0d0f; background: #0d0d0f; overflow: hidden; box-shadow: 0 6cqi 12cqi -4cqi rgba(0, 0, 0, .55); z-index: 4; }
.cv-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cv-ph--light { border-color: #fff; background: #fff; }
.cv-web { border-radius: 1.6cqi; overflow: hidden; background: #fff; box-shadow: 0 5cqi 10cqi -4cqi rgba(0, 0, 0, .45); z-index: 3; }
.cv-web i { display: block; height: 3.2cqi; background: radial-gradient(circle at 1.8cqi 50%, #c9ced6 0.55cqi, transparent 0.63cqi), radial-gradient(circle at 3.5cqi 50%, #c9ced6 0.55cqi, transparent 0.63cqi), radial-gradient(circle at 5.2cqi 50%, #c9ced6 0.55cqi, transparent 0.63cqi), #eef0f3; }
.cv-web--dark { background: #111; }
.cv-web--dark i { background-color: #1d1d1f; }
.cv-web img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.cv--flyall { background: linear-gradient(200deg, #1b5ece 0%, #4f6ff0 45%, #8e6cf2 75%, #f2a8ee 100%); }
.fa-photo { top: 16%; left: 7%; width: 86%; aspect-ratio: 750 / 345; object-fit: cover; border-radius: 3cqi; opacity: .95; }
.fa-logo { height: 7%; }
.fa-web { left: 5%; top: 47%; width: 70%; rotate: -4deg; }
.fa-ph { right: 6%; top: 37%; width: 31%; rotate: 5deg; }
.fa-orb { right: 30%; top: 33%; width: 13%; z-index: 5; filter: drop-shadow(0 2cqi 3cqi rgba(30, 20, 120, .4)); }

.cv--tidhar { background: linear-gradient(180deg, #8fd0ef 0%, #cfeaf5 52%, #f3f2ee 100%); }
.td-logo { height: 6%; }
.td-bld { left: -12%; bottom: -2%; width: 124%; opacity: .95; }
.td-ph { left: 29%; top: 19%; width: 42%; }
.td-wallet { left: 3%; top: 33%; width: 27%; rotate: -10deg; z-index: 5; filter: drop-shadow(0 3cqi 4cqi rgba(0, 60, 50, .3)); }
.td-docs { right: 2%; top: 52%; width: 29%; rotate: 8deg; z-index: 5; filter: drop-shadow(0 3cqi 4cqi rgba(0, 60, 50, .3)); }
.td-cal { right: 9%; top: 18%; width: 17%; rotate: 9deg; z-index: 2; }

.cv--hapoalim { background: radial-gradient(120% 90% at 80% 20%, #f2404f 0%, #e7192e 45%, #b50d1c 100%); }
.hp-logo { left: 8%; translate: 0; height: 5.5%; }
.hp-web { right: -14%; top: 17%; width: 84%; }
.hp-family { left: -10%; bottom: 0; width: 82%; z-index: 4; filter: drop-shadow(0 4cqi 6cqi rgba(80, 0, 10, .35)); }
.hp-card { left: 4%; top: 30%; width: 38%; rotate: -14deg; z-index: 5; filter: drop-shadow(0 3cqi 4cqi rgba(60, 0, 8, .4)); }
.hp-ph { right: 7%; bottom: 5%; width: 31%; z-index: 5; }

.cv--maccabiah { background: #2a2470; }
.mc-collage { top: 0; left: 0; width: 100%; height: 40%; object-fit: cover; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.mc-logo { top: 5%; height: 9%; padding: 1.6cqi 3cqi; background: rgba(42, 36, 112, .82); border-radius: 2cqi; box-sizing: content-box; }
.mc-ph { left: 22%; top: 24%; width: 44%; }
.mc-ph2 { right: 1%; top: 36%; width: 34%; rotate: 7deg; z-index: 3; }
.mc-ball { left: -12%; bottom: 4%; width: 40%; z-index: 5; }
.mc-comet { right: 6%; top: 25%; width: 16%; z-index: 5; }

.cv--cola { background: radial-gradient(120% 120% at 20% 100%, #ff4b55 0%, #e61d2b 45%, #a30c18 100%); }
.cl-wave { inset: 0; width: 100%; height: 100%; z-index: 1; }
.cl-logo { height: auto; width: 56%; filter: brightness(0) invert(1); }
.cl-ph { left: 29%; top: 24%; width: 42%; z-index: 5; }
.cl-ph-l { left: 4%; top: 33%; width: 33%; rotate: -9deg; z-index: 3; }
.cl-ph-r { right: 4%; top: 33%; width: 33%; rotate: 9deg; z-index: 3; }

.cv--rebar { background: radial-gradient(90% 70% at 75% 25%, #e3f2d6 0%, #f6faf2 55%, #ffffff 100%); }
.rb-logo { left: 8%; translate: 0; height: 6%; }
.rb-web { left: 7%; top: 17%; width: 86%; }
.rb-ph { right: 8%; top: 40%; width: 33%; z-index: 4; }
.rb-straw { left: -8%; bottom: 3%; width: 50%; z-index: 5; filter: drop-shadow(0 3cqi 4cqi rgba(120, 0, 0, .25)); }
.rb-cup { left: 37%; bottom: -10%; width: 21%; rotate: 12deg; z-index: 5; filter: drop-shadow(0 3cqi 4cqi rgba(0, 0, 0, .2)); }

.cv--mazda { background: radial-gradient(80% 55% at 50% 100%, #6a0d1c 0%, #2a070d 45%, #0b0b0c 80%); }
.mz-street { top: 0; left: 0; width: 100%; height: 46%; object-fit: cover; object-position: 60% 50%; opacity: .55; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.mz-logo { height: 11%; top: 5%; filter: brightness(0) invert(1); }
.mz-web { left: 6%; top: 22%; width: 88%; }
.mz-ph { right: 6%; top: 47%; width: 28%; z-index: 4; }
.mz-car { left: -10%; bottom: 3%; width: 82%; z-index: 5; filter: drop-shadow(0 4cqi 5cqi rgba(0, 0, 0, .6)); }

.cv--roomie { background: #ffcc00; }
.rm-brush { left: -30%; top: 38%; width: 150%; filter: brightness(0); opacity: .85; z-index: 1; }
.rm-logo { left: 8%; translate: 0; height: 5.5%; }
.rm-ph { left: 12%; top: 21%; width: 42%; }
.rm-ph2 { right: 5%; top: 32%; width: 36%; rotate: 6deg; z-index: 3; }
.rm-key { right: 4%; top: 12%; width: 22%; rotate: 8deg; z-index: 5; filter: drop-shadow(0 2cqi 3cqi rgba(90, 60, 0, .3)); }
.rm-tray { left: -5%; bottom: 2%; width: 26%; rotate: -6deg; z-index: 5; filter: drop-shadow(0 2cqi 3cqi rgba(90, 60, 0, .3)); }
.rm-scooter { left: -3%; bottom: 2%; width: 34%; z-index: 5; }

.cv--clalit { background: linear-gradient(170deg, #0e5b57 0%, #22a597 100%); }
.cl2-ring { left: 2%; top: 14%; width: 62%; filter: brightness(0) invert(1); opacity: .28; }
.cl2-logo { left: 8%; translate: 0; height: 6.5%; filter: brightness(0) invert(1); }
.cl2-ph { left: 10%; top: 25%; width: 42%; }
.cl2-ph2 { right: 6%; top: 37%; width: 36%; rotate: 5deg; z-index: 3; }
.cl2-baby { right: -3%; top: 8%; width: 40%; z-index: 5; filter: drop-shadow(0 3cqi 5cqi rgba(0, 40, 36, .35)); }

.cv--gtw { background: radial-gradient(120% 100% at 0% 100%, #2a3566 0%, #171d36 60%); }
.gt-sun { border-radius: 50%; background: linear-gradient(135deg, #ff8a3c, #f05a0a); }
.gt-sun--a { left: -22%; bottom: -16%; width: 62%; aspect-ratio: 1; }
.gt-sun--b { right: -30%; top: 30%; width: 70%; aspect-ratio: 1; opacity: .9; }
.gt-word { color: #fff; font-weight: 700; font-size: 9cqi; line-height: 1; height: auto; letter-spacing: -.02em; white-space: nowrap; }
.gt-word b { color: #ff8a3c; font-weight: inherit; }
.gt-shot { top: 22%; width: 40%; border-radius: 3cqi; box-shadow: 0 5cqi 10cqi -4cqi rgba(0, 0, 0, .6); }
.gt-shot--c { left: 30%; z-index: 4; }
.gt-shot--l { left: 2%; top: 30%; width: 34%; rotate: -7deg; z-index: 3; }
.gt-shot--r { right: 2%; top: 30%; width: 34%; rotate: 7deg; z-index: 3; }

.cv--menora { background: linear-gradient(140deg, #3a2896 0%, #6c3ce0 60%, #8f6cf0 100%); }
.mn-bar { width: 16%; height: 70%; border-radius: 99px; background: rgba(255, 255, 255, .12); rotate: 28deg; }
.mn-bar--a { right: 6%; top: -12%; }
.mn-bar--b { right: 26%; top: -6%; background: rgba(255, 210, 63, .22); }
.mn-bar--c { right: 46%; top: 0; }
.mn-logo { height: 4.5%; }
.mn-photo { top: 16%; left: 7%; width: 86%; aspect-ratio: 840 / 490; object-fit: cover; border-radius: 3cqi; z-index: 2; }
.mn-web { left: 4%; top: 49%; width: 70%; rotate: -3deg; }
.mn-ph { right: 6%; top: 40%; width: 30%; rotate: 4deg; z-index: 4; }

/* ── Project showcase: a composed mosaic, not a scroll ────
   Desktop frames, phones on the brand's tint, and the brand's own pieces, on the same 8 columns. */
.show { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: calc(var(--u) * 9); grid-auto-flow: dense; gap: var(--gut); }
.sh { grid-column: span var(--c); grid-row: span var(--r); position: relative; overflow: hidden; border-radius: calc(var(--u) * 3); background: var(--tile, var(--bg-2)); container-type: size; }
.sh > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, top); }
.sh--el > img { object-fit: contain; padding: 8%; }
.sh--web { display: flex; align-items: flex-end; justify-content: center; padding: 6% 6% 0; }
.sh-web { width: 100%; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.sh-web i { display: block; height: 22px; background: radial-gradient(circle at 14px 50%, #c9ced6 4px, transparent 4.60px), radial-gradient(circle at 27px 50%, #c9ced6 4px, transparent 4.60px), radial-gradient(circle at 40px 50%, #c9ced6 4px, transparent 4.60px), #eef0f3; }
.sh-web img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
/* phones keep their own proportions and are shown whole: sized from the tile's width and
   height (whichever runs out first), centred, never squeezed or cropped */
.sh--phones { display: flex; align-items: center; justify-content: center; gap: 4cqw; padding: 5cqh 4cqw; }
.sh--phones .ph { flex: none; width: min(27cqw, 40cqh); height: auto; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.sh--phones .ph:nth-child(2):not(:last-child) { width: min(29.5cqw, 43cqh); }
.sh--phones.one .ph { width: min(78cqw, 41cqh); }
.sh--phones:has(> .ph:nth-child(2):last-child) .ph { width: min(40cqw, 41cqh); }
.sh--row { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 6%; }
.sh--row img { height: 100%; width: auto; max-width: 31%; object-fit: contain; border-radius: 14px; }

/* Work as covers: every project shown whole, three to a row */
.work-covers .wl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 6) var(--gut); border-top: 0; }
.work-covers .wl-preview { display: none; }
.work-covers .wl-link { grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "name kind" "line kind"; row-gap: 2px; padding: 0; border-bottom: 0; }
.work-covers .wl-link::before { display: none; }
.work-covers .wl-thumb { grid-area: thumb; display: block; margin-bottom: calc(var(--u) * 2.5); }
.work-covers .wl-thumb .cv { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.work-covers .wl-link:hover .wl-thumb .cv, .work-covers .wl-link:focus-visible .wl-thumb .cv { transform: translateY(calc(var(--u) * -1)); box-shadow: 0 30px 60px -30px var(--solid); }
.work-covers .wl-thumb .cv-ph, .work-covers .wl-thumb .cv-web { transition: translate .9s cubic-bezier(.16, 1, .3, 1); }
.work-covers .wl-link:hover .wl-thumb .cv-ph { translate: 0 -3%; }
.work-covers .wl-n, .work-covers .wl-go { display: none; }
.work-covers .wl-name { font-size: 1.5rem; }
.work-covers .wl-kind { align-self: start; padding-top: 6px; }
.work-covers .wl-item.on .wl-name, .work-covers .wl-item.on .wl-line { translate: none; }

/* ── Work as a stage (after wemake's portfolio) ────────────
   Wide tiles edge to edge, two to a row, 8px apart: each is the brand's colour with its name set
   huge in outline behind, the screens in front and one of the brand's objects. The project's name
   and line sit on the bottom start corner, its field under the logo on the top start corner.
   Pointing at a tile lifts the screens and runs the name. */
.wl-stage, .wl-cta { display: none; }
.work-stage .wl-wrap { max-width: none; padding-inline: 0; }
.work-stage .wl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--u); border-top: 0; }
.work-stage .wl-preview, .work-stage .wl-thumb, .work-stage .wl-n, .work-stage .wl-go { display: none; }
.work-stage .wl-link { display: block; position: relative; aspect-ratio: 10 / 7; padding: 0; border: 0; overflow: hidden; container-type: inline-size; color: #fff; }
.work-stage .wl-link::before { display: none; }
.work-stage .wl-stage { display: block; position: absolute; inset: 0; background: var(--bg); overflow: hidden; isolation: isolate; transition: clip-path 1.2s cubic-bezier(.65, 0, .2, 1); }
.work-stage .wl-stage::after { content: ''; position: absolute; inset: 0; z-index: 7; background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18) 30%, transparent 46%); pointer-events: none; }
.st-a { position: absolute; display: block; }
.st-a > img, .st-a > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* the name, huge and in outline, behind everything; it runs while the tile is pointed at */
.st-word { top: 36%; left: 0; z-index: 1; width: 100%; rotate: -6deg; scale: 1.15; white-space: nowrap; font-weight: 700; font-size: 15cqi; line-height: 1; letter-spacing: .03em; color: var(--solid); paint-order: stroke fill; -webkit-text-stroke: max(2px, .28cqi) var(--ink); opacity: .42; }
.st-run { display: inline-flex; animation: st-run 26s linear infinite; animation-play-state: paused; }
.st-run span { padding-inline-end: .35em; }
.st-run span:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; opacity: .5; letter-spacing: -.02em; }
@keyframes st-run { to { transform: translateX(-50%); } }

.st-logo { top: 6%; inset-inline-start: 4.5%; z-index: 8; height: 6cqi; width: auto; max-width: 30%; object-fit: contain; object-position: var(--start); }
.st-logo--word { height: auto; font-weight: 700; font-size: 4.4cqi; line-height: 1; letter-spacing: -.02em; color: #fff; }

/* screens: physical left/right, so the picture is the same in both languages */
.st-web { left: 15%; top: 21%; width: 58%; z-index: 3; border-radius: 1.2cqi 1.2cqi 0 0; overflow: hidden; background: #fff; box-shadow: 0 4cqi 8cqi -3cqi rgba(0, 0, 0, .55); transition: translate 1s cubic-bezier(.16, 1, .3, 1); }
.st-web i { display: block; height: 2.6cqi; background: radial-gradient(circle at 1.5cqi 50%, #c9ced6 0.45cqi, transparent 0.52cqi), radial-gradient(circle at 2.9cqi 50%, #c9ced6 0.45cqi, transparent 0.52cqi), radial-gradient(circle at 4.3cqi 50%, #c9ced6 0.45cqi, transparent 0.52cqi), #eef0f3; }
.st-web > img { height: auto; aspect-ratio: 16 / 10; }
.st-ph { width: 19%; aspect-ratio: var(--ar, 390 / 844); z-index: 4; border-radius: 3.2cqi; border: .75cqi solid #0d0d0f; background: #0d0d0f; overflow: hidden; box-shadow: 0 4cqi 8cqi -3cqi rgba(0, 0, 0, .55); transition: translate 1.1s cubic-bezier(.16, 1, .3, 1), rotate 1.1s cubic-bezier(.16, 1, .3, 1); }
.st-ph--front { right: 11%; top: 29%; width: 17%; z-index: 5; }
[data-layout="ph3"] .st-ph--1 { left: 21%; top: 26%; rotate: -7deg; }
[data-layout="ph3"] .st-ph--2 { left: 40.5%; top: 15%; z-index: 5; }
[data-layout="ph3"] .st-ph--3 { left: 60%; top: 26%; rotate: 7deg; }
[data-layout="ph2"] .st-ph--1 { left: 30%; top: 20%; rotate: -5deg; }
[data-layout="ph2"] .st-ph--2 { left: 51%; top: 24%; rotate: 5deg; }
[data-layout="ph1"] .st-ph--1 { left: 40.5%; top: 16%; }
/* hero: one big phone among the brand's own objects, a backdrop piece behind */
[data-layout="hero"] .st-ph--1 { left: 39%; top: 11%; width: 22%; z-index: 5; }
.st-back { left: 8%; bottom: -3%; width: 84%; height: auto; z-index: 2; }
[data-key="clalit"] .st-back { left: 18%; top: 4%; bottom: auto; width: 64%; z-index: 1; filter: brightness(0) invert(1); opacity: .22; }
[data-layout="hero"] .st-el { inset: auto; }
[data-layout="hero"] .st-el--1 { left: 10%; top: 40%; width: 19%; }
[data-layout="hero"] .st-el--2 { right: 10%; top: 34%; width: 18%; }
[data-layout="hero"] .st-el--3 { left: 24%; top: 12%; width: 11%; z-index: 4; }
[data-key="clalit"] [data-layout="hero"] .st-el--1 { left: auto; right: 7%; top: 18%; width: 30%; }
/* duo: two phones, the second behind and turned */
[data-layout="duo"] .st-ph--1 { left: 30%; top: 12%; width: 21%; rotate: -4deg; z-index: 5; }
[data-layout="duo"] .st-ph--2 { left: 51%; top: 22%; width: 19%; rotate: 7deg; }
/* row: three upright, the middle one dropped */
[data-layout="row"] .st-ph { width: 18%; }
[data-layout="row"] .st-ph--1 { left: 19%; top: 21%; }
[data-layout="row"] .st-ph--2 { left: 41%; top: 31%; }
[data-layout="row"] .st-ph--3 { left: 63%; top: 21%; }
.st-card { width: 27%; z-index: 4; border-radius: 2cqi; overflow: hidden; box-shadow: 0 4cqi 8cqi -3cqi rgba(0, 0, 0, .6); transition: translate 1.1s cubic-bezier(.16, 1, .3, 1), rotate 1.1s cubic-bezier(.16, 1, .3, 1); }
.st-card > img { height: auto; }
.st-card--1 { left: 14%; top: 27%; rotate: -7deg; }
.st-card--2 { left: 36.5%; top: 17%; z-index: 5; }
.st-card--3 { left: 59%; top: 27%; rotate: 7deg; }
.st-el { inset-inline-end: 3%; bottom: 7%; width: 21%; height: auto; z-index: 6; filter: drop-shadow(0 3cqi 4cqi rgba(0, 0, 0, .35)); transition: translate 1.2s cubic-bezier(.16, 1, .3, 1), rotate 1.2s cubic-bezier(.16, 1, .3, 1); }
[data-layout^="ph"] .st-el, [data-layout="cards"] .st-el { inset-inline-end: 1.5%; width: 19%; }

/* name and line on the bottom start corner; the field in small type under the logo */
.work-stage .wl-name { position: absolute; z-index: 8; inset-inline-start: 4.5%; bottom: calc(7% + 2.6cqi); font-size: clamp(1.375rem, 4.4cqi, 3.25rem); line-height: 1.05; color: #fff; }
.work-stage .wl-line { position: absolute; z-index: 8; inset-inline-start: 4.5%; bottom: 5.5%; font-size: clamp(.8125rem, 1.75cqi, 1.125rem); line-height: 1.4; color: rgba(255, 255, 255, .86); }
.work-stage .wl-kind { position: absolute; z-index: 9; top: 12.5cqi; inset-inline-start: 4.5%; color: var(--ink); opacity: .85; text-align: start; font-weight: 500; font-size: clamp(.75rem, 1.5cqi, 1rem); line-height: 1.3; letter-spacing: .01em; }

.work-stage .wl-link:hover .st-run, .work-stage .wl-link:focus-visible .st-run { animation-play-state: running; }
.work-stage .wl-link:hover .st-web { translate: 0 -4%; }
.work-stage .wl-link:hover .st-ph { translate: 0 -6%; }
.work-stage .wl-link:hover .st-card { translate: 0 -5%; }
.work-stage .wl-link:hover [data-layout="ph3"] .st-ph--1, .work-stage .wl-link:hover .st-card--1 { rotate: -10deg; }
.work-stage .wl-link:hover [data-layout="ph3"] .st-ph--3, .work-stage .wl-link:hover .st-card--3 { rotate: 10deg; }
.work-stage .wl-link:hover .st-el { translate: 0 -8%; rotate: -8deg; }
.work-stage .wl-item.on .wl-name, .work-stage .wl-item.on .wl-line { translate: none; }
.work-stage .wl-item.on .wl-line { color: rgba(255, 255, 255, .86); }

/* the closing tile: open, in the accent colour */
.work-stage .wl-cta { display: block; }
.work-stage .wl-cta:nth-child(odd) { grid-column: 1 / -1; }
.work-stage .wl-cta:nth-child(odd) .wl-cta-link { aspect-ratio: auto; min-height: calc(var(--u) * 40); }
.wl-cta-link { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; aspect-ratio: 10 / 7; padding: clamp(24px, 4.5cqi, 64px); container-type: inline-size; overflow: hidden; color: var(--on-acc); background: var(--acc); }
.wl-cta-h { position: relative; z-index: 1; font-weight: 700; font-size: clamp(2.25rem, 9cqi, 7rem); line-height: .98; letter-spacing: -.03em; }
.wl-cta-h em { font-style: normal; color: var(--acc); -webkit-text-stroke: max(3px, .04em) #000; paint-order: stroke fill; letter-spacing: .04em; }
.wl-cta-h i { font-style: normal; color: #fff; }
.wl-cta-go { position: relative; z-index: 1; align-self: flex-end; display: grid; place-content: center; justify-items: center; gap: 2px; width: clamp(112px, 21cqi, 200px); aspect-ratio: 1; border-radius: 50%; background: #000; color: var(--acc); font-weight: 700; font-size: clamp(.9375rem, 2cqi, 1.25rem); transition: scale .6s cubic-bezier(.34, 1.4, .64, 1), rotate .6s var(--ease); }
.wl-cta-go span { font-size: 1.5em; line-height: 1; transition: translate .4s var(--ease); }
.wl-cta-link::before { content: ''; position: absolute; inset: auto -20% -60% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 65%); transition: translate 1.2s cubic-bezier(.16, 1, .3, 1); }
.wl-cta-link:hover .wl-cta-go { scale: 1.08; rotate: calc(var(--fwd) * -8deg); }
.wl-cta-link:hover .wl-cta-go span { translate: calc(var(--fwd) * 4px) -4px; }
.wl-cta-link:hover::before { translate: calc(var(--fwd) * -12%) -14%; }

/* tiles open from the bottom as they arrive (the observed <li> itself is never clipped) */
.js .work-stage .wl-item.rv { transform: none; transition: opacity .6s ease-out; }
.js .work-stage .wl-item.rv .wl-stage { clip-path: inset(22% 0 0 0); }
.js .work-stage .wl-item.rv .st-word { translate: 12% 0; transition: translate 1.6s cubic-bezier(.16, 1, .3, 1); }
.js .work-stage .wl-item.rv.in .wl-stage { clip-path: inset(0); }
.js .work-stage .wl-item.rv.in .st-word { translate: 0; }

/* ── Upgraded components (Tweaks → Components), after wemake ─
   A light grain over the black, a glow behind the hero words and the last word on a tilted
   cyan block, a round badge that turns, pill buttons with the arrow in its own circle,
   client logos that turn to their own colours on a white card, a band of the four services
   that runs with the scroll, and a round contact button that leans toward the pointer. */
.hero-glow, .hero-badge, .tape, .orb, .scribble { display: none; }

.ui-plus::after { content: ''; position: fixed; inset: 0; z-index: 39; pointer-events: none; opacity: .055; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.ui-plus .hero-glow { display: none; position: absolute; z-index: 0; inset-inline-start: -18vw; bottom: -38vw; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(244, 20, 121, .42), rgba(190, 30, 100, .24) 42%, transparent 68%); filter: blur(30px); pointer-events: none; animation: glow 16s ease-in-out infinite alternate; }
@keyframes glow { to { translate: calc(var(--fwd) * 10vw) -8vw; scale: 1.18; } }
.ui-plus .hero-h > span:last-child { padding: .1em .25em .24em; margin: -.1em -.25em -.24em; }
.ui-plus .hero-h > span:last-child b { white-space: nowrap; }
.ui-plus .hero-h em { color: var(--acc); -webkit-text-stroke: 0; letter-spacing: inherit; }
.ui-plus .hero-h i { color: var(--ink); }
@keyframes tag-in { from { rotate: calc(var(--fwd) * 6deg); scale: .7; } }
.ui-plus .hero-meta { display: none; }
.ui-plus .hero-badge { position: relative; grid-column: 8; justify-self: end; align-self: end; display: grid; place-items: center; width: calc(var(--u) * 17); aspect-ratio: 1; border-radius: 50%; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, color .35s; }
.hero-badge svg { direction: ltr; unicode-bidi: isolate; position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.hero-badge text { font: 600 7.2px var(--font); letter-spacing: .1em; fill: currentColor; }
.hero-badge b { font-size: 1.5rem; font-weight: 400; transition: translate .4s var(--ease); }
.hero-badge:hover { background: var(--acc); color: var(--on-acc); }
.hero-badge:hover b { translate: 0 4px; }
@keyframes spin { to { rotate: 360deg; } }

.chips span { border-radius: var(--u); }

.ui-plus .logos li:not(.logos-cta) { transition: background .35s var(--ease); }
.ui-plus .logos li:not(.logos-cta):hover { background: #fff; }
.ui-plus .logos li:not(.logos-cta):hover img { filter: none; opacity: 1; }
/* logos that only exist in white go black on the card */
.ui-plus .logos li:not(.logos-cta):hover img:is([src*="-white"], [src*="mazda"], [src*="menora"], [src*="eldan"]) { filter: brightness(0); }

.ui-plus .tape { display: block; overflow: hidden; padding-block: calc(var(--u) * 5); border-bottom: 1px solid var(--line); }
.tape-run { display: flex; align-items: center; width: max-content; white-space: nowrap; font-weight: 700; font-size: clamp(3rem, 9vw, 9.5rem); line-height: 1.05; letter-spacing: -.03em; will-change: transform; }
.tape-run span { color: var(--bg); -webkit-text-stroke: max(3px, .024em) var(--ink); paint-order: stroke fill; letter-spacing: .04em; }
.tape-run span:nth-of-type(even) { color: var(--ink); -webkit-text-stroke: 0; letter-spacing: -.02em; }
.tape-run span.hl { color: var(--acc); -webkit-text-stroke: 0; letter-spacing: -.02em; }
.tape-run i { flex: none; width: .22em; height: .22em; margin-inline: .35em; border-radius: 50%; background: var(--acc); }

.ui-plus .contact { position: relative; overflow: hidden; }
.ui-plus .orb { grid-column: 7 / span 2; grid-row: 1; justify-self: end; align-self: end; margin-bottom: calc(var(--u) * -11); position: relative; z-index: 2; display: grid; place-content: center; justify-items: center; gap: var(--u); width: clamp(132px, 12.5vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--acc); color: var(--on-acc); text-align: center; font-weight: 700; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.15; transition: translate .6s cubic-bezier(.2, .9, .3, 1.2), scale .5s var(--ease), background .3s; }
.orb b { font-size: 1.6em; font-weight: 400; line-height: 1; transition: translate .4s var(--ease); }
.orb:hover { scale: 1.06; background: var(--ink); }
.orb:hover b { translate: calc(var(--fwd) * 4px) -4px; }
.ui-plus .scribble { display: block; position: absolute; z-index: 0; inset-inline-end: 2%; top: calc(var(--u) * 16); width: min(40vw, 640px); height: auto; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--ink-2); stroke-opacity: .6; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .scribble.rv { opacity: 1; transform: none; }
.js .scribble.rv path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.65, 0, .25, 1) .3s; }
.js .scribble.rv.in path { stroke-dashoffset: 0; }
.ui-plus .contact .h1 { position: relative; z-index: 1; grid-row: 1; }

/* ── Numbers ──────────────────────────────────────────────── */
.nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gut); }
.num { padding-block: calc(var(--u) * 8) calc(var(--u) * 10); padding-inline-start: var(--gut); position: relative; }
.num::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: var(--line); transform-origin: top; }
.num dt { font-weight: 700; font-size: clamp(3.5rem, 7vw, 7rem); line-height: 1; letter-spacing: -.05em; color: var(--acc); font-variant-numeric: tabular-nums; }
.num dd { margin-top: calc(var(--u) * 3); color: var(--ink-2); max-width: 22ch; }

/* ── About ────────────────────────────────────────────────── */
.about { row-gap: calc(var(--u) * 6); align-items: start; }
.about-pic { grid-column: 1 / span 2; }
.about-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { grid-column: 3 / span 3; }
.about-text .big { font-weight: 500; }
.about-text p + p { margin-top: calc(var(--u) * 3); color: var(--ink-2); }
.about-list { grid-column: 6 / span 3; border-top: 1px solid var(--line); }
.about-list li { padding-block: calc(var(--u) * 2); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .9375rem; }
.about-list b { display: block; font-weight: 700; font-size: 1rem; color: var(--ink); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { grid-column: 3 / -1; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--gut); padding-block: calc(var(--u) * 3); font-weight: 700; font-size: 1.5rem; line-height: calc(var(--u) * 4); cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 2rem; color: var(--acc); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--acc); }
.faq details p { max-width: 62ch; padding-bottom: calc(var(--u) * 4); color: var(--ink-2); font-size: 1.125rem; line-height: calc(var(--u) * 4); }

/* ── Contact ──────────────────────────────────────────────── */
.contact { border-bottom: 0; }
.contact-note { grid-column: 1 / span 2; color: var(--ink-2); display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 4); }
.reach { width: 100%; border-top: 1px solid var(--line); }
.reach li { display: flex; flex-direction: column; padding-block: calc(var(--u) * 2); border-bottom: 1px solid var(--line); }
.reach span { font-size: .8125rem; }
.reach a { align-self: flex-start; color: var(--ink); font-weight: 500; font-size: 1.0625rem; transition: color .2s; overflow-wrap: anywhere; }
.reach a:hover { color: var(--acc-ink); }
.form { grid-column: 3 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: calc(var(--u) * 4) var(--gut); }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--u); }
.chips legend { width: 100%; margin-bottom: calc(var(--u) * 2); font-size: .875rem; color: var(--ink-2); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: calc(var(--u) * 6); padding-inline: calc(var(--u) * 3); border: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips span:hover { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 3px; }
.field { grid-column: span 3; display: block; }
.field--wide { grid-column: 1 / -1; }
.field span { display: block; font-size: .875rem; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: var(--u) 0 calc(var(--u) * 2); background: none; border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0; font-size: 1.25rem; line-height: calc(var(--u) * 4); resize: vertical; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--acc); box-shadow: 0 1px var(--acc); }
.field.bad input { border-bottom-color: #ff6b6b; }
.form .btn { grid-column: span 2; justify-content: space-between; }
.form-status { grid-column: span 4; align-self: center; color: var(--ink-2); }
.form-status a { color: var(--ink); box-shadow: inset 0 -1px currentColor; }
.form-status a:hover { color: var(--acc-ink); }
.field.bad span { color: #ff8a8a; }

/* ── Contact: a short, clean form. Two fields side by side, the services as chips, a small note box ── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form--card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--u) * 3) var(--gut); max-width: 760px; }
.form--card .chips { margin-bottom: var(--u); }
.form--card .chips legend { margin-bottom: calc(var(--u) * 1.5); }
.form--card .chips span { height: calc(var(--u) * 5); padding-inline: calc(var(--u) * 2); font-size: .9375rem; border-radius: var(--u); }
.form--card .field { grid-column: span 1; }
.form--card .field--wide { grid-column: 1 / -1; }
.form--card .field span { margin-bottom: var(--u); font-size: .875rem; color: var(--ink-2); }
.form--card .field small { font-size: inherit; opacity: .8; }
.form--card .field input, .form--card .field textarea { padding: 0 calc(var(--u) * 2); height: calc(var(--u) * 6); font-size: 1rem; line-height: 1.5; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--u); transition: border-color .2s, box-shadow .2s; }
.form--card .field textarea { height: auto; padding-block: calc(var(--u) * 1.5); resize: vertical; }
.form--card .field input:hover, .form--card .field textarea:hover { border-color: var(--ink-2); }
.form--card .field input:focus, .form--card .field textarea:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(244, 20, 121, .25); }
.form--card .field.bad input { border-color: #ff8a8a; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--u) * 2) calc(var(--u) * 3); margin-top: var(--u); }
.form--card .btn { grid-column: auto; justify-content: center; gap: calc(var(--u) * 1.5); }
.form--card .btn:disabled { opacity: .65; cursor: progress; }
.form--card .form-status { flex: 1 1 280px; grid-column: auto; }
.form-note { grid-column: 1 / -1; margin-top: calc(var(--u) * .5); font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.form-note a { color: inherit; box-shadow: inset 0 -1px currentColor; }
.form-note a:hover { color: var(--acc-ink, var(--acc)); }

/* ── Footer: a cream block after the dark contact. The brand's line set large next to the logo,
   then three short columns (pages, contact, language and back to top), then the small print. ── */
.foot { padding-block: calc(var(--u) * 7) calc(var(--u) * 4); }
.foot-hero { align-items: center; row-gap: calc(var(--u) * 3); padding-bottom: calc(var(--u) * 5); }
.foot-say { grid-column: 1 / span 6; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; }
.foot-say em { font-style: normal; color: var(--bg); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; letter-spacing: .03em; }
.foot-say i { font-style: normal; color: var(--acc); }
.foot-mark { grid-column: 7 / -1; justify-self: end; }
.foot-mark img { width: clamp(72px, 7vw, 104px); height: auto; }
.foot-cols { padding-block: calc(var(--u) * 5) calc(var(--u) * 8); border-top: 1px solid var(--line); row-gap: calc(var(--u) * 5); align-items: start; }
.foot-col { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 1.25); font-size: 1rem; }
.foot-col:first-child { grid-column: 1 / span 2; }
.foot-k { margin-bottom: var(--u); font-size: .8125rem; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; }
.foot-col a { position: relative; padding-block: 2px; background: linear-gradient(currentColor, currentColor) var(--start) bottom / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.foot-col a:hover { background-size: 100% 1px; color: var(--acc-ink); }
.foot-col--end { grid-column: 7 / span 2; align-items: flex-end; justify-self: end; }
.foot-up { display: inline-grid; place-items: center; width: calc(var(--u) * 12); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .9375rem; text-align: center; line-height: 1.2; transition: background .3s, color .3s, translate .4s var(--ease); }
.foot-up b { display: block; font-size: 1.5rem; font-weight: 400; transition: translate .4s var(--ease); }
.foot .foot-up { background: var(--ink); background-size: auto; }
.foot .foot-up:hover { background: var(--acc); color: var(--on-acc); }
.foot-up:hover b { translate: 0 -4px; }
.foot-base { padding-top: calc(var(--u) * 3); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); row-gap: var(--u); }
.foot-base p:first-child { grid-column: 1 / span 4; }
.foot-base p:last-child { grid-column: 5 / -1; justify-self: end; }

/* ── Motion ───────────────────────────────────────────────
   Every kind of element enters its own way, at its own speed:
   rules draw, headlines rise line by line, logos fade in cell by cell,
   services slide in from the side, pictures wipe open and settle,
   numbers count up, the portrait opens as the brand's circle.
   .js is only set when the visitor has not asked for reduced motion. */
.js .rv { opacity: 0; transform: translateY(calc(var(--u) * 4)); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }

.js .label.rv { transform: none; transition: opacity .4s ease-out; }
.js .label.rv::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.7, 0, .2, 1); }
.js .label.rv.in::before { transform: none; }

.ln { display: block; overflow: hidden; padding-block: .08em .16em; margin-block: -.08em -.16em; }
.ln-in { display: block; }
.js .h1.rv, .js .h2.rv { opacity: 1; transform: none; }
.js .rv .ln-in { transform: translateY(115%) rotate(2.5deg); transform-origin: var(--start) bottom; transition: transform 1.05s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--l, 0) * 120ms + 120ms); }
.js .rv.in .ln-in { transform: none; }

.js .lede.rv { transform: none; transition: opacity 1.4s ease .45s; }

.js .logos.rv { opacity: 1; transform: none; }
.js .logos.rv li { opacity: 0; transition: opacity .55s ease-out calc(var(--i) * 26ms), background .3s; }
.js .logos.rv li > * { scale: .82; transition: scale .8s cubic-bezier(.34, 1.3, .64, 1) calc(var(--i) * 26ms), opacity .3s, background-size .45s var(--ease), color .2s; }
.js .logos.rv.in li { opacity: 1; }
.js .logos.rv.in li > * { scale: 1; }

.js .svc.rv { transform: translateX(calc(var(--u) * -7)); transition: opacity .7s ease-out, transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0) * 110ms); }
.js .svc.rv.in { transform: none; }

.js .step.rv { opacity: 1; transform: none; }
.js .step.rv::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.js .step.rv.in::after { transform: none; }
.js .step.rv > * { opacity: 0; transform: translateX(calc(var(--u) * 3)); transition: opacity .45s ease-out, transform .6s cubic-bezier(.2, .7, .1, 1); }
.js .step.rv > :nth-child(2) { transition-delay: 70ms; }
.js .step.rv > :nth-child(3) { transition-delay: 140ms; }
.js .step.rv > :nth-child(4) { transition-delay: 210ms; }
.js .step.rv.in > * { opacity: 1; transform: none; }

/* an observed element must not clip itself to nothing, or it is never seen entering */
.js .wl-item.rv { transform: translateY(calc(var(--u) * 2)); transition-duration: .6s; transition-delay: calc(var(--d, 0) * 50ms); }

.js .num.rv { opacity: 1; transform: none; }
.js .num.rv::before { transform: scaleY(0); transition: transform 1s cubic-bezier(.7, 0, .2, 1) calc(var(--d, 0) * 90ms); }
.js .num.rv dt { opacity: 0; translate: 0 35%; transition: opacity .5s ease-out, translate .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0) * 90ms + .15s); }
.js .num.rv dd { opacity: 0; transition: opacity .9s ease calc(var(--d, 0) * 90ms + .6s); }
.js .num.rv.in::before { transform: none; }
.js .num.rv.in dt { opacity: 1; translate: 0; }
.js .num.rv.in dd { opacity: 1; }

.js .about-pic.rv { opacity: 1; transform: none; }
.js .about-pic.rv img { clip-path: circle(0% at 50% 42%); transition: clip-path 1.5s cubic-bezier(.65, 0, .2, 1); }
.js .about-pic.rv.in img { clip-path: circle(85% at 50% 42%); }
.js .about-list.rv { opacity: 1; transform: none; }
.js .about-list.rv li { opacity: 0; transform: translateX(calc(var(--u) * 3)); transition: opacity .5s ease-out, transform .7s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--i) * 80ms + .1s); }
.js .about-list.rv.in li { opacity: 1; transform: none; }

/* ── Tablet: still 8 columns, fewer fields per row ────────── */
@media (max-width: 1100px) {
  .work-covers .wl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl { grid-column: 1 / span 5; }
  .wl-preview { grid-column: 6 / -1; }
  .show { grid-auto-rows: calc(var(--u) * 7); }
  .pp-head { grid-column: 1 / span 5; }
  .pp-cover { grid-column: 6 / -1; }
  .pg, .pg--store { grid-column: span 4; }
  .pp-big, .pp-did { grid-column: 1 / -1; }
  .menu { gap: calc(var(--u) * 3); }
  .hero { align-items: flex-end; }
  .hero-photo { width: 72%; height: 62%; background-position: 50% 30%; -webkit-mask-image: linear-gradient(to top, transparent, #000 30%); mask-image: linear-gradient(to top, transparent, #000 30%); }
  .hero-eyebrow, .hero-h { grid-column: 1 / span 6; }
  .hero-sub { grid-column: 1 / span 5; }
  .services, .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: calc(var(--u) * 8); }
  .num { padding-block: calc(var(--u) * 6); }
  .nums { row-gap: 0; }
  .step .h3 { grid-column: 3 / span 6; }
  .step > p:not(.step-out) { grid-column: 3 / span 6; margin-top: var(--u); }
  .step-out { grid-column: 3 / span 6; margin-top: calc(var(--u) * 2); }
  .about-pic { grid-column: 1 / span 3; }
  .about-text { grid-column: 4 / -1; }
  .about-list { grid-column: 4 / -1; }
  .sec .lede { grid-column: 3 / -1; }
}

/* ── Phone: 4 columns ─────────────────────────────────────── */
@media (max-width: 720px) {
  .work-covers .wl { grid-template-columns: 1fr; gap: calc(var(--u) * 5); }
  .work-stage .wl { grid-template-columns: 1fr; gap: calc(var(--u) * 2); }
  .work-stage .wl-link { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; }
  .work-stage .wl-stage { position: relative; inset: auto; width: 100%; aspect-ratio: 10 / 8; flex: none; }
  .work-stage .wl-stage::after { display: none; }
  .work-stage .wl-name, .work-stage .wl-line { position: static; color: var(--ink); padding-inline: var(--m); }
  .work-stage .wl-name { padding-top: calc(var(--u) * 2); font-size: 1.375rem; }
  .work-stage .wl-line { padding-bottom: var(--u); color: var(--ink-2); font-size: .9375rem; }
  .work-stage .wl-item.on .wl-line { color: var(--ink-2); }
  .work-stage .wl-cta-link, .work-stage .wl-cta:nth-child(odd) .wl-cta-link { aspect-ratio: 5 / 4; min-height: 0; }
  .work-stage .wl-cta { grid-column: 1 / -1; }
  .work-stage .wl-kind { display: block; top: 14cqi; font-size: .75rem; }
  .ui-plus .contact .h1 { grid-row: auto; }
  .ui-plus .orb { grid-column: 1 / -1; grid-row: auto; justify-self: end; margin: calc(var(--u) * 3) 0 0; width: 128px; font-size: .9375rem; }
  .ui-plus .scribble, .ui-plus .hero-badge { display: none; }
  .ui-plus .tape { padding-block: calc(var(--u) * 3); }
  .ui-plus .hero-glow { width: 140vw; inset-inline-start: -50vw; bottom: -70vw; }
  .st-word { top: 40%; }
  .st-web { left: 6%; width: 66%; top: 23%; }
  .st-ph--front { right: 6%; width: 21%; top: 30%; }
  .st-logo { height: 7cqi; }
  .work-covers .wl-kind { display: none; }
  .show { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc(var(--u) * 6); gap: calc(var(--u) * 1.5); }
  .sh { grid-column: span var(--mc); grid-row: span var(--mr); border-radius: calc(var(--u) * 2); }
  .sh--phones .ph { border-width: 3px; }
  .sh-web i { display: block; height: 12px; background: radial-gradient(circle at 8px 50%, #c9ced6 2.5px, transparent 2.88px), radial-gradient(circle at 15px 50%, #c9ced6 2.5px, transparent 2.88px), radial-gradient(circle at 22px 50%, #c9ced6 2.5px, transparent 2.88px), #eef0f3; }
  .wl { grid-column: 1 / -1; }
  .wl-preview { display: none; }
  .wl-link { grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "name go" "line go"; row-gap: 2px; padding-block: calc(var(--u) * 2) calc(var(--u) * 3); }
  .wl-thumb { grid-area: thumb; display: block; margin-bottom: calc(var(--u) * 2); }
  .wl-thumb .cv { border-radius: calc(var(--u) * 3); }
  .wl-n, .wl-kind { display: none; }
  .wl-name { font-size: 1.5rem; }
  .wl-go { opacity: 1; translate: 0; }
  .wl-link::before { display: none; }
  .wl-item.on .wl-name, .wl-item.on .wl-line { translate: none; }
  .pp-hero { padding-top: calc(var(--u) * 12); }
  .pp-head { grid-column: 1 / -1; padding-bottom: calc(var(--u) * 2); }
  .pp-cover { grid-column: 1 / -1; }
  .pp-cover { padding-bottom: calc(var(--u) * 5); }
  .pp-meta, .pp-scope { grid-column: 1 / -1; }
  .pp-sec { padding-block: calc(var(--u) * 7) calc(var(--u) * 8); }
  .pp-did li { grid-template-columns: calc(var(--u) * 5) 1fr; }
  .pp-did p { font-size: 1.0625rem; }
  .pg, .pg--store { grid-column: span 2; }
  .pg--square, .pg--wide { grid-column: 1 / -1; }
  .pp-talk, .pp-next { grid-column: 1 / -1; }
  .form--card { grid-template-columns: 1fr; }
  .form--card .field, .form--card .btn { grid-column: 1 / -1; }
  .foot { padding-top: calc(var(--u) * 6); }
  .foot-hero { padding-bottom: calc(var(--u) * 4); }
  .foot-say, .foot-mark { grid-column: 1 / -1; }
  .foot-mark { justify-self: start; }
  .foot-mark img { width: 80px; }
  .foot-col, .foot-col:first-child { grid-column: span 2; }
  .foot-col:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .foot-col--end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; justify-self: stretch; }
  .foot-base p:first-child, .foot-base p:last-child { grid-column: 1 / -1; justify-self: start; }
  .pp-live-in { row-gap: calc(var(--u) * 2); padding-block: calc(var(--u) * 4); }
  .pp-live-k, .pp-live-host { grid-column: 1 / -1; }
  .pp-live-go { grid-column: 1 / -1; justify-self: start; }
  .pp-talk .hero-actions { flex-direction: column; align-items: stretch; }
  .pp-talk .btn { justify-content: center; }
  :root { --cols: 4; --gut: calc(var(--u) * 2); --field: calc(var(--u) * 40); }
  .top-in { height: calc(var(--u) * 8); }
  .logo { grid-column: 1 / span 2; }
  .top-in { display: flex; gap: calc(var(--u) * 1.5); }
  .logo { white-space: nowrap; }
  .top-end { margin-inline-start: auto; }
  .top-cta { white-space: nowrap; }
  .burger { display: grid; grid-column: 4; justify-self: end; width: calc(var(--u) * 5); height: calc(var(--u) * 5); place-content: center; gap: 6px; background: none; border: 1px solid var(--line); cursor: pointer; }
  .burger i { width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu { position: fixed; inset: calc(var(--u) * 8) 0 auto; flex-direction: column; gap: 0; padding: var(--u) var(--m) calc(var(--u) * 3); background: var(--bg); box-shadow: 0 1px var(--line); font-size: 1.5rem; font-weight: 700; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .menu a { color: var(--ink); padding-block: calc(var(--u) * 2); border-bottom: 1px solid var(--line); }
  .menu.open { visibility: visible; opacity: 1; transform: none; }

  .hero { min-height: 0; padding-block: calc(var(--u) * 8 + 44svh) calc(var(--u) * 6); }
  .hero-photo { width: 100%; inset-block: calc(var(--u) * 8) auto; height: 48svh; background-position: 50% 30%; -webkit-mask-image: linear-gradient(to top, transparent, #000 34%); mask-image: linear-gradient(to top, transparent, #000 34%); }
  .hero-in { row-gap: calc(var(--u) * 2.5); }
  .hero-eyebrow, .hero-h, .hero-sub { grid-column: 1 / -1; }
  .hero-eyebrow { font-size: .8125rem; line-height: calc(var(--u) * 2.5); gap: calc(var(--u) * 1.5); }
  .hero-eyebrow .rule { width: calc(var(--u) * 3); }
  .hero-h { font-size: 2.75rem; }
  .hero-lede { font-size: 1.0625rem; line-height: calc(var(--u) * 3.5); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: calc(var(--u) * 1.5); margin-top: calc(var(--u) * 3); }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { display: none; }
  .top-end .lang { display: none; }
  .menu-lang { display: block; color: var(--acc) !important; }

  .sec { padding-block: calc(var(--u) * 8) calc(var(--u) * 11); }
  .sec--tight { padding-block: 0; }
  .sec > .grid + .grid { margin-top: calc(var(--u) * 6); }
  .label { grid-column: 1 / span 2; margin-bottom: calc(var(--u) * 4); }
  .sec .h2, .sec .h1, .sec .lede, .faq, .form, .contact-note { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos-cta { grid-column: span 2; }
  .logos-cta a { padding-inline: calc(var(--u) * 2); font-size: 1.0625rem; gap: var(--u); }
  .logos li { height: calc(var(--u) * 15); }
  .services { grid-template-columns: 1fr; row-gap: calc(var(--u) * 7); }
  .svc .h3 { margin-top: calc(var(--u) * 2); }
  .svc > p:not(.svc-n) { min-height: 0; }
  .step { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step-n { grid-column: 1; }
  .step .h3, .step > p:not(.step-out), .step-out { grid-column: 2 / -1; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding-inline-start: calc(var(--u) * 2); padding-block: calc(var(--u) * 5); }
  .about-pic { grid-column: 1 / span 2; }
  .about-pic img { aspect-ratio: 1; object-position: 50% 38%; }
  .about-text, .about-list { grid-column: 1 / -1; }
  .about { row-gap: calc(var(--u) * 4); }
  .big { font-size: 1.125rem; line-height: calc(var(--u) * 3.5); }
  .services { row-gap: calc(var(--u) * 6); }
  .svc ul { margin-top: calc(var(--u) * 2); }
  .faq details p { font-size: 1rem; line-height: calc(var(--u) * 3); }
  .field input, .field textarea { font-size: 1.125rem; }
  .form { gap: calc(var(--u) * 3) var(--gut); }
  .form .btn { justify-content: center; gap: calc(var(--u) * 2); }
  .contact-note .btn { width: 100%; justify-content: center; }
  .faq summary { font-size: 1.25rem; }
  .contact-note { margin-bottom: calc(var(--u) * 4); gap: calc(var(--u) * 3); }
  .form { grid-template-columns: 1fr; }
  .field, .form .btn, .form-status { grid-column: 1 / -1; }
}

/* hidden outside phones */
.logo-rows, .logos-more, .swipe-hint { display: none; }

/* ── Phone: the long lists become rows that move and cards that swipe ── */
@media (max-width: 720px) {
  /* clients: two rows of logos running opposite ways, then the invitation */
  .logos { display: none; }
  .logo-rows { grid-column: 1 / -1; display: grid; gap: calc(var(--u) * 1.5); margin-inline: calc(var(--m) * -1); overflow: hidden; }
  .logo-row { display: flex; gap: calc(var(--u) * 1.5); width: max-content; animation: logo-run 40s linear infinite; }
  .logo-row--b { animation-direction: reverse; animation-duration: 46s; }
  .lr-i { flex: none; display: grid; place-items: center; width: 132px; height: 76px; border: 1px solid var(--line); border-radius: var(--u); background: var(--bg); }
  .lr-i img { height: calc(var(--h) * .58); width: auto; max-width: 74%; object-fit: contain; filter: brightness(0); opacity: .75; }
  .logos-more { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: calc(var(--u) * 3); padding: calc(var(--u) * 2.5) calc(var(--u) * 2.5); border-radius: var(--u); background: var(--ink); color: var(--bg); font-weight: 700; font-size: 1.125rem; }
  .logos-more i { font-style: normal; color: #ff5c9d; }
  .logos-more strong { font-weight: inherit; }

  /* services and process: one card at a time, swiped sideways, the next one peeking in */
  .services, .steps { display: flex; gap: calc(var(--u) * 1.5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); margin-inline: calc(var(--m) * -1); padding-inline: var(--m); padding-bottom: var(--u); border-top: 0; scrollbar-width: none; }
  .services::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .svc, .step { flex: 0 0 84%; scroll-snap-align: start; padding: calc(var(--u) * 2.5); border-radius: calc(var(--u) * 1.5); background: var(--bg-2); }
  .svc { border-top: 0; }
  .svc::before, .step::after { display: none; }
  .svc .h3 { margin-block: calc(var(--u) * 2) var(--u); line-height: 1.1; }
  .step { display: flex; flex-direction: column; gap: calc(var(--u) * 1.5); }
  .step-n { flex-direction: row; justify-content: space-between; align-items: center; }
  .step .h3, .step > p:not(.step-out), .step-out { margin: 0; }
  .step-out { margin-top: auto; padding-top: calc(var(--u) * 1.5); border-top: 1px solid var(--line); }
  .step:hover { background: var(--bg-2); }
  /* cards off to the side never cross the screen's middle, so they show at once */
  .js .svc.rv, .js .step.rv > *, .js .step.rv .step-ic { opacity: 1; transform: none; }
  .swipe-hint { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--u); margin-top: calc(var(--u) * 2); font-size: .8125rem; color: var(--ink-2); }
  .swipe-hint b { color: var(--acc-ink); font-weight: 400; animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 50% { translate: calc(var(--fwd) * 6px) 0; } }
}
@keyframes logo-run { to { transform: translateX(calc(var(--fwd) * -50%)); } }

@media (prefers-reduced-motion: reduce) {
  .logo-rows { overflow-x: auto; }
  html { scroll-behavior: auto; }
  /* reduced motion: nothing travels, things only fade in, quickly */
  *, *::before, *::after { animation-duration: .45s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .45s !important; transition-delay: 0s !important; }
  .brands-track { animation: none !important; }
}

/* ── About page: its own page. A short opening with the portrait, the story, the numbers,
   five disciplines as icon cards, four working principles, the tools, and a closing call. */
.ab-ic { width: calc(var(--u) * 5); height: calc(var(--u) * 5); fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.menu a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ab-hero { position: relative; overflow: hidden; padding-block: calc(var(--u) * 20) calc(var(--u) * 8); border-bottom: 1px solid var(--line); }
.ab-hero-pic { position: absolute; inset-block: 0; inset-inline-end: 0; width: 46%; background: 50% 45% / cover no-repeat; -webkit-mask-image: linear-gradient(to var(--end, left), transparent, #000 40%); mask-image: linear-gradient(to var(--end, left), transparent, #000 40%); opacity: .9; }
.ab-hero-in { position: relative; row-gap: calc(var(--u) * 4); }
.ab-hero .label { grid-column: 1 / span 2; }
.ab-h1 { grid-column: 1 / span 5; }
.ab-h1 em { -webkit-text-stroke-width: max(3px, .036em); }
.ab-intro { grid-column: 1 / span 4; font-size: 1.25rem; line-height: calc(var(--u) * 4); color: var(--ink-2); max-width: 46ch; }
.ab-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gut); margin-top: calc(var(--u) * 6); border-top: 1px solid var(--line); }
.ab-facts div { padding-top: calc(var(--u) * 2); }
.ab-facts dt { font-size: .8125rem; line-height: calc(var(--u) * 3); color: var(--ink-2); }
.ab-facts dd { font-weight: 500; }
.ab-story { grid-column: 3 / span 5; }
.ab-story p:first-child { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.5; font-weight: 500; }
.ab-story p + p { margin-top: calc(var(--u) * 3); color: var(--ink-2); max-width: 60ch; }
.ab-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gut); }
.ab-card { position: relative; padding: calc(var(--u) * 3) calc(var(--u) * 3) calc(var(--u) * 4); background: var(--bg-2, #222); border-radius: 12px; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.ab-card:hover { transform: translateY(-4px); border-color: var(--acc); }
.ab-card h3, .ab-how h3 { margin-top: calc(var(--u) * 4); font-size: 1.25rem; line-height: calc(var(--u) * 3.5); font-weight: 700; letter-spacing: -.01em; }
.ab-card p, .ab-how p { margin-top: calc(var(--u) * 1.5); font-size: .9375rem; color: var(--ink-2); }
.ab-hows { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gut); border-top: 1px solid var(--line); }
.ab-how { position: relative; padding-top: calc(var(--u) * 3); }
.ab-how-n { display: block; margin-bottom: calc(var(--u) * 3); font-size: .875rem; color: var(--acc-ink); font-variant-numeric: tabular-nums; }
.ab-how p { max-width: 32ch; }
.sec > .grid.ab-tools-row { margin-top: calc(var(--u) * 8); align-items: center; }
.ab-tools-k { grid-column: 1 / span 2; font-size: .875rem; color: var(--ink-2); }
.ab-tools { grid-column: 3 / -1; display: flex; flex-wrap: wrap; gap: var(--u); }
.ab-tools li { padding: var(--u) calc(var(--u) * 2); border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 500; }
.ab-end .h2 { grid-column: 1 / span 4; }
.ab-end-side { grid-column: 5 / -1; align-self: end; }
.ab-end-side > p:first-child { color: var(--ink-2); max-width: 40ch; }
.ab-end .hero-actions { margin-top: calc(var(--u) * 3); }
.js .ab-hero .label, .js .ab-h1, .js .ab-intro, .js .ab-facts { animation: up .9s cubic-bezier(.2, .7, .1, 1) both; }
.js .ab-h1 { animation-delay: .1s; } .js .ab-intro { animation-delay: .25s; } .js .ab-facts { animation-delay: .4s; }
.js .ab-cards .rv:nth-child(n) { transition-delay: calc(var(--d, 0) * 70ms); }
@media (max-width: 1100px) {
  .ab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-hows { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: calc(var(--u) * 5); }
  .ab-story { grid-column: 3 / -1; }
  .ab-end .h2, .ab-end-side { grid-column: 1 / -1; }
  .ab-end-side { margin-top: calc(var(--u) * 4); }
}
@media (max-width: 720px) {
  .ab-hero { padding-block: calc(var(--u) * 8 + 34svh) calc(var(--u) * 6); }
  .ab-hero-pic { width: 100%; inset-block: calc(var(--u) * 8) auto; height: 38svh; background-position: 50% 35%; -webkit-mask-image: linear-gradient(to top, transparent, #000 40%); mask-image: linear-gradient(to top, transparent, #000 40%); }
  .ab-hero .label, .ab-h1, .ab-intro, .ab-story, .ab-tools-k, .ab-tools { grid-column: 1 / -1; }
  .ab-intro { font-size: 1.0625rem; line-height: calc(var(--u) * 3.5); }
  .ab-hero-in { row-gap: calc(var(--u) * 2.5); }
  .ab-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: calc(var(--u) * 2); margin-top: calc(var(--u) * 3); }
  .ab-cards { grid-template-columns: 1fr; gap: calc(var(--u) * 1.5); }
  .ab-card { display: grid; grid-template-columns: auto 1fr; column-gap: calc(var(--u) * 2); align-items: start; padding: calc(var(--u) * 2.5); }
  .ab-card .ab-ic { grid-row: span 2; width: calc(var(--u) * 4.5); height: calc(var(--u) * 4.5); }
  .ab-card h3 { margin-top: 0; }
  .ab-card p { margin-top: calc(var(--u) * .5); }
  .ab-hows { grid-template-columns: 1fr; row-gap: 0; }
  .ab-how { display: grid; grid-template-columns: auto 1fr; column-gap: calc(var(--u) * 2); padding-block: calc(var(--u) * 3); border-bottom: 1px solid var(--line); }
  .ab-how-n { grid-column: 1 / -1; margin-bottom: calc(var(--u) * 1.5); }
  .ab-how .ab-ic { grid-row: span 2; }
  .ab-how h3 { margin-top: 0; }
  .ab-how p { margin-top: calc(var(--u) * .5); }
  .sec > .grid.ab-tools-row { margin-top: calc(var(--u) * 5); row-gap: calc(var(--u) * 1.5); }
  .ab-end .hero-actions { flex-direction: column; align-items: stretch; }
  .ab-end .hero-actions .btn { justify-content: center; }
}

/* phone numbers never break across lines */
a[href^="tel:"] { white-space: nowrap; }

/* ── 404 */
.nf { min-height: 80svh; display: flex; align-items: center; padding-block: calc(var(--u) * 16) calc(var(--u) * 10); }
.nf-in { row-gap: calc(var(--u) * 3); }
.nf-code { grid-column: 1 / -1; font-family: 'Space Grotesk', var(--font); font-weight: 700; font-size: clamp(6rem, 18vw, 14rem); line-height: .9; color: var(--bg); -webkit-text-stroke: 2px var(--acc); paint-order: stroke fill; letter-spacing: .02em; }
.nf .h1, .nf-p, .nf .hero-actions { grid-column: 1 / span 5; }
.nf-p { color: var(--ink-2); max-width: 48ch; }
@media (max-width: 720px) { .nf .h1, .nf-p, .nf .hero-actions { grid-column: 1 / -1; } .nf .hero-actions { flex-direction: column; align-items: stretch; } .nf .hero-actions .btn { justify-content: center; } }

/* ── home hero options: A the original, B a film behind the words, C and D a film intro over A.
   The Tweaks panel picks one; the class on <html> (tw-a … tw-d) is set before the page paints. */
.hv { display: none; }
.tw-b .hv { display: block; }
.tw-b .hero:not(.hv) { display: none; }

/* C and D: the intro plays once over hero A, then hands over to it */
.intro { display: none; }
.js.tw-c .intro, .js.tw-d .intro { display: block; position: absolute; inset: 0; z-index: 25; background: #000; overflow: hidden; }
.tw-d .intro { background: #0b0b0b; }
.intro.done { display: none !important; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.tw-d .intro-video { object-position: 50% 50%; }
.intro-skip { position: absolute; z-index: 2; bottom: calc(var(--u) * 3); left: 50%; translate: -50% 0; border: 0; background: none; color: #8a8580; font: 500 .875rem var(--font); cursor: pointer; padding: var(--u) calc(var(--u) * 2); }
.intro-skip:hover, .intro-skip:focus-visible { color: var(--cream); }
@media (max-width: 720px) { .intro-video { object-position: 29% 50%; } }
@media (prefers-reduced-motion: reduce) { .js .intro { display: none; } }
/* the intro on request, when the browser wouldn't play it on its own */
.intro-offer { position: absolute; z-index: 5; bottom: calc(var(--u) * 3); left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: var(--u); padding: var(--u) calc(var(--u) * 2); border: 1px solid rgba(245, 243, 239, .28); border-radius: 999px; background: rgba(20, 20, 20, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--cream); font: 500 .875rem var(--font); cursor: pointer; animation: up .6s .9s cubic-bezier(.2, .7, .1, 1) both; }
.intro-offer span { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid var(--pink); }   /* a play sign points right in both languages */
.intro-offer:hover, .intro-offer:focus-visible { border-color: var(--cream); }
@media (max-width: 720px) { .intro-offer { top: calc(var(--u) * 10); bottom: auto; } }   /* on a phone the hero runs past the first screen */
.why { position: fixed; z-index: 99; left: 8px; bottom: 8px; margin: 0; padding: 8px 10px; max-width: 90vw; white-space: pre-wrap; background: #000; color: #9f9; font: 12px/1.4 ui-monospace, monospace; border-radius: 6px; }

/* B: the film behind everything. The action sits left of centre in the film, so the words own the right;
   a charcoal gradient from the right keeps them readable over any frame. */
.hv { --strip: calc(var(--u) * 12); min-height: max(100svh, 680px); padding: 0; isolation: isolate; background: #121212; }
.hv-film { position: absolute; inset: 0 0 var(--strip); overflow: hidden; }
.hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.hv-film::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(18, 18, 18, .92) 0%, rgba(18, 18, 18, .7) 28%, rgba(18, 18, 18, 0) 55%), linear-gradient(to top, #121212 0%, rgba(18, 18, 18, 0) 18%); }
.hv-in { position: relative; z-index: 2; min-height: max(100svh, 680px); padding-block: calc(var(--u) * 11) calc(var(--strip) + var(--u) * 5); align-content: center; row-gap: calc(var(--u) * 4); }
.hv-h { grid-column: 1 / span 4; font-size: clamp(3.25rem, 6.6vw, 7rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.hv-h span { display: block; white-space: nowrap; }
.hv-h em { font-style: normal; color: var(--acc); }
.hv-h i { font-style: normal; color: var(--ink); margin-inline-start: -.1em; }
.hv-sub { grid-column: 1 / span 4; }
[dir="ltr"] .hv-sub { grid-column: -5 / -1; }
[dir="ltr"] .hv-h { grid-column: -7 / -1; font-size: clamp(3rem, 5.2vw, 6rem); }
[dir="ltr"] .hv-h span { white-space: normal; }   /* the film's action sits left of centre: the words keep to the right in both languages */
.hb-who { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.hb-lede { margin-top: calc(var(--u) * 1.5); font-size: 1.25rem; line-height: 1.55; color: rgba(245, 243, 239, .8); max-width: 38ch; text-wrap: pretty; }
.hb-lede b { color: var(--acc); font-weight: 700; font-variant-numeric: lining-nums; }
.hb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--u) * 2); margin-top: calc(var(--u) * 4); }
.hb-go { order: 1; } .hb-alt { order: 2; }
.hb-note { order: 3; flex-basis: 100%; margin-top: calc(var(--u) * -.5); font-size: 1rem; color: #b5b3af; }
/* pause/play for the moving background (WCAG 2.2.2) */
.hv-toggle { position: absolute; z-index: 3; left: var(--m); bottom: calc(var(--strip) + var(--u) * 3); width: calc(var(--u) * 5); height: calc(var(--u) * 5); display: grid; grid-auto-flow: column; place-content: center; gap: 5px;
  border: 0; border-radius: 50%; background: rgba(245, 243, 239, .1); box-shadow: inset 0 0 0 1px rgba(245, 243, 239, .25); cursor: pointer; }
.hv-toggle i { width: 3px; height: 12px; border-radius: 2px; background: var(--cream); }
.hv-toggle[aria-pressed="true"] { gap: 0; }
.hv-toggle[aria-pressed="true"] i:first-child { width: 0; height: 0; border-radius: 0; background: none; border-block: 7px solid transparent; border-left: 11px solid var(--cream); margin-left: 3px; }
.hv-toggle[aria-pressed="true"] i:last-child { display: none; }
.hv-toggle:hover { background: rgba(245, 243, 239, .2); }
.hv-toggle:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
/* the clients, quiet and in one colour, so the pink button stays the loudest thing */
.hb-proof { position: absolute; inset: auto 0 0; z-index: 3; height: var(--strip); display: flex; align-items: center; gap: calc(var(--u) * 4); padding-inline: var(--m); border-top: 1px solid var(--line); background: var(--bg); }
.hb-proof-k { flex: none; font-size: 1rem; font-weight: 500; color: rgba(245, 243, 239, .72); white-space: nowrap; }
.hb-window { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hb-track { display: flex; width: max-content; animation: hb-run 50s linear infinite; }
.hb-proof:hover .hb-track, .hb-proof:focus-within .hb-track { animation-play-state: paused; }
.hb-run { display: flex; align-items: center; gap: calc(var(--u) * 7); padding-inline-end: calc(var(--u) * 7); }
@keyframes hb-run { to { transform: translateX(calc(var(--fwd) * -50%)); } }
.hb-chip { display: grid; place-items: center; height: calc(var(--u) * 6); color: var(--ink); opacity: .62; transition: opacity .3s; }
.hb-chip:hover, .hb-chip:focus-visible { opacity: 1; }
.hb-chip img { height: var(--ch, 24px); max-width: calc(var(--u) * 17); width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.hb-word { font: 700 1.125rem/1 'Space Grotesk', var(--font); letter-spacing: -.01em; }
.js .hv-film { animation: fade 1.2s ease .05s both; }
.js .hv-h span { animation: up 1s cubic-bezier(.16, 1, .3, 1) .3s both; } .js .hv-h span + span { animation-delay: .42s; }
.js .hv-sub { animation: up .9s cubic-bezier(.2, .7, .1, 1) .8s both; }
.js .hb-proof { animation: fade 1.2s ease 1.2s both; }
@media (min-width: 1280px) {
  .hb-window { -webkit-mask-image: none; mask-image: none; }
  .hb-track { width: 100%; animation: none; }
  .hb-run { flex: 1; justify-content: space-between; padding: 0; }
  .hb-run[aria-hidden], .hb-x { display: none; }
}
@media (max-width: 1100px) {
  .hv-h { grid-column: 1 / -1; font-size: clamp(3rem, 8.4vw, 5.5rem); }
  .hv-sub { grid-column: 1 / span 5; }
  [dir="ltr"] .hv-h { grid-column: 1 / -1; } [dir="ltr"] .hv-sub { grid-column: -6 / -1; }
}
@media (max-width: 720px) {
  [dir="ltr"] .hv-sub { grid-column: 1 / -1; }
  .hv { min-height: 100svh; background: var(--bg); }
  .hv-film { inset: 0 0 auto; height: 58vw; top: calc(var(--u) * 8); }
  .hv-film::after { background: linear-gradient(to top, var(--bg) 0%, rgba(25, 25, 25, 0) 30%); }
  .hv-video { object-position: 40% 50%; }
  .hv-in { min-height: 0; padding-block: calc(var(--u) * 10 + 58vw) 0; row-gap: calc(var(--u) * 2); }
  .hv-h { font-size: 12.8vw; }
  .hv-toggle { top: calc(var(--u) * 9.5 + 58vw - var(--u) * 6); bottom: auto; width: calc(var(--u) * 4); height: calc(var(--u) * 4); }
  .hb-who { font-size: 1.125rem; }
  .hb-lede { font-size: 1rem; line-height: 1.5; margin-top: calc(var(--u) * .5); }
  .hb-actions { flex-direction: column; align-items: stretch; gap: var(--u); margin-top: calc(var(--u) * 2); }
  .hb-actions .btn { justify-content: center; height: calc(var(--u) * 6); font-size: 1rem; }
  .hb-note { order: 3; margin: calc(var(--u) * .25) 0 0; font-size: .9375rem; text-align: center; }
  .hb-proof { position: relative; inset: auto; height: auto; border-top: 0; padding: calc(var(--u) * 2) var(--m); flex-direction: column; align-items: stretch; gap: var(--u); }
  .hb-window { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
  .hb-run { gap: calc(var(--u) * 5); padding-inline-end: calc(var(--u) * 5); }
  .hb-chip img { height: calc(var(--ch, 24px) * .82); }
  .hb-proof-k { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-track { animation: none; }
  .hb-window { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* the Tweaks panel: pick the hero (owner only: hidden unless the page was opened with ?tweaks) */
.tw[hidden] { display: none !important; }
.tw { position: fixed; z-index: 60; left: calc(var(--u) * 2); top: calc(var(--u) * 11); padding: calc(var(--u) * 1.5); border-radius: calc(var(--u) * 1.5); background: rgba(16, 16, 16, .92); box-shadow: 0 0 0 1px rgba(245, 243, 239, .14), 0 18px 40px -16px rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--cream); }
.tw-k { margin: 0 calc(var(--u) * .5) var(--u); font-size: .8125rem; color: #a6a6a6; }
/* the handle: drag the panel anywhere (arrow keys move it too); it remembers where it was left */
.tw-grip { display: block; width: 100%; height: calc(var(--u) * 2.5); margin: calc(var(--u) * -.75) 0 calc(var(--u) * .25); border: 0; border-radius: calc(var(--u) * .75); background: none; cursor: grab; touch-action: none; }
.tw-grip::before { content: ""; display: block; width: calc(var(--u) * 4); height: 4px; margin: auto; border-radius: 2px; background: rgba(245, 243, 239, .3); transition: background .2s; }
.tw-grip:hover::before, .tw.is-dragging .tw-grip::before { background: rgba(245, 243, 239, .7); }
.tw-grip:focus-visible { outline: 2px solid var(--cream); outline-offset: 1px; }
.tw.is-dragging { box-shadow: 0 0 0 1px rgba(245, 243, 239, .3), 0 24px 50px -16px rgba(0, 0, 0, .9); }
.tw.is-dragging .tw-grip { cursor: grabbing; }
.tw-opts { display: flex; flex-direction: column; gap: calc(var(--u) * .75); }
.tw-opt { display: inline-flex; align-items: center; gap: var(--u); height: calc(var(--u) * 5); padding-inline: calc(var(--u) * 2); border: 0; border-radius: var(--u); background: rgba(245, 243, 239, .08); color: var(--cream); font: 500 .9375rem/1 var(--font); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.tw-opt b { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.tw-opt:hover { background: rgba(245, 243, 239, .16); }
.tw-opt[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); }
.tw-opt:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
@media (max-width: 720px) {
  .tw { inset-inline: var(--u); top: auto; bottom: var(--u); translate: none; padding: calc(var(--u) * .5); border-radius: var(--u); }
  .tw-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tw { display: flex; align-items: center; gap: calc(var(--u) * .5); }
  .tw-grip { flex: none; width: calc(var(--u) * 3); height: calc(var(--u) * 4.5); margin: 0; }
  .tw-grip::before { width: 4px; height: calc(var(--u) * 2.5); }
  .tw-opts { flex: 1; flex-direction: row; gap: calc(var(--u) * .5); }
  .tw-opt { flex: 1; justify-content: center; gap: calc(var(--u) * .5); height: calc(var(--u) * 4.5); padding-inline: calc(var(--u) * .5); font-size: .75rem; border-radius: calc(var(--u) * .75); }
}

/* ── privacy policy: one readable column */
.legal { padding-block: calc(var(--u) * 18) calc(var(--u) * 12); }
.legal-in { row-gap: calc(var(--u) * 3); }
.legal .h1, .legal-upd, .legal-body { grid-column: 1 / span 7; }
.legal-upd { color: var(--ink-2); font-size: .9375rem; }
.legal-body section + section { margin-top: calc(var(--u) * 5); }
.legal-body h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.legal-body p { margin-top: calc(var(--u) * 1.5); max-width: 62ch; font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.legal-body a { color: var(--ink); box-shadow: inset 0 -1px currentColor; }
.legal-body a:hover { color: var(--acc); }
@media (max-width: 1100px) { .legal .h1, .legal-upd, .legal-body { grid-column: 1 / -1; } }
@media (max-width: 720px) { .legal { padding-block: calc(var(--u) * 13) calc(var(--u) * 8); } .legal-body p { font-size: 1rem; } }

/* Round 136 (owner: "אני לא אוהב את האלמנטים התלת מימדים גם בכל פרויקט, אני רוצה שכל פרויקט יביא את האווירה שלו"):
   the covers drop their 3D icons (orb, calendar, wallet, documents, gold card, ball, comet, key card, tray, baby);
   each rests on its own world: its photography, its screens, its colours and its brand's graphic language */
.fa-orb, .td-wallet, .td-docs, .td-cal, .hp-card, .mc-ball, .mc-comet, .rm-key, .rm-tray, .cl2-baby { display: none !important; }
/* with the icons gone, the screens carry each cover: a little larger and more central */
.td-ph { left: 26% !important; top: 17% !important; width: 48% !important; }
.td-bld { opacity: 1 !important; }
.hp-family { width: 90% !important; }
.mc-ph { left: 18% !important; width: 48% !important; }
.rm-ph { left: 9% !important; width: 46% !important; }
.rm-ph2 { width: 40% !important; }
