.services-page {
  background: #07090d;
}

.top-bar .brand {
  text-decoration: none;
}

.services-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: clamp(130px, 17vh, 220px) 3.5vw clamp(66px, 10vh, 120px);
  background: #000000;
  color: #eef2fa;
  overflow: hidden;
}

.services-hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services-page-kicker {
  margin: 0;
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 242, 250, 0.7);
}

.services-page-title {
  margin: clamp(16px, 2.7vh, 28px) 0 clamp(14px, 2.4vh, 24px);
  font-size: clamp(80px, 16vw, 260px);
  line-height: 0.8;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-transform: lowercase;
}

.services-page-lead {
  margin: 0;
  padding-top: 5vh;
  max-width: 62ch;
  font-size: clamp(16px, 1.45vw, 24px);
  line-height: 1.45;
  color: rgba(238, 242, 250, 0.82);
}

.services-hero-robot {
  position: absolute;
  right: clamp(-50px, -4vw, 8px);
  top: 30%;
  width: clamp(400px, 38vw, 640px);
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: auto;
  animation: works-side-robot-float 8.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  transform-origin: 50% 60%;
}

.services-hero-robot-media,
.services-hero-robot-xray {
  display: block;
  width: 100%;
  height: auto;
}

.services-hero-robot-media {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.62));
}

.services-hero-robot-xray {
  position: absolute;
  inset: 0;
  clip-path: circle(0px at 0 0);
  pointer-events: none;
}

.services-catalog {
  z-index: 220;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.service-card {
  background: #f8f9fc;
  border: 1px solid rgba(15, 18, 25, 0.1);
  padding: clamp(24px, 3vw, 36px);
  min-height: 320px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.service-index {
  margin: 0;
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 18, 25, 0.62);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 42px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: #101216;
}

.service-card p {
  margin: 0;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.55;
  color: rgba(16, 18, 22, 0.86);
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  font-size: clamp(13px, 0.96vw, 15px);
  line-height: 1.4;
  color: rgba(15, 18, 25, 0.86);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 1px;
  background: rgba(15, 18, 25, 0.72);
}

.services-process {
  position: relative;
  z-index: 230;
  background: #07090d;
  color: #eef1f7;
  display: flex;
  align-items: center;
  min-height: 100vh;
  height: 100vh;
  padding-top: clamp(84px, 12vh, 150px);
  padding-bottom: clamp(84px, 12vh, 150px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.services-process .intro-statement-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-process .intro-statement-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(42px, 7.8vw, 126px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #f2f5fb;
}

.process-grid {
  margin-top: clamp(24px, 4vh, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.process-step {
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(20px, 2.2vw, 30px);
  transform: translateY(0);
  opacity: 1;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 520ms ease;
}

.process-step.is-step-visible {
  transform: translateY(0);
  opacity: 1;
}

.process-step-index {
  margin: 0 0 10px;
  font-family: "JetBrains Mono", "Roboto Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 245, 251, 0.56);
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 1.9vw, 34px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f2f5fb;
}

.process-step p {
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.52;
  color: rgba(242, 245, 251, 0.76);
}

.services-cta {
  position: relative;
  z-index: 240;
  min-height: 100vh;
  height: 100vh;
  background: #f6f7f9;
  color: #0f1219;
  border-top: 1px solid rgba(15, 18, 25, 0.12);
  padding-left: 4vw;
  padding-right: 2vw;
}

/* Enable process -> CTA overlay card handoff when JS scroll animation is active. */
body.has-services-process-cta-card .services-cta {
  margin-top: -100vh;
}

.services-page .services-cta .talk-title {
  color: #0f1219;
}

.services-page .services-cta .talk-section-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 36vw);
  align-items: center;
  gap: clamp(40px, 3.8vw, 70px);
}

.services-page .services-cta .talk-copy {
  min-height: 0;
  margin-left: 0;
}

.services-page .services-cta .talk-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.services-page .services-cta .talk-title {
  position: relative;
  display: grid;
  gap: 0.03em;
  font-size: clamp(58px, 8.2vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.services-page .services-cta .talk-title .talk-title-line {
  position: relative;
}

.services-page .services-cta .talk-title .talk-title-line:first-child {
  z-index: 1;
  font-weight: 700;
}

.services-page .services-cta .talk-title .talk-title-line:last-child {
  z-index: 3;
  font-weight: 700;
}

.services-page .services-cta .talk-robot-wrap {
  position: relative;
  justify-self: end;
  left: clamp(78px, 6.4vw, 138px);
  width: clamp(415px, 46.5vw, 775px);
  margin: 0;
  top: -8px;
  transform: none;
  z-index: 2;
}

.services-page .services-cta .talk-robot-wrap::before {
  opacity: 0.34;
}

.services-page .services-cta .talk-robot {
  filter: drop-shadow(0 20px 32px rgba(12, 16, 24, 0.24));
}

.services-page .services-cta .talk-cta {
  min-height: 50px;
  padding: 0 22px;
  border-width: 1px;
  border-color: rgba(15, 18, 25, 0.32);
  color: #0f1219;
  background: rgba(15, 18, 25, 0.04);
  font-size: clamp(12px, 0.88vw, 13px);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.services-page .services-cta .talk-cta-call {
  background: #0f1219;
  color: #ffffff;
  border-color: #0f1219;
}

.services-page .services-cta .talk-cta:hover {
  background: #0f1219;
  color: #ffffff;
  border-color: #0f1219;
}

.services-page .site-footer {
  background: #05070d;
  color: #eef2fa;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.services-page .site-footer-label {
  color: rgba(238, 242, 250, 0.62);
}

.services-page .site-footer-text-link {
  color: #eef2fa;
}

.services-page .site-footer-text-link:hover {
  opacity: 0.72;
}

.services-page .site-footer-logo {
  color: #f3f6fc;
}

@media (max-width: 1000px) {
  .services-hero-robot {
    right: clamp(-46px, -6vw, 6px);
    width: clamp(340px, 48vw, 560px);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-hero-robot {
    display: none;
  }

  .services-page .services-cta {
    min-height: 68svh;
    height: auto;
    padding-top: clamp(76px, 10vh, 112px);
    padding-bottom: clamp(28px, 6vh, 52px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-hero {
    min-height: 44svh;
    padding-top: clamp(80px, 10.5svh, 104px);
    padding-bottom: clamp(20px, 3.8svh, 32px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-page-title {
    font-size: clamp(58px, 20vw, 120px);
  }

  .services-page-lead {
    font-size: 15px;
  }

  .service-card {
    min-height: auto;
    padding: 20px;
  }

  .services-catalog {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-process {
    min-height: 100svh;
    height: 100svh;
    padding-left: 20px;
    padding-right: 20px;
  }

  body.has-services-process-cta-card .services-cta {
    margin-top: -68svh;
    min-height: 68svh;
    height: auto;
  }

  .services-page .services-cta .talk-copy {
    min-height: 0;
    margin-left: 0;
  }

  .services-page .services-cta .talk-actions {
    gap: 14px;
  }

  .services-page .services-cta .talk-title {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 0.9;
    gap: 0.03em;
  }

  .services-page .services-cta .talk-cta {
    min-height: 46px;
    padding: 0 18px;
    font-size: 12px;
  }

  .services-page .services-cta .talk-robot-wrap {
    justify-self: center;
    width: min(118vw, 560px);
    left: 0;
    transform: translateX(12vw);
  }
}
