/* ================================================================
   WORK / CASES — "монтажна маса"
   MOBILE FIRST: base rules are the phone layout (≈360–430px).
   Larger screens are layered on with min-width queries
   (700px tablet, 1000px desktop).
   Shared by #work on the home page and rabota/<slug>.html.
================================================================ */

/* ---------- ODOMETER ---------- */
.odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; white-space: nowrap; }
.odo-col { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: baseline; }
.odo-strip { display: flex; flex-direction: column; transition: transform 1.6s cubic-bezier(.16,.84,.24,1); }
.odo-strip span { height: 1em; line-height: 1; display: block; text-align: center; }
.odo-sep { display: inline-block; width: .26em; }
.odo-sfx { margin-left: .04em; color: var(--brand-lite); }
.odo-static { line-height: 1; }

/* ---------- SECTION SHELL ---------- */
.work { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.work::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.2));
}
.work > .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-lite); margin-bottom: 16px;
}
.eyebrow .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(226,84,44,.18); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }

.work-head { display: grid; gap: 14px; margin-bottom: 26px; }
.work-head h2 { color: #fff; font-size: clamp(1.6rem, 7.4vw, 2.9rem); }
.work-head h2 .odo { color: var(--brand-lite); }
.work-head p { color: var(--muted-dark); font-size: .98rem; }
.work-head .tc { font-size: .72rem; color: var(--faint-dark); margin-top: 8px; display: block; }

/* ---------- TIMELINE (phone: full-bleed swipe strip) ---------- */
.tl {
  position: relative; margin: 0 calc(var(--gut) * -1);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
  padding: 0 0 14px;
}
.tl-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px var(--gut); border-bottom: 1px solid var(--ink-line);
  font-size: .72rem; color: var(--faint-dark);
}
.tl-title { font-family: 'Unbounded', sans-serif; font-weight: 700; color: #fff; font-size: .66rem; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tl-title .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: rec 1.6s ease-in-out infinite; }
.tl-bar .hint { display: none; }
.tl-right { display: flex; align-items: center; gap: 10px; }
.tl-tc { font-family: 'Unbounded', sans-serif; font-variant-numeric: tabular-nums; color: var(--brand-lite); font-size: .66rem; }
.tl-nav { display: flex; gap: 6px; }
.tl-nav button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ink-line);
  background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s; touch-action: manipulation;
}
.tl-nav button:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.tl-nav .ico { width: 16px; height: 16px; }

.tl-ruler {
  height: 20px; margin: 0 var(--gut);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 12px);
  background-size: 100% 10px, 100% 5px; background-repeat: repeat-x; background-position: 0 100%, 0 100%;
  border-bottom: 1px solid var(--ink-line);
}
.tl-scroll {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 16px 50% 6px; position: relative; z-index: 2;
}
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-scroll.drag { cursor: grabbing; scroll-snap-type: none; }
.tl-scroll.drag * { pointer-events: none; }
.tl-playhead {
  position: absolute; top: 42px; bottom: 8px; left: 50%; width: 2px; margin-left: -1px;
  background: var(--signal); z-index: 1; pointer-events: none; box-shadow: 0 0 16px rgba(226,84,44,.55);
}
.tl-playhead::before {
  content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top: 9px solid var(--signal); border-bottom: 0;
}
.tl-audio { display: none; margin: 10px var(--gut) 0; height: 26px; border-radius: 6px; position: relative; overflow: hidden; background: rgba(42,167,206,.1); border: 1px solid rgba(42,167,206,.22); }
.tl-audio svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl-audio path { fill: rgba(138,214,236,.55); }

/* ---------- CLIP (vertical video card) ---------- */
.clip {
  flex: 0 0 auto; width: 64vw; max-width: 260px; scroll-snap-align: center;
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.14);
  transform: scale(.9); opacity: .55;
  transition: transform .45s var(--ease), opacity .45s var(--ease), box-shadow .45s, border-color .45s;
  text-decoration: none; color: #fff; display: block; -webkit-tap-highlight-color: transparent;
}
.clip.live { transform: none; opacity: 1; border-color: rgba(226,84,44,.75); box-shadow: 0 22px 54px rgba(0,0,0,.45); }
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-trk {
  position: absolute; top: 10px; left: 10px; max-width: calc(100% - 64px); z-index: 2;
  display: flex; align-items: center; gap: 7px;
  font-family: 'Unbounded', sans-serif; font-size: .58rem; font-weight: 700;
}
.clip-trk img { width: 26px; height: 26px; border-radius: 50%; background: #fff; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px var(--acc, #fff); }
.clip-trk span { background: rgba(6,34,44,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 7px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 46px 12px 12px; background: linear-gradient(180deg, transparent, rgba(4,20,27,.94)); }
.clip-meta strong { display: block; font-family: 'Unbounded', sans-serif; font-size: .68rem; line-height: 1.3; letter-spacing: -.02em; }
.clip-meta > span:last-child { display: block; font-size: .68rem; color: var(--muted-dark); margin-top: 3px; }
.views { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .84rem; color: #fff; }
.views::before { content: ''; border: 5px solid transparent; border-left: 8px solid var(--signal); border-right: 0; }
.clip-cover { position: absolute; inset: 0; padding: 44px 14px 80px; display: flex; align-items: center; background: radial-gradient(120% 70% at 20% 0%, color-mix(in srgb, var(--acc, #2AA7CE) 40%, transparent), transparent 70%), linear-gradient(170deg, #134a5f, #06222C 70%); }
.clip-cover q { quotes: none; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .95rem; line-height: 1.22; letter-spacing: -.03em; }
.clip-play {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: opacity .25s, transform .25s var(--ease);
}
.clip-play::after { content: ''; border: 9px solid transparent; border-left: 14px solid #fff; border-right: 0; margin-left: 4px; }
.clip.live .clip-play { opacity: 0; transform: scale(.8); }
/* phone: a clear "tap for sound" hint on the playing clip */
.clip-sound { position: absolute; top: 10px; right: 10px; z-index: 3; display: none; align-items: center; gap: 5px; font-size: .62rem; font-weight: 700; background: rgba(6,34,44,.78); padding: 5px 8px; border-radius: 999px; }
.clip-sound::before { content: '🔊'; font-size: .8rem; }
.clip-sound { font-size: 0; padding: 6px 8px; }
.clip.live .clip-sound { display: inline-flex; }

/* ---------- BRAND CARDS (one per client) ----------
   Phone: horizontal swipe deck, next card peeks in.
   Tablet: 2×2 grid. Desktop: 4 in a row. */
.bins {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 18px calc(var(--gut) * -1) 0; padding: 4px var(--gut) 8px; scroll-padding: 0 var(--gut);
}
.bins::-webkit-scrollbar { display: none; }
.bin {
  --acc: var(--brand);
  flex: 0 0 84%; scroll-snap-align: start;
  position: relative; overflow: hidden; border-radius: 20px;
  border: 1.5px solid color-mix(in srgb, var(--acc) 75%, transparent);
  background:
    radial-gradient(120% 55% at 100% 0%, color-mix(in srgb, var(--acc) 34%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--acc) 16%, #0B3040), #082833 70%);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--acc) 14%, rgba(0,0,0,.3));
  text-decoration: none; color: #fff; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
a.bin:active { transform: scale(.985); }
.bin-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--acc) 62%, #06222C), color-mix(in srgb, var(--acc) 22%, #06222C));
  border-bottom: 1px solid color-mix(in srgb, var(--acc) 60%, transparent);
}
.bin-logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #fff; flex-shrink: 0; box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(0,0,0,.35); }
.bin-head > span { min-width: 0; }
.bin-head strong { display: block; font-family: 'Unbounded', sans-serif; font-size: .98rem; letter-spacing: -.03em; line-height: 1.15; }
.bin-head strong { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.bin-head small { display: block; font-size: .72rem; color: rgba(255,255,255,.86); margin-top: 3px; font-weight: 600; }
.bin .num { color: #fff; }
.bin .per { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; color: rgba(255,255,255,.86); background: color-mix(in srgb, var(--acc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); }
.bin .per b { color: #fff; }
.bin .per .ico { width: 13px; height: 13px; color: var(--acc); }
.bin-body { display: block; padding: 16px 16px 0; }
.bin .num { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.75rem; letter-spacing: -.045em; line-height: 1; display: block; }
.bin .lbl { font-size: .76rem; color: var(--muted-dark); margin-top: 6px; display: block; }
.bin-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px 16px 0; }
.bin-strip span { position: relative; aspect-ratio: 9 / 14; border-radius: 9px; overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255,255,255,.12); }
.bin-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bin-strip.n1 { grid-template-columns: 1fr; }
.bin-strip.n1 span { aspect-ratio: 16 / 10; }
.bin-strip.n1 img { object-position: 50% 30%; }
.bin-strip.n2 { grid-template-columns: 1fr 1fr; }
.bin-strip b { position: absolute; left: 5px; bottom: 5px; font-family: 'Unbounded', sans-serif; font-size: .56rem; background: rgba(4,20,27,.8); padding: 2px 5px; border-radius: 4px; }
.split { display: flex; height: 6px; border-radius: 4px; overflow: hidden; margin: 14px 16px 6px; background: rgba(255,255,255,.08); }
.split i { display: block; height: 100%; }
.split i:nth-child(1) { background: var(--brand); }
.split i:nth-child(2) { background: var(--signal); }
.split-legend { display: flex; gap: 12px; font-size: .7rem; color: var(--faint-dark); flex-wrap: wrap; padding: 0 16px; }
.split-legend b { font-weight: 700; color: var(--muted-dark); }
.split-legend .dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; background: var(--brand); }
.split-legend .dot.o { background: var(--signal); }
.bin .go {
  margin: auto 16px 16px; padding: 13px 14px; border-radius: 12px; min-height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-weight: 800; font-size: .88rem; color: #06222C; background: var(--acc); border: 0;
  transition: filter .2s;
}
.bin .split-legend { margin-bottom: 16px; }
.bin .go .ico { width: 16px; height: 16px; color: #06222C; transition: transform .2s var(--ease); }
a.bin:hover .go { filter: brightness(1.08); }
a.bin:hover .go .ico { transform: translateX(4px); }

.deck-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.deck-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); transition: width .3s var(--ease), background .3s; }
.deck-dots i.on { width: 18px; background: var(--brand-lite); }

.work-cta {
  margin-top: 22px; display: grid; gap: 14px; padding: 20px 18px; border-radius: 18px;
  background: linear-gradient(100deg, rgba(42,167,206,.2), rgba(42,167,206,.04));
  border: 1px solid rgba(42,167,206,.32);
}
.work-cta p { color: #fff; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.02rem; letter-spacing: -.03em; line-height: 1.3; }
.work-cta p span { color: var(--brand-lite); }
.work-cta .btn { width: 100%; white-space: normal; text-align: center; }
.work-note { margin-top: 14px; font-size: .72rem; color: var(--faint-dark); }

/* ---------- LIGHTBOX ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 14px; background: rgba(3,16,22,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lb.open { display: flex; }
.lb-box { position: relative; width: min(420px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; }
.lb video { width: 100%; max-height: calc(100dvh - 110px); aspect-ratio: 9 / 16; border-radius: 16px; background: #000; object-fit: contain; }
.lb-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; font-size: .8rem; }
.lb-foot a { color: var(--brand-lite); font-weight: 700; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.lb-close .ico { width: 18px; height: 18px; }

/* ---------- STICKY CONSULT CTA ----------
   Phone: full-width bottom bar (case pages; home already has #dock).
   Desktop: floating pill bottom-right on every page. */
.pill {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 12px 18px; border-radius: 14px; text-decoration: none;
  background: var(--brand-deep); color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 2px 0 var(--brand-dark), 0 16px 40px rgba(0,0,0,.4);
  transform: translateY(160%); transition: transform .45s var(--ease), background .2s;
}
.pill.up { transform: none; }
.pill:hover { background: var(--brand-dark); }
.pill .ping { width: 9px; height: 9px; border-radius: 50%; background: #5BE38F; box-shadow: 0 0 0 0 rgba(91,227,143,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(91,227,143,0); } 100% { box-shadow: 0 0 0 0 rgba(91,227,143,0); } }
.pill-home { display: none; }

/* ---------- HERO PROOF CHIP ---------- */
.proof-chip {
  display: flex; align-items: center; gap: 12px; margin-top: 20px; max-width: 380px;
  padding: 10px 14px 10px 10px; border-radius: 14px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid var(--ink-line); transition: background .2s, border-color .2s;
}
.proof-chip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.26); }
.proof-chip .stack { display: flex; flex-shrink: 0; }
.proof-chip .stack img { width: 34px; height: 34px; border-radius: 50%; background: #fff; object-fit: cover; margin-left: -10px; border: 2px solid #0E4458; }
.proof-chip .stack img:first-child { margin-left: 0; }
.proof-chip > span:nth-child(2) { flex: 1; min-width: 0; }
.proof-chip b { display: block; font-family: 'Unbounded', sans-serif; font-size: .9rem; letter-spacing: -.03em; }
.proof-chip span span { display: block; font-size: .74rem; color: var(--muted-dark); }
.proof-chip > .ico { width: 16px; height: 16px; color: var(--brand-lite); }

/* phone: the services panel in the hero repeats #services; hide it so results come sooner */
@media (max-width: 699px) { .hero-index { display: none; } }

/* ---------- TABLET ≥700 ---------- */
@media (min-width: 700px) {
  .tl { margin: 0; border: 1px solid var(--ink-line); border-radius: 18px; padding-bottom: 18px; }
  .tl-bar { padding: 12px 16px; }
  .tl-bar .hint { display: inline; }
  .tl-ruler, .tl-audio { margin-left: 16px; margin-right: 16px; }
  .tl-title, .tl-tc { font-size: .74rem; }
  .tl-scroll { cursor: grab; gap: 14px; padding-top: 18px; }
  .tl-playhead { top: 49px; }
  .clip { width: 30vw; max-width: 232px; }
  .clip .clip-play { opacity: 0; transform: scale(.8); }
  .clip:hover .clip-play { opacity: 1; transform: none; }
  .clip.live .clip-sound { display: none; }
  .bins { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; margin: 22px 0 0; padding: 0; gap: 14px; }
  .bin { flex: none; }
  .deck-dots { display: none; }
  a.bin:hover { transform: translateY(-4px); border-color: var(--acc); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
  .work-cta { grid-template-columns: 1fr auto; align-items: center; padding: 22px 24px; }
  .work-cta .btn { width: auto; white-space: nowrap; }
  .proof-chip { display: inline-flex; margin-top: 26px; }
}
/* ---------- DESKTOP ≥1000 ---------- */
@media (min-width: 1000px) {
  .work-head { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 64px; align-items: end; margin-bottom: 52px; }
  .clip { width: 19vw; }
  .bins { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .pill { left: auto; right: 22px; bottom: 22px; border-radius: 999px; min-height: 0; padding: 12px 18px 12px 14px; font-size: .86rem; }
  .pill-home { display: flex; }
}

/* ================================================================
   CASE PAGE  (mobile first)
================================================================ */
body.case {
  --paper:#F2F7F9; --ink:#06222C; --ink-2:#0B3040; --ink-3:#124055; --ink-line:rgba(255,255,255,.12);
  --muted-dark:rgba(255,255,255,.74); --faint-dark:rgba(255,255,255,.58);
  --brand:#2AA7CE; --brand-deep:#1B7C9B; --brand-dark:#0B4256; --brand-lite:#8AD6EC;
  --signal:#E2542C; --r:10px; --maxw:1220px; --gut:16px; --ease:cubic-bezier(.22,.61,.36,1);
  margin: 0; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ink); color: #fff; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 84px;
}
body.case *, body.case *::before, body.case *::after { box-sizing: border-box; }
:where(body.case) h1, :where(body.case) h2, :where(body.case) h3 { font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
:where(body.case) h1 { font-size: clamp(1.7rem, 8vw, 3.4rem); }
:where(body.case) h2 { font-size: clamp(1.35rem, 6vw, 2.3rem); }
:where(body.case) h3 { font-size: 1rem; letter-spacing: -.03em; }
:where(body.case) p { margin: 0; color: var(--muted-dark); }
:where(body.case) .container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
:where(body.case) .ico { width: 1em; height: 1em; display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:where(body.case) .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: .93rem; text-decoration: none; cursor: pointer; padding: 15px 22px; min-height: 48px; border-radius: var(--r); border: 1.5px solid transparent; transition: background .2s, transform .18s var(--ease); }
:where(body.case) .btn-primary { background: var(--brand-deep); color: #fff; box-shadow: 0 2px 0 var(--brand-dark); }
:where(body.case) .btn-primary:hover { background: var(--brand-dark); }
:where(body.case) .btn-white { background: #fff; color: var(--ink); }
body.case a:focus-visible, body.case button:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 3px; border-radius: 3px; }

.c-nav { position: sticky; top: 0; z-index: 800; background: rgba(6,34,44,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ink-line); }
.c-nav .container { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.c-back { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .86rem; min-height: 44px; }
.c-back .ico { width: 18px; height: 18px; transform: scaleX(-1); color: var(--brand-lite); }
.c-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Unbounded', sans-serif; font-weight: 700; letter-spacing: -.05em; font-size: .9rem; }
.c-brand img { height: 26px; width: auto; }
.c-brand span { display: none; }
.c-crumbs { display: none; }
.c-nav .btn { display: none; }

.c-hero { padding: 22px 0 6px; position: relative; overflow: hidden; }
.c-hero::after { content: ''; position: absolute; top: -20%; right: -30%; width: 90%; height: 80%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 30%, transparent), transparent); }
.c-hero-grid { position: relative; z-index: 1; display: grid; gap: 22px; }
.c-id { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.c-id img { width: 58px; height: 58px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px var(--acc), 0 10px 24px rgba(0,0,0,.35); }
.c-id strong { display: block; font-family: 'Unbounded', sans-serif; font-size: 1rem; letter-spacing: -.03em; }
.c-id small { display: block; font-size: .74rem; color: var(--muted-dark); }
.c-tag { display: inline-flex; gap: 8px; align-items: center; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-lite); margin-bottom: 14px; }
.c-tag i { width: 18px; height: 3px; border-radius: 2px; background: var(--acc); }
.c-hero h1 { margin-bottom: 14px; }
.c-lede { font-size: 1rem; }
.c-feature { width: 100%; max-width: 330px; margin: 0 auto; }
.c-feature .clip { width: 100%; max-width: none; transform: none; opacity: 1; border-color: rgba(255,255,255,.22); box-shadow: 0 30px 70px rgba(0,0,0,.5); }

/* Stats — phone: first stat wide, the rest side by side */
.c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.c-stats > div { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); }
.c-stats > div:first-child { grid-column: 1 / -1; background: linear-gradient(120deg, color-mix(in srgb, var(--acc) 22%, transparent), rgba(255,255,255,.03)); border-color: color-mix(in srgb, var(--acc) 40%, transparent); }
.c-stats .num { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -.045em; line-height: 1; }
.c-stats > div:first-child .num { font-size: 2rem; }
.c-stats .lbl { font-size: .76rem; color: var(--muted-dark); margin-top: 8px; line-height: 1.35; }

.c-sec { padding: 44px 0; }
.c-sec + .c-sec { border-top: 1px solid var(--ink-line); }
.c-sec-head { margin-bottom: 22px; }
.c-sec-head p { margin-top: 12px; }
.c-challenge { font-size: 1.02rem; color: #fff; padding-left: 14px; border-left: 3px solid var(--signal); }

.c-platforms { display: grid; gap: 12px; }
.c-pl { display: grid; grid-template-columns: 72px minmax(0,1fr) 56px; gap: 10px; align-items: center; font-size: .84rem; }
.c-pl b { font-family: 'Unbounded', sans-serif; font-size: .72rem; }
.c-pl .bar { height: 26px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; position: relative; }
.c-pl .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: repeating-linear-gradient(90deg, var(--brand) 0 3px, transparent 3px 5px); transition: width 1.4s cubic-bezier(.16,.84,.24,1); }
.c-pl:nth-child(2) .bar i { background: repeating-linear-gradient(90deg, var(--signal) 0 3px, transparent 3px 5px); }
.c-pl .v { text-align: right; font-family: 'Unbounded', sans-serif; font-size: .76rem; }

.c-tracks { display: grid; gap: 10px; margin-top: 22px; }
.c-track { border: 1px solid var(--ink-line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.025); }
.c-track .lab { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--ink-line); background: rgba(255,255,255,.03); font-family: 'Unbounded', sans-serif; font-size: .66rem; color: var(--brand-lite); }
.c-track .lab b { font-size: .86rem; color: #fff; letter-spacing: -.03em; }
.c-track .body { padding: 16px; position: relative; }
.c-track .body::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--acc); }
.c-track h3 { margin-bottom: 6px; }
.c-track p { font-size: .94rem; }

.c-insight { margin-top: 22px; padding: 18px; border-radius: 16px; background: rgba(226,84,44,.1); border: 1px solid rgba(226,84,44,.3); color: #fff; font-weight: 600; font-size: .96rem; }
.c-insight b { color: #FF9C7E; font-family: 'Unbounded', sans-serif; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 8px; }

.c-wall { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.c-wall .clip { width: 100%; max-width: none; transform: none; opacity: 1; border-radius: 14px; }
.c-wall .clip-meta strong { font-size: .62rem; }
.c-wall .clip-trk, .c-wall .clip-sound { display: none !important; }

.c-book { display: grid; gap: 24px; }
.c-book .calendly-inline-widget { border-radius: 16px; overflow: hidden; background: #fff; }
.c-book ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.c-book li { display: flex; gap: 10px; color: var(--muted-dark); font-size: .95rem; }
.c-book li .ico { color: var(--brand-lite); margin-top: 4px; }
.c-book .btn-white { width: 100%; margin-top: 20px; }

.c-more { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 8px; scroll-padding: 0 var(--gut); }
.c-more::-webkit-scrollbar { display: none; }
.c-foot { border-top: 1px solid var(--ink-line); padding: 22px 0 30px; font-size: .78rem; color: var(--faint-dark); }
.c-foot .container { display: grid; gap: 8px; }
.c-foot a { color: var(--muted-dark); text-decoration: none; }

@media (min-width: 700px) {
  body.case { --gut: 28px; padding-bottom: 0; }
  .c-nav .container { height: 64px; }
  .c-nav .btn { display: inline-flex; padding: 10px 16px; min-height: 0; font-size: .8rem; }
  .c-brand span { display: inline; }
  .c-crumbs { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--faint-dark); }
  .c-crumbs a { color: var(--muted-dark); text-decoration: none; }
  .c-back { display: none; }
  .c-stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .c-stats > div:first-child { grid-column: auto; }
  .c-stats.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .c-stats .num, .c-stats > div:first-child .num { font-size: clamp(1.5rem, 3vw, 2.2rem); }
  .c-stats > div { padding: 22px; }
  .c-wall { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
  .c-wall .clip-meta strong { font-size: .7rem; }
  .c-track { display: grid; grid-template-columns: 150px minmax(0,1fr); }
  .c-track .lab { flex-direction: column; gap: 6px; padding: 22px 16px; border-bottom: 0; border-right: 1px solid var(--ink-line); }
  .c-track .lab b { font-size: 1rem; }
  .c-track .body { padding: 22px 24px; }
  .c-pl { grid-template-columns: 100px minmax(0,1fr) 80px; gap: 14px; }
  .c-more { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); overflow: visible; margin: 0; padding: 0; }
  .c-more .bin { flex: none; }
  .c-book .btn-white { width: auto; }
  .c-foot .container { display: flex; justify-content: space-between; }
  .c-sec { padding: 72px 0; }
}
@media (min-width: 1000px) {
  .c-hero { padding: 64px 0 24px; }
  .c-hero-grid { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 72px; align-items: center; }
  .c-feature { margin: 0; justify-self: center; width: 300px; }
  .c-stats { margin-top: 48px; }
  .c-wall { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
  .c-book { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; align-items: start; }
  .c-sec { padding: 96px 0; }
  .c-sec-head { max-width: 720px; margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .odo-strip, .clip, .c-pl .bar i, .pill { transition: none !important; }
  .eyebrow .rec, .tl-title .rec, .pill .ping { animation: none; }
}

/* ================================================================
   CLIENT JOURNEY — pinned scroll (mobile first)
   .jr-track is tall; .jr-stage sticks to the viewport while the
   track scrolls past, and work.js maps progress → active step.
================================================================ */
.jr { position: relative; background: var(--ink); color: #fff; }
.jr h2, .jr h3 { color: #fff; }
.jr p { color: var(--muted-dark); }
.jr-track { height: calc(var(--steps, 7) * 30vh + 100vh); height: calc(var(--steps, 7) * 30svh + 100svh); position: relative; }
.jr-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; align-items: flex-start; padding-top: calc(70px + 2.5vh);
}
.jr-stage::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 55% at 50% 45%, rgba(42,167,206,.26), transparent 65%); }
.jr-floor {
  position: absolute; left: 50%; top: 64%; width: 260vw; height: 190vh; margin-left: -130vw;
  background-image: linear-gradient(rgba(138,214,236,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(138,214,236,.2) 1px, transparent 1px);
  background-size: 72px 72px; transform: rotateX(78deg) translateZ(-40px); transform-origin: 50% 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 60%); pointer-events: none;
}
.jr-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-areas: "head" "rail" "visual" "panel"; gap: 14px;
}
.jr-head { grid-area: head; }
.jr-head .eyebrow { margin-bottom: 10px; }
.jr-head h2 { font-size: clamp(1.2rem, 5.6vw, 2.6rem); line-height: 1.12; }

/* rail: phone = 7 numbered stops on a line */
.jr-railwrap { grid-area: rail; position: relative; }
.jr-rail { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; z-index: 1; }
.jr-railwrap::before, .jr-fill { content: ''; position: absolute; left: 15px; right: 15px; top: 15px; height: 2px; background: rgba(255,255,255,.14); }
.jr-fill { background: none; }
.jr-fill i { display: block; height: 100%; width: 0; background: var(--brand); box-shadow: 0 0 12px rgba(42,167,206,.7); transition: width .35s var(--ease), height .35s var(--ease); }
.jr-node .n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Unbounded', sans-serif; font-size: .62rem; font-weight: 700;
  background: var(--ink-2); border: 1.5px solid rgba(255,255,255,.2); color: var(--faint-dark);
  transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease);
}
.jr-node .t { display: none; }
.jr-node.done .n { background: rgba(42,167,206,.2); border-color: rgba(42,167,206,.75); color: #fff; }
.jr-node.on .n { background: var(--brand); border-color: var(--brand-lite); color: #06222C; transform: scale(1.14); box-shadow: 0 0 0 5px rgba(42,167,206,.25), 0 0 22px rgba(42,167,206,.6); }

/* 3D tile: extruded square that turns with scroll and flips per step */
.jr-visual { grid-area: visual; display: grid; place-items: center; perspective: 900px; padding: 6px 0; }
.jr-tile { position: relative; width: 116px; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.jr-tile .jr-depth { position: absolute; inset: 0; border-radius: 24px; background: #0B4256; }
.jr-face {
  position: absolute; inset: 0; border-radius: 24px; transform: translateZ(8px);
  display: grid; place-items: center; align-content: center; gap: 6px;
  background: linear-gradient(150deg, #39BCE3, #1B7C9B 55%, #0B4256);
  box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.5);
  opacity: 0; transition: opacity .35s;
}
.jr-face.on { opacity: 1; }
.jr-face .ico { width: 46px; height: 46px; color: #fff; stroke-width: 1.5; }
.jr-face b { font-family: 'Unbounded', sans-serif; font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.85); }
.jr-face::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 64%); mix-blend-mode: soft-light; }
.jr-tile.flip { animation: jrflip .6s var(--ease); }
@keyframes jrflip { 0% { scale: 1; } 45% { scale: .86; } 100% { scale: 1; } }

/* panels: stacked, one visible */
.jr-panels { grid-area: panel; position: relative; min-height: 250px; }
.jr-panel {
  position: absolute; inset: 0 0 auto 0; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.jr-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.jr-k { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-lite); margin-bottom: 8px; }
.jr-panel h3 { font-size: clamp(1.25rem, 5.6vw, 2.2rem); margin-bottom: 10px; letter-spacing: -.04em; line-height: 1.1; }
.jr-panel p { font-size: .95rem; line-height: 1.6; max-width: 460px; }
.jr-get {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; text-align: left;
  padding: 9px 12px; border-radius: 10px; font-size: .82rem; font-weight: 700; color: #fff;
  background: rgba(91,227,143,.1); border: 1px solid rgba(91,227,143,.3);
}
.jr-get .ico { width: 16px; height: 16px; color: #5BE38F; flex-shrink: 0; }
.jr-cta { margin-top: 14px; }

@media (max-height: 700px) and (max-width: 699px) {
  .jr-inner { gap: 10px; }
  .jr-tile { width: 88px; }
  .jr-face .ico { width: 36px; height: 36px; }
  .jr-panel p { font-size: .88rem; }
  .jr-head .eyebrow { display: none; }
}

@media (min-width: 1000px) {
  .jr-inner {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    grid-template-areas: "head visual" "rail visual" "rail panel";
    grid-template-rows: auto auto 1fr; column-gap: 72px; row-gap: 26px; align-items: start;
  }
  .jr-head h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
  /* rail becomes a vertical list with titles */
  .jr-rail { flex-direction: column; gap: 8px; }
  .jr-railwrap::before, .jr-fill { left: 15px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; }
  .jr-fill i { width: 100%; height: 0; }
  .jr-node { display: flex; align-items: center; gap: 14px; }
  .jr-node .t { display: block; font-family: 'Unbounded', sans-serif; font-size: .86rem; font-weight: 700; letter-spacing: -.03em; color: var(--faint-dark); transition: color .3s; }
  .jr-node.done .t { color: var(--muted-dark); }
  .jr-node.on .t { color: #fff; }
  .jr-visual { justify-items: start; padding: 0; }
  .jr-tile { width: 150px; }
  .jr-face .ico { width: 58px; height: 58px; }
  .jr-panels { min-height: 300px; }
  .jr-panel { text-align: left; align-items: flex-start; }
  .jr-panel p { font-size: 1.04rem; }
}

/* reduced motion: no pinning, every step readable in a list */
@media (prefers-reduced-motion: reduce) {
  .jr-track { height: auto; }
  .jr-stage { position: static; height: auto; padding: 72px 0; }
  .jr-floor, .jr-visual, .jr-railwrap { display: none; }
  .jr-panels { min-height: 0; display: grid; gap: 30px; }
  .jr-panel { position: static; opacity: 1; transform: none; pointer-events: auto; }
}

/* ================================================================
   BOOKING SHEET — Calendly in its own window instead of scrolling
   Phone: full-screen sheet sliding up. Desktop: centred two-column.
================================================================ */
.bk { position: fixed; inset: 0; z-index: 1100; display: none; }
.bk.open { display: block; }
.bk-scrim { position: absolute; inset: 0; background: rgba(3,16,22,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.bk.show .bk-scrim { opacity: 1; }
.bk-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  background: #fff; color: #06222C; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .42s cubic-bezier(.22,.61,.36,1);
}
.bk.show .bk-sheet { transform: none; }
.bk-top {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top));
  background: #06222C; color: #fff;
}
.bk-top img { height: 26px; width: auto; }
.bk-top div { flex: 1; min-width: 0; }
.bk-top strong { display: block; font-family: 'Unbounded', sans-serif; font-size: .82rem; letter-spacing: -.03em; line-height: 1.2; }
.bk-top small { display: block; font-size: .72rem; color: rgba(255,255,255,.7); }
.bk-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.bk-x svg { width: 18px; height: 18px; }
.bk-info { display: none; }
.bk-chips { display: flex; gap: 6px; padding: 10px 14px; background: #E1F2F8; overflow-x: auto; scrollbar-width: none; }
.bk-chips span { white-space: nowrap; font-size: .74rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #fff; color: #0B4256; border: 1px solid #CDE6EF; }
.bk-cal { flex: 1; position: relative; overflow: hidden; background: #fff; }
.bk-cal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bk-load { position: absolute; inset: 0; display: grid; place-items: center; font-size: .9rem; color: #4E6570; }
.bk-load::before { content: ''; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #D2E1E7; border-top-color: #1B7C9B; animation: bkspin .8s linear infinite; margin-bottom: 60px; }
@keyframes bkspin { to { transform: rotate(360deg); } }
.bk-foot { display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #E0EBEF; background: #fff; }
.bk-foot a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 10px; font-weight: 700; font-size: .84rem; text-decoration: none; color: #06222C; background: #F2F7F9; border: 1px solid #D2E1E7; }
.bk-foot svg { width: 16px; height: 16px; }

@media (min-width: 900px) {
  .bk-sheet {
    top: 50%; left: 50%; right: auto; bottom: auto; width: min(1060px, calc(100vw - 48px)); height: min(760px, calc(100vh - 48px));
    border-radius: 22px; overflow: hidden; flex-direction: row;
    transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .3s;
    box-shadow: 0 40px 120px rgba(0,0,0,.45);
  }
  .bk.show .bk-sheet { transform: translate(-50%, -50%); opacity: 1; }
  .bk-top, .bk-chips, .bk-foot { display: none; }
  .bk-info {
    display: flex; flex-direction: column; width: 360px; flex-shrink: 0; padding: 30px 28px;
    background: linear-gradient(168deg, #14556E, #0B3B4E 50%, #06222C); color: #fff; position: relative;
  }
  .bk-info img.logo { height: 34px; width: auto; align-self: flex-start; margin-bottom: 26px; }
  .bk-info h2 { font-family: 'Unbounded', sans-serif; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.04em; margin: 0 0 12px; color: #fff; }
  .bk-info p { color: rgba(255,255,255,.74); font-size: .92rem; margin: 0; }
  .bk-info ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
  .bk-info li { display: flex; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.86); }
  .bk-info li svg { width: 18px; height: 18px; color: #8AD6EC; flex-shrink: 0; margin-top: 2px; }
  .bk-proof { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 12px; }
  .bk-proof .stack { display: flex; }
  .bk-proof .stack img { width: 32px; height: 32px; border-radius: 50%; background: #fff; object-fit: cover; margin-left: -9px; border: 2px solid #0B3B4E; }
  .bk-proof .stack img:first-child { margin-left: 0; }
  .bk-proof b { display: block; font-family: 'Unbounded', sans-serif; font-size: .84rem; }
  .bk-proof span span { display: block; font-size: .74rem; color: rgba(255,255,255,.66); }
  .bk-tel { margin-top: 16px; color: #8AD6EC; font-weight: 700; text-decoration: none; font-size: .9rem; }
  .bk-info .bk-x { position: absolute; top: 18px; right: 18px; }
  .bk-cal { border-left: 1px solid #E0EBEF; }
}
@media (prefers-reduced-motion: reduce) { .bk-sheet, .bk-scrim { transition: none; } }
/* phone: leave room for the fixed bottom action bar (#dock) */
@media (max-width: 899px) { .jr-stage { padding-bottom: 76px; } }


/* ---------- timeline v2: every clip carries its own slice of the audio track ---------- */
.tl-item { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; scroll-snap-align: center; }
.tl-item .clip { scroll-snap-align: none; }
.tl-wave {
  position: relative; display: block; height: 34px; border-radius: 6px; overflow: hidden;
  background: rgba(42,167,206,.08); border: 1px solid rgba(42,167,206,.2);
  opacity: .5; transition: opacity .4s, background .4s, border-color .4s;
}
.tl-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl-wave path { fill: rgba(138,214,236,.5); transition: fill .4s; }
.tl-wave::after { /* played portion follows the video's own time */
  content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%);
  background: color-mix(in srgb, var(--acc) 30%, transparent); border-right: 2px solid var(--acc);
  mix-blend-mode: screen; pointer-events: none;
}
.tl-wave-lbl { position: absolute; left: 6px; top: 3px; z-index: 1; font-family: 'Unbounded', sans-serif; font-size: .52rem; font-weight: 700; color: rgba(255,255,255,.7); }
.tl-item.live .tl-wave { opacity: 1; background: color-mix(in srgb, var(--acc) 14%, transparent); border-color: color-mix(in srgb, var(--acc) 70%, transparent); }
.tl-item.live .tl-wave path { fill: color-mix(in srgb, var(--acc) 80%, #fff); }
.tl-item:not(.live) .tl-wave::after { width: 0; border: 0; }

/* case page: when the results happened */
.c-period { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 16px; padding: 7px 12px; border-radius: 999px; font-size: .78rem; color: rgba(255,255,255,.86); background: color-mix(in srgb, var(--acc) 20%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); }
.c-period b { color: #fff; }
.c-period .ico { width: 14px; height: 14px; color: var(--acc); }

/* ================================================================
   HERO VIDEO FAN — the three strongest client videos, playing
================================================================ */
.hero-fan { position: relative; width: 100%; max-width: 520px; margin: 34px auto 0; aspect-ratio: 1 / .92; }
.fan-card {
  position: absolute; top: 50%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: var(--ink-2); border: 2px solid var(--acc); color: #fff; text-decoration: none;
  transform: translate(-50%, -50%) rotate(var(--rot)); transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 26px 60px rgba(0,0,0,.45), 0 0 0 6px color-mix(in srgb, var(--acc) 16%, transparent);
}
.fan-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan-c { left: 50%; width: 44%; z-index: 3; }
.fan-l { left: 24%; width: 35%; z-index: 2; margin-top: 4%; }
.fan-r { left: 76%; width: 35%; z-index: 2; margin-top: 4%; }
.hero-fan:hover .fan-l { transform: translate(-58%, -50%) rotate(calc(var(--rot) - 3deg)); }
.hero-fan:hover .fan-r { transform: translate(-42%, -50%) rotate(calc(var(--rot) + 3deg)); }
.hero-fan:hover .fan-c { transform: translate(-50%, -52%) scale(1.03); }
.fan-badge {
  position: absolute; top: 8px; left: 8px; right: 8px; z-index: 2; display: flex; align-items: center; gap: 6px;
  font-family: 'Unbounded', sans-serif; font-size: .56rem; font-weight: 700; white-space: nowrap; overflow: hidden;
}
.fan-badge img { width: 24px; height: 24px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px var(--acc); flex-shrink: 0; }
.fan-views {
  position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 999px; background: rgba(4,20,27,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: .74rem;
}
.fan-views::before { content: ''; border: 4px solid transparent; border-left: 7px solid var(--acc); border-right: 0; }
.fan-chip {
  position: absolute; z-index: 4; padding: 8px 12px; border-radius: 12px; font-size: .72rem; color: rgba(255,255,255,.86);
  background: rgba(6,34,44,.78); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0,0,0,.35); white-space: nowrap; animation: floaty 5s ease-in-out infinite;
}
.fan-chip b { display: block; font-family: 'Unbounded', sans-serif; font-size: .95rem; color: #fff; letter-spacing: -.03em; }
.fan-chip-a { left: -2%; top: 4%; }
.fan-chip-b { right: -2%; bottom: 2%; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* phone: tidy hero buttons (full width, one line) */
@media (max-width: 520px) {
  .hero-actions { display: grid; gap: 10px; }
  .hero-actions .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
  .hero .btn .arr, .work-cta .btn .arr { display: none; }
  .work-cta .btn { white-space: nowrap; }
  .fan-chip { font-size: .64rem; padding: 6px 10px; }
  .fan-chip b { font-size: .8rem; }
}
@media (min-width: 900px) { .hero-fan { margin: 0 0 0 auto; } }

/* logo marquee */
.marq-logo {
  flex-shrink: 0; width: 66px; height: 66px; margin: 0 14px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,34,44,.08), 0 8px 20px rgba(6,34,44,.08); border: 1px solid var(--line);
  filter: grayscale(.15); transition: transform .25s var(--ease), filter .25s;
}
.marq-logo img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.marq-logo img[src$=".jpg"] { object-fit: cover; padding: 0; }
.marq-logo:hover { transform: scale(1.08); filter: none; }
@media (min-width: 700px) { .marq-logo { width: 78px; height: 78px; margin: 0 20px; } }
@media (prefers-reduced-motion: reduce) { .fan-chip { animation: none; } }

/* ================================================================
   SERVICES — "всичко под един покрив" (mobile first)
================================================================ */
.sv, .sites { padding: clamp(60px, 9vw, 112px) 0; position: relative; }
.sv { background: var(--paper); }
.sites { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-top: 1px solid var(--line); }
.sv .eyebrow, .sites .eyebrow { color: var(--brand-deep); }
.sv-head { max-width: 760px; margin-bottom: 26px; }
.sv-head h2 { margin-bottom: 14px; }
.sv-head p { font-size: 1.02rem; }

.sv-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 22px; }
.sv-flow span { font-family: 'Unbounded', sans-serif; font-size: .68rem; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.sv-flow span.end { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.sv-flow i { width: 14px; height: 2px; background: var(--brand); border-radius: 2px; position: relative; }
.sv-flow i::after { content: ''; position: absolute; right: -2px; top: -3px; border: 4px solid transparent; border-left: 5px solid var(--brand); border-right: 0; }

.sv-grid { display: grid; gap: 12px; }
.sv-card {
  position: relative; overflow: hidden; border-radius: 20px; padding: 22px 20px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.sv-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #B9D6E1; }
.sv-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--brand-tint); color: var(--brand-deep); }
.sv-ic .ico { width: 22px; height: 22px; }
.sv-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.sv-card p { font-size: .94rem; line-height: 1.6; }
.sv-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sv-card li { font-size: .74rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.sv-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 800; font-size: .86rem; color: var(--brand-deep); text-decoration: none; }
.sv-link .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.sv-card:hover .sv-link .ico { transform: translateX(4px); }

/* video tile: real footage behind the copy */
.sv-video { min-height: 460px; color: #fff; border: 0; background: var(--ink); display: flex; align-items: flex-end; padding: 0; }
.sv-video .sv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,34,44,.1) 0%, rgba(6,34,44,.55) 40%, rgba(6,34,44,.96) 78%); }
.sv-video .sv-in { position: relative; z-index: 1; padding: 22px 20px; }
.sv-video h3, .sv-video p { color: #fff; }
.sv-video p { color: rgba(255,255,255,.82); }
.sv-video .sv-ic { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.sv-video li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.sv-video .sv-link { color: var(--brand-lite); }
.sv-strat { background: linear-gradient(160deg, #fff, var(--brand-tint)); }
.sv-web { display: block; padding-top: 0; }
.sv-shot { display: block; height: 150px; margin: 0 -20px 18px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.sv-shot img { width: 100%; display: block; transition: transform 6s linear; }
.sv-web:hover .sv-shot img { transform: translateY(calc(-100% + 150px)); }

.sv-cta { margin-top: 18px; display: grid; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: var(--ink); color: #fff; }
.sv-cta p { color: rgba(255,255,255,.82); font-size: 1rem; }
.sv-cta b { color: #fff; }
.sv-cta .btn { width: 100%; }

/* ---------- WEBSITES ---------- */
.site { display: grid; gap: 22px; margin-top: 30px; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-md); }
.site-dev { position: relative; padding-bottom: 18px; }
.site-lap { display: block; border-radius: 12px; overflow: hidden; background: #0B3040; border: 1px solid #D2E1E7; box-shadow: 0 20px 50px rgba(6,34,44,.18); }
.site-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #0B3040; }
.site-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.site-bar em { font-style: normal; margin-left: 8px; font-size: .66rem; color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); padding: 3px 10px; border-radius: 6px; }
.site-scr { display: block; overflow: hidden; position: relative; }
.site-lap .site-scr { aspect-ratio: 16 / 10; }
.site-scr img { width: 100%; display: block; }
.site.play .site-lap .site-scr img { animation: sitescroll 18s ease-in-out infinite alternate; }
.site.play .site-ph .site-scr img { animation: sitescroll 14s ease-in-out infinite alternate; animation-delay: -3s; }
@keyframes sitescroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + var(--vh, 300px))); } }
.site-ph {
  position: absolute; right: 4%; bottom: 0; width: 28%; border-radius: 18px; overflow: hidden;
  border: 5px solid #0B3040; background: #0B3040; box-shadow: 0 20px 40px rgba(6,34,44,.3);
}
.site-ph .site-scr { aspect-ratio: 9 / 19; border-radius: 12px; }
.site-id { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-id img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px var(--acc), 0 6px 16px rgba(6,34,44,.15); }
.site-id strong { display: block; font-family: 'Unbounded', sans-serif; font-size: 1.02rem; letter-spacing: -.03em; }
.site-id small { display: block; font-size: .78rem; color: var(--muted); }
.site-info p { font-size: .96rem; }
.site-info ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.site-info li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; }
.site-info li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7C9B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.site-info blockquote { margin: 16px 0 0; padding: 14px 16px; border-left: 3px solid var(--acc); background: var(--paper); border-radius: 0 12px 12px 0; font-size: .92rem; font-style: italic; color: var(--ink); }
.site-info cite { display: block; margin-top: 6px; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--muted); }
.site-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 46px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; }
.site-go .ico { width: 15px; height: 15px; }
.sites .sv-cta { margin-top: 30px; }

/* testimonials: real logos instead of initials */
.testi-av.has-logo { padding: 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.testi-av.has-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 700px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .sv-video { grid-column: 1 / -1; min-height: 420px; }
  .sv-cta { grid-template-columns: 1fr auto; padding: 22px 26px; }
  .sv-cta .btn { width: auto; }
  .site { padding: 26px; }
}
@media (min-width: 1000px) {
  .sv-head { margin-bottom: 30px; }
  .sv-grid { grid-template-columns: repeat(6, minmax(0,1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; }
  .sv-video { grid-column: 1 / 4; grid-row: span 2; min-height: 0; }
  .sv-strat { grid-column: 4 / 7; }
  .sv-web { grid-column: 4 / 7; }
  .sv-grid > .sv-card:nth-child(n+4) { grid-column: span 2; }
  .sv-video .sv-in { padding: 30px 28px; }
  .site { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: center; gap: 44px; padding: 34px; }
  .site.rev .site-dev { order: 2; }
  .site-info p { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) { .site.play .site-scr img { animation: none; } .sv-shot img { transition: none; } }


/* journey v2: tappable steps, ghost number, staggered copy, scroll hint */
.jr-node button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 14px; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.jr-node button:focus-visible { outline: 2px solid var(--brand-lite); outline-offset: 3px; }
.jr-node button:hover .n { border-color: var(--brand-lite); color: #fff; }
.jr-panels { isolation: isolate; }
.jr-ghost {
  position: absolute; z-index: -1; left: 50%; top: -18px; transform: translateX(-50%);
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 7rem; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(138,214,236,.18); pointer-events: none; transition: opacity .3s;
}
.jr-panel > * { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.jr-panel.on > * { opacity: 1; transform: none; }
.jr-panel.on > *:nth-child(2) { transition-delay: .06s; }
.jr-panel.on > *:nth-child(3) { transition-delay: .12s; }
.jr-panel.on > *:nth-child(4) { transition-delay: .2s; }
.jr-panel.on > *:nth-child(5) { transition-delay: .26s; }
.jr-panel { transform: none; }
.jr-get { box-shadow: 0 0 0 0 rgba(91,227,143,.0); }
.jr-panel.on .jr-get { animation: jrpop .7s .25s var(--ease) both; }
@keyframes jrpop { 0% { transform: scale(.9); opacity: 0; } 60% { transform: scale(1.04); } 100% { transform: none; opacity: 1; } }
.jr-visual { cursor: grab; touch-action: pan-y; }
.jr-tile { transition: transform .2s ease-out; }
.jr-hint {
  position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint-dark); transition: opacity .3s;
}
.jr-hint i { width: 14px; height: 22px; border: 1.5px solid currentColor; border-radius: 8px; position: relative; }
.jr-hint i::after { content: ''; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: wheel 1.4s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.jr-hint.gone { opacity: 0; }
.jr-inner { position: relative; }
@media (max-width: 999px) { .jr-hint { display: none; } }
@media (min-width: 1000px) {
  .jr-stage { align-items: center; padding-top: 70px; }
  .jr-ghost { left: auto; right: 0; transform: none; top: -40px; font-size: 10rem; }
  .jr-hint { left: 0; transform: none; bottom: -54px; }
}


/* booking sheet v2: the info panel also shows on phones, above the calendar */
.bk-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.bk-chips { display: none; }
.bk-info {
  display: block; padding: 20px 18px 18px; color: #fff;
  background: linear-gradient(168deg, #14556E, #0B3B4E 55%, #06222C);
}
.bk-info > .bk-x, .bk-info img.logo { display: none; }
.bk-info h2 { font-family: 'Unbounded', sans-serif; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 8px; color: #fff; }
.bk-info p { color: rgba(255,255,255,.78); font-size: .88rem; margin: 0; line-height: 1.5; }
.bk-info ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-info li { display: flex; gap: 7px; font-size: .78rem; line-height: 1.35; color: rgba(255,255,255,.9); }
.bk-info li svg { width: 15px; height: 15px; color: #8AD6EC; flex-shrink: 0; margin-top: 1px; }
.bk-proof { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 10px; }
.bk-proof .stack { display: flex; }
.bk-proof .stack img { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: cover; margin-left: -9px; border: 2px solid #0B3B4E; }
.bk-proof .stack img:first-child { margin-left: 0; }
.bk-proof b { display: block; font-family: 'Unbounded', sans-serif; font-size: .8rem; }
.bk-proof span span { display: block; font-size: .7rem; color: rgba(255,255,255,.66); }
.bk-tel { display: none; }
.bk-jump { margin-top: 16px; width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: #fff; color: #06222C; font: 800 .88rem 'Manrope', sans-serif; cursor: pointer; }
.bk-cal { position: relative; flex: none; height: 760px; }
@media (min-width: 900px) {
  .bk-scroll { display: flex; overflow: hidden; }
  .bk-info { display: flex; flex-direction: column; width: 360px; flex-shrink: 0; padding: 30px 28px; }
  .bk-info > .bk-x { display: grid; }
  .bk-info img.logo { display: block; }
  .bk-info h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .bk-info p { font-size: .92rem; }
  .bk-info ul { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .bk-info li { font-size: .9rem; }
  .bk-proof { margin-top: auto; }
  .bk-tel { display: inline-block; }
  .bk-jump { display: none; }
  .bk-cal { flex: 1; height: auto; }
}


/* ================================================================
   EVENTS — заснемане на събития (mobile first)
   Phones and tablets: each event is a swipeable row of vertical clips.
   Desktop: a 5-column grid; the last cell of the last row is the CTA.
================================================================ */
.ev { padding: clamp(60px, 9vw, 112px) 0; position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.ev::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.2));
}
.ev > .container { position: relative; z-index: 1; }
.ev-head { display: grid; gap: 14px; margin-bottom: 22px; }
.ev-head h2 { color: #fff; font-size: clamp(1.6rem, 7vw, 2.7rem); }
.ev-head h2 em { font-style: normal; color: var(--brand-lite); }
.ev-head p { color: var(--muted-dark); font-size: .98rem; }

.ev-inc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.ev-inc li { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--ink-line); }
.ev-inc .ico { width: 14px; height: 14px; color: var(--brand-lite); stroke-width: 2.4; }


.ev-row {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 10px; scroll-padding: 0 var(--gut); scrollbar-width: none;
}
.ev-row::-webkit-scrollbar { display: none; }
.ev-row .clip { width: 58vw; max-width: 236px; transform: none; opacity: 1; scroll-snap-align: start; }
.ev-row .clip-meta strong { font-size: .7rem; }

/* event categories: a button per event, clips appear only for the open one */
.ev-cats { display: grid; gap: 12px; }
.ev-cat {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center;
  padding: 16px; border-radius: 20px; background: rgba(255,255,255,.045); border: 1px solid var(--ink-line);
  transition: background .25s, border-color .25s, transform .25s var(--ease); -webkit-tap-highlight-color: transparent;
}
.ev-cat:hover { background: rgba(255,255,255,.08); border-color: rgba(138,214,236,.45); transform: translateY(-2px); }
.ev-cat:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 3px; }
.ev-cat[aria-expanded="true"] { background: rgba(42,167,206,.14); border-color: var(--brand-lite); }
.ev-cat-thumbs { display: flex; }
.ev-cat-thumbs img { width: 46px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 9px; border: 2px solid var(--ink); background: var(--ink-2); }
.ev-cat-thumbs img + img { margin-left: -16px; }
.ev-cat-txt strong { display: block; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.03em; color: #fff; }
.ev-cat-txt small { display: block; color: var(--faint-dark); font-size: .8rem; line-height: 1.45; margin-top: 6px; }
.ev-cat-go { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ink-line); font-size: .84rem; font-weight: 800; color: var(--brand-lite); }
.ev-cat-go b { font-family: 'Unbounded', sans-serif; font-size: .64rem; color: #fff; background: rgba(255,255,255,.1); padding: 5px 9px; border-radius: 999px; margin-right: auto; }
.ev-cat-go .ico { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .3s var(--ease); }
.ev-cat[aria-expanded="true"] .ev-cat-go .ico { transform: rotate(-90deg); }
/* closed panels are hidden only when JS runs, so the videos stay reachable without it */
.js .ev-panel:not(.open) { display: none; }
.ev-panel { padding: 4px 0 10px; scroll-margin-top: 90px; }
.ev-panel.open { animation: evIn .4s var(--ease); }
@keyframes evIn { from { opacity: 0; transform: translateY(12px); } }
.ev .work-cta { margin-top: 26px; }

/* services tile that points at the events section */
.sv-ev { display: block; padding: 0; background: var(--ink); border: 0; color: #fff; min-height: 220px; }
.sv-ev-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.sv-ev::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,34,44,.35), rgba(6,34,44,.94) 70%); }
.sv-ev-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 22px 20px; }
.sv-ev h3 { color: #fff; }
.sv-ev p { color: rgba(255,255,255,.82); }
.sv-ev .sv-ic { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sv-ev .sv-link { color: var(--brand-lite); }
.sv-ev-new { display: inline-block; margin-bottom: 8px; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--signal); color: #fff; }

@media (min-width: 700px) {
  .sv-grid > .sv-card.sv-ev { grid-column: 1 / -1; }
  .ev-row .clip { width: 236px; }
  .ev-cats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .ev-cat-1 { grid-column: 1; grid-row: 1; }
  .ev-cat-2 { grid-column: 2; grid-row: 1; }
  .ev-panel { grid-column: 1 / -1; grid-row: 2; }
  .ev-cat { padding: 20px; }
  .ev-cat-thumbs img { width: 58px; }
}
@media (min-width: 1000px) {
  .ev-head { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 64px; align-items: end; margin-bottom: 26px; }
  .ev-inc { margin-bottom: 36px; }
  .ev-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .ev-row .clip { width: 100%; max-width: none; }
  .ev-panel { padding-top: 10px; }
  .sv-ev, .sv-ev-in { min-height: 0; }
  .sv-ev-in { flex-direction: row; justify-content: space-between; align-items: center; gap: 22px; padding: 26px 28px; }
  .sv-ev::after { background: linear-gradient(90deg, rgba(6,34,44,.96) 30%, rgba(6,34,44,.55)); }
  .sv-ev .sv-ic { margin-bottom: 0; flex-shrink: 0; }
  .sv-ev-txt { flex: 1; }
  .sv-ev-txt p { max-width: 620px; }
  .sv-ev .sv-link { margin-top: 0; white-space: nowrap; }
}
