/* ============ Tokens ============ */
:root {
  --bg: #f1f3f3;
  --bg-top: #fbfcfc;
  --ink: #172021;
  --ink-2: #5a6465;
  --ink-3: #939b9c;
  --line: #dde1e1;
  --teal: #0fa89e;
  --teal-deep: #0a7d76;
  --card: #ffffff;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 55%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Google Sans", system-ui, sans-serif; font-weight: 400;
  font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--teal); color: #fff; }

/* ============ Header ============ */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-direction: row-reverse; /* logo on the left, menu on the right */
  align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--bg-top) 80%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.logo { display: inline-flex; align-items: center; }
.logo-full { height: 17px; width: auto; }
.logo-icon { height: 34px; width: 34px; display: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle, var(--teal) 0 3.5px, transparent 4px),
    radial-gradient(circle, transparent 7.5px, var(--teal) 8px 9px, transparent 9.5px),
    radial-gradient(circle, transparent 12px, color-mix(in srgb, var(--teal) 45%, transparent) 12.5px 13.5px, transparent 14px);
}
.logo-word { font-weight: 500; letter-spacing: .3em; font-size: 15px; direction: ltr; }
.pill {
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 20px -12px rgba(20, 40, 40, .25);
}
.pill a { white-space: nowrap; padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; }
.pill a:hover { color: var(--ink); background: var(--bg); }
.pill a[aria-current="page"] { color: var(--teal-deep); }
.pill .pill-cta { background: var(--ink); color: #fff; }
.pill .pill-cta:hover, .pill .pill-cta[aria-current="page"] { background: var(--teal); color: #fff; }

/* ============ Shared bits ============ */
/* small accent: a short turquoise bar above a quiet label (Droga5-style mark) */
.kicker {
  margin: 0 0 22px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 500; letter-spacing: .26em; color: var(--ink-3);
}
.kicker::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--teal); }
.home-note { margin: 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: 15px 34px; font-size: 16px; font-weight: 500; transition: background .3s;
}
.btn:hover { background: var(--teal); }

/* ============ Home ============ */
.home { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 6vh, 64px); padding-block: clamp(40px, 8vh, 90px) 32px; }
.home-hero { text-align: center; padding-inline: var(--gutter); }
.home-title {
  margin: 0; font-weight: 300; font-size: clamp(42px, 7vw, 96px); line-height: 1.02; letter-spacing: -.04em;
}
.home-title b { color: var(--teal); font-weight: 800; }
.home-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-inline: var(--gutter); }

/* gentle load-in */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.home-hero > *, .reel, .home-foot, .page-head > * { animation: rise .9s var(--ease) both; }
.home-hero > :nth-child(2), .page-head > :nth-child(2) { animation-delay: .08s; }
.home-hero > :nth-child(3), .page-head > :nth-child(3) { animation-delay: .16s; }
.reel { animation-delay: .26s; }
.home-foot { animation-delay: .36s; }
.home-sub { margin: 22px auto 0; max-width: 640px; text-wrap: balance; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); font-weight: 300; line-height: 1.6; }

.reel {
  overflow: hidden; direction: ltr; padding-block: 10px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reel-track { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-item {
  position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; flex: none; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: #e3e7e7;
  box-shadow: 0 14px 30px -18px rgba(15, 40, 40, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reel-item img { width: 100%; height: 100%; object-fit: cover; }
/* client name slides up on hover (W+K-style caption) */
.reel-cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; direction: rtl; text-align: start;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(transparent, rgba(10, 25, 25, .75));
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.reel-item:hover .reel-cap, .reel-item:focus-visible .reel-cap { transform: none; }
.reel-item:hover, .reel-item:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 36px -18px rgba(15, 40, 40, .55); outline: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Client logos strip */
.logos {
  overflow: hidden; direction: ltr; padding-block: 18px;
  border-top: 1px solid var(--line); background: color-mix(in srgb, var(--card) 60%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos-track { display: flex; gap: clamp(24px, 3vw, 48px); width: max-content; animation: slide 80s linear infinite reverse; }
.logos-track img { width: clamp(96px, 8vw, 128px); height: auto; filter: grayscale(1) contrast(1.1); opacity: .55; mix-blend-mode: multiply; }

/* ============ Inner pages ============ */
.page { flex: 1; width: 100%; max-width: 1280px; margin-inline: auto; padding: clamp(48px, 9vh, 96px) var(--gutter) 64px; }
.page.narrow { max-width: 880px; }
.page-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.page-title { margin: 0; font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -.03em; }
.page-title b { color: var(--teal); font-weight: 800; }
.page-sub { margin: 18px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; }

/* Campaign grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 44px 28px; margin-bottom: 64px; }
.tile { display: block; text-align: start; background: none; border: 0; padding: 0; }
.tile-media { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #e3e7e7; box-shadow: 0 18px 40px -26px rgba(15, 40, 40, .5); transition: box-shadow .5s var(--ease); }
.tile:hover .tile-media { box-shadow: 0 26px 50px -24px rgba(15, 40, 40, .55); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-client { display: block; margin-top: 14px; font-weight: 700; font-size: 17px; }
.tile-name { display: block; font-size: 15px; color: var(--ink-2); font-weight: 300; line-height: 1.5; }

/* About */
.prose { font-weight: 300; color: var(--ink-2); }
.prose .lead { font-size: clamp(19px, 1.8vw, 23px); color: var(--ink); line-height: 1.65; margin-top: 0; }
.prose h3 { margin: 40px 0 6px; font-size: 20px; font-weight: 700; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.block { margin-top: clamp(64px, 9vw, 110px); }
.block-title { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.block-sub { margin: 0 0 28px; color: var(--ink-2); font-weight: 300; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 150px 1fr; gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; font-size: 22px; font-weight: 800; color: var(--teal); }
.row .tag { margin: 0; font-weight: 700; }
.row .txt { grid-column: 2; margin: 0; color: var(--ink-2); font-weight: 300; }
.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.acc li { border-bottom: 1px solid var(--line); }
/* Collins-style list: large title, short line under it, thin dividers */
.acc button {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  background: none; border: 0; padding: 24px 0; text-align: start;
}
.acc .t { font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; letter-spacing: -.01em; transition: color .3s; }
.acc .hook { grid-column: 1; font-size: 15px; font-weight: 300; color: var(--ink-2); line-height: 1.5; }
.acc button::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; font-weight: 300; font-size: 28px; line-height: 1; color: var(--teal); transition: transform .4s var(--ease); }
.acc button:hover .t { color: var(--teal-deep); }
.acc li.is-open button::after { transform: rotate(45deg); }
.acc .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc li.is-open .panel { grid-template-rows: 1fr; }
.acc .panel > div { overflow: hidden; }
.acc .txt { margin: 0 0 26px; color: var(--ink-2); font-weight: 300; max-width: 700px; }

/* Contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 20px 50px -30px rgba(15, 40, 40, .3); }
.form label { display: grid; gap: 4px; }
.form .full { grid-column: 1 / -1; }
.form span { font-size: 13px; color: var(--ink-3); }
.form input { font: inherit; font-size: 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0; border-radius: 0; color: var(--ink); }
.form input:focus { outline: none; border-color: var(--teal); }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; min-height: 1.6em; color: var(--teal-deep); font-size: 15px; }
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; text-align: center; }
.info dt { font-size: 13px; color: var(--ink-3); }
.info dd { margin: 4px 0 0; font-size: 19px; font-weight: 500; }
.info [dir="ltr"] { display: inline-block; }
.info a:hover { color: var(--teal); }

/* ============ Viewer ============ */
.viewer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.viewer-scrim { position: absolute; inset: 0; background: rgba(241, 243, 243, .94); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s var(--ease); }
.viewer-panel { position: absolute; inset: 0; overflow-y: auto; padding: 28px var(--gutter) 60px; opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.viewer.is-open { pointer-events: auto; }
.viewer.is-open .viewer-scrim, .viewer.is-open .viewer-panel { opacity: 1; transform: none; }
.viewer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; max-width: 1200px; margin: 0 auto 28px; }
.viewer-client { margin: 0; color: var(--teal-deep); font-weight: 700; }
.viewer-head h3 { margin: 0; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.viewer-close { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 15px; transition: background .3s, color .3s; }
.viewer-close:hover { background: var(--ink); color: #fff; }
.viewer-grid { max-width: 1200px; margin-inline: auto; columns: 3 260px; column-gap: 18px; }
.viewer-grid img { width: 100%; border-radius: 12px; margin-bottom: 18px; break-inside: avoid; box-shadow: 0 14px 30px -20px rgba(15, 40, 40, .4); }

/* ============ Motion prefs ============ */
@media (prefers-reduced-motion: reduce) {
  .reel-track, .logos-track, .home-hero > *, .reel, .home-foot, .page-head > * { animation: none; }
  .reel { overflow-x: auto; }
}

/* ============ Responsive ============ */
@media (min-width: 760px) { .br-d { display: inline; } }
@media (max-width: 759px) { .br-d { display: none; } }
@media (max-width: 640px) {
  .bar { gap: 12px; }
  .logo-full { height: 11px; }
  .pill { padding: 4px; gap: 0; }
  .pill a { padding: 7px 11px; font-size: 14px; }
  .row { grid-template-columns: 1fr; }
  .row .txt { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .tile-client { font-size: 15px; }
  .tile-name { font-size: 13px; }
}

/* =========================================================
   v15 — "The line" concept
   ========================================================= */

/* Header: plain text nav instead of a pill */
.bar { background: color-mix(in srgb, var(--bg-top) 86%, transparent); border-bottom-color: transparent; padding-block: 22px; }
.pill { background: none; border: 0; box-shadow: none; padding: 0; gap: clamp(14px, 2.4vw, 34px); }
.pill a { position: relative; padding: 4px 0; border-radius: 0; background: none !important; color: var(--ink-2); }
.pill a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.pill a:hover, .pill a[aria-current="page"] { color: var(--ink) !important; }
.pill a:hover::after, .pill a[aria-current="page"]::after { transform: scaleX(1); }
.pill .pill-cta { color: var(--teal-deep) !important; font-weight: 700; }

/* ---------- Stage ---------- */
.stage {
  position: relative; min-height: calc(100svh - 76px);
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px;
  padding: clamp(20px, 5vh, 56px) var(--gutter) clamp(28px, 5vh, 52px);
}
.stage-title { margin: 0; font-weight: 400; line-height: .95; letter-spacing: -.035em; font-size: clamp(44px, 8.2vw, 136px); display: grid; }
.st-a { justify-self: start; }
.st-b { justify-self: end; font-weight: 700; color: var(--teal); }
.stage-sub { margin: 0; max-width: 430px; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; text-wrap: balance; }

.timeline { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }

/* preview card that rides above the line */
.preview {
  position: absolute; bottom: 64px; left: var(--px, 50%); margin: 0;
  width: clamp(200px, 21vw, 300px); transform: translateX(-50%);
  transition: left .7s var(--ease);
  pointer-events: none;
}
.preview-media {
  display: block; width: 100%; padding: 0; border: 0; background: #e2e6e6; pointer-events: auto;
  aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 40, 40, .55), 0 2px 0 rgba(255,255,255,.6) inset;
}
.preview-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .8s var(--ease); }
.preview.is-swap .preview-media img { opacity: 0; transform: scale(1.04); }
.preview figcaption { display: flex; gap: 8px; align-items: baseline; justify-content: center; margin-top: 10px; font-size: 14px; white-space: nowrap; }
.preview figcaption b { font-weight: 700; }
.preview figcaption span { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
/* little stem from card to line */
.preview::after { content: ""; position: absolute; left: 50%; bottom: -30px; width: 2px; height: 18px; background: var(--teal); transform: translateX(-50%); border-radius: 2px; }

/* the rail = the middle bar of the logo's E, stretched */
.rail { position: relative; height: 56px; cursor: ew-resize; touch-action: pan-y; }
.rail::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: var(--line); }
.rail-fill {
  position: absolute; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px;
  width: var(--fill, 0%); background: var(--teal); transition: width .7s var(--ease);
}
.ticks { position: absolute; inset: 0; }
.tick {
  position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0;
  border: 0; background: none; border-radius: 50%;
}
.tick::before {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: var(--bg-top); box-shadow: 0 0 0 2px var(--ink-3);
  transition: transform .4s var(--ease), background .3s, box-shadow .3s;
}
.tick.is-past::before { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.tick.is-active::before { transform: scale(1.9); background: #fff; box-shadow: 0 0 0 2px var(--teal), 0 0 0 7px color-mix(in srgb, var(--teal) 18%, transparent); }
.end { position: absolute; top: calc(50% + 16px); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.end-click { right: 0; }
.end-lead { left: 0; color: var(--teal-deep); font-weight: 700; }

/* load-in: draw the line */
@keyframes draw { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.rail { animation: draw 1.4s var(--ease) .2s both; }
.st-a, .st-b, .stage-sub, .preview-media, .preview figcaption { animation: rise .9s var(--ease) both; }
.st-b { animation-delay: .12s; }
.preview-media, .preview figcaption { animation-delay: .7s; }
.stage-sub { animation-delay: .3s; }

/* ---------- Work index ---------- */
.index { max-width: 1280px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter) 40px; }
.index-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.index-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.02em; }
.link { color: var(--teal-deep); font-weight: 700; font-size: 15px; }
.link:hover { color: var(--ink); }
.index-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--ink); }
.index-row {
  width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr) 24px;
  gap: 16px; align-items: baseline; text-align: start;
  padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none;
  transition: color .3s, padding .5s var(--ease);
}
.index-row .n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.index-row .c { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; }
.index-row .m { color: var(--ink-2); }
.index-row .d { font-size: 14px; color: var(--ink-3); }
.index-row .a { color: var(--teal); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease); }
.index-row:hover { padding-inline-start: 14px; }
.index-row:hover .c { color: var(--teal-deep); }
.index-row:hover .a { opacity: 1; transform: none; }
.index-row .thumb { display: none; }

/* floating image that follows the cursor over the index */
.float {
  position: fixed; top: 0; left: 0; z-index: 30; pointer-events: none;
  width: 240px; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(10, 40, 40, .6);
  opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(.85) rotate(-3deg);
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.float.is-on { opacity: 1; transform: translate(var(--fx, 0), var(--fy, 0)) scale(1) rotate(-3deg); }
.float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Closer ---------- */
.closer { text-align: center; padding: clamp(80px, 12vw, 170px) var(--gutter) clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.closer-k { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; color: var(--ink-3); }
.closer-cta {
  display: inline-block; max-width: 1000px; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700;
  text-wrap: balance;
  background: linear-gradient(var(--teal), var(--teal)) 50% 100% / 0 6px no-repeat; padding-bottom: 10px;
  transition: background-size .7s var(--ease), color .3s;
}
.closer-cta:hover { background-size: 100% 6px; }
.closer-info { margin: 34px 0 0; display: flex; justify-content: center; gap: 14px; color: var(--ink-2); flex-wrap: wrap; }
.closer-info a:hover { color: var(--teal-deep); }

@media (prefers-reduced-motion: reduce) {
  .rail, .st-a, .st-b, .stage-sub, .preview-media, .preview figcaption { animation: none; }
  .preview, .rail-fill { transition: none; }
}

@media (max-width: 760px) {
  .stage { min-height: calc(100svh - 64px); }
  .stage-title { font-size: clamp(40px, 12.5vw, 64px); }
  .timeline { min-height: 380px; }
  .preview { width: min(62vw, 260px); left: 50% !important; }
  .preview::after { display: none; }
  .end { display: none; }
  .index-row { grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 4px 14px; align-items: center; }
  .index-row .thumb { display: block; grid-row: span 2; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
  .index-row .n, .index-row .d { display: none; }
  .index-row .c { grid-column: 2; }
  .index-row .m { grid-column: 2; font-size: 14px; }
  .index-row .a { grid-column: 3; grid-row: 1 / span 2; opacity: 1; transform: none; }
  .index-row:hover { padding-inline-start: 0; }
  .float { display: none; }
}

/* ---------- Menu (original site items, plain links) ---------- */
.menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.menu a { position: relative; padding: 4px 0; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: color .3s; }
.menu a::after { content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.menu a:hover, .menu a.is-current { color: var(--ink); }
.menu a:hover::after, .menu a.is-current::after { transform: scaleX(1); }
.menu .menu-login { color: var(--teal-deep); font-weight: 700; padding-inline-start: clamp(14px, 2vw, 30px); border-inline-start: 1px solid var(--line); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; z-index: 3; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; background: var(--teal); }  /* echoes the logo's E */
.menu-toggle span:nth-child(3) { top: 28px; }
.bar.is-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.bar.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.bar.is-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 6px;
    background: var(--bg-top); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .bar.is-open .menu { opacity: 1; pointer-events: auto; }
  .menu a { font-size: clamp(26px, 7vw, 38px); color: var(--ink); padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; }
  .bar.is-open .menu a { opacity: 1; transform: none; }
  .bar.is-open .menu a:nth-child(2) { transition-delay: .04s; } .bar.is-open .menu a:nth-child(3) { transition-delay: .08s; }
  .bar.is-open .menu a:nth-child(4) { transition-delay: .12s; } .bar.is-open .menu a:nth-child(5) { transition-delay: .16s; }
  .bar.is-open .menu a:nth-child(6) { transition-delay: .2s; }  .bar.is-open .menu a:nth-child(7) { transition-delay: .24s; }
  .menu .menu-login { border: 0; padding-inline-start: 0; margin-top: 18px; font-size: 18px; color: var(--teal-deep); }
  .logo { position: relative; z-index: 3; }
  .bar .logo-full { height: 13px; }
}

/* ---------- Site-wide interaction layer ---------- */
/* turquoise cursor dot (desktop) */
.cdot {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--teal);
  transform: translate(var(--cx, -50px), var(--cy, -50px)) scale(var(--cs, 1));
  transition: transform .18s var(--ease), opacity .3s; mix-blend-mode: multiply;
}
.cdot.is-big { --cs: 4.2; opacity: .35; }
@media (hover: none) { .cdot { display: none; } }

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

/* 3D tilt on campaign tiles */
.tile-media { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.tile:hover .tile-media { transition-duration: .12s, .5s; }

/* magnetic elements */
.mag { transition: transform .45s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .tile-media, .mag { transform: none !important; }
}

/* ---------- Client logos grid ---------- */
.clients-wall { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 80px); }
.lgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.lgrid li { min-width: 0; aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 10% 12%; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); background: var(--bg-top); transition: background .4s var(--ease); }
.lgrid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.lgrid li:hover { background: #fff; }
.lgrid li:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.lgrid.has-hover li:not(:hover) img { opacity: .35; }
.block .lgrid { margin-top: 28px; }
@media (max-width: 900px) { .lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Services infographic ---------- */
.svc-page { max-width: 1320px; }
.flow-wrap { position: relative; margin: 0 auto; }
.flow svg { width: 100%; height: auto; display: block; overflow: visible; }
.flow svg.is-v { max-width: 420px; margin: 0 auto; }
.fl-edge { fill: none; stroke: var(--line); stroke-width: 4; stroke-linecap: round; }
.flow.is-drawn .fl-edge { stroke: color-mix(in srgb, var(--teal) 55%, var(--line)); }
.fl-edge { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s var(--ease), stroke .6s; }
.flow.is-drawn .fl-edge { stroke-dashoffset: 0; }
.fl-route { fill: none; stroke: none; }
.fl-dots circle { fill: var(--teal); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--teal) 70%, transparent)); }
.fl-stage { font-family: inherit; font-size: 15px; letter-spacing: .14em; fill: var(--ink-3); text-anchor: middle; }
.fl-endpt circle { fill: var(--ink); }
.fl-endpt text { font-family: inherit; font-size: 16px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.fl-endpt:last-of-type circle { fill: var(--teal); }
.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: var(--bg-top); stroke: var(--ink); stroke-width: 2.5; transition: fill .3s, stroke .3s; }
.fl-node .num { font-family: inherit; font-size: 17px; font-weight: 700; text-anchor: middle; fill: var(--ink); transition: fill .3s; }
.fl-node .lbl { font-family: inherit; font-size: 18px; font-weight: 700; text-anchor: middle; fill: var(--ink); }
.fl-node:hover .core, .fl-node:focus-visible .core { stroke: var(--teal); }
.fl-node.is-on .halo { opacity: .16; transform: scale(1); }
.fl-node.is-on .core { fill: var(--teal); stroke: var(--teal); }
.fl-node.is-on .num { fill: #fff; }
.fl-node.is-on .lbl { fill: var(--teal-deep); }
.flow-hint { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }

.flow-card {
  margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1100px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 20px 48px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 30px 60px -40px rgba(10, 40, 40, .4);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.flow-card.is-swap { opacity: 0; transform: translateY(8px); }
.fc-stage { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; color: var(--teal-deep); font-weight: 700; }
.fc-name { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.02em; }
.fc-hook { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.fc-text { margin: 0; color: var(--ink-2); line-height: 1.8; }
.fc-nav { display: flex; gap: 8px; }
.fc-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-top); font-size: 18px; transition: background .3s, color .3s, border-color .3s; }
.fc-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .flow-card { grid-template-columns: 1fr; }
  .fc-nav { justify-content: flex-start; }
}

/* ---------- Advantages ring ---------- */
.adv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 12px; }
.adv-ring svg { width: 100%; max-width: 480px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.ar-guide { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 7; }
.ar-dot { fill: var(--teal); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--teal) 70%, transparent)); }
.ar-seg { cursor: pointer; outline: none; }
.ar-hit { fill: none; stroke: transparent; stroke-width: 70; }
.ar-base { fill: none; stroke: color-mix(in srgb, var(--ink) 12%, transparent); stroke-width: 26; stroke-linecap: round; transition: stroke .35s, stroke-width .45s var(--ease); }
.ar-prog { fill: none; stroke: var(--teal); stroke-width: 26; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.ar-lbl { font-family: inherit; font-size: 19px; font-weight: 700; text-anchor: middle; fill: var(--ink-3); transition: fill .3s; }
.ar-seg:hover .ar-base, .ar-seg:focus-visible .ar-base { stroke: color-mix(in srgb, var(--teal) 40%, transparent); }
.ar-seg.is-on .ar-base { stroke: color-mix(in srgb, var(--teal) 30%, transparent); stroke-width: 34; }
.ar-seg.is-on .ar-prog { opacity: 1; stroke-width: 34; stroke-dashoffset: 0; }
.ar-seg.is-on.is-run .ar-prog { animation: arfill 4.2s linear both; }
@keyframes arfill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.ar-seg.is-on .ar-lbl { fill: var(--teal-deep); }
.ar-num { font-family: inherit; font-size: 14px; letter-spacing: .16em; text-anchor: middle; fill: var(--ink-3); }
.ar-big { font-family: inherit; font-size: 64px; font-weight: 700; text-anchor: middle; fill: var(--ink); letter-spacing: -.02em; }
.ar-small { font-family: inherit; font-size: 17px; text-anchor: middle; fill: var(--teal-deep); }
/* draw-in */
.adv-ring:not(.is-drawn) .ar-seg { opacity: 0; }
.adv-ring .ar-seg { transition: opacity .8s var(--ease); }
.adv-ring.is-drawn .ar-seg:nth-child(4) { transition-delay: .05s; } .adv-ring.is-drawn .ar-seg:nth-child(5) { transition-delay: .15s; }
.adv-ring.is-drawn .ar-seg:nth-child(6) { transition-delay: .25s; } .adv-ring.is-drawn .ar-seg:nth-child(7) { transition-delay: .35s; }
.adv-ring.is-drawn .ar-seg:nth-child(8) { transition-delay: .45s; }

.adv-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -40px rgba(10, 40, 40, .4); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.adv-card.is-swap { opacity: 0; transform: translateY(8px); }
.adv-name { margin: 0 0 6px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.adv-tag { margin: 0 0 16px; font-size: clamp(17px, 1.5vw, 20px); color: var(--teal-deep); font-weight: 700; }
.adv-text { margin: 0 0 22px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 900px) { .adv { grid-template-columns: 1fr; } .adv-ring svg { max-width: 380px; } }
@media (prefers-reduced-motion: reduce) { .ar-seg.is-on.is-run .ar-prog { animation: none; } }

/* ---------- About: logo-bar infographic ---------- */
.ebars { display: grid; gap: 14px; margin: clamp(28px, 4vw, 48px) 0 0; }
.eb { width: var(--w); transition: width .9s var(--ease); }
.ebars:not(.is-drawn) .eb { width: 0; }
.eb.is-on { width: 100%; }
.eb-bar {
  position: relative; overflow: hidden; width: 100%; display: flex; align-items: center; gap: 16px;
  min-height: 68px; padding: 0 28px; border: 0; border-radius: 999px; text-align: start;
  background: var(--ink); color: #fff; font-size: clamp(17px, 1.6vw, 22px); font-weight: 700;
  transition: background .45s var(--ease), border-radius .6s var(--ease);
}
.eb-n { font-size: 13px; letter-spacing: .12em; opacity: .55; font-weight: 400; }
.eb-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-bar:hover { background: color-mix(in srgb, var(--ink) 85%, var(--teal)); }
.eb.is-on .eb-bar { background: var(--teal); border-radius: 26px 26px 0 0; }
/* timer sweep across the active bar */
.eb-time { position: absolute; inset: auto 0 0 0; height: 3px; background: rgba(255,255,255,.55); transform: scaleX(0); transform-origin: right; }
.eb.is-on.is-run .eb-time { animation: ebsweep 6s linear both; }
@keyframes ebsweep { to { transform: scaleX(1); } }
.eb-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.eb.is-on .eb-panel { grid-template-rows: 1fr; }
.eb-panel > div { overflow: hidden; }
.eb-panel p {
  margin: 0; padding: 22px 28px 28px; background: color-mix(in srgb, var(--teal) 9%, var(--card));
  border: 1px solid color-mix(in srgb, var(--teal) 25%, var(--line)); border-top: 0; border-radius: 0 0 26px 26px;
  color: var(--ink); line-height: 1.85; font-size: clamp(16px, 1.3vw, 18px);
}
@media (max-width: 640px) {
  .eb { width: calc(var(--w) + 26%); max-width: 100%; }
  .eb-bar { min-height: 58px; padding: 0 20px; }
  .eb-t { white-space: normal; padding-block: 12px; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) { .eb, .eb-panel { transition: none; } .eb.is-on.is-run .eb-time { animation: none; } }

/* ---------- Video ads ---------- */
.vwrap { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 0; }
.vrow { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.vrow .vcard { flex: none; scroll-snap-align: start; }
.vrow .vmedia { height: clamp(260px, 34vw, 380px); }
.vrow .is-wide .vmedia { aspect-ratio: 16 / 9; }
.vrow .is-sq .vmedia { aspect-ratio: 1; }
.vrow .is-tall .vmedia { aspect-ratio: 9 / 16; }

.vsection { margin-bottom: clamp(56px, 7vw, 96px); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 22px; grid-auto-flow: dense; }
.vgrid .vmedia { aspect-ratio: 16 / 9; }
.vgrid .is-tall { grid-row: span 2; }
.vgrid .is-tall .vmedia { aspect-ratio: auto; height: calc(100% - 52px); min-height: 340px; }
.vgrid .is-sq .vmedia { aspect-ratio: 1; }
.grid-title { margin-bottom: 24px; }

.vcard { display: block; padding: 0; border: 0; background: none; text-align: start; }
.vmedia { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 18px 40px -26px rgba(10, 40, 40, .55); }
.vmedia video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.vcard:hover .vmedia video { transform: scale(1.03); }
.vplay {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.vplay::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--teal); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vcard.is-playing .vplay { opacity: 0; transform: scale(.7); }
.vmeta { display: flex; gap: 8px; align-items: baseline; margin-top: 12px; font-size: 15px; }
.vmeta b { font-weight: 700; }
.vmeta span { color: var(--ink-3); }

.vplayer { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.vp-scrim { position: absolute; inset: 0; background: rgba(8, 14, 15, .92); opacity: 0; transition: opacity .4s var(--ease); }
.vp-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0;
  width: min(1100px, 92vw); transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.vp-box.is-tall { width: min(420px, 86vw); }
.vp-box.is-sq { width: min(640px, 90vw); }
.vp-box video { width: 100%; max-height: 80vh; display: block; border-radius: 14px; background: #000; }
.vp-cap { margin: 14px 0 0; color: #fff; font-size: 15px; text-align: center; }
.vp-close { position: absolute; top: -56px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }
.vplayer.is-open { pointer-events: auto; }
.vplayer.is-open .vp-scrim { opacity: 1; }
.vplayer.is-open .vp-box { opacity: 1; transform: translate(-50%, -50%); }
@media (max-width: 640px) { .vgrid .is-tall { grid-row: auto; } .vgrid .is-tall .vmedia { aspect-ratio: 9 / 16; height: auto; min-height: 0; } }

/* ---------- Home: video ads as stories in a phone ---------- */
.stories {
  max-width: 1280px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.st-k { margin: 0 0 8px; font-size: 13px; letter-spacing: .2em; color: var(--teal-deep); font-weight: 700; }
.st-copy h2 { margin: 0 0 18px; font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -.035em; }
.st-lead { margin: 0 0 34px; max-width: 520px; color: var(--ink-2); line-height: 1.75; }
.st-list { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st-list button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background .3s, color .3s, border-color .3s;
}
.st-list button small { font-size: 11px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 9px; background: var(--bg); color: var(--ink-3); }
.st-list button:hover { border-color: var(--ink-3); color: var(--ink); }
.st-list button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-list button.is-on small { background: var(--teal); color: #fff; }
.st-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* the phone */
.phone {
  position: relative; width: clamp(270px, 25vw, 340px); aspect-ratio: 9 / 19.2;
  padding: 12px; border-radius: 52px; background: #0f1516;
  box-shadow: 0 0 0 2px #2a3334 inset, 0 50px 90px -40px rgba(10, 40, 40, .6), 0 30px 40px -30px rgba(0,0,0,.4);
  transform: rotate(-3deg); transition: transform .8s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone::before { /* dynamic island */
  content: ""; position: absolute; z-index: 5; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #000;
}
.phone-screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #000; isolation: isolate; }
.st-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.1); opacity: 0; transition: opacity .4s; }
.phone.is-wide .st-bg { opacity: 1; }
.phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone.is-wide .phone-screen video { object-fit: contain; }
.st-top { position: absolute; z-index: 3; inset: 0 0 auto 0; padding: 52px 12px 30px; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.st-bars { display: flex; gap: 3px; direction: ltr; }
.st-bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.st-bars i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.st-head { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #fff; font-size: 13px; }
.st-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--teal); box-shadow: 0 0 0 2px #fff; }
.st-sp { opacity: .75; font-size: 12px; }
.st-tap { position: absolute; z-index: 2; top: 0; bottom: 0; width: 35%; border: 0; background: transparent; }
.st-prev { right: 0; } .st-next { left: 0; }             /* RTL: right = back */
.st-foot { position: absolute; z-index: 3; inset: auto 0 0 0; padding: 40px 14px 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.st-icons { grid-column: 1 / -1; display: flex; gap: 14px; }
.st-icons svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.st-cap { margin: 0; font-size: 13px; font-weight: 500; }
.st-sound { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.st-sound span, .st-sound::before, .st-sound::after { content: ""; position: absolute; }
.st-sound span { left: 9px; top: 12px; width: 6px; height: 10px; background: #fff; border-radius: 1px; }
.st-sound::before { left: 12px; top: 9px; border-right: 8px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; transform: scaleX(-1); }
.st-sound::after { right: 7px; top: 16px; width: 10px; height: 2px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 0 0 #fff; }
.phone.has-sound .st-sound { background: var(--teal); }
.phone.has-sound .st-sound::after { width: 6px; height: 12px; top: 11px; right: 7px; background: none; border: 2px solid #fff; border-left: 0; border-radius: 0 12px 12px 0; transform: none; }

@media (max-width: 860px) {
  .stories { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .st-copy { display: contents; }
  .st-k { order: 1; } .st-copy h2 { order: 2; } .st-lead { order: 3; margin-inline: auto; } .phone { order: 4; transform: none; }
  .st-list { order: 5; justify-content: center; margin: 28px 0 22px; } .st-actions { order: 6; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .phone, .phone:hover { transform: none; } }

/* =========================================================
   v28 hero — the ad between the click and the lead
   ========================================================= */
.hero2 {
  position: relative; min-height: calc(100svh - 76px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: 1fr auto; column-gap: clamp(24px, 4vw, 64px); row-gap: 18px;
  padding: clamp(20px, 4vh, 44px) var(--gutter) clamp(24px, 4vh, 40px);
  overflow: hidden;
}
.hero2-title { display: contents; }
.ha, .hb { font-size: clamp(46px, 6.6vw, 112px); line-height: .94; letter-spacing: -.04em; position: relative; z-index: 2; }
.ha { grid-column: 1; grid-row: 1; align-self: start; justify-self: start; font-weight: 400; margin-top: 4vh; }
.hb { grid-column: 3; grid-row: 1; align-self: end; justify-self: end; text-align: left; font-weight: 700; color: var(--teal); margin-bottom: 4vh; }

/* the line, behind the phone */
.hrail { grid-column: 1 / -1; grid-row: 1; align-self: center; position: relative; height: 54px; z-index: 0; cursor: ew-resize; touch-action: pan-y; }
.hrail::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: var(--line); }
.hfill { position: absolute; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; width: var(--fill, 0%); background: var(--teal); }
.hticks { position: absolute; inset: 0; }
.htick { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0; border: 0; background: none; border-radius: 50%; }
.htick::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg-top); box-shadow: 0 0 0 2px var(--ink-3); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.htick.is-past::before { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.htick.is-active::before { transform: scale(1.8); background: #fff; box-shadow: 0 0 0 2px var(--teal), 0 0 0 7px color-mix(in srgb, var(--teal) 18%, transparent); }
.htick:hover::before { box-shadow: 0 0 0 2px var(--teal); }
.hend { position: absolute; top: calc(50% + 16px); font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.hend-click { right: 0; } .hend-lead { left: 0; color: var(--teal-deep); font-weight: 700; }

/* the phone sits on the line */
.hphone { grid-column: 2; grid-row: 1; align-self: center; z-index: 1;
  width: auto; height: min(70svh, 660px); transform: none; }
.hphone:hover { transform: translateY(-4px); }
.hcap { grid-column: 2; grid-row: 2; margin: 0; text-align: center; font-size: 15px; display: flex; gap: 8px; justify-content: center; align-items: baseline; white-space: nowrap; }
.hcap b { font-weight: 700; }
.hcap span { color: var(--ink-3); }
.hsub { grid-column: 1; grid-row: 2; margin: 0; max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--ink-2); align-self: end; text-wrap: balance; }
.hfull { grid-column: 3; grid-row: 2; justify-self: end; align-self: end; border: 0; background: none; padding: 6px 0; font-size: 15px; font-weight: 700; color: var(--teal-deep); border-bottom: 2px solid currentColor; }
.hfull:hover { color: var(--ink); }

/* load-in: draw the line, rise the type, lift the phone */
.hrail { animation: draw 1.4s var(--ease) .15s both; }
.ha, .hb, .hcap, .hsub, .hfull { animation: rise .9s var(--ease) both; }
.hb { animation-delay: .12s; } .hcap, .hsub, .hfull { animation-delay: .5s; }
.hphone { animation: phoneIn 1.1s var(--ease) .25s both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero2 { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; row-gap: 14px; min-height: 0; text-align: center; }
  .ha { grid-column: 1; grid-row: 1; justify-self: center; margin: 2vh 0 0; font-size: clamp(40px, 12vw, 64px); }
  .ha br, .hb br { display: none; }
  .hrail { grid-column: 1; grid-row: 2; }
  .hphone { grid-column: 1; grid-row: 2; justify-self: center; height: min(62svh, 560px); }
  .hb { grid-column: 1; grid-row: 3; justify-self: center; text-align: center; margin: 4px 0 0; font-size: clamp(40px, 12vw, 64px); }
  .hcap { grid-column: 1; grid-row: 4; }
  .hsub { grid-column: 1; grid-row: 5; justify-self: center; text-align: center; }
  .hfull { grid-column: 1; grid-row: 6; justify-self: center; }
  .hend { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hrail, .ha, .hb, .hcap, .hsub, .hfull, .hphone { animation: none; } }

/* =========================================================
   v31 hero — landscape tablet on the line, diagonal click → lead
   ========================================================= */
.hero2.is-tablet {
  grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto;
  row-gap: clamp(10px, 2vh, 22px); column-gap: 0;
}
.is-tablet .ha, .is-tablet .hb { font-size: clamp(42px, 6vw, 96px); margin: 0; white-space: nowrap; }
.is-tablet .ha { grid-column: 1; grid-row: 1; justify-self: start; align-self: end; }
.is-tablet .hb { grid-column: 1; grid-row: 3; justify-self: end; align-self: start; text-align: left; }
.is-tablet .hrail { grid-column: 1; grid-row: 2; }

/* the tablet */
.tablet.hphone {
  grid-column: 1; grid-row: 2; justify-self: center; align-self: center;
  height: auto; width: min(64vw, calc((100svh - 330px) * 1.48), 860px); min-width: 300px;
  aspect-ratio: 1.48; padding: 14px; border-radius: 34px;
}
.tablet.phone::before { /* front camera on the long edge */
  top: 50%; left: 6px; width: 6px; height: 6px; margin: -3px 0 0; border-radius: 50%; background: #2b3536;
}
.tablet .phone-screen { border-radius: 22px; }
.tablet .st-bg { opacity: 1; }
.tablet .phone-screen video { object-fit: contain; }
.tablet .st-top { padding: 14px 16px 30px; }
.tablet .st-head { margin-top: 10px; }
.tablet .st-foot { padding: 30px 16px 14px; grid-template-columns: 1fr auto; }
.tablet .st-tap { width: 30%; }

.hbottom { grid-column: 1; grid-row: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; }
.is-tablet .hsub { grid-column: 1; grid-row: 1; justify-self: start; }
.is-tablet .hcap { grid-column: 2; grid-row: 1; }
.is-tablet .hfull { grid-column: 3; grid-row: 1; justify-self: end; }

@media (max-width: 860px) {
  .hero2.is-tablet { grid-template-rows: auto auto auto auto; text-align: center; }
  .is-tablet .ha, .is-tablet .hb { justify-self: center; text-align: center; white-space: normal; font-size: clamp(36px, 11vw, 60px); }
  .tablet.hphone { width: 100%; min-width: 0; padding: 9px; border-radius: 24px; }
  .tablet .phone-screen { border-radius: 16px; }
  .tablet .st-head { font-size: 12px; } .tablet .st-av { width: 24px; height: 24px; font-size: 11px; }
  .hbottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .is-tablet .hsub, .is-tablet .hcap, .is-tablet .hfull { grid-column: 1; justify-self: center; }
  .is-tablet .hcap { grid-row: 1; } .is-tablet .hsub { grid-row: 2; text-align: center; } .is-tablet .hfull { grid-row: 3; }
}

/* home = hero only: fit one screen */
.page-home main { flex: 1; display: flex; flex-direction: column; }
.page-home .hero2.is-tablet { flex: 1; min-height: 0; height: calc(100svh - 76px); }
.page-home .is-tablet .ha, .page-home .is-tablet .hb { font-size: clamp(40px, min(5.6vw, 9vh), 92px); }
.page-home .tablet.hphone { width: min(62vw, calc((100svh - 400px) * 1.48), 860px); }
@media (max-width: 860px) {
  .page-home .hero2.is-tablet { height: auto; min-height: calc(100svh - 64px); align-content: center; }
  .page-home .tablet.hphone { width: 100%; }
}
@media (max-width: 860px) {
  .page-home .tablet.hphone { width: 84%; }
  .page-home .hero2.is-tablet { min-height: calc(100svh - 92px); padding-block: 12px 20px; }
}

/* ---------- Clients ticker (fixed bottom, every page) ---------- */
:root { --ticker-h: 60px; }
body.has-ticker { padding-bottom: var(--ticker-h); }
.ticker {
  position: fixed; inset: auto 0 0 0; z-index: 45; height: var(--ticker-h); overflow: hidden; direction: ltr;
  background: color-mix(in srgb, var(--bg-top) 88%, transparent); 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-track { display: flex; width: max-content; height: 100%; animation: tick 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding-inline-end: clamp(28px, 4vw, 56px); }
.ticker img { height: 34px; width: auto; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.ticker img:hover { filter: none; opacity: 1; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
/* home hero fits above the ticker */
.page-home .hero2.is-tablet { height: calc(100svh - 76px - var(--ticker-h)); }
.page-home .tablet.hphone { width: min(62vw, calc((100svh - 400px - var(--ticker-h)) * 1.48), 860px); }
@media (max-width: 860px) {
  :root { --ticker-h: 52px; }
  .ticker img { height: 28px; }
  .page-home .hero2.is-tablet { height: auto; min-height: calc(100svh - 92px - var(--ticker-h)); }
  .page-home .tablet.hphone { width: 84%; }
}
/* keep floating UI above the ticker */
.vp-box { margin-top: calc(var(--ticker-h) / -2); }

/* v35 — clean frame instead of a device */
.tablet.hphone {
  padding: 0; background: #0d1314; border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 40px 80px -42px rgba(10, 40, 40, .6), 0 18px 30px -24px rgba(10, 40, 40, .35);
}
.tablet.phone::before { display: none; }
.tablet .phone-screen { border-radius: 22px; }
.tablet .st-top, .tablet .st-cap { display: none; }
.tablet .st-foot { inset: auto auto 0 0; padding: 14px; background: none; display: block; }
.tablet .st-sound { opacity: .85; transition: opacity .3s, background .3s; }
.tablet:hover .st-sound { opacity: 1; }
/* thin turquoise ring when the frame is "live" on the line */
.tablet.hphone::after { content: ""; position: absolute; inset: -7px; border-radius: 29px; border: 1.5px solid color-mix(in srgb, var(--teal) 35%, transparent); pointer-events: none; }
@media (max-width: 860px) {
  .tablet.hphone { padding: 0; border-radius: 16px; }
  .tablet .phone-screen { border-radius: 16px; }
  .tablet.hphone::after { inset: -5px; border-radius: 21px; }
}

/* client logo beside the frame */
.hlogo {
  position: absolute; z-index: 2; top: 50%; right: calc(100% + clamp(20px, 3vw, 44px));
  width: clamp(130px, 13vw, 190px); aspect-ratio: 2 / 1; transform: translateY(calc(-100% - 22px));
  display: grid; place-items: center; padding: 8px 12px;
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 20px 40px -26px rgba(10, 40, 40, .45);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.hlogo img { width: 100%; height: 100%; object-fit: contain; }
.hlogo span { font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; color: var(--ink); text-align: center; line-height: 1.15; }
.hlogo.is-swap { opacity: 0; transform: translateY(calc(-100% - 10px)) scale(.94); }
/* little stem from the card down to the line */
.hlogo::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 16px; background: var(--teal); transform: translateX(-50%); border-radius: 2px; }
@media (max-width: 860px) {
  .hlogo { right: auto; left: -6px; top: -14px; width: 92px; padding: 5px 8px; border-radius: 12px; transform: rotate(-4deg); }
  .hlogo.is-swap { transform: rotate(-4deg) scale(.9); }
  .hlogo::after { display: none; }
}

/* =========================================================
   v37 hero — framed videos drifting right → left
   ========================================================= */
.hero4 {
  position: relative; display: grid; grid-template-rows: auto 1fr auto auto; row-gap: clamp(10px, 2vh, 20px);
  padding: clamp(16px, 3vh, 36px) var(--gutter) clamp(14px, 2.4vh, 26px);
}
.page-home .hero4 { height: calc(100svh - 76px - var(--ticker-h)); }
.hero4-title { display: contents; }
.hero4 .ha, .hero4 .hb { font-size: clamp(40px, min(5.6vw, 9vh), 92px); line-height: .95; letter-spacing: -.04em; margin: 0; white-space: nowrap; }
.hero4 .ha { grid-row: 1; justify-self: start; font-weight: 400; }
.hero4 .hb { grid-row: 3; justify-self: end; font-weight: 700; color: var(--teal); }

.vbelt {
  grid-row: 2; align-self: center; margin-inline: calc(var(--gutter) * -1); overflow: hidden; direction: ltr;
  padding-block: 18px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.vbelt-track { display: flex; width: max-content; animation: belt 80s linear infinite; }
.vbelt:hover .vbelt-track { animation-play-state: paused; }
@keyframes belt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.vbelt-set { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding-inline-end: clamp(16px, 2vw, 28px); }

.vframe { --fh: clamp(170px, 33vh, 330px); position: relative; flex: none; height: var(--fh); padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .5s var(--ease); }
.vframe.is-wide { aspect-ratio: 16 / 9; }
.vframe.is-sq { aspect-ratio: 1; }
.vframe.is-tall { aspect-ratio: 9 / 16; }
.vframe:nth-child(3n+2) { transform: translateY(-14px); }   /* gentle rhythm */
.vframe:nth-child(3n) { transform: translateY(12px); }
.vframe:hover { transform: translateY(-8px) scale(1.03); z-index: 2; }
.vf-media {
  display: block; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #0d1314;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 60px -36px rgba(10, 40, 40, .6), 0 14px 24px -20px rgba(10, 40, 40, .35);
}
.vf-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-logo {
  position: absolute; top: -12px; right: -10px; width: clamp(64px, 6vw, 92px); aspect-ratio: 2 / 1;
  display: grid; place-items: center; padding: 4px 8px; background: #fff; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 12px 24px -16px rgba(10, 40, 40, .5); transform: rotate(4deg); transition: transform .45s var(--ease);
}
.vf-logo img { width: 100%; height: 100%; object-fit: contain; }
.vf-logo span { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.1; text-align: center; }
.vframe:hover .vf-logo { transform: rotate(0deg) scale(1.08); }

.h4-bottom { grid-row: 4; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.hero4 .hsub { max-width: 380px; margin: 0; }
.hero4 .hfull { border: 0; border-bottom: 2px solid currentColor; padding: 4px 0; font-size: 15px; font-weight: 700; color: var(--teal-deep); }

.hero4 .ha, .hero4 .hb, .h4-bottom { animation: rise .9s var(--ease) both; }
.hero4 .hb { animation-delay: .12s; } .h4-bottom { animation-delay: .4s; }
.vbelt { animation: rise 1.1s var(--ease) .2s both; }

@media (max-width: 860px) {
  .page-home .hero4 { height: auto; min-height: calc(100svh - 92px - var(--ticker-h)); align-content: center; text-align: center; }
  .hero4 .ha, .hero4 .hb { justify-self: center; font-size: clamp(36px, 11vw, 60px); white-space: normal; }
  .vframe { --fh: clamp(150px, 28vh, 230px); }
  .vframe:nth-child(n) { transform: none; }
  .vf-logo { width: 62px; top: -8px; right: -6px; }
  .h4-bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .vbelt-track { animation: none; }
  .vbelt { overflow-x: auto; }
}

/* hover: the chosen video grows above the rest and plays */
.vframe { z-index: 1; }
.vframe:hover, .vframe.is-live { transform: scale(1.14); z-index: 5; }
.vframe:nth-child(3n+2):hover, .vframe:nth-child(3n+2).is-live { transform: translateY(-14px) scale(1.14); }
.vframe:nth-child(3n):hover, .vframe:nth-child(3n).is-live { transform: translateY(12px) scale(1.14); }
.vframe .vf-media { transition: box-shadow .5s var(--ease), filter .5s var(--ease); }
.vframe.is-live .vf-media { box-shadow: 0 0 0 2px var(--teal), 0 40px 70px -34px rgba(10, 40, 40, .7); }
.vbelt:hover .vframe:not(:hover) .vf-media { filter: saturate(.6) brightness(.92); }
/* room so the grown frame isn't clipped */
.vbelt { padding-block: 34px 38px; }
@media (max-width: 860px) {
  .vframe.is-live { transform: scale(1.08); }
  .vframe:nth-child(n).is-live { transform: scale(1.08); }
}
/* hero4: single column (old .ha/.hb rules placed items in columns 1 and 3) */
.hero4 { grid-template-columns: minmax(0, 1fr); }
.hero4 .ha, .hero4 .hb, .hero4 .vbelt, .hero4 .h4-bottom { grid-column: 1; }
.page-home .hero4 { height: calc(100svh - 76px - var(--ticker-h)); overflow: hidden; }
.page-home .hero4 { height: calc(100svh - 80px - var(--ticker-h)); }
@media (max-width: 860px) { .page-home .hero4 { height: auto; overflow: visible; } }
@media (max-width: 860px) {
  .vframe { --fh: clamp(130px, 21vh, 180px); }
  .vbelt-set { gap: 14px; padding-inline-end: 14px; }
  .vf-media { border-radius: 14px; }
  .vf-logo { width: 54px; border-radius: 9px; }
}

/* v42 — one frame size, no stickers, stills + videos */
.vframe, .vframe.is-wide, .vframe.is-sq, .vframe.is-tall { aspect-ratio: 4 / 3; }
.vframe:nth-child(n) { transform: none; }
.vframe:hover, .vframe.is-live, .vframe:nth-child(n):hover, .vframe:nth-child(n).is-live { transform: scale(1.14); }
.vf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-logo { display: none; }
@media (max-width: 860px) {
  .vframe:nth-child(n).is-live { transform: scale(1.08); }
}

/* v43 — one-line headline, larger logo */
.hero4 { grid-template-rows: auto 1fr auto; }
.h4-title {
  grid-row: 1; grid-column: 1; justify-self: center; text-align: center; margin: 0;
  font-size: clamp(26px, 3.3vw, 50px); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; white-space: nowrap;
  animation: rise .9s var(--ease) both;
}
.h4-title b { font-weight: 700; color: var(--teal); }
.hero4 .vbelt { grid-row: 2; }
.hero4 .h4-bottom { grid-row: 3; }
.bar .logo-full, .logo-full { height: 24px; }
@media (max-width: 1040px) { .bar .logo-full { height: 18px; } }
@media (max-width: 860px) {
  .h4-title { white-space: normal; font-size: clamp(22px, 6.4vw, 32px); text-wrap: balance; }
}

/* =========================================================
   v45 — refined about rows + lighter ring
   ========================================================= */
.ebars { gap: 10px; }
.eb, .eb.is-on, .ebars:not(.is-drawn) .eb { width: 100%; }
.eb { opacity: 1; transition: opacity .6s var(--ease), transform .7s var(--ease); }
.ebars:not(.is-drawn) .eb { opacity: 0; transform: translateY(12px); }
.eb:nth-child(2) { transition-delay: .06s; } .eb:nth-child(3) { transition-delay: .12s; } .eb:nth-child(4) { transition-delay: .18s; }
.eb-bar {
  min-height: 0; padding: 18px 22px; gap: 16px; border-radius: 18px;
  background: var(--card); color: var(--ink); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500;
  border: 1px solid var(--line); box-shadow: none;
  transition: border-color .35s var(--ease), background .35s var(--ease), border-radius .5s var(--ease);
}
.eb-bar:hover { background: #fff; border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }
.eb.is-on .eb-bar { background: #fff; color: var(--ink); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); border-radius: 18px 18px 0 0; border-bottom-color: transparent; }
.eb-t { white-space: normal; }
/* line icon that draws itself */
.eb-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--teal) 9%, transparent); transition: background .4s var(--ease); }
.eb-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.eb-ic path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.eb-bar:hover .eb-ic path, .eb.is-on .eb-ic path { animation: icdraw 1.1s var(--ease) both; }
@keyframes icdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.eb.is-on .eb-ic { background: var(--teal); }
.eb.is-on .eb-ic svg { stroke: #fff; }
/* the logo's line runs under the open row */
.eb-time { inset: auto 22px 0 22px; height: 2px; border-radius: 2px; background: var(--teal); }
.eb.is-on .eb-time { transform: scaleX(1); transition: transform .9s var(--ease); }
.eb.is-on.is-run .eb-time { animation: ebsweep 6s linear both; }
.eb-panel p {
  padding: 8px 22px 22px 22px; padding-inline-start: 78px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--teal) 45%, var(--line)); border-top: 0; border-radius: 0 0 18px 18px;
  color: var(--ink-2); font-weight: 400; line-height: 1.9; font-size: clamp(15px, 1.2vw, 17px);
}
@media (max-width: 640px) {
  .eb-bar { padding: 14px 16px; gap: 12px; }
  .eb-ic { width: 34px; height: 34px; } .eb-ic svg { width: 19px; height: 19px; }
  .eb-panel p { padding-inline-start: 16px; }
  .eb-t { padding: 0; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) { .eb-ic path { animation: none !important; } }

/* lighter advantages ring */
.ar-base { stroke-width: 10; stroke: color-mix(in srgb, var(--ink) 9%, transparent); }
.ar-prog, .ar-seg.is-on .ar-prog { stroke-width: 10; }
.ar-seg.is-on .ar-base { stroke-width: 10; stroke: color-mix(in srgb, var(--teal) 22%, transparent); }
.ar-hit { stroke-width: 56; }
.ar-lbl { font-size: 17px; font-weight: 500; }
.ar-big { font-size: 52px; font-weight: 500; }
.ar-small { font-size: 16px; }
.ar-guide { stroke-dasharray: 1 8; }
.adv-card { border-radius: 22px; box-shadow: 0 24px 50px -40px rgba(10, 40, 40, .35); }
.adv-name { font-weight: 500; }
.adv-tag { font-weight: 500; }
.page-title { font-weight: 500; }
.page-title b { font-weight: 700; }

/* =========================================================
   v47 — lift-on-hover (row keeps running) + 1:1 viewer
   ========================================================= */
.vbelt:hover .vbelt-track { animation-play-state: running; }
.vframe:hover, .vframe:nth-child(n):hover { transform: none; }
.vbelt:hover .vframe:not(:hover) .vf-media { filter: none; }
.vframe.is-lifted { opacity: 0; }
.vbelt.has-lift .vf-media { filter: saturate(.75) brightness(.96); transition: filter .4s var(--ease); }

.vlift {
  position: fixed; z-index: 60; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: center; transform: scale(1); transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.vlift.is-on { transform: scale(1.18); }
.vlift .vf-media { box-shadow: 0 0 0 2px var(--teal), 0 46px 80px -36px rgba(10, 40, 40, .7); }
.vlift .vf-media img, .vlift .vf-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vlift-cap {
  position: absolute; inset: auto 0 -34px 0; display: flex; gap: 6px; justify-content: center; align-items: baseline;
  font-size: 12px; color: var(--ink-3); white-space: nowrap; opacity: 0; transition: opacity .3s var(--ease) .1s;
}
.vlift-cap b { color: var(--ink); font-weight: 700; }
.vlift.is-on .vlift-cap { opacity: 1; }

.sq { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.sq-scrim { position: absolute; inset: 0; background: rgba(241, 243, 243, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s var(--ease); }
.sq-box {
  position: absolute; left: 50%; top: 50%; margin: 0; width: min(78vh, 86vw);
  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: 22px; overflow: hidden; background: #0d1314;
  box-shadow: 0 50px 100px -50px rgba(10, 40, 40, .7); }
.sq-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) brightness(.6) saturate(1.2); }
.sq-media { position: absolute; inset: 0; display: grid; place-items: center; }
.sq-media img, .sq-media video { width: 100%; height: 100%; object-fit: contain; display: block; }
.sq-cap { display: flex; gap: 8px; justify-content: center; align-items: baseline; margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.sq-cap b { color: var(--ink); font-weight: 700; }
.sq-close { position: absolute; top: -56px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 15px; }
.sq-close:hover { background: var(--ink); color: #fff; }
.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); }
@media (max-width: 860px) { .sq-box { width: 92vw; } .sq-close { top: -52px; } }
@media (prefers-reduced-motion: reduce) { .vlift, .sq-box { transition: none; } }

/* v48 — hovered work grows and plays while the row keeps moving */
.vbelt:hover .vbelt-track, .vbelt .vbelt-track { animation-play-state: running; }
.vframe.is-live, .vframe:nth-child(n).is-live { transform: scale(1.14); z-index: 5; }
.vframe.is-live .vf-media { box-shadow: 0 0 0 2px var(--teal), 0 40px 70px -34px rgba(10, 40, 40, .7); }
.vbelt.has-lift .vf-media { filter: none; }

/* v49 — centred home subtitle */
.h4-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.hero4 .hsub { max-width: 520px; text-align: center; margin-inline: auto; text-wrap: balance; }

/* v49 — calmer type on the about page */
body:has(#ebars) .page-title { font-size: clamp(30px, 4vw, 52px); }
body:has(#ebars) .prose .lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.8; color: var(--ink-2); }
.eb-bar { font-size: clamp(15px, 1.15vw, 17px); padding: 14px 18px; }
.eb-ic { width: 34px; height: 34px; } .eb-ic svg { width: 19px; height: 19px; }
.eb-panel p { font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.85; padding-inline-start: 70px; }
@media (max-width: 640px) { .eb-panel p { padding-inline-start: 16px; } }
.hero4 .hfull { align-self: center; justify-self: center; }

/* v52 — logo first (right), menu right after it */
.bar { flex-direction: row; justify-content: flex-start; gap: clamp(28px, 4vw, 56px); }
.bar .menu-toggle { margin-inline-start: auto; }
.menu .is-current::after { transform: scaleX(1); }

/* v53 — logo on the right, menu centred */
@media (min-width: 1041px) {
  .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
  .bar .logo { grid-column: 1; justify-self: start; }
  .bar .menu { grid-column: 2; justify-self: center; }
}
.hero4 .h4-bottom { margin-bottom: clamp(18px, 5vh, 52px); }
@media (max-width: 860px) { .hero4 .h4-bottom { margin-bottom: 8px; } }

/* v55 — no page kicker; content starts higher */
.page { padding-top: clamp(20px, 4vh, 40px); }
.page-head { margin-bottom: clamp(24px, 3.5vw, 44px); }
.page-head .page-title { margin-top: 0; }

/* v56 — mobile header: burger right, logo centred; menu drops below the bar */
@media (max-width: 1040px) {
  .bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 0; padding-block: 14px; z-index: 50; }
  .bar .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
  .bar .logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .bar .logo-full { height: 16px; }
  .menu {
    position: fixed; inset: var(--bar-h, 64px) 0 0 0; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px;
    padding: 28px var(--gutter) 40px; text-align: right;
    background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-top: 1px solid var(--line);
  }
  .menu a { font-size: 24px; padding: 10px 0; color: var(--ink); }
  .menu a::after { bottom: 4px; }
  .bar.is-open { background: rgba(255, 255, 255, .92); }
}

/* v57 — mobile menu: the bar's backdrop-filter made it the containing block for the fixed menu */
@media (max-width: 1040px) {
  .bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 251, 251, .96); }
  .menu { z-index: 49; }
}

/* v57 — the row scrolls (drag / swipe / wheel) and drifts on its own */
.vbelt { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; touch-action: pan-x pan-y; }
.vbelt::-webkit-scrollbar { display: none; }
.vbelt.is-dragging { cursor: grabbing; }
.vbelt.is-dragging .vframe { pointer-events: none; }
.vbelt-track, .vbelt:hover .vbelt-track, .vbelt .vbelt-track { animation: none !important; }

/* v59 — touch: size follows distance from the centre (no jump) */
.vbelt-track.is-fluid .vframe,
.vbelt-track.is-fluid .vframe.is-live,
.vbelt-track.is-fluid .vframe:nth-child(n).is-live {
  transform: scale(calc(1 + var(--k, 0) * .1)); transition: none; z-index: calc(1 + var(--k, 0) * 4);
}
.vbelt-track.is-fluid .vframe .vf-media { transition: box-shadow 1.2s ease; }
.vbelt-track.is-fluid .vframe.is-live .vf-media { box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 80%, transparent), 0 34px 60px -34px rgba(10, 40, 40, .6); }

/* v60 — about rows: closed by default, arrow shows they open */
.eb-t { flex: 1; }
.eb-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line);
  transition: transform .5s var(--ease), background .3s, border-color .3s; }
.eb-arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.eb-bar:hover .eb-arrow { border-color: var(--teal); }
.eb-bar:hover .eb-arrow svg { stroke: var(--teal-deep); }
.eb.is-on .eb-arrow { transform: rotate(-90deg); background: var(--teal); border-color: var(--teal); }
.eb.is-on .eb-arrow svg { stroke: #fff; }
.eb-bar { cursor: pointer; }
.eb.is-on .eb-time { transform: scaleX(1); animation: none; transition: transform .7s var(--ease); }
.eb .eb-time { transform: scaleX(0); }
@media (max-width: 640px) { .eb-arrow { width: 30px; height: 30px; } }

/* v61 — mobile headline on two lines */
.m-br { display: none; }
@media (max-width: 860px) {
  .m-br { display: inline; }
  .h4-title { white-space: nowrap; font-size: clamp(26px, 8.4vw, 38px); line-height: 1.15; }
}

/* v62 — taller frames on mobile (portrait 4:5) */
@media (max-width: 860px) {
  .vframe, .vframe.is-wide, .vframe.is-sq, .vframe.is-tall { --fh: clamp(250px, 42vh, 380px); aspect-ratio: 4 / 5; }
  .vbelt { padding-block: 22px 26px; }
}

/* =========================================================
   v63 — one page: sections under the hero, sticky menu
   ========================================================= */
html { scroll-behavior: smooth; }
.page-home main { display: block; }
.sec { scroll-margin-top: calc(var(--bar-h, 76px) - 1px); padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.sec .page-head { margin-bottom: clamp(28px, 4vw, 52px); }
.bar { position: sticky; top: 0; }
/* bouncing arrow under the gallery */
.scroll-down { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 6px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  animation: bob 1.8s ease-in-out infinite; transition: background .3s, border-color .3s; }
.scroll-down svg { width: 20px; height: 20px; fill: none; stroke: var(--teal-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-down:hover { background: var(--teal); border-color: var(--teal); }
.scroll-down:hover svg { stroke: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-down { animation: none; } }

/* v64 — services map stays horizontal on mobile, swipe sideways */
@media (max-width: 860px) {
  .flow { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .flow::-webkit-scrollbar { display: none; }
  .flow svg, .flow svg.is-v { width: 780px; max-width: none; }
  .flow-hint::before { content: "← החליקו לצדדים · "; }
}
@media (max-width: 860px) { .sec .page-title { font-size: clamp(24px, 7vw, 36px); line-height: 1.2; text-wrap: balance; } .sec { padding-top: 56px; } }

/* v66 — desktop: services map + selected text fit one screen */
@media (min-width: 861px) {
  #services.sec {
    min-height: calc(100svh - var(--bar-h, 79px) - var(--ticker-h)); padding-top: 20px; padding-bottom: 18px;
    display: flex; flex-direction: column; justify-content: center;
  }
  #services .page-head { margin-bottom: 4px; }
  #services .page-title { font-size: clamp(26px, 2.6vw, 40px); }
  #services .page-sub { margin-top: 6px; font-size: 15px; }
  #services .flow svg { max-height: min(38vh, 330px); width: auto; max-width: 100%; margin: 0 auto; }
  #services .flow-hint { margin: 0; }
  #services .flow-card { margin-top: 10px; padding: 20px 28px; gap: 10px 36px; border-radius: 20px; }
  #services .fc-name { font-size: clamp(22px, 2vw, 30px); margin-bottom: 6px; }
  #services .fc-hook { font-size: 15.5px; }
  #services .fc-text { font-size: 14.5px; line-height: 1.7; }
  #services .fc-nav button { width: 40px; height: 40px; }
}
@media (min-width: 861px) { #services .flow svg { width: 100%; height: min(40vh, 340px); max-height: none; } }
@media (min-width: 861px) { #services .flow svg { height: min(34vh, 300px); } #services .fc-text { line-height: 1.6; } #services .flow-card { padding-block: 16px; } }

/* v69 — Hebrew inside SVG: let the bidi algorithm order each label (iOS Safari reversed RTL-inherited text) */
.adv-ring svg text, .flow svg text { direction: ltr; unicode-bidi: plaintext; }

/* advantages ring: centre text as HTML on top of the SVG */
.adv-ring { position: relative; }
.ar-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; padding: 0 22%; }
.ar-center .ar-big { margin: 0; font-size: clamp(34px, 4.6vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); fill: none; }
.ar-center .ar-small { margin: 8px 0 0; font-size: clamp(13px, 1.2vw, 16px); color: var(--teal-deep); line-height: 1.35; }
.adv-ring svg { position: relative; }

/* services map, compact phone layout (fits the width, no side scroll) */
@media (max-width: 860px) {
  .flow { overflow: visible; margin-inline: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; }
  .flow svg, .flow svg.is-v, .flow svg.is-c { width: 100%; max-width: 100%; height: auto; }
  .flow-hint::before { content: none; }
}
.flow svg.is-c .fl-edge { stroke-width: 3; }
.flow svg.is-c .fl-node .core { stroke-width: 2; }
.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 circle { r: 6px; }
.flow svg.is-c .fl-endpt text { font-size: 13px; }
.flow svg.is-c .fl-dots circle { r: 4px; }

/* desktop: the scroll arrow always sits at the bottom of the first screen */
@media (min-width: 861px) {
  .hero4 { position: relative; }
  .hero4 .scroll-down { position: absolute; left: 50%; bottom: 10px; margin: 0 0 0 -22px; z-index: 3; }
  .hero4 .h4-bottom { margin-bottom: 64px; }
}

/* v71 — advantages card type matches the services card */
.adv-name { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 14px; }
.adv-tag { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.adv-text { font-size: inherit; line-height: 1.8; }
@media (min-width: 861px) {
  .adv-name { font-size: clamp(22px, 2vw, 30px); margin-bottom: 6px; }
  .adv-tag { font-size: 15.5px; margin-bottom: 10px; }
  .adv-text { font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
  .adv-card { padding: 20px 28px; }
  .adv-card .fc-nav button { width: 40px; height: 40px; }
}
@media (max-width: 860px) { .vframe, .vframe.is-wide, .vframe.is-sq, .vframe.is-tall { --fh: clamp(220px, 37vh, 330px); } }

/* v73 — desktop: the arrow is fixed above the ticker until the end of the page */
@media (min-width: 861px) {
  .hero4 .scroll-down { position: fixed; left: 50%; bottom: calc(var(--ticker-h) + 14px); margin: 0 0 0 -22px; z-index: 44;
    box-shadow: 0 10px 24px -14px rgba(10, 40, 40, .45); transition: opacity .4s var(--ease), background .3s, border-color .3s; }
  .hero4 .scroll-down.is-gone { opacity: 0; pointer-events: none; }
}

/* v74 — floating arrow (desktop) */
.scroll-down.is-floating { position: fixed; left: 50%; bottom: calc(var(--ticker-h) + 14px); margin: 0 0 0 -22px; z-index: 44;
  box-shadow: 0 10px 24px -14px rgba(10, 40, 40, .45); transition: opacity .4s var(--ease), background .3s, border-color .3s; }
.scroll-down.is-floating.is-gone { opacity: 0; pointer-events: none; }

/* v74 — intro: the logo draws itself, the turquoise bar lands, then the curtain lifts */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg-top);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 0 0); }
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro-logo { width: min(560px, 72vw); height: auto; overflow: visible; }
.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-out .intro-logo { transform: translateY(-30px); opacity: 0; transition: transform .6s var(--ease), opacity .4s ease; }
html.intro-on { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
@media (max-width: 1040px) { .bar .logo-full { height: 19px; } }

/* v77 — phones: intro logo flies into the header */
html.intro-on .bar .logo-full { opacity: 0; }
.intro-logo { transform-origin: center; }
.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); }

/* v79 — mobile: floating arrow too; keep the hero text clear of it */
@media (max-width: 860px) {
  .scroll-down.is-floating { width: 40px; height: 40px; margin-left: -20px; bottom: calc(var(--ticker-h) + 12px); }
  .hero4 .h4-bottom { margin-bottom: 60px; }
}
@media (max-width: 860px) { .form .btn, .contact-form .btn { justify-self: center; } .form .form-note { text-align: center; } }
@media (min-width: 861px) { #services .flow svg { height: min(40vh, 350px); } #services .page-title { font-size: clamp(24px, 2.3vw, 36px); } #services .page-sub { margin-top: 2px; } #services .flow-card { margin-top: 4px; } #services .flow-hint { font-size: 12px; } }
