/* =========================================================
   Impression — Version 2 (dark, bold). Palette: deep black with violet → electric-blue neon. RTL.
   ========================================================= */
:root {
  --ink: #07070b;
  --ink-2: #111118;
  --ink-3: #1c1c26;
  --teal: #9d6bff;          /* on dark */
  --teal-ink: #07070b;      /* on light: black, lime used as a highlight */
  --light: #f4f4f8;
  --soft: #ececf3;
  --line: #dcdce6;
  --mute: #66667a;
  --mute-d: #a4a4b4;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Rubik", "Google Sans", system-ui, sans-serif;
  --body: "Google Sans", "Rubik", system-ui, sans-serif;
  --g: clamp(16px, 4.4vw, 64px);
  --hd: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #f4f4f8; font-family: var(--body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--teal); color: var(--ink); }
section[id] { scroll-margin-top: calc(var(--hd) - 8px); }

/* ---------- type ---------- */
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 58px); line-height: 1.02; letter-spacing: -.02em; }
.teal { color: var(--teal); }
.teal-ink { color: var(--teal-ink); }
.lbl { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--mute); }
.lbl-n { font-variant-numeric: tabular-nums; color: var(--teal-ink); direction: ltr; display: inline-flex; align-items: center; gap: 10px; }
.lbl-n::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.dark .lbl, .contact .lbl { color: var(--mute-d); }
.dark .lbl-n, .contact .lbl-n { color: var(--teal); }
.body { margin: 18px 0 0; color: var(--mute); line-height: 1.75; max-width: 520px; }
.dark .body, .contact .body { color: #c2c2cf; }

/* ---------- buttons ---------- */
.btn-teal { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--teal); color: var(--ink); font-weight: 700; font-size: 16px; transition: box-shadow .35s var(--ease), background .3s; }
.btn-teal:hover { box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 22%, transparent), 0 14px 40px -12px var(--teal); }
.btn-line { display: inline-flex; align-items: center; gap: 12px; padding: 14px 6px; font-weight: 500; color: #f4f4f8; }
.btn-line span { transition: transform .4s var(--ease); }
.btn-line:hover span { transform: translateX(-8px); }
.lnk { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.lnk:hover { color: var(--teal-ink); }
.mag { transition: transform .4s var(--ease), box-shadow .35s var(--ease), background .3s; }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hd);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 0 var(--g);
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
.hd.is-solid { background: rgba(7,7,11,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.07); --hd: 70px; }
.hd-logo img { height: 22px; width: auto; }
.hd-nav { justify-self: center; display: flex; gap: clamp(18px, 2.6vw, 38px); font-size: 15px; }
.hd-nav a { position: relative; color: #e0e0e9; padding: 6px 0; transition: color .3s; }
.hd-nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hd-nav a:hover, .hd-nav a.is-on { color: #f4f4f8; }
.hd-nav a:hover::after, .hd-nav a.is-on::after { transform: scaleX(1); }
.hd-cta { padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--teal); color: var(--teal); font-weight: 700; font-size: 15px; white-space: nowrap; }
.hd-cta:hover { background: var(--teal); color: var(--ink); }
.hd-burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.hd-burger span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: #fbfbfe; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.hd-burger span:nth-child(1) { top: 14px; } .hd-burger span:nth-child(2) { top: 21px; background: var(--teal); } .hd-burger span:nth-child(3) { top: 28px; }
.hd.is-open .hd-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hd.is-open .hd-burger span:nth-child(2) { opacity: 0; }
.hd.is-open .hd-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 01 hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--hd) + 20px) var(--g) 60px; overflow: hidden; background:
  radial-gradient(60% 70% at 18% 45%, rgba(157,107,255,0.06), transparent 70%), var(--ink); }
.powder { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 2; max-width: min(640px, 52vw); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7.2vw, 118px); line-height: .96; letter-spacing: -.03em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; animation: lnUp 1.1s var(--ease) both; }
.hero-title .ln:nth-child(2) > span { animation-delay: .1s; } .hero-title .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes lnUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-sub { margin: 26px 0 34px; max-width: 470px; font-size: clamp(16px, 1.3vw, 19px); color: #d0d0da; line-height: 1.65; animation: fadeUp .9s var(--ease) .45s both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; animation: fadeUp .9s var(--ease) .6s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-index { position: absolute; z-index: 2; left: var(--g); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 10px; font-size: 12px; color: #a4a4b4; }
.hero-index i { width: 1px; height: 90px; background: linear-gradient(#f4f4f8, transparent); position: relative; overflow: hidden; }
.hero-index i::after { content: ""; position: absolute; left: 0; top: -30px; width: 1px; height: 30px; background: var(--teal); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- light sections ---------- */
.sec { position: relative; padding: clamp(64px, 8vw, 110px) var(--g); }
.sec.light { background: var(--light); color: var(--ink); }
.sec.soft { background: var(--soft); color: var(--ink); }
.sec.dark { background: var(--ink); color: #f4f4f8; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }

/* ---------- 02 works ---------- */
.works {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab;
  margin-inline: calc(var(--g) * -1); padding: 6px var(--g) 18px; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.works::-webkit-scrollbar { display: none; }
.works.is-drag { cursor: grabbing; scroll-snap-type: none; }
.works.is-drag .work { pointer-events: none; }
.work {
  position: relative; flex: none; width: clamp(270px, 28vw, 400px); aspect-ratio: 4 / 3.2; border-radius: 6px; overflow: hidden;
  background: #0d0d14; color: #f4f4f8; text-align: start; padding: 0; border: 0; scroll-snap-align: start;
  transform: translateY(var(--ty, 0)); transition: transform .6s var(--ease);
}
.work:first-child { width: clamp(300px, 32vw, 460px); }
.work img, .work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,4,8,.85)); transition: opacity .4s; }
.work-txt { position: absolute; z-index: 2; inset: auto 22px 20px 22px; display: grid; gap: 2px; }
.work-client { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; letter-spacing: -.01em; }
.work-name { font-size: 14px; color: #e2e2eb; max-width: 70%; line-height: 1.35; }
.work-go { position: absolute; z-index: 2; left: 20px; bottom: 22px; font-size: 12px; color: var(--teal); font-weight: 700; opacity: .85; transition: transform .4s var(--ease), opacity .3s; }
.work-play { position: absolute; z-index: 2; left: 50%; top: 42%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 2px solid var(--teal); background: rgba(7,7,11,.45); backdrop-filter: blur(4px); transition: transform .5s var(--ease), opacity .4s; }
.work-play::before { content: ""; position: absolute; left: 22px; top: 18px; border-left: 16px solid #f4f4f8; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.work:hover img, .work:hover video { transform: scale(1.06); }
.work:hover .work-go { transform: translateX(-6px); opacity: 1; }
.work.is-playing .work-play { opacity: 0; transform: scale(.7); }

/* ---------- 03 services ---------- */
.svc-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc {
  position: relative; display: grid; align-content: start; justify-items: center; text-align: center; gap: 10px; min-height: 196px;
  padding: 26px 16px 46px; border-radius: 6px; border: 1px solid var(--line); background: #fafafd; color: var(--ink);
  transition: background .45s var(--ease), color .45s, transform .45s var(--ease), border-color .45s;
}
.svc svg { width: 36px; height: 36px; fill: none; stroke: var(--teal-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.svc svg path, .svc svg circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc:hover svg path, .svc:hover svg circle, .svc.is-dark svg path, .svc.is-dark svg circle { animation: draw 1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.svc h3 { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.svc p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mute); transition: color .4s; }
.svc .arr { position: absolute; left: 16px; bottom: 14px; font-size: 18px; color: var(--teal-ink); transition: transform .4s var(--ease), color .4s; }
.svc:hover, .svc.is-dark { background: var(--ink); color: #f4f4f8; border-color: var(--ink); transform: translateY(-4px); }
.svc:hover svg, .svc.is-dark svg { stroke: var(--teal); }
.svc:hover p, .svc.is-dark p { color: #c2c2cf; }
.svc:hover .arr, .svc.is-dark .arr { color: var(--teal); transform: translate(-4px, 4px); }

/* ---------- 04 about ---------- */
.about-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.acc { display: grid; gap: 10px; }
.acc-row { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: var(--ink-2); transition: border-color .4s, background .4s; }
.acc-row:hover { border-color: rgba(157,107,255,0.27); }
.acc-row.is-open { border-color: var(--teal); background: var(--ink-3); }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 0; background: none; text-align: start; font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); color: #f4f4f8; }
.acc-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(157,107,255,0.06); transition: background .4s; }
.acc-ic svg { width: 21px; height: 21px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.acc-ic path { stroke-dasharray: 1; }
.acc-row:hover .acc-ic path, .acc-row.is-open .acc-ic path { animation: draw 1s var(--ease) both; }
.acc-row.is-open .acc-ic { background: var(--teal); } .acc-row.is-open .acc-ic svg { stroke: var(--ink); }
.acc-t { flex: 1; }
.acc-arr { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: transform .5s var(--ease), border-color .3s, background .3s; }
.acc-arr svg { width: 15px; height: 15px; fill: none; stroke: #f4f4f8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc-row.is-open .acc-arr { transform: rotate(-90deg); border-color: var(--teal); background: var(--teal); }
.acc-row.is-open .acc-arr svg { stroke: var(--ink); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-row.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 20px 22px 20px; padding-inline-start: 76px; color: #c2c2cf; font-size: 15px; line-height: 1.8; }

/* ---------- 05 advantages ---------- */
.adv-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { position: relative; padding: 8px clamp(10px, 1.6vw, 24px); border: 0; background: none; text-align: center; color: var(--ink); }
.stat + .stat::before { content: ""; position: absolute; right: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.2vw, 50px); line-height: 1; letter-spacing: -.02em; transition: color .35s, transform .5s var(--ease); }
.stat span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--mute); line-height: 1.4; }
.stat::after { content: ""; position: absolute; inset: auto 30% -10px 30%; height: 3px; border-radius: 3px; background: var(--teal-ink); transform: scaleX(0); transition: transform .5s var(--ease); }
.stat:hover b { transform: translateY(-3px); color: var(--teal-ink); }
.stat.is-on b { color: var(--teal-ink); } .stat.is-on::after { transform: scaleX(1); }
.adv-detail { max-width: 920px; margin: 40px auto 0; padding: 26px 30px; border-radius: 8px; background: #fbfbfe; border: 1px solid var(--line); color: var(--mute); line-height: 1.8;
  transition: opacity .35s var(--ease), transform .45s var(--ease); }
.adv-detail.is-swap { opacity: 0; transform: translateY(8px); }
.adv-detail strong { display: block; color: var(--ink); font-family: var(--display); font-size: 20px; margin-bottom: 6px; }

/* ---------- 06 clients ---------- */
.clients { padding-block: 34px 44px; border-top: 1px solid var(--line); }
.logos { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-set { display: flex; align-items: center; gap: clamp(36px, 5vw, 80px); padding-inline-end: clamp(36px, 5vw, 80px); }
.logos img { height: 46px; width: auto; filter: grayscale(1) contrast(1.15); opacity: .7; mix-blend-mode: multiply; transition: filter .35s, opacity .35s, transform .4s var(--ease); }
.logos img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 07 contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; background: var(--ink); }
.ct-form-side { padding: clamp(56px, 7vw, 100px) var(--g); align-self: center; }
.ct-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.ct-form label { display: grid; gap: 6px; }
.ct-form label span { font-size: 12.5px; color: var(--mute-d); }
.ct-form input { font: inherit; font-size: 16px; color: #f4f4f8; background: var(--ink-2); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 13px 14px; transition: border-color .3s, background .3s; }
.ct-form input:focus { outline: none; border-color: var(--teal); background: var(--ink-3); }
.ct-form .btn-teal { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.form-note { grid-column: 1 / -1; margin: 0; min-height: 1.6em; color: var(--teal); font-size: 14px; }
.ct-visual { position: relative; overflow: hidden; background: #000; }
.ct-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.7); transform: scale(1.04); }
.ct-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,11,.0), rgba(7,7,11,.75)), radial-gradient(60% 60% at 30% 50%, rgba(157,107,255,0.11), transparent 70%); }
.ct-logo { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(70%, 380px); transform: translate(-50%, -50%); opacity: .95; }

/* ---------- footer ---------- */
.ft { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px var(--g) 32px; border-top: 1px solid rgba(255,255,255,.08); color: var(--mute-d); font-size: 13.5px; }
.ft-logo { height: 15px; width: auto; }
.ft a:hover { color: var(--teal); }

/* ---------- 1:1 viewer ---------- */
.sq { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.sq-scrim { position: absolute; inset: 0; background: rgba(4,4,8,.9); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s var(--ease); }
.sq-box { position: absolute; left: 50%; top: 50%; margin: 0; width: min(80vh, 88vw); transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.sq-frame { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(157,107,255,0.24), 0 50px 100px -40px rgba(0,0,0,.8); }
.sq-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) brightness(.5); }
.sq-media { position: absolute; inset: 0; display: grid; place-items: center; }
.sq-media img, .sq-media video { width: 100%; height: 100%; object-fit: contain; }
.sq-cap { display: flex; gap: 10px; justify-content: center; align-items: baseline; margin-top: 14px; color: var(--mute-d); font-size: 15px; }
.sq-cap b { color: #f4f4f8; font-family: var(--display); font-size: 18px; }
.sq-close { position: absolute; top: -54px; inset-inline-end: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #f4f4f8; }
.sq-close:hover { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.sq.is-open { pointer-events: auto; }
.sq.is-open .sq-scrim { opacity: 1; }
.sq.is-open .sq-box { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- service drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(4,4,8,.6); opacity: 0; transition: opacity .4s var(--ease); }
.drawer-panel { position: absolute; inset-block: 0; left: 0; width: min(520px, 100%); background: var(--ink); color: #f4f4f8; padding: clamp(28px, 4vw, 52px); overflow-y: auto;
  transform: translateX(-100%); transition: transform .65s var(--ease); border-right: 1px solid rgba(157,107,255,0.18); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close { position: absolute; top: 22px; left: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: none; color: #f4f4f8; }
.drawer-close:hover { background: var(--teal); color: var(--ink); }
.drawer-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(157,107,255,0.07); margin: 34px 0 22px; }
.drawer-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.drawer-ic path, .drawer-ic circle { stroke-dasharray: 1; animation: draw 1.1s var(--ease) both; }
.drawer-panel h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.drawer-hook { margin: 0 0 18px; color: var(--teal); font-size: 18px; line-height: 1.5; }
.drawer-text { margin: 0; color: #cdcdd8; line-height: 1.85; }
.drawer-nav { display: flex; gap: 8px; margin-top: 30px; }
.drawer-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: none; color: #f4f4f8; font-size: 17px; }
.drawer-nav button:hover { background: var(--teal); color: var(--ink); border-color: var(--teal); }

/* ---------- cursor ---------- */
.cur { position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1.5px solid var(--teal);
  transform: translate(var(--x, -100px), var(--y, -100px)) scale(var(--s, 1)); transition: transform .16s var(--ease), background .3s, width .3s, height .3s, margin .3s; display: grid; place-items: center; mix-blend-mode: difference; }
.cur span { font-size: 0; color: var(--ink); font-weight: 700; white-space: nowrap; }
.cur.is-link { --s: 2.6; background: var(--teal); mix-blend-mode: normal; opacity: .35; }
.cur.is-drag { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--teal); mix-blend-mode: normal; opacity: .95; --s: 1; }
.cur.is-drag span { font-size: 13px; }
@media (hover: none) { .cur { display: none; } }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .svc-wrap, .about-wrap { grid-template-columns: 1fr; }
  .adv-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --hd: 66px; }
  .hd { grid-template-columns: 44px 1fr 44px; }
  .hd-logo { grid-column: 2; justify-self: center; } .hd-logo img { height: 18px; }
  .hd-burger { display: block; grid-column: 1; grid-row: 1; }
  .hd-cta { display: none; }
  .hd-nav { position: fixed; inset: var(--hd) 0 0 0; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 4px; padding: 30px var(--g);
    background: rgba(7,7,11,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .hd.is-open .hd-nav { opacity: 1; pointer-events: auto; }
  .hd-nav a { font-family: var(--display); font-weight: 700; font-size: 26px; color: #f4f4f8; }
  .hd.is-open { background: rgba(7,7,11,.96); }
  .hero { align-items: end; padding-bottom: 54px; }
  .hero-copy { max-width: none; }
  .hero-index { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--g) * -1); padding-inline: var(--g); }
  .stats::-webkit-scrollbar { display: none; }
  .contact { grid-template-columns: 1fr; }
  .ct-visual { min-height: 260px; order: -1; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-form .btn-teal { justify-self: center; }
  .acc-panel p { padding-inline-start: 20px; }
  .work { width: 78vw; } .work:first-child { width: 82vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
}

/* v2.2 — font as Version 1 (Google Sans everywhere) */
:root { --display: "Google Sans", system-ui, sans-serif; --body: "Google Sans", system-ui, sans-serif; }
.hero-title, .h2, .work-client, .stat b, .drawer-panel h3 { font-weight: 700; }

/* v2.2 — hero film: mirrored so the face looks toward the headline (RTL) */
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(270deg, rgba(7,7,11,.94) 0%, rgba(7,7,11,.8) 28%, rgba(7,7,11,.25) 56%, rgba(7,7,11,0) 72%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7,7,11,0) 22%),
    linear-gradient(180deg, rgba(7,7,11,.6) 0%, rgba(7,7,11,0) 18%); }
.hero { background: var(--ink); }
.powder { opacity: .55; mix-blend-mode: screen; }
@media (max-width: 900px) {
  .hero-vid { object-position: 62% 30%; }
  .hero-shade { background:
    linear-gradient(0deg, var(--ink) 0%, rgba(7,7,11,.88) 38%, rgba(7,7,11,.2) 62%, rgba(7,7,11,0) 78%),
    linear-gradient(180deg, rgba(7,7,11,.6) 0%, rgba(7,7,11,0) 20%); }
}
.hero-title { font-size: clamp(42px, 6vw, 100px); } .hero-title .ln { white-space: nowrap; } @media (max-width: 900px) { .hero-title { font-size: clamp(38px, 11vw, 64px); } }
@media (max-width: 900px) {
  .hero-vid { inset: 0 0 auto 0; height: 60%; object-position: 58% 40%; }
  .hero-shade { background:
    linear-gradient(0deg, var(--ink) 0%, var(--ink) 40%, rgba(7,7,11,.35) 55%, rgba(7,7,11,0) 70%),
    linear-gradient(180deg, rgba(7,7,11,.55) 0%, rgba(7,7,11,0) 18%); }
}

/* v2.5 — works row drifts; two copies in a track */
.works { scroll-snap-type: none; }
.works-track, .works-set { display: flex; gap: 14px; }
.works-track { width: max-content; }
.works-set { padding-inline-end: 14px; }
.work:first-child { width: clamp(270px, 28vw, 400px); }

/* contact visual without video: the logo's E bars, glowing */
.ct-visual { display: grid; place-items: center; background:
  radial-gradient(55% 55% at 50% 50%, rgba(157,107,255,0.1), transparent 70%), var(--ink-2); }
.ct-visual::after { display: none; }
.ct-logo { position: relative; left: auto; top: auto; transform: none; width: min(62%, 360px); margin-top: 26px; }
.ct-bars { display: grid; gap: 14px; width: min(34%, 170px); }
.ct-bars i { display: block; height: 14px; border-radius: 14px; background: #fbfbfe; transform-origin: right; animation: barIn 1.2s var(--ease) both; }
.ct-bars i:nth-child(2) { background: var(--teal); box-shadow: 0 0 30px rgba(157,107,255,0.36); animation-delay: .15s; }
.ct-bars i:nth-child(3) { animation-delay: .3s; }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ct-visual { flex-direction: column; }

/* =========================================================
   v2.6 — services bento · advantage panels · sticky clients · fixed arrow
   ========================================================= */
/* ---- services: dark bento on the soft section, cursor spotlight ---- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 12px; }
.bento .svc {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  text-align: start; gap: 8px; min-height: 0; padding: 24px; border-radius: 14px; border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(160deg, #15151d, #07070b); color: #f4f4f8; transform: none;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.bento .svc.is-big { grid-column: span 2; grid-row: span 2; padding: 34px; }
.svc-glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(157,107,255,0.13), transparent 60%); }
.bento .svc:hover .svc-glow { opacity: 1; }
.bento .svc:hover, .bento .svc.is-on { border-color: rgba(157,107,255,0.3); transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(157,107,255,0.33); }
.svc-ic { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(157,107,255,0.06); border: 1px solid rgba(157,107,255,0.15); transition: background .4s; }
.bento .svc.is-big .svc-ic { top: 32px; right: 32px; width: 64px; height: 64px; }
.bento .svc svg { width: 26px; height: 26px; stroke: var(--teal); }
.bento .svc.is-big .svc-ic svg { width: 32px; height: 32px; }
.bento .svc:hover .svc-ic { background: var(--teal); } .bento .svc:hover .svc-ic svg { stroke: var(--ink); }
.bento .svc h3 { margin: 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.2; }
.bento .svc.is-big h3 { font-size: clamp(28px, 2.8vw, 42px); }
.bento .svc p { margin: 0; font-size: 14px; line-height: 1.55; color: #b3b3c2; max-width: 46ch; }
.bento .svc.is-big p { font-size: 17px; color: #d2d2dc; }
.svc-more { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--teal); display: inline-flex; gap: 6px; opacity: .8; transition: opacity .3s, gap .4s var(--ease); }
.bento .svc:hover .svc-more { opacity: 1; gap: 12px; }
.svc-mark { position: absolute; z-index: -1; left: -18px; bottom: -22px; opacity: .06; transition: opacity .5s, transform .8s var(--ease); }
.svc-mark svg { width: 150px !important; height: 150px !important; stroke-width: .9 !important; }
.bento .svc.is-big .svc-mark svg { width: 260px !important; height: 260px !important; }
.bento .svc:hover .svc-mark { opacity: .14; transform: rotate(-8deg) scale(1.05); }
.bento .svc-cta { grid-column: span 2; background: var(--teal); color: var(--ink); border-color: var(--teal); }
.bento .svc-cta p { color: #07070b; } .bento .svc-cta .svc-more { color: var(--ink); }
.bento .svc-cta h3 { font-size: clamp(24px, 2.2vw, 32px); }
.bento .svc-cta:hover { box-shadow: 0 26px 50px -24px rgba(157,107,255,0.48); }
.bento .svc .arr { display: none; }

/* ---- advantages: expanding panels ---- */
.panels { display: flex; gap: 10px; height: clamp(320px, 42vh, 420px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 26px; border-radius: 14px; border: 1px solid var(--line); background: #fbfbfe; color: var(--ink); text-align: start;
  transition: flex-grow .7s var(--ease), background .5s, color .5s, border-color .5s;
}
.panel.is-on { flex-grow: 4.2; background: var(--ink); color: #f4f4f8; border-color: var(--ink);
  background-image: radial-gradient(70% 90% at 0% 100%, rgba(157,107,255,0.13), transparent 60%); }
.panel-word { font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1; white-space: nowrap; transition: font-size .6s var(--ease), color .4s; }
.panel:not(.is-on) .panel-word { writing-mode: vertical-rl; transform: rotate(180deg); position: absolute; bottom: 26px; right: 22px; color: var(--ink); }
.panel:not(.is-on):hover .panel-word { color: var(--teal-ink); }
.panel.is-on .panel-word { font-size: clamp(40px, 4.4vw, 68px); color: var(--teal); }
.panel-body { display: grid; gap: 10px; max-width: 560px; margin-top: 14px; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .6s var(--ease); pointer-events: none; }
.panel.is-on .panel-body { opacity: 1; transform: none; transition-delay: .25s; }
.panel-tag { font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); color: #f4f4f8; }
.panel-text { font-size: 15px; line-height: 1.75; color: #c2c2cf; }
.panel::before { content: ""; position: absolute; top: 22px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background .4s, box-shadow .4s; }
.panel.is-on::before { background: var(--teal); box-shadow: 0 0 0 6px rgba(157,107,255,0.11); }
.adv-detail, .stats, .adv-wrap { display: none; }

/* ---- sticky clients ticker ---- */
:root { --tick: 62px; }
body { padding-bottom: var(--tick); }
.ticker { position: fixed; inset: auto 0 0 0; z-index: 45; height: var(--tick); overflow: hidden; direction: ltr; display: flex; align-items: center;
  background: rgba(244,244,248,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker .logos-track { animation: marquee 45s linear infinite; }
.ticker:hover .logos-track { animation-play-state: paused; }
.ticker .logos-set { gap: clamp(32px, 4vw, 64px); padding-inline-end: clamp(32px, 4vw, 64px); }
.ticker img { height: 34px; width: auto; filter: grayscale(1) contrast(1.15); opacity: .65; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.ticker img:hover { filter: none; opacity: 1; }

/* ---- fixed bouncing arrow ---- */
.down { position: fixed; z-index: 44; left: 50%; bottom: calc(var(--tick) + 14px); width: 46px; height: 46px; margin-left: -23px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(7,7,11,.7); border: 1.5px solid var(--teal); backdrop-filter: blur(6px);
  animation: bob 1.8s ease-in-out infinite; transition: opacity .4s var(--ease), background .3s; }
.down svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.down:hover { background: var(--teal); } .down:hover svg { stroke: var(--ink); }
.down.is-gone { opacity: 0; pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hero-index { display: none; }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .svc.is-big, .bento .svc-cta { grid-column: span 2; }
  .bento .svc.is-big { grid-row: span 1; min-height: 300px; }
}
@media (max-width: 900px) {
  :root { --tick: 54px; }
  .ticker img { height: 28px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .svc, .bento .svc.is-big, .bento .svc-cta { grid-column: auto; min-height: 190px; padding-top: 90px; }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; padding: 20px; min-height: 64px; justify-content: flex-start; }
  .panel:not(.is-on) .panel-word { writing-mode: horizontal-tb; transform: none; position: static; }
  .panel-body { display: none; }
  .panel.is-on .panel-body { display: grid; }
  .panel.is-on .panel-word { font-size: 36px; }
  .panel::before { top: 26px; left: 22px; right: auto; }
  .down { width: 42px; height: 42px; margin-left: -21px; }
}
@media (prefers-reduced-motion: reduce) { .ticker .logos-track, .down { animation: none; } }
/* small bento tiles: keep text clear of the icon */
.bento { grid-auto-rows: minmax(250px, auto); }
.bento .svc:not(.is-big):not(.svc-cta) { padding-top: 92px; justify-content: flex-start; }
.bento .svc-cta { justify-content: flex-end; }

/* =========================================================
   v2.8 — gallery exactly as Version 1
   ========================================================= */
.works { padding-block: 34px 40px; }
.works-set, .works-track { gap: clamp(16px, 2vw, 28px); align-items: center; }
.works-set { padding-inline-end: clamp(16px, 2vw, 28px); }
.work, .work:first-child {
  --fh: clamp(170px, 33vh, 330px); position: relative; flex: none; height: var(--fh); width: auto; aspect-ratio: 4 / 3;
  padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; z-index: 1; transform: none;
  transition: transform .5s var(--ease);
}
.work::after { display: none; }
.work .vf-media { display: block; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #0d0d14;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 60px -36px rgba(7,7,11,.6), 0 14px 24px -20px rgba(7,7,11,.35);
  transition: box-shadow .5s var(--ease); }
.work .vf-media img, .work .vf-media video { position: static; width: 100%; height: 100%; object-fit: cover; display: block; transform: none; }
.work:hover img, .work:hover video { transform: none; }
.work.is-live { transform: scale(1.14); z-index: 5; }
.work.is-live .vf-media { box-shadow: 0 0 0 2px var(--teal-ink), 0 40px 70px -34px rgba(7,7,11,.7); }
@media (max-width: 900px) {
  .work, .work:first-child { --fh: clamp(220px, 37vh, 330px); aspect-ratio: 4 / 5; width: auto;
    transform: scale(calc(1 + var(--k, 0) * .1)); transition: none; z-index: calc(1 + var(--k, 0) * 4); }
  .work.is-live { transform: scale(calc(1 + var(--k, 0) * .1)); }
  .work .vf-media { border-radius: 14px; transition: box-shadow 1.2s ease; }
}

/* =========================================================
   v2.9 — logo intro · full-screen mobile menu · mobile interactivity
   ========================================================= */
/* ---- intro: the logo draws itself, then flies into the header ---- */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink); }
.intro-logo { width: min(560px, 72vw); height: auto; overflow: visible; transform-origin: center; }
.intro .ip { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ipdraw .7s cubic-bezier(.6, 0, .2, 1) forwards; animation-delay: calc(var(--i) * 60ms + 120ms); }
.intro .ie { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ipdraw .5s cubic-bezier(.6, 0, .2, 1) 1.05s forwards; }
@keyframes ipdraw { to { stroke-dashoffset: 0; } }
.intro.is-fly { background: transparent; transition: background .7s ease; pointer-events: none; }
.intro.is-fly .intro-logo { transition: transform .85s cubic-bezier(.65, 0, .25, 1); }
html.intro-on { overflow: hidden; }
html.intro-on .hd-logo img { opacity: 0; }
html.intro-on .hero-title .ln > span, html.intro-on .hero-sub, html.intro-on .hero-ctas { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---- scroll progress line ---- */
.prog { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 60; background: var(--teal); transform-origin: right; transform: scaleX(var(--p, 0)); pointer-events: none; }

.nav-cta { display: none; }

@media (max-width: 900px) {
  /* header stays a plain bar so the menu can cover the whole screen */
  .hd.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,7,11,.97); }
  .hd.is-open { background: var(--ink); box-shadow: none; }
  .hd-nav {
    position: fixed; inset: 0; z-index: -1; width: 100%; justify-self: stretch; align-self: stretch; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 0;
    padding: calc(var(--hd) + 10px) var(--g) calc(40px + env(safe-area-inset-bottom));
    background: var(--ink); background-image: radial-gradient(90% 60% at 100% 100%, rgba(157,107,255,0.1), transparent 60%);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: hidden; pointer-events: none; counter-reset: nv;
    clip-path: circle(0 at calc(100% - var(--g) - 22px) calc(var(--hd) / 2));
    transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .75s;
  }
  .hd.is-open .hd-nav { visibility: visible; pointer-events: auto; clip-path: circle(150% at calc(100% - var(--g) - 22px) calc(var(--hd) / 2)); transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
  .hd-nav a:not(.nav-cta) {
    counter-increment: nv; display: flex; align-items: baseline; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08); font-size: clamp(30px, 9vw, 42px); font-weight: 700; color: #f4f4f8;
    opacity: 0; transform: translateY(26px); transition: opacity .35s ease, transform .5s var(--ease), color .3s;
  }
  .hd-nav a:not(.nav-cta)::before { content: "0" counter(nv); font-size: 13px; font-weight: 400; color: var(--teal); letter-spacing: .05em; min-width: 22px; }
  .hd-nav a:not(.nav-cta)::after { inset: auto 0 -1px 0; }
  .hd-nav a.is-on { color: var(--teal); }
  .hd-nav a:active { color: var(--teal); transform: translateX(-6px); }
  .hd.is-open .hd-nav a { opacity: 1; transform: none; }
  .hd.is-open .hd-nav a:nth-child(1) { transition-delay: .18s; } .hd.is-open .hd-nav a:nth-child(2) { transition-delay: .24s; }
  .hd.is-open .hd-nav a:nth-child(3) { transition-delay: .30s; } .hd.is-open .hd-nav a:nth-child(4) { transition-delay: .36s; }
  .hd.is-open .hd-nav a:nth-child(5) { transition-delay: .42s; } .hd.is-open .hd-nav a:nth-child(6) { transition-delay: .5s; }
  .hd-nav .nav-cta { display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; white-space: nowrap; margin-top: 34px; padding: 14px 28px; border-radius: 999px; background: var(--teal); color: var(--ink) !important; font-weight: 700; font-size: 17px;
    opacity: 0; transform: translateY(26px); transition: opacity .35s ease, transform .5s var(--ease); }
  .hd-nav .nav-cta::after { display: none; }
  body.menu-open .ticker, body.menu-open .down, body.menu-open .prog { opacity: 0; pointer-events: none; }
  .ticker, .prog { transition: opacity .3s; }

  /* ---- services: swipeable cards with a dot indicator ---- */
  .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(var(--g) * -1); padding: 6px var(--g) 18px; scroll-padding-inline: var(--g); }
  .bento::-webkit-scrollbar { display: none; }
  .bento .svc, .bento .svc.is-big, .bento .svc-cta { flex: 0 0 82%; min-height: 330px; scroll-snap-align: start; padding: 96px 24px 24px; justify-content: flex-end;
    transform: scale(.94); opacity: .6; transition: transform .5s var(--ease), opacity .5s, border-color .4s, box-shadow .5s; }
  .bento .svc:not(.is-big):not(.svc-cta) { padding-top: 96px; justify-content: flex-end; }
  .bento .svc.is-big h3 { font-size: 30px; }
  .bento .svc.is-cur { transform: none; opacity: 1; border-color: rgba(157,107,255,0.3); box-shadow: 0 26px 50px -30px rgba(157,107,255,0.33); }
  .bento .svc.is-cur .svc-glow { opacity: 1; }
  .bento .svc.is-cur .svc-ic { background: var(--teal); } .bento .svc.is-cur .svc-ic svg { stroke: var(--ink); }
  .bento .svc.is-cur .svc-mark { opacity: .14; transform: rotate(-8deg) scale(1.05); }
  .bento .svc.is-cur svg path, .bento .svc.is-cur svg circle { animation: draw 1s var(--ease) both; }
  .bento .svc-cta.is-cur { border-color: var(--teal); }
  .svc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .svc-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(7,7,11,.18); transition: width .4s var(--ease), background .4s; }
  .svc-dots i.is-on { width: 24px; background: var(--teal-ink); }

  /* ---- touch feedback ---- */
  .btn-teal:active, .btn-line:active, .nav-cta:active, .lnk:active, .acc-row button:active { transform: scale(.96); }
  .panel:active, .bento .svc:active { transform: scale(.97); }
  .panel { transition: flex-grow .7s var(--ease), background .5s, color .5s, border-color .5s, transform .25s; }
}
.svc-dots { display: none; }
@media (max-width: 900px) { .svc-dots { display: flex; } }

/* v2.10 — "let's talk" lives only in the menu: the last service tile closes the bento row */
@media (min-width: 1101px) { .bento .svc:nth-last-child(-n+2):not(.is-big) { grid-column: span 2; } }
.hero-sub { margin-bottom: 0; }

/* v2.11 — advantages: all closed until clicked (desktop) / scrolled past (phones) */
.panel:not(.is-on):hover { border-color: var(--teal-ink); }
@media (max-width: 900px) {
  .panel-body, .panel.is-on .panel-body { display: grid; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0;
    transition: max-height .7s var(--ease), margin-top .7s var(--ease), opacity .4s ease; }
  .panel.is-on .panel-body { max-height: 420px; margin-top: 14px; opacity: 1; }
  .panel-word { transition: font-size .6s var(--ease), color .4s; }
}

/* =========================================================
   v2.12 — UX/UI polish pass
   ========================================================= */
/* keyboard focus is always visible */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.ct-form input:focus-visible { outline: none; }
.skip { position: fixed; top: 10px; right: 10px; z-index: 400; padding: 10px 18px; border-radius: 999px; background: var(--teal); color: var(--ink); font-weight: 700; transform: translateY(-150%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
/* anchors land below the fixed header */
section[id] { scroll-margin-top: calc(var(--hd) - 1px); }

/* advantages: a plus that turns into a close mark tells you it opens */
.panel::before { width: 26px; height: 26px; border-radius: 50%; background: transparent;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  border: 1.5px solid var(--line); color: var(--ink); transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s; }
.panel:not(.is-on):hover::before { background-color: var(--teal); border-color: var(--teal); color: var(--ink); transform: rotate(90deg); }
.panel.is-on::before { transform: rotate(45deg); background-color: transparent; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); border-color: var(--teal); color: var(--teal); box-shadow: none; }
.panel:not(.is-on) { cursor: pointer; }
.panel:not(.is-on):hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(7,7,11,.45); }
.panel { transition: flex-grow .7s var(--ease), background .5s, color .5s, border-color .5s, transform .4s var(--ease), box-shadow .4s; }

/* contact form: optional mark, error states */
.ct-form label em { font-style: normal; opacity: .6; }
.ct-form input[aria-invalid="true"] { border-color: #ff7a7a; background: rgba(255,122,122,.06); }
.form-note.is-err { color: #ff9a9a; }
.ct-form button { justify-self: start; }

/* bigger close targets */
.sq-close, .drawer-close { width: 46px; height: 46px; }

/* fixed arrow steps aside while you scroll, comes back when you stop */
.down.is-quiet { opacity: .25; }

@media (max-width: 900px) {
  /* the big logo block above the form repeats the header — drop it on phones */
  .ct-visual { display: none; }
  .panel::before { top: 19px; left: 18px; }
  .ct-form button { justify-self: stretch; justify-content: center; }
}

/* v2.13 — advantages (desktop): closed topics stand vertical, centered and larger */
@media (min-width: 901px) {
  .panel:not(.is-on) .panel-word { top: 50%; right: 50%; bottom: auto; transform: translate(50%, -50%) rotate(180deg);
    font-size: clamp(34px, 3.4vw, 54px); }
  .panel:not(.is-on):hover .panel-word { color: var(--teal-ink); }
}

/* v2.14 — services: every tile the same size (7 tiles: 4 + 3, last row centred) */
@media (min-width: 901px) {
  .bento { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .bento .svc, .bento .svc.is-big, .bento .svc:nth-last-child(-n+2):not(.is-big) {
    flex: 0 0 calc((100% - 36px) / 4); min-height: 300px; grid-column: auto; grid-row: auto; padding: 92px 24px 24px; justify-content: flex-start; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .bento .svc, .bento .svc.is-big, .bento .svc:nth-last-child(-n+2):not(.is-big) { flex-basis: calc((100% - 24px) / 3); }
}
.bento .svc.is-big .svc-ic { top: 22px; right: 22px; width: 50px; height: 50px; }
.bento .svc.is-big .svc-ic svg { width: 26px; height: 26px; }
.bento .svc.is-big h3 { font-size: clamp(18px, 1.5vw, 22px); }
.bento .svc.is-big p { font-size: 14px; color: #b3b3c2; }
.bento .svc.is-big .svc-mark svg { width: 150px !important; height: 150px !important; }
@media (max-width: 900px) { .bento .svc.is-big { padding: 96px 24px 24px; } .bento .svc.is-big h3 { font-size: 22px; } }

/* v2.15 — contact: one wide row on desktop, no logo/bars visual */
.contact { grid-template-columns: 1fr; min-height: 0;
  background: var(--ink) radial-gradient(60% 120% at 0% 100%, rgba(157,107,255,0.07), transparent 60%); }
.ct-form-side { width: 100%; }
@media (min-width: 901px) {
  .ct-form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 14px; margin-top: 38px; }
  .ct-form .btn-teal { grid-column: auto; margin-top: 0; height: 50px; padding-inline: 30px; align-self: end; }
  .ct-form input { height: 50px; }
}

/* v2.16 — menu numbers match the section labels (02–06) */
@media (max-width: 900px) { .hd-nav { counter-reset: nv 1; } }

/* v2.17 — services map (from V1) on the light services section */
.flow { margin: 0 auto 6px; max-width: 1200px; }
.flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.fl-edge { fill: none; stroke: var(--line); stroke-width: 4; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s var(--ease), stroke .6s; }
.flow.is-drawn .fl-edge { stroke: color-mix(in srgb, var(--teal-ink) 45%, var(--line)); stroke-dashoffset: 0; }
.fl-route { fill: none; stroke: none; }
.fl-dots circle { fill: var(--teal); filter: drop-shadow(0 0 6px rgba(157,107,255,0.48)); }
.flow svg text { direction: ltr; unicode-bidi: plaintext; font-family: inherit; text-anchor: middle; }
.fl-stage { font-size: 14px; letter-spacing: .14em; fill: var(--mute); }
.fl-endpt circle { fill: var(--ink); } .fl-endpt.is-end circle { fill: var(--teal); }
.fl-endpt text { font-size: 16px; font-weight: 700; fill: var(--ink); }
.fl-node { cursor: pointer; outline: none; }
.fl-node .halo { fill: var(--teal); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease); }
.fl-node .core { fill: #f4f4f8; stroke: var(--ink); stroke-width: 2.5; transition: fill .3s, stroke .3s; }
.fl-node .num { font-size: 16px; font-weight: 700; fill: var(--ink); transition: fill .3s; }
.fl-node .lbl { font-size: 17px; font-weight: 700; fill: var(--ink); transition: fill .3s; }
.fl-node:hover .core, .fl-node:focus-visible .core { stroke: var(--teal-ink); }
.fl-node.is-on .halo { opacity: .2; transform: scale(1); }
.fl-node.is-on .core { fill: var(--ink); stroke: var(--teal); }
.fl-node.is-on .num { fill: var(--teal); }
.fl-node.is-on .lbl { fill: var(--teal-ink); }
.flow svg.is-c .fl-edge { stroke-width: 3; }
.flow svg.is-c .fl-node .num { font-size: 12px; } .flow svg.is-c .fl-node .lbl { font-size: 13px; }
.flow svg.is-c .fl-endpt text { font-size: 13px; } .flow svg.is-c .fl-dots circle { r: 4px; }
.flow-hint { margin: 0 0 26px; text-align: center; font-size: 13px; color: var(--mute); }
@media (max-width: 900px) { .flow-hint { display: none; } }
.bento .svc.is-map { border-color: rgba(157,107,255,0.42); transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(157,107,255,0.36); }
.bento .svc.is-map .svc-glow { opacity: 1; } .bento .svc.is-map .svc-ic { background: var(--teal); } .bento .svc.is-map .svc-ic svg { stroke: var(--ink); }

/* v2.18 — ticker: sets never shrink, so the two copies can't overlap */
.ticker .logos-track { display: flex; width: max-content; }
.ticker .logos-set { flex: none; display: flex; align-items: center; }
.ticker img { flex: none; aspect-ratio: 2 / 1; object-fit: contain; }

/* v2.19 — hero: the video alone, no copy on top */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero.hero-v { padding: 0; min-height: 100svh; background: #161819; }
.hero-v .hero-vid, .hero-v .hero-vid { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: none; }
@media (max-width: 900px) {
  /* phones: show the whole frame — its dark edges melt into the background */
  .hero.hero-v { min-height: calc(100svh - var(--tick)); }
  .hero-v .hero-vid { inset: 0; height: 100%; object-fit: contain; object-position: 50% 50%; }
}
@media (max-width: 900px) {
  .hero.hero-v { display: grid; place-items: center; background: #18191b; }
  .hero-v .hero-vid { position: absolute; inset: auto; left: 50%; top: 50%; width: 118%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transform: translate(-50%, -50%);
    -webkit-mask-image: radial-gradient(70% 62% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(70% 62% at 50% 50%, #000 60%, transparent 100%); }
}

/* v2.20 — hero ring video: on phones the ring fills the width, the frame edges fade into the page */
@media (max-width: 900px) {
  .hero.hero-v { background: #1a1c1f; }
  .hero-v .hero-vid { width: min(235vw, calc((100svh - var(--tick)) * 16 / 9)); max-width: none;
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 88%, transparent); }
}
/* v2.21 — logo video: the wordmark spans ~65% of the frame, so ~140vw fills a phone */
@media (max-width: 900px) { .hero-v .hero-vid { width: min(140vw, calc((100svh - var(--tick)) * 16 / 9)); } }
/* v2.22 — hero_new_logo_v2: the closing logo spans 15–95% of the frame, so phones show 13–97%, centred on 55% */
@media (max-width: 900px) { .hero-v .hero-vid { width: min(119vw, calc((100svh - var(--tick)) * 16 / 9)); transform: translate(-55%, -50%); } }
/* v2.23 — phones play the portrait cut full-screen */
@media (max-width: 900px) {
  .hero-v .hero-vid { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 50%; transform: none;
    -webkit-mask-image: none; mask-image: none; }
}
/* v2.24 — desktop: the film a bit smaller, centred, edges fading into black */
@media (min-width: 901px) {
  .hero.hero-v { background: #000; }
  .hero-v .hero-vid { inset: auto; left: 50%; top: calc(50% + var(--hd) / 2 - var(--tick) / 2); width: min(80%, calc((100svh - var(--hd) - var(--tick)) * 16 / 9 * .9)); height: auto; aspect-ratio: 16 / 9;
    object-fit: cover; transform: translate(-50%, -50%);
    -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 80% at 50% 50%, #000 62%, transparent 100%); }
}
/* v2.25 — phones: same wide film, ring ~centre fills the width, edges fade into black */
@media (max-width: 900px) {
  .hero.hero-v { background: #000; }
  .hero-v .hero-vid { inset: auto; left: 50%; top: 50%; width: min(150vw, calc((100svh - var(--tick)) * 16 / 9)); height: auto; aspect-ratio: 16 / 9; object-fit: cover; transform: translate(-50%, -50%);
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
}

/* v2.26 — light violet for accent words on the dark sections */
:root { --champ: #c9b3ff; }
.teal { color: var(--champ); }
.dark .lbl-n, .contact .lbl-n { color: var(--champ); }

/* v2.27 — lime on light sections: black accent text with a lime marker, lime fills with black marks */
.light .teal-ink, .soft .teal-ink { color: var(--ink); background: linear-gradient(transparent 58%, var(--teal) 58%, var(--teal) 92%, transparent 92%); padding-inline: .06em; }
.light .lbl-n, .soft .lbl-n { color: var(--ink); }
.fl-dots circle { fill: var(--teal); stroke: var(--ink); stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(157,107,255,0.54)); }
.fl-node.is-on .halo { fill: var(--teal); opacity: .45; }
.svc-dots i.is-on { background: var(--ink); }
.btn-teal, .hd-nav .nav-cta { color: var(--ink) !important; }

/* v2.28 — hero is now a still image (logo bars + icons); background matched to the image */
.hero.hero-v { background: #080808; }
.hero-img { animation: heroFloat 9s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 900px) { .hero-v .hero-vid.hero-img { width: min(122vw, calc((100svh - var(--tick)) * 16 / 9)); } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }
.hero-v .hero-vid.hero-img {
  -webkit-mask-image: radial-gradient(78% 85% at 50% 45%, #000 60%, transparent 100%), linear-gradient(#000 72%, transparent 98%);
  -webkit-mask-composite: source-in; mask-image: radial-gradient(78% 85% at 50% 45%, #000 60%, transparent 100%), linear-gradient(#000 72%, transparent 98%); mask-composite: intersect; }
/* v2.29 — softer green: calmer accent, lighter glows, and the hero image's neon toned down */
.hero-v .hero-vid.hero-img { filter: saturate(.72) brightness(.97); }

/* v2.30 — a soft light-green halo around a work as it grows */
.work .vf-media { transition: box-shadow .6s var(--ease); }
.work.is-live .vf-media { box-shadow: 0 0 0 2px #9d6bff, 0 0 46px 10px rgba(157,107,255,.65), 0 40px 70px -34px rgba(7,7,11,.7); }
@media (max-width: 900px) {
  /* phones: the halo grows with the frame as it nears the centre */
  .work .vf-media { box-shadow: 0 0 0 calc(var(--k, 0) * 2px) rgba(157,107,255,calc(var(--k, 0))), 0 0 calc(var(--k, 0) * 40px) calc(var(--k, 0) * 8px) rgba(157,107,255,calc(var(--k, 0) * .6)); transition: none; }
  .work.is-live .vf-media { box-shadow: 0 0 0 calc(var(--k, 0) * 2px) rgba(157,107,255,calc(var(--k, 0))), 0 0 calc(var(--k, 0) * 40px) calc(var(--k, 0) * 8px) rgba(157,107,255,calc(var(--k, 0) * .6)); }
}

/* v2.31 — phones: a calmer, smaller menu */
@media (max-width: 900px) {
  .hd-nav { justify-content: flex-start; padding-top: calc(var(--hd) + 34px); }
  .hd-nav a:not(.nav-cta) { font-size: clamp(20px, 5.6vw, 24px); padding: 12px 0; gap: 12px; }
  .hd-nav a:not(.nav-cta)::before { font-size: 11px; min-width: 20px; }
  .hd-nav .nav-cta { margin-top: 26px; padding: 11px 22px; font-size: 15px; }
}

/* v2.32 — client: bigger logos in the sticky clients strip */
:root { --tick: 84px; }
.ticker img { height: 54px; }
.ticker .logos-set { gap: clamp(40px, 4.6vw, 76px); padding-inline-end: clamp(40px, 4.6vw, 76px); }
@media (max-width: 900px) {
  :root { --tick: 68px; }
  .ticker img { height: 42px; }
  .ticker .logos-set { gap: 30px; padding-inline-end: 30px; }
}
/* about: the intro now has two paragraphs */
.about-intro .body + .body { margin-top: 14px; }

/* v2.33 — services: the full text sits inside each black card, nothing to open */
.bento .svc { cursor: default; }
.bento .svc .svc-hook { font-size: 15.5px; font-weight: 700; color: var(--champ); line-height: 1.45; }
.bento .svc .svc-text { font-size: 14px; line-height: 1.7; color: #b3b3c2; max-width: none; }
.bento .svc.is-big .svc-hook { font-size: 15.5px; color: var(--champ); }
.bento .svc.is-big .svc-text { font-size: 14px; color: #b3b3c2; }
@media (min-width: 901px) {
  .bento { align-items: stretch; }
  .bento .svc, .bento .svc.is-big, .bento .svc:nth-last-child(-n+2):not(.is-big) { min-height: 0; padding: 92px 24px 28px; }
}
@media (max-width: 900px) {
  .bento .svc, .bento .svc.is-big, .bento .svc-cta { min-height: 0; justify-content: flex-start; padding: 92px 22px 24px; }
  .bento .svc:not(.is-big):not(.svc-cta) { justify-content: flex-start; }
  .bento .svc .svc-text { font-size: 14px; }
}

/* v2.34 — services map: each station shows its service icon (same icons as the cards) */
.fl-ic { overflow: visible; pointer-events: none; }
.fl-ic path, .fl-ic circle { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.fl-node.is-on .fl-ic path, .fl-node.is-on .fl-ic circle { stroke: var(--teal); }
.flow svg.is-c .fl-ic path, .flow svg.is-c .fl-ic circle { stroke-width: 2; }

/* v2.35 — every frame takes the proportions of the work inside it (square, portrait, wide…) */
.work, .work:first-child { aspect-ratio: var(--ar, 4 / 3); }
@media (max-width: 900px) { .work, .work:first-child { aspect-ratio: var(--ar, 4 / 5); } }

/* =========================================================
   v2.36 — violet → electric-blue neon (after the client reference)
   ========================================================= */
:root {
  --grad: linear-gradient(90deg, #3d9bff, #8b5cf6 55%, #c45cff);
  --grad-soft: linear-gradient(90deg, #8cc4ff, #c9b3ff);
}
.btn-teal, .hd-nav .nav-cta { background: var(--grad) !important; color: #fff !important; box-shadow: 0 10px 30px -12px rgba(139,92,246,.7); }
.btn-teal:hover { box-shadow: 0 14px 40px -10px rgba(61,155,255,.65); }
.hd-cta { border: 1.5px solid transparent; color: #fff;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box; }
.hd.is-solid .hd-cta { background: linear-gradient(#0c0c13, #0c0c13) padding-box, var(--grad) border-box; }
.hd-cta:hover { background: var(--grad) border-box; color: #fff; }
.hd-nav a::after, .prog { background: var(--grad); }
.teal { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light .teal-ink, .soft .teal-ink { background: linear-gradient(90deg, rgba(61,155,255,.35), rgba(182,92,255,.42)) no-repeat 0 88% / 100% 36%; }
.down { border-color: #8b5cf6; box-shadow: 0 0 22px -6px rgba(139,92,246,.8); }
.down svg { stroke: #c9b3ff; }
.down:hover { background: var(--grad); border-color: transparent; } .down:hover svg { stroke: #fff; }
.bento .svc:hover .svc-ic, .bento .svc.is-map .svc-ic, .bento .svc.is-cur .svc-ic { background: var(--grad); border-color: transparent; }
.bento .svc:hover .svc-ic svg, .bento .svc.is-map .svc-ic svg, .bento .svc.is-cur .svc-ic svg { stroke: #fff; }
.bento .svc:hover, .bento .svc.is-map, .bento .svc.is-cur { border-color: rgba(139,92,246,.6); box-shadow: 0 26px 50px -30px rgba(139,92,246,.7), 0 0 40px -18px rgba(61,155,255,.5); }
.svc-glow { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.22), rgba(61,155,255,.08) 45%, transparent 65%); }
.fl-dots circle { fill: #8b5cf6; stroke: none; filter: drop-shadow(0 0 6px rgba(61,155,255,.9)); }
.fl-endpt.is-end circle { fill: #8b5cf6; }
.fl-node.is-on .core { fill: var(--ink); stroke: #8b5cf6; }
.fl-node.is-on .fl-ic path, .fl-node.is-on .fl-ic circle { stroke: #c9b3ff; }
.work.is-live .vf-media { box-shadow: 0 0 0 2px #9d6bff, 0 0 46px 10px rgba(139,92,246,.5), 0 0 90px 10px rgba(61,155,255,.22), 0 40px 70px -34px rgba(7,7,11,.7); }
@media (max-width: 900px) {
  .work .vf-media, .work.is-live .vf-media { box-shadow: 0 0 0 calc(var(--k, 0) * 2px) rgba(157,107,255, calc(var(--k, 0))), 0 0 calc(var(--k, 0) * 40px) calc(var(--k, 0) * 8px) rgba(139,92,246, calc(var(--k, 0) * .5)), 0 0 calc(var(--k, 0) * 80px) calc(var(--k, 0) * 6px) rgba(61,155,255, calc(var(--k, 0) * .22)); }
  .svc-dots i.is-on { background: var(--grad); }
}
.panel.is-on { background-image: radial-gradient(70% 90% at 0% 100%, rgba(139,92,246,.28), transparent 60%), radial-gradient(60% 80% at 100% 0%, rgba(61,155,255,.16), transparent 60%); }
.panel.is-on .panel-word { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel.is-on::before { color: #c9b3ff; border-color: #8b5cf6; }
.contact { background: var(--ink) radial-gradient(60% 120% at 0% 100%, rgba(139,92,246,.18), transparent 60%); }
.ct-form input:focus { border-color: #8b5cf6; }
@media (max-width: 900px) { .hd-nav { background-image: radial-gradient(90% 60% at 100% 100%, rgba(139,92,246,.22), transparent 60%), radial-gradient(70% 50% at 0% 0%, rgba(61,155,255,.12), transparent 60%) !important; } }
::selection { background: #8b5cf6; color: #fff; }
/* v2.37 — neon hero image (violet/blue): full colour, background matched */
.hero.hero-v { background: #070707; }
.hero-v .hero-vid.hero-img { filter: none; }

/* v2.38 — header logo is inline SVG: on hover the letters redraw in a wave and the E's bar sweeps & glows */
.hd-mark { display: block; height: 22px; width: calc(22px * 2000 / 190); overflow: visible; }
@media (max-width: 900px) { .hd-mark { height: 18px; width: calc(18px * 2000 / 190); } }
html.intro-on .hd-logo .hd-mark { opacity: 0; }
.hd-mark .lg-l { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hd-mark .lg-bar { stroke-dasharray: 1; stroke-dashoffset: 0; transform-box: fill-box; transform-origin: center; }
.hd-logo:hover .lg-l, .hd-logo:focus-visible .lg-l, .hd-logo.is-play .lg-l { animation: lgRedraw 1.1s cubic-bezier(.65, 0, .25, 1) calc(var(--i) * 55ms) both; }
.hd-logo:hover .lg-bar, .hd-logo:focus-visible .lg-bar, .hd-logo.is-play .lg-bar { animation: lgBar 1.3s cubic-bezier(.65, 0, .25, 1) .25s both; }
@keyframes lgRedraw { 0% { stroke-dashoffset: 0; } 45% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes lgBar { 0% { stroke-dashoffset: 0; filter: none; } 35% { stroke-dashoffset: -1; } 36% { stroke-dashoffset: 1; } 70% { stroke-dashoffset: 0; filter: drop-shadow(0 0 10px rgba(157,107,255,.95)) drop-shadow(0 0 22px rgba(61,155,255,.6)); } 100% { stroke-dashoffset: 0; filter: drop-shadow(0 0 4px rgba(157,107,255,.5)); } }
@media (prefers-reduced-motion: reduce) { .hd-logo .lg-l, .hd-logo .lg-bar { animation: none !important; } }
/* v2.39 — hero film (neon stack, seamless 8s loop): the still's framing, no float (the film moves on its own) */
.hero-film { animation: none; object-fit: cover; }

/* v2.40 — logo hover replays the opening intro: letters draw in one after another, then the E's bar lands */
.hd-logo:hover .lg-l, .hd-logo:focus-visible .lg-l, .hd-logo.is-play .lg-l { animation: lgIntro .7s cubic-bezier(.6, 0, .2, 1) calc(var(--i) * 60ms) both; }
.hd-logo:hover .lg-bar, .hd-logo:focus-visible .lg-bar, .hd-logo.is-play .lg-bar { animation: lgIntro .5s cubic-bezier(.6, 0, .2, 1) .9s both; }
@keyframes lgIntro { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* v2.41 — cursor: instead of a ring, a soft violet/blue halo that trails the pointer */
.cur { width: 440px; height: 440px; margin: -220px 0 0 -220px; border: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.17) 0%, rgba(61,155,255,.08) 38%, transparent 68%);
  mix-blend-mode: screen; opacity: .9; --s: 1;
  transition: transform .55s cubic-bezier(.2, .7, .1, 1), opacity .4s, background .4s; }
.cur.is-link { --s: 1.12; opacity: 1; mix-blend-mode: screen; width: 440px; height: 440px; margin: -220px 0 0 -220px;
  background: radial-gradient(circle, rgba(139,92,246,.24) 0%, rgba(61,155,255,.1) 38%, transparent 68%); }
.cur.is-drag { width: 440px; height: 440px; margin: -220px 0 0 -220px; --s: 1; opacity: 1; mix-blend-mode: normal;
  background: radial-gradient(circle, rgba(139,92,246,.2) 0%, rgba(61,155,255,.08) 34%, transparent 62%); }
.cur span { font-size: 0; }
.cur.is-drag span { font-size: 13px; color: #fff; padding: 8px 16px; border-radius: 999px; background: var(--grad); box-shadow: 0 8px 24px -8px rgba(139,92,246,.8); }
.cur, .cur.is-link, .cur.is-drag { mix-blend-mode: normal; }
.cur { background: radial-gradient(circle, rgba(139,92,246,.13) 0%, rgba(61,155,255,.06) 38%, transparent 66%); }
.cur.is-link { background: radial-gradient(circle, rgba(139,92,246,.19) 0%, rgba(61,155,255,.08) 38%, transparent 66%); }

/* =========================================================
   v2.42 — accessibility widget
   ========================================================= */
.a11y { position: fixed; z-index: 95; left: 18px; bottom: calc(var(--tick) + 16px); direction: rtl; }
.a11y-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--grad); color: #fff;
  box-shadow: 0 10px 28px -10px rgba(139,92,246,.9), 0 0 0 3px rgba(255,255,255,.9); cursor: pointer; transition: transform .3s var(--ease); }
.a11y-btn:hover { transform: scale(1.06); }
.a11y-btn svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: #fff; stroke: none; }
.a11y-panel { position: absolute; left: 0; bottom: 62px; width: min(320px, calc(100vw - 36px)); max-height: calc(100vh - var(--tick) - 110px); overflow: auto;
  padding: 16px; border-radius: 18px; background: #fbfbfe; color: #14141c; box-shadow: 0 30px 70px -20px rgba(7,7,11,.55); border: 1px solid #dcdce6; font-size: 15px; line-height: 1.4; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 18px; }
.a11y-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #dcdce6; background: #fff; color: #14141c; font-size: 13px; }
.a11y-size { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #ececf3; margin-bottom: 10px; }
.a11y-size button { width: 40px; height: 36px; border-radius: 10px; border: 1px solid #d0d0da; background: #fff; color: #14141c; font-weight: 700; }
.a11y-size output { min-width: 46px; text-align: center; font-weight: 700; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 12px; border: 1px solid #dcdce6; background: #fff; color: #14141c; font-size: 13.5px; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.a11y-grid button i { font-style: normal; font-size: 18px; line-height: 1; }
.a11y-grid button[aria-pressed="true"] { background: #14141c; color: #fff; border-color: #14141c; }
.a11y-grid button:hover { border-color: #8b5cf6; }
.a11y-reset { width: 100%; margin-top: 10px; padding: 10px; border-radius: 12px; border: 0; background: var(--grad); color: #fff; font-weight: 700; }
.a11y :focus-visible { outline: 3px solid #3d9bff; outline-offset: 2px; }
@media (max-width: 900px) { .a11y { left: 12px; } .a11y-btn { width: 44px; height: 44px; } .a11y-btn svg { width: 23px; height: 23px; } }

/* the settings themselves (widget excluded so it stays usable) */
html.a11y-zoomed body > *:not(.a11y):not(.cur):not(.down) { zoom: var(--a11y-zoom); }
html.a11y-contrast main, html.a11y-contrast .hd, html.a11y-contrast .ft, html.a11y-contrast .ticker { filter: contrast(1.35) saturate(1.1); }
html.a11y-gray main, html.a11y-gray .hd, html.a11y-gray .ft, html.a11y-gray .ticker { filter: grayscale(1); }
html.a11y-contrast.a11y-gray main, html.a11y-contrast.a11y-gray .hd, html.a11y-contrast.a11y-gray .ft { filter: grayscale(1) contrast(1.35); }
html.a11y-contrast .body, html.a11y-contrast p { color: inherit !important; }
html.a11y-links a, html.a11y-links button:not(.a11y *):not(.work) { text-decoration: underline !important; text-underline-offset: 4px; outline: 2px dashed #8b5cf6; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Helvetica Neue", sans-serif !important; letter-spacing: .02em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.5L16 20l-3 1.5-3.4-7.4L4 18z' fill='%2314141c' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-cursor .cur { display: none; }
/* v2.43 — the cursor halo, more visible */
.cur { width: 520px; height: 520px; margin: -260px 0 0 -260px; background: radial-gradient(circle, rgba(139,92,246,.32) 0%, rgba(61,155,255,.16) 32%, rgba(61,155,255,.05) 52%, transparent 68%); }
.cur.is-link { width: 520px; height: 520px; margin: -260px 0 0 -260px; background: radial-gradient(circle, rgba(139,92,246,.42) 0%, rgba(61,155,255,.2) 32%, rgba(61,155,255,.06) 52%, transparent 68%); }
.cur.is-drag { width: 520px; height: 520px; margin: -260px 0 0 -260px; background: radial-gradient(circle, rgba(139,92,246,.34) 0%, rgba(61,155,255,.15) 30%, transparent 60%); }
.a11y { z-index: 130; }
/* v2.44 — cursor halo at half the size */
.cur, .cur.is-link, .cur.is-drag { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
/* v2.44 — no cursor halo; only the "צפו" label appears over works */
.cur, .cur.is-link, .cur.is-drag { background: none !important; }
/* v2.45 — mobile menu: no "בואו נדבר" button and no numbers */
@media (max-width: 900px) {
  .hd-nav .nav-cta { display: none !important; }
  .hd-nav a:not(.nav-cta)::before { content: none !important; display: none !important; }
}
/* v2.46 — mobile menu: smaller text */
@media (max-width: 900px) { .hd-nav a:not(.nav-cta) { font-size: 17px; padding: 11px 0; font-weight: 600; } }
body.menu-open .a11y { display: none; }
/* v2.47 — section labels without numbers (the short line stays) */
.lbl-n { font-size: 0; gap: 0; }

/* v2.48 — the halo fades out fully: room around the strip so the glow is never cut, and no hard outline */
.works { padding-block: 96px; margin-block: -62px; }
.work.is-live .vf-media { box-shadow: 0 0 0 1px rgba(157,107,255,.35), 0 0 40px 6px rgba(139,92,246,.42), 0 0 80px 12px rgba(61,155,255,.16), 0 34px 60px -34px rgba(7,7,11,.55); }
@media (max-width: 900px) {
  .works { padding-block: 70px; margin-block: -40px; }
  .work .vf-media, .work.is-live .vf-media { box-shadow: 0 0 0 calc(var(--k, 0) * 1px) rgba(157,107,255, calc(var(--k, 0) * .35)), 0 0 calc(var(--k, 0) * 34px) calc(var(--k, 0) * 5px) rgba(139,92,246, calc(var(--k, 0) * .42)), 0 0 calc(var(--k, 0) * 64px) calc(var(--k, 0) * 8px) rgba(61,155,255, calc(var(--k, 0) * .16)); }
}
/* v2.49 — the clients strip keeps moving on hover, like the works strip */
.ticker:hover .logos-track, .logos:hover .logos-track { animation-play-state: running; }

/* v2.50 — custom mouse arrow in the site's blue→violet gradient (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%3E%3Cdefs%3E%3ClinearGradient%20id='g'%20x1='0'%20y1='0'%20x2='1'%20y2='1'%3E%3Cstop%20offset='0'%20stop-color='%233d9bff'/%3E%3Cstop%20offset='.55'%20stop-color='%238b5cf6'/%3E%3Cstop%20offset='1'%20stop-color='%23c45cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d='M4%203l18%209.2-7.6%201.9-3.6%207.4z'%20fill='none'%20stroke='rgba%287%2C7%2C11%2C.45%29'%20stroke-width='3.6'%20stroke-linejoin='round'/%3E%3Cpath%20d='M4%203l18%209.2-7.6%201.9-3.6%207.4z'%20fill='url%28%23g%29'%20stroke='white'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto; }
  a, button, [role="button"], label, .work, .tile, .fl-node, .panel, .acc-btn, summary { cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2028%2028'%3E%3Cdefs%3E%3ClinearGradient%20id='g'%20x1='0'%20y1='0'%20x2='1'%20y2='1'%3E%3Cstop%20offset='0'%20stop-color='%237cc0ff'/%3E%3Cstop%20offset='.55'%20stop-color='%23a57bff'/%3E%3Cstop%20offset='1'%20stop-color='%23d68bff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d='M4%203l18%209.2-7.6%201.9-3.6%207.4z'%20fill='none'%20stroke='rgba%287%2C7%2C11%2C.45%29'%20stroke-width='3.6'%20stroke-linejoin='round'/%3E%3Cpath%20d='M4%203l18%209.2-7.6%201.9-3.6%207.4z'%20fill='url%28%23g%29'%20stroke='white'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, pointer; }
  input, textarea { cursor: text; }
}

/* =========================================================
   v2.51 — robustness & polish
   ========================================================= */
/* older Safari/Chrome without svh: keep the hero full-height instead of collapsing */
@supports not (height: 100svh) {
  .hero, .hero.hero-v { min-height: 100vh; }
  @media (max-width: 900px) { .hero.hero-v { min-height: calc(100vh - var(--tick)); } }
  .hero-v .hero-vid { width: min(80%, calc((100vh - var(--hd) - var(--tick)) * 16 / 9 * .9)); }
  @media (max-width: 900px) { .hero-v .hero-vid, .hero-v .hero-vid.hero-img { width: min(122vw, calc((100vh - var(--tick)) * 16 / 9)); } }
}
.sq-scrim { -webkit-backdrop-filter: blur(10px); }
.down { -webkit-backdrop-filter: blur(6px); }
/* cursor trail canvas */
.trail { position: fixed; inset: 0; z-index: 125; pointer-events: none; }
@media (hover: none) { .trail { display: none; } }

/* v2.52 — accessibility statement page */
.doc-page { background: var(--light); color: var(--ink); padding-bottom: 0; }
.doc-hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--g); background: var(--ink); }
.doc-logo img { height: 20px; width: auto; display: block; }
.doc-back { color: #f4f4f8; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad) border-box; }
.doc { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--g) clamp(56px, 8vw, 100px); }
.doc .h2 { margin: 0 0 6px; }
.doc-date { margin: 0 0 30px; color: var(--mute); font-size: 14px; }
.doc section { padding: 22px 0; border-top: 1px solid var(--line); }
.doc h2 { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.8; color: #2a2a36; }
.doc ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.doc a { color: #5b34d6; text-decoration: underline; text-underline-offset: 3px; }
.doc-contact { font-weight: 600; }
.doc-page .ft { background: var(--ink); }
.ft-links { display: flex; gap: 18px; }
.a11y-statement { display: block; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; color: #5b34d6; text-decoration: underline; text-underline-offset: 3px; }
.trail { width: 100vw; height: 100vh; }

/* =========================================================
   v2.53 — language switch (HE / EN) + English left-to-right layout
   ========================================================= */
.hd { grid-template-columns: auto 1fr auto auto; }
.lang-btn { display: inline-grid; place-items: center; min-width: 42px; height: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  color: #f4f4f8; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; transition: border-color .3s, background .3s; }
.lang-btn:hover { border-color: #8b5cf6; background: rgba(139,92,246,.15); }
@media (max-width: 900px) {
  .hd { grid-template-columns: 44px 1fr 44px; }
  .lang-btn { grid-column: 3; grid-row: 1; justify-self: end; min-width: 40px; height: 34px; font-size: 12.5px; }
}
/* English: mirror what is placed with left/right; the works strip keeps its own (RTL) motion */
html.is-en .works { direction: rtl; }
html.is-en .svc-ic { right: auto; left: 22px; }
html.is-en .bento .svc.is-big .svc-ic { right: auto; left: 32px; }
html.is-en .svc-mark { left: auto; right: -18px; }
html.is-en .panel::before { right: auto; left: 22px; }
html.is-en .panel:not(.is-on) .panel-word { right: auto; left: 22px; }
@media (min-width: 901px) { html.is-en .panel:not(.is-on) .panel-word { left: 50%; right: auto; transform: translate(-50%, -50%) rotate(180deg); } }
@media (max-width: 900px) {
  html.is-en .panel::before { left: auto; right: 18px; }
  html.is-en .hd-nav { clip-path: circle(0 at calc(var(--g) + 22px) calc(var(--hd) / 2)); }
  html.is-en .hd.is-open .hd-nav { clip-path: circle(150% at calc(var(--g) + 22px) calc(var(--hd) / 2)); }
}
html.is-en .hd-nav a::after { transform-origin: left; }
html.is-en .a11y { left: auto; right: 18px; }
html.is-en .a11y-panel { left: auto; right: 0; }
@media (max-width: 900px) { html.is-en .a11y { right: 12px; } }

/* v2.54 — over anything clickable the pointer becomes a hand */
@media (hover: hover) and (pointer: fine) {
  a, button, [role="button"], label, .work, .tile, .fl-node, .panel, .acc-btn, summary { cursor: pointer !important; }
}
html.is-en .acc-arr svg { transform: scaleX(-1); }

/* v2.55 — footer: "in collaboration with" friendz+ */
.ft-partner { display: inline-flex; align-items: center; gap: 10px; color: var(--mute-d); font-size: 13.5px; }
.ft-partner img { height: 20px; width: auto; display: block; }
@media (max-width: 900px) { .ft { justify-content: center; text-align: center; } .ft-partner img { height: 18px; } }

/* v2.56 — services in two groups: a heading row opens "ההתמחות שלנו בדיגיטל" */
.svc-group { flex: 0 0 100%; display: flex; align-items: center; gap: 16px; margin: 26px 0 6px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--ink); }
.svc-group::before, .svc-group::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.svc-group::before { flex: 0 0 40px; background: var(--grad); height: 2px; border-radius: 2px; }
@media (min-width: 901px) {
  .bento .svc, .bento .svc.is-big, .bento .svc:nth-last-child(-n+2):not(.is-big) { flex: 0 0 calc((100% - 36px) / 4); }
}
@media (max-width: 900px) {
  /* in the swipe row the heading is a slim card of its own */
  .svc-group { flex: 0 0 46%; margin: 0; padding: 22px; border-radius: 14px; scroll-snap-align: start; flex-direction: column; justify-content: center; align-items: flex-start;
    background: var(--grad); color: #fff; font-size: 20px; line-height: 1.25; }
  .svc-group::before, .svc-group::after { display: none; }
}

/* v2.57 — foldables & very narrow phones */
/* folded covers (≈280–360px): smaller wordmark and switch so the header never collides */
@media (max-width: 360px) {
  :root { --g: 14px; }
  .hd { grid-template-columns: 38px 1fr 38px; gap: 8px; }
  .hd-mark { height: 13px; width: calc(13px * 2000 / 190); }
  .lang-btn { min-width: 34px; height: 30px; padding: 0 6px; font-size: 11.5px; }
  .hd-burger { width: 38px; height: 38px; }
  .hd-burger span { left: 7px; right: 7px; }
  .a11y-btn { width: 40px; height: 40px; }
}
@media (max-width: 300px) { .hd-mark { height: 11px; width: calc(11px * 2000 / 190); } }
/* open foldables / small tablets in portrait (≈600–900px): two service cards in view, not one stretched card */
@media (min-width: 600px) and (max-width: 900px) {
  .bento .svc, .bento .svc.is-big, .bento .svc-cta { flex-basis: calc(50% - 6px); }
  .svc-group { flex-basis: 30%; }
  .bento { scroll-padding-inline: var(--g); }
  .ct-form { grid-template-columns: 1fr 1fr; }
  .ct-form label:nth-of-type(3), .ct-form .btn-teal, .ct-form .form-note { grid-column: 1 / -1; }
}
/* short landscape screens (phones turned sideways, folded covers): keep the hero and strip within reach */
@media (max-height: 480px) and (orientation: landscape) {
  .hero.hero-v { min-height: 100vh; min-height: 100svh; }
  .work, .work:first-child { --fh: clamp(150px, 58vh, 240px); }
}
