/* ============================================================
   OPTIVEUM — Homepage stylesheet
   Tokens · Type · Header · 10 sections · Footer · Responsive
   ============================================================ */

:root {
  --brand: #2b0548; /* deep purple — large brand blocks */
  --brand-2: #3a0c5e; /* lifted purple for layered depth */
  --accent: #6669c5; /* interactive signal (tweakable)  */
  --accent-ink: #ffffff; /* text on accent fills            */
  --success: #224805; /* quality / trust / ratings       */
  --bg: #ffffff;
  --bg-subtle: #f7f6fa;
  --ink: #1a1a2e;
  --muted: #6b7080;
  --line: #e7e4ef;
  --line-soft: #efedf5;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --hero-overlay-opacity: 0.62;

  --container: 1680px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.05), 0 1px 3px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(43, 5, 72, 0.18), 0 4px 12px -6px rgba(43, 5, 72, 0.1);
  --shadow-lg: 0 28px 60px -22px rgba(43, 5, 72, 0.34);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--brand);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
/* ---- Contact: sticky at viewport bottom, revealed as main scrolls away ---- */
#bottom-layer {
  position: sticky;
  bottom: 0;
  z-index: 0;
}

/* ---- Main must have solid bg + higher z-index to cover the bottom layer ---- */
main {
  position: relative;
  z-index: 1;
  background: transparent;
}

.section {
  padding: 120px 0;
  background: var(--bg);
}
.section--tight {
  padding: 88px 0;
}
.eyebrow {
  font: 500 13px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-head {
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
}
.section-head .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
  max-width: 600px;
}
.section-head .link-cta {
  display: inline-flex;
  margin-top: 20px;
}
body[data-tint='on'] .tintable {
  background: var(--bg-subtle);
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 500 16px/1 var(--font-body);
  padding: 15px 26px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease),
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.25s;
  white-space: nowrap;
}

/* glass shimmer streak */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.18) 55%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-12deg);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}
.btn:hover::after {
  transform: translateX(310%) skewX(-12deg);
}

.btn--primary {
  background: var(--b);
  color: var(--accent-ink);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--lg {
  padding: 17px 32px;
  font-size: 17px;
}
.btn--block {
  width: 100%;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 16px;
  transition:
    gap 0.2s var(--ease),
    color 0.2s;
}
.link-cta .arr {
  transition: transform 0.25s var(--ease);
}
.link-cta:hover {
  color: var(--brand);
}
.link-cta:hover .arr {
  transform: translateX(5px);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition:
    background 0.55s ease,
    backdrop-filter 0.55s ease,
    box-shadow 0.55s ease,
    border-color 0.55s ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 90px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  transition: color 0.55s ease;
}
.brand__logo {
  height: 55px;
  width: auto;
  display: block;
}
.brand__logo--dark {
  display: none;
}
.header.is-solid .brand__logo--light {
  display: none;
}
.header.is-solid .brand__logo--dark {
  display: block;
}
.footer .brand__logo {
  height: 28px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  flex-wrap: nowrap;
}
.nav a,
.nav__trigger {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  background: none;
  border: 0;
  white-space: nowrap;
  font: 450 15px/1 var(--font-body);
  padding: 10px 13px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.55s ease;
}
.nav a:hover,
.nav__trigger:hover {
  color: #fff;
}
/* Animated underline — only direct nav links, not dropdown items */
.nav > a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav > a:hover::after {
  transform: scaleX(1);
}
.header__spacer {
  flex: 1;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font: 500 14px/1 var(--font-body);
  color: rgba(255, 255, 255, 0.7);
}
.lang button {
  background: none;
  border: 0;
  color: inherit;
  padding: 4px 6px;
  border-radius: 6px;
  font: inherit;
  transition: color 0.2s;
}
.lang button.is-active {
  color: #fff;
}
.lang button:not(.is-active):hover {
  color: rgba(255, 255, 255, 0.95);
}
.lang .sep {
  opacity: 0.4;
}

/* scrolled / solid state */
.header.is-solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px -10px rgba(43, 5, 72, 0.3);
}
.header.is-solid .brand {
  color: var(--ink);
}
.header.is-solid .nav a,
.header.is-solid .nav__trigger {
  color: var(--muted);
}
.header.is-solid .nav a:hover,
.header.is-solid .nav__trigger:hover {
  color: var(--ink);
}
.header.is-solid .lang {
  color: var(--muted);
}
.header.is-solid .lang button.is-active {
  color: var(--ink);
}

/* Services dropdown */
.has-dropdown {
  position: relative;
}
/* Transparent bridge that fills the gap between trigger and panel,
   preventing mouseleave from firing while crossing the space. */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px; /* slightly more than the top: calc(100% + 10px) gap */
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 292px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 9px;
  color: var(--ink);
}
.dropdown a:hover {
  background: rgba(102, 105, 197, 0.1);
  color: var(--ink);
}
.dropdown a:hover small {
  color: var(--muted);
}
.dropdown a span {
  font: 500 15px/1.3 var(--font-body);
}
.dropdown a small {
  color: var(--muted);
  font-size: 13px;
}
.nav__trigger .chev {
  transition: transform 0.25s var(--ease);
}
.has-dropdown.open .nav__trigger .chev {
  transform: rotate(180deg);
}

/* mobile menu */
.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.hamburger svg line {
  stroke: #fff;
  transition: stroke 0.3s;
}
.header.is-solid .hamburger svg line {
  stroke: var(--ink);
}
.mobile-menu {
  display: none;
}

/* ============================================================
   1 — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--brand);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* subtle geometric texture for brand-block hero */
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__texture::before {
  /* fine grid */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 18%, #000 35%, transparent 78%);
}
.hero__texture::after {
  /* soft accent glow */
  content: '';
  position: absolute;
  width: 760px;
  height: 760px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 55%, transparent) 0%,
    transparent 62%
  );
  opacity: 0.5;
  filter: blur(8px);
}
.hero__glow2 {
  position: absolute;
  z-index: -2;
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 72, 5, 0) 0%, transparent 60%);
}
/* photo variant */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #1a0330 center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.4s;
}
body[data-hero='photo'] .hero__photo {
  opacity: 1;
  background-image: url('assets/banner.jpg');
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 88%, transparent) 0%,
    color-mix(in srgb, var(--brand) 64%, transparent) 42%,
    color-mix(in srgb, var(--brand) 86%, transparent) 72%,
    var(--brand) 100%
  );
}
body[data-hero='photo'] .hero__overlay {
  opacity: var(--hero-overlay-opacity);
}
body[data-hero='photo'] .hero__texture {
  opacity: 0.4;
}

.hero__inner {
  width: 100%;
  padding-block: 140px 76px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}
.hero__col {
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  color: color-mix(in srgb, var(--accent) 100%, #fff 22%);
}
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.78em;
  background: currentColor;
  border-radius: 1.5px;
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: type-blink 0.65s step-end infinite;
}
@keyframes type-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.hero__sub {
  margin-top: 24px;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 0.01em;
}
.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero__chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  padding-bottom: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 80%, #fff 0%);
  color: #fff;
  font: 500 15px/1 var(--font-body);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.chip b {
  font-weight: 700;
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 100%, #fff 30%);
}
.scroll-cue {
  position: absolute;
  left: 32px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-cue .bar {
  width: 34px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

/* ============================================================
   2 — WHAT WE DO
   ============================================================ */
/* ---- svc-full: fullscreen accordion ---- */
.svc-full {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.svc-full__head {
  flex-shrink: 0;
  padding: 52px 0 36px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.svc-full__head h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 52px);
}

.svc-panels {
  flex: 1;
  display: flex;
  min-height: 0;
  gap: 1px;
  background: #0a0014;
}

.svc-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: default;
  transition: flex 0.58s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-panels:has(.svc-panel:hover) .svc-panel {
  flex: 0.52;
}
.svc-panels:has(.svc-panel:hover) .svc-panel:hover {
  flex: 1.96;
}

/* gradient backgrounds + photo underlayer */
.svc-panel--recruitment {
  background:
    linear-gradient(
      155deg,
      rgba(19, 1, 37, 0.84) 0%,
      rgba(75, 25, 128, 0.62) 55%,
      rgba(45, 10, 85, 0.8) 100%
    ),
    url('assets/IT Recruitment.jpg') center/cover no-repeat;
}
.svc-panel--outsourcing {
  background:
    linear-gradient(
      155deg,
      rgba(8, 8, 52, 0.84) 0%,
      rgba(59, 62, 166, 0.62) 55%,
      rgba(24, 26, 110, 0.8) 100%
    ),
    url('assets/IT Outsorcing.jpg') center/cover no-repeat;
}
.svc-panel--consulting {
  background:
    linear-gradient(
      155deg,
      rgba(3, 13, 2, 0.84) 0%,
      rgba(44, 94, 22, 0.62) 55%,
      rgba(14, 38, 6, 0.8) 100%
    ),
    url('assets/IT Strategic Consulting.jpg') center/cover no-repeat;
}

/* radial glow reveal on hover */
.svc-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.svc-panel--recruitment::after {
  background: radial-gradient(ellipse 90% 55% at 50% 105%, rgba(122, 66, 184, 0.35), transparent);
}
.svc-panel--outsourcing::after {
  background: radial-gradient(ellipse 90% 55% at 50% 105%, rgba(102, 105, 197, 0.35), transparent);
}
.svc-panel--consulting::after {
  background: radial-gradient(ellipse 90% 55% at 50% 105%, rgba(74, 138, 40, 0.35), transparent);
}
.svc-panel:hover::after {
  opacity: 1;
}

/* number badge */
.svc-panel__num {
  position: absolute;
  top: 32px;
  left: 36px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.4s ease;
}
.svc-panel:hover .svc-panel__num {
  color: rgba(255, 255, 255, 0.5);
}

/* bottom content block — column-reverse keeps title pinned to panel bottom
   regardless of expand-block height changes during flex animation */
.svc-panel__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 36px 40px;
  display: flex;
  flex-direction: column-reverse;
}

.svc-panel__title {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.2;
  transition: color 0.4s ease;
}
.svc-panel:hover .svc-panel__title {
  color: #fff;
}
.svc-panels:has(.svc-panel:hover) .svc-panel:not(:hover) .svc-panel__title {
  color: rgba(255, 255, 255, 0.35);
}

/* expand block — hidden until hovered; slides down from above on reveal */
.svc-panel__expand {
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.svc-panel:hover .svc-panel__expand {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.14s;
}

.svc-panel__desc {
  margin: 14px 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 400px;
}

.svc-panel__features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.svc-panel__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.svc-panel__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.svc-panel--recruitment .svc-panel__features li::before {
  background: #c084fc;
}
.svc-panel--outsourcing .svc-panel__features li::before {
  background: #818cf8;
}
.svc-panel--consulting .svc-panel__features li::before {
  background: #86efac;
}

.svc-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 3px;
  transition:
    border-color 0.25s ease,
    gap 0.25s ease;
}
.svc-panel__cta:hover {
  border-color: rgba(255, 255, 255, 0.85);
  gap: 13px;
}

/* ============================================================
   3 — INTERNATIONAL SCOPE
   ============================================================ */
.scope {
  position: relative;
  overflow: hidden;
  background: var(--bg) !important;
}
.scope__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 48px;
  align-items: center;
}
.scope h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  max-width: 14ch;
}
.scope__text .chips-wrap {
  margin-top: 30px;
}
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 540px;
}
.geo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font: 500 16px/1 var(--font-body);
  background: #fff;
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.geo-chip .pin {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.geo-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.scope__map {
  position: relative;
}
.scope__map img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Layout toggle: side (chips) vs pinned map --- */
.scope__pinned {
  display: none;
}
body[data-reach='pinned'] .scope__inner {
  display: none;
}
body[data-reach='pinned'] .scope__pinned {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

/* Pinned-map layout */
.scope__head {
  max-width: 520px;
}
.reach-points {
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.reach-points h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.reach-points p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.scope__mapwrap {
  position: relative;
  width: calc(100% + 64px);
  margin-right: -64px;
}
.scope__mapwrap > img {
  width: 100%;
  height: auto;
  display: block;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.map-pin__dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.map-pin__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pinpulse 2.6s var(--ease) infinite;
}
.map-pin:nth-child(3) .map-pin__dot::after {
  animation-delay: 0.4s;
}
.map-pin:nth-child(4) .map-pin__dot::after {
  animation-delay: 0.8s;
}
.map-pin:nth-child(5) .map-pin__dot::after {
  animation-delay: 1.2s;
}
.map-pin:nth-child(6) .map-pin__dot::after {
  animation-delay: 1.6s;
}
.map-pin:nth-child(7) .map-pin__dot::after {
  animation-delay: 2s;
}
@keyframes pinpulse {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
.map-pin__label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: 600 13.5px/1.15 var(--font-body);
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.map-pin__label small {
  display: block;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 2px;
}
.map-pin--l .map-pin__label {
  left: auto;
  right: 18px;
}
.map-pin--d .map-pin__label {
  left: 50%;
  right: auto;
  top: 20px;
  transform: translateX(-50%);
}
.map-pin:hover {
  z-index: 5;
}
.map-pin:hover .map-pin__label {
  border-color: var(--accent);
  color: var(--accent);
}
.map-pin:hover .map-pin__dot {
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 28%, transparent);
}

/* ============================================================
   4 — FOUNDER-LED
   ============================================================ */
.founder {
  transition: background 0.3s;
  padding-bottom: 0;
}
body[data-founder='dark'] .founder {
  background: var(--brand);
  color: #fff;
}
body[data-founder='dark'] .founder .eyebrow {
  color: color-mix(in srgb, var(--accent) 100%, #fff 28%);
}
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}
.founder h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 600;
  max-width: 13ch;
}
.founder__body {
  margin-top: 22px;
  font-size: 18px;
  max-width: 48ch;
}
body[data-founder='light'] .founder__body {
  color: var(--muted);
}
body[data-founder='dark'] .founder__body {
  color: rgba(255, 255, 255, 0.78);
}
.blockquote {
  margin-top: 34px;
  padding-left: 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.34;
  letter-spacing: -0.015em;
}
.blockquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0;
}
body[data-founder='dark'] .blockquote cite {
  color: color-mix(in srgb, var(--accent) 100%, #fff 32%);
}
.founder__cta {
  margin-top: 32px;
}
body[data-founder='dark'] .founder__cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
body[data-founder='dark'] .founder__cta .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.founders-media {
  position: relative;
}
.founders-stage {
  position: relative;
}
.founders-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.founders-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founders-photo .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 8px;
  font: 500 13px/1.2 var(--font-body);
  color: var(--brand);
}

/* annotated founder callouts */
.founders-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
  color: color-mix(in srgb, var(--accent) 100%, #fff 34%);
}
.founders-links .flink {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.5;
  stroke-dasharray: 1.6 1.7;
  stroke-linecap: round;
}
.founders-links .flink-dot {
  fill: #fff;
  stroke: var(--accent);
  stroke-width: 0.5;
}
.founder-callout {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  background: #fff;
  border-radius: 20px;
  padding: 14px 22px 14px 14px;
  box-shadow: var(--shadow-lg);
  max-width: 76%;
}
.founder-callout__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent);
}
.founder-callout__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.founder-callout__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.founder-callout__role {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.founder-callout__li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0a66c2;
  text-decoration: none;
  transition: opacity 0.2s;
}
.founder-callout__li:hover {
  opacity: 0.7;
}
.founder-callout__li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.founder-callout--tomek {
  bottom: -2%;
  left: -3%;
}
.founder-callout--marek {
  bottom: -2%;
  right: -3%;
  flex-direction: row-reverse;
  padding: 14px 14px 14px 22px;
  text-align: right;
}
.founder-callout--marek .founder-callout__li {
  justify-content: flex-end;
}
@media (prefers-reduced-motion: no-preference) {
  .founders-links .flink {
    stroke-dashoffset: 120;
    animation: fdraw 1.4s var(--ease) forwards;
  }
  .founder-callout {
    opacity: 0;
    animation: fpop 0.6s var(--ease) forwards;
  }
  .founder-callout--tomek {
    animation-delay: 0.5s;
  }
  .founder-callout--marek {
    animation-delay: 0.9s;
  }
}
@keyframes fdraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fpop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   5 — CAPABILITIES (KPI row)
   ============================================================ */
.kpi-band {
  background: var(--brand);
  color: #fff;
  border-radius: 0;
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}
.kpi-band::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 42%, transparent),
    transparent 64%
  );
  opacity: 0.55;
}
.kpi-band .eyebrow {
  color: color-mix(in srgb, var(--accent) 100%, #fff 30%);
  position: relative;
  z-index: 1;
}
.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}
.kpi {
  padding: 32px 40px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  /* entrance animation */
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.14s);
}
.kpi:not(:first-child) {
  padding-left: 40px;
  padding-right: 0;
}
.kpi-band.is-visible .kpi {
  opacity: 1;
  transform: translateY(0);
}
.kpi__cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 100%, #fff 30%);
  margin-bottom: 16px;
}
.kpi__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.kpi__num .u {
  color: color-mix(in srgb, var(--accent) 100%, #fff 34%);
}
.kpi__label {
  margin-top: 14px;
  font-weight: 600;
  font-size: 17px;
}
.kpi__desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  max-width: 22ch;
}
.kpi-divider {
  background: rgba(255, 255, 255, 0.12);
  margin-top: 36px;
}
.kpi-cta {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.kpi-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

/* ============================================================
   6 — PROCESS
   ============================================================ */
/* ---- Process: scroll-scene ---- */
.process-scene {
  position: relative;
  height: calc(100vh + 1600px);
  background: var(--bg-subtle);
}
.process-scene.js-init .process-step {
  opacity: 0;
  transform: translateY(16px);
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.process-head {
  text-align: center;
  margin-bottom: 56px;
}
.process-head h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  max-width: 600px;
  margin: 10px auto 0;
}

.process-track {
  position: relative;
  display: flex;
  justify-content: space-between;
}

/* connecting line */
.process-line {
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  overflow: hidden;
  pointer-events: none;
}
.process-line__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* individual step */
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.48s var(--ease),
    transform 0.48s var(--ease);
}
.process-step.is-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* number */
.process-step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  padding: 0 10px;
  position: relative;
}

/* icon */
.process-step__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px -4px color-mix(in srgb, var(--accent) 40%, transparent);
}
.process-step__icon svg {
  width: 26px;
  height: 26px;
}

/* body text */
.process-step__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.process-step__body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 18ch;
  margin: 0 auto;
}

/* scroll hint */
.process-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.process-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 52px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  opacity: 0.6;
  transition: opacity 0.4s;
}
.process-hint.is-done {
  opacity: 0;
}
.process-hint__bar {
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
  animation: hint-pulse 1.6s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ============================================================
   7 — CASE STUDIES
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.filter-bar__cta {
  margin-left: 14px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: 500 14.5px/1 var(--font-body);
  transition: all 0.22s var(--ease);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    opacity 0.3s,
    border-color 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.case-card.is-hidden {
  display: none;
}
.case-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--line);
}
.case-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}
.case-card:hover .case-thumb img {
  transform: scale(1.04);
}
.case-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 4, 18, 0.45) 100%);
  pointer-events: none;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  /* right: 0; */
  bottom: 0;
  height: 100%;
  width: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 10;
}
.case-card[data-cat='recruitment']::before {
  background: linear-gradient(90deg, #7a42b8, #2b0548);
}
.case-card[data-cat='outsourcing']::before {
  background: linear-gradient(90deg, #6669c5, #3d40a0);
}
.case-card[data-cat='consulting']::before {
  background: linear-gradient(90deg, #4a8a28, #224805);
}
.case-thumb .badge {
  position: absolute;
  left: 18px;
  bottom: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font: 600 12.5px/1 var(--font-body);
  letter-spacing: 0.01em;
}
.case-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.case-client {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}
.case-result {
  color: var(--muted);
  font-size: 15.5px;
  flex: 1;
}
.clutch-rate {
  display: flex;
  align-items: center;
  gap: 9px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--success);
}
.stars svg {
  width: 16px;
  height: 16px;
}
.clutch-rate b {
  color: var(--success);
  font-weight: 700;
  font-size: 14.5px;
}
.clutch-rate span {
  color: var(--muted);
  font-size: 13px;
}
.case-body .link-cta {
  font-size: 15px;
}

/* ============================================================
   8 — TESTIMONIALS (Clutch)
   ============================================================ */
.testi {
  color: #fff;
  overflow: hidden;
  position: relative; /* for orbs */
  background-color: var(--brand);
  background-image:
    linear-gradient(160deg, rgba(43, 5, 72, 0.74) 0%, rgba(43, 5, 72, 0.86) 100%),
    url('assets/testimonials-background.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
/* Background orbs — give backdrop-filter something to blur */
.testi::before,
.testi::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.testi::before {
  width: 520px;
  height: 520px;
  top: -140px;
  left: 8%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 55%, transparent) 0%,
    transparent 70%
  );
  opacity: 0.45;
}
.testi::after {
  width: 420px;
  height: 420px;
  bottom: -80px;
  right: 12%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, #9b5de5 60%, transparent) 0%,
    transparent 70%
  );
  opacity: 0.35;
}
.testi__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.testi__head .eyebrow {
  color: color-mix(in srgb, var(--accent) 100%, #fff 30%);
}
.testi__head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  max-width: 14ch;
}
.clutch-agg {
  display: flex;
  align-items: center;
  gap: 14px;
}
.clutch-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}
.clutch-logo .ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #e62415;
  flex: none;
}
.clutch-agg .stars {
  color: #fff;
}
.clutch-agg .score {
  font-weight: 700;
  font-size: 17px;
}
.testi > .container,
.testi-slider {
  position: relative;
  z-index: 1;
}
.testi-slider {
  overflow: visible;
  margin-top: 48px;
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-card {
  flex: none;
  width: calc(50% - 80px);
  box-sizing: border-box;
  /* Glassmorphism */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-radius: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 36px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.09);
  pointer-events: none;
  user-select: none;
}
.testi-card .stars {
  color: #ffc107;
  font-size: 17px;
  letter-spacing: 3px;
}
.testi-card blockquote {
  margin: 0;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #fff;
  flex: none;
}
.testi-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.testi-author-info b {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}
.testi-author-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
}
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.testi-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
  padding: 0;
}
.testi-dot.is-active {
  width: 24px;
  background: #fff;
}
.testi-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  flex: none;
}
.testi-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}
.testi-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}
.testi-arrow svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ============================================================
   9 — INSIGHTS
   ============================================================ */
/* Insights slides over the testimonials layer with a card-like reveal */
/* Insights is the "lid" — rounded bottom lifts off as contact slides from under */
#insights {
  position: relative;
  z-index: 2;
  border-radius: 0 0 40px 40px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.1);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
}
.article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}
.article__thumb {
  height: 184px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.article:hover .article__thumb-img {
  transform: scale(1.06);
}
.article:nth-child(1) .article__thumb {
  background: linear-gradient(135deg, #2b0548, #54257f);
}
.article:nth-child(2) .article__thumb {
  background: linear-gradient(135deg, #4548a8, #8487d8);
}
.article:nth-child(3) .article__thumb {
  background: linear-gradient(135deg, #224805, #4d7a25);
}
.article__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.16) 1px,
    transparent 0
  );
  background-size: 18px 18px;
  opacity: 0.5;
}
.article__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.article__kicker {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #fff;
  font: 600 11.5px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}
.article__date {
  color: var(--accent);
  font-weight: 600;
}
.article__read {
  color: var(--muted);
}
.article h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  transition: color 0.2s;
}
.article:hover h3 {
  color: var(--accent);
}
.article p {
  color: var(--muted);
  font-size: 15.5px;
}
.article__author-name {
  color: var(--ink);
  font-weight: 500;
}
.article .link-cta {
  font-size: 15px;
  margin-top: 2px;
}
.insights-foot {
  margin-top: 48px;
}

/* ============================================================
   10 — FINAL CTA / FORM
   ============================================================ */
.lead-cta {
  color: #fff;
  position: relative;
  overflow: hidden;
  background-color: var(--brand);
  background-image:
    linear-gradient(160deg, rgba(43, 5, 72, 0.82) 0%, rgba(43, 5, 72, 0.92) 100%),
    url('assets/testimonials-background.webp');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}
.lead-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 0
  );
  background-size: 26px 26px;
}
.lead-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  position: relative;
}
.lead-cta h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  max-width: 12ch;
}
.lead-cta__sub {
  margin-top: 20px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40ch;
}
.lead-trust {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 0;
  list-style: none;
}
.lead-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}
.lead-trust .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
}
.lead-trust .tick svg {
  width: 12px;
  height: 12px;
}

.form-card {
  /* Glass-like card — blends with the dark section instead of harsh white cutout */
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 52px 48px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  max-width: 560px;
  width: 100%;
  justify-self: end;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.field label {
  font: 500 13.5px/1 var(--font-body);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  padding: 14px 18px;
  border: 1.5px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 108px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d14343;
}
.field .err {
  font-size: 13px;
  color: #d14343;
  display: none;
}
.field.has-error .err {
  display: block;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 28px;
}
.consent input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}
.consent label {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.show {
  display: block;
}
.form-success .ok {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 12%, #fff);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.form-success p {
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1c0331;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 36px;
  position: relative;
  z-index: 1;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer .brand {
  color: #fff;
  margin-bottom: 18px;
}
.footer__about {
  font-size: 15px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.6);
}
.footer__col h4 {
  font: 600 13px/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s;
}
.footer__col a:hover {
  color: #fff;
}
.footer__contact a {
  color: rgba(255, 255, 255, 0.74);
}
.footer__contact .clutch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  font-size: 13.5px;
  color: #fff;
}
.footer__contact .clutch-badge .stars {
  color: #ffc107;
}
.footer .lang {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
}
.footer .lang button.is-active {
  color: #fff;
}
.footer__bottom {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}
.footer__bottom a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav,
  .header__right .lang {
    display: none;
  }
  .brand__logo {
    height: 30px;
  }
  .header__right .btn {
    padding: 9px 14px;
    font-size: 13px;
  }
  .hamburger {
    display: flex;
  }
  .svc-full {
    height: auto;
  }
  .svc-full__head {
    padding: 40px 0 28px;
  }
  .svc-panels {
    flex-direction: column;
    gap: 2px;
  }
  .svc-panel {
    flex: none;
    height: auto;
    transition: none;
  }
  .svc-panels:has(.svc-panel:hover) .svc-panel,
  .svc-panels:has(.svc-panel:hover) .svc-panel:hover {
    height: auto;
    flex: none;
  }
  .svc-panel__content {
    position: relative;
    padding: 120px 28px 36px;
  }
  .svc-panel__expand {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .svc-panel__title {
    font-size: 20px;
    color: #fff;
  }
  .svc-panel:hover .svc-panel__title,
  .svc-panels:has(.svc-panel:hover) .svc-panel:not(:hover) .svc-panel__title {
    color: #fff;
  }
  .scope__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .scope__map {
    max-width: 680px;
    margin: 0 auto;
  }
  body[data-reach='pinned'] .scope__pinned {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .scope__mapwrap {
    max-width: 560px;
    margin: 0 auto;
  }
  .founder__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founders-stage {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .founders-photo {
    order: 3;
  }
  .founder-callout {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
  }
  .founder-callout--tomek {
    order: 1;
  }
  .founder-callout--marek {
    order: 2;
    flex-direction: row;
    text-align: left;
    padding: 14px 22px 14px 14px;
  }
  .founder-callout--marek .founder-callout__li {
    justify-content: flex-start;
  }
  .kpi-row {
    grid-template-columns: 1fr;
  }
  .kpi-divider {
    display: none;
  }
  .kpi {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .kpi:not(:first-child) {
    padding-left: 0;
  }
  .process-scene {
    height: auto;
  }
  .process-sticky {
    position: relative;
    height: auto;
    padding: 84px 0;
  }
  .process-track {
    flex-direction: column;
    gap: 0;
  }
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    opacity: 1 !important;
    transform: none !important;
    padding-top: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
  }
  .process-step:first-child {
    padding-top: 0;
  }
  .process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .process-step__num {
    font-size: 44px;
    height: auto;
    min-width: 56px;
  }
  .process-step__body p {
    max-width: none;
    margin: 0;
  }
  .process-line {
    display: none;
  }
  .process-hint {
    display: none;
  }
  /* ---- Case studies: horizontal swipe slider ---- */
  .case-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 15px;
    padding-right: 52px;
    margin-top: 32px;
  }
  .case-grid::-webkit-scrollbar {
    display: none;
  }
  .case-card {
    flex: none;
    width: 76vw;
    scroll-snap-align: start;
  }

  /* ---- Insights: horizontal swipe slider ---- */
  .insights-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 15px;
    padding-right: 52px;
    margin-top: 52px;
  }
  .insights-grid::-webkit-scrollbar {
    display: none;
  }
  .article {
    flex: none;
    width: 78vw;
    scroll-snap-align: start;
  }

  /* ---- Testimonials: extend slider to viewport edges for peek ---- */
  .testi-slider {
    margin-inline: -32px;
  }
  .testi-card {
    padding: 32px 28px 28px;
    width: 82vw;
  }
  .lead-cta__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-card {
    justify-self: stretch;
    max-width: none;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__chips {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .testi__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .process-cta {
    margin-top: 40px;
  }
  .section-head .link-cta {
    margin-top: 16px;
  }
  .filter-bar {
    gap: 8px;
  }
  /* Align section headings with slider cards */
  #cases .container,
  .testi > .container,
  #insights .container {
    padding-left: 15px;
  }
  #insights,
  .sectionw.testi,
  #cases {
    padding-left: 15px;
  }
  /* Disable sticky contact reveal on mobile */
  #bottom-layer {
    position: static;
  }
  body {
    background: var(--bg);
  }
  main {
    background: var(--bg);
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .container {
    padding-inline: 20px;
  }
  .section {
    padding: 84px 0;
  }
  .kpi-band {
    padding: 52px 0 60px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 36px 28px;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__inner {
    padding-block: 100px 56px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero__sub {
    font-size: 18px;
    margin-top: 16px;
  }
  .hero__cta {
    margin-top: 28px;
    gap: 10px;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .svc-full__head {
    padding: 32px 0 22px;
  }
  .svc-panel__content {
    padding: 100px 20px 30px;
  }
  .process-step__num {
    font-size: 36px;
    min-width: 44px;
  }
  .lead-cta {
    padding: 72px 0 60px;
  }
  .footer {
    padding: 60px 0 28px;
  }
  .map-pin__dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  }
  .map-pin__label {
    font-size: 10.5px;
    padding: 4px 8px;
    left: 13px;
  }
  .map-pin--l .map-pin__label {
    right: 13px;
    left: auto;
  }
  .map-pin--d .map-pin__label {
    top: 14px;
  }
  .map-pin__label small {
    display: none;
  }
  /* Map hidden on phone — just show text + chips */
  .scope__map,
  .scope__mapwrap {
    display: none;
  }

  /* Slider padding recalculated for 20px container pad */
  .case-grid,
  .insights-grid {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 15px;
    padding-right: 40px;
  }
  .testi-slider {
    margin-left: -20px;
    margin-right: -20px;
  }
  .testi-card {
    width: 82vw;
    padding: 28px 24px 24px;
  }
  .testi-card::before {
    font-size: 90px;
    right: 20px;
  }
}

/* mobile menu panel */
.mobile-menu {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--brand);
  color: #fff;
  padding: 90px 28px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu .mm-close {
  position: absolute;
  top: 26px;
  right: 22px;
  background: none;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu .mm-cta {
  position: absolute;
  top: 31px;
  left: 22px;
  margin-top: 0;
  padding: 10px 18px;
  font-size: 14px;
  line-height: 1;
}
.mm-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.mm-chev {
  font-style: normal;
  display: inline-block;
  transition: transform 0.25s ease;
  transform-origin: center;
}
.mm-services-toggle[aria-expanded='true'] .mm-chev {
  transform: rotate(90deg);
}
.mm-sub {
  padding-left: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mm-sub.is-open {
  max-height: 200px;
}
.mm-sub a {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
