:root {
  --bg: #fbfaf7;
  --ink: #17151d;
  --muted: #696174;
  --purple: #24104f;
  --orange: #f66327;
  --orange-text: #cc4127;
  --line: #e7e1d8;
  --font: Inter, Arial, sans-serif;
  --hand: Gaegu, cursive;
}

.gs-services {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

.gs-services a {
  color: inherit;
  text-decoration: none;
}

.gs-services a.primary {
  color: #fff;
}

.gs-services a.secondary {
  color: #4d4854;
}

.gs-services .skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
  color: var(--purple);
}

.gs-services .skip-link:focus {
  top: 16px;
}

.gs-services .container {
  width: min(1060px, calc(100% - 56px));
  margin: 0 auto;
}

.gs-services .hand {
  margin: 0 0 22px;
  color: var(--orange-text);
  font: 700 34px/1 var(--hand);
  letter-spacing: .01em;
}

.gs-services h1,
.gs-services h2,
.gs-services h3 {
  font-family: var(--font);
}

.gs-services h1 {
  max-width: 870px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(66px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: .96;
}

.gs-services h2 {
  margin: 0;
  color: var(--ink);
  font-size: 55px;
  font-weight: 900;
  letter-spacing: -2.6px;
  line-height: .98;
}

.gs-services .hero-lead {
  max-width: 560px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.gs-services .hero-actions,
.gs-services .cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 33px;
}

.gs-services .primary,
.gs-services .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.gs-services .primary {
  background: var(--ink);
}

.gs-services .secondary {
  border-color: var(--line);
  background: #fff;
  font-weight: 750;
}

.gs-services .section-kicker {
  margin: 0 0 12px;
  color: #8b8791;
  font: 700 29px/1 var(--hand);
}

.gs-services .section-kicker.orange {
  color: var(--orange-text);
}

.gs-services .tech-rail {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #fffdf9;
}

.gs-services .rail-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: center;
}

.gs-services .rail-label {
  color: #5b5663;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.gs-services .rail-window {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gs-services .rail-track {
  display: flex;
  width: max-content;
  animation: services-scroll-left 34s linear infinite;
}

.gs-services .rail-list {
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0 38px 0 0;
  list-style: none;
  color: #6f6975;
  font-size: 17px;
  font-weight: 850;
  white-space: nowrap;
}

@keyframes services-scroll-left {
  to { transform: translateX(-50%); }
}

.gs-services .services-hero {
  position: relative;
  padding: 92px 0 84px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(#f7f5f3 1px, transparent 1px),
    linear-gradient(90deg, #f7f5f3 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: 0 0;
}

.gs-services .services-hero .hand,
.gs-services .services-hero h1,
.gs-services .services-hero .hero-lead {
  text-align: center;
}

.gs-services .services-hero .hand {
  margin-bottom: 18px;
}

.gs-services .services-hero h1 {
  max-width: 980px;
  font-size: clamp(56px, 6.55vw, 86px);
  letter-spacing: -4px;
}

.gs-services .services-hero .hero-lead {
  max-width: 680px;
}

.gs-services .services-overview {
  padding: 82px 0 92px;
  border-bottom: 1px solid var(--line);
}

.gs-services .overview-head,
.gs-services .process-head,
.gs-services .fit-head {
  display: grid;
  align-items: center;
}

.gs-services .overview-head {
  grid-template-columns: 330px 1fr;
  gap: 90px;
  margin-bottom: 42px;
}

.gs-services .overview-head p:last-child,
.gs-services .process-head p:last-child {
  max-width: 610px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.gs-services .service-detail {
  display: grid;
  grid-template-columns: 92px minmax(280px, 360px) 1fr;
  gap: 42px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.gs-services .service-number {
  color: var(--orange-text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .13em;
}

.gs-services .service-detail h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1.3px;
  line-height: 1.05;
}

.gs-services .service-detail h3 span {
  min-width: 0;
}

.gs-services .service-keep {
  white-space: nowrap;
}

.gs-services .service-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 0.14em;
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .gs-services .service-icon {
    transition: transform 180ms ease;
  }

  .gs-services .service-detail h3:hover .service-icon {
    transform: translateY(-2px);
  }
}

.gs-services .service-detail-intro {
  margin: 0;
  max-width: 680px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -.7px;
  line-height: 1.18;
}

.gs-services .common-work {
  margin: 18px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
}

.gs-services .common-work strong {
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gs-services a.service-detail-link {
  color: var(--orange-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.gs-services a.service-detail-link:hover {
  color: var(--purple);
  text-decoration-thickness: 2px;
}

.gs-services .process-section {
  padding: 86px 0 94px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gs-services .process-head {
  grid-template-columns: 370px 1fr;
  gap: 82px;
  margin-bottom: 42px;
}

.gs-services .process-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.gs-services .process-step {
  display: grid;
  grid-template-columns: 90px 260px 1fr;
  gap: 34px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.gs-services .process-step span {
  display: block;
  color: var(--orange-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.gs-services .process-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
}

.gs-services .process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.gs-services .fit-section {
  padding: 82px 0 92px;
  border-bottom: 1px solid var(--line);
  background-color: #f0ebf7;
  background-image:
    linear-gradient(rgb(36 16 79 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 16 79 / 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: 0 0;
}

.gs-services .fit-head {
  display: block;
  margin-bottom: 48px;
  text-align: center;
}

.gs-services .fit-section .section-kicker {
  color: #cc4127;
}

.gs-services .fit-section h2 {
  color: #24104f;
}

.gs-services .fit-head p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: #3d3648;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.gs-services .fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0;
  background: none;
}

.gs-services .fit-card,
.gs-services .fit-card.poor {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-items: start;
  padding: 0 36px;
  background: none;
  border: 0;
  box-shadow: none;
}

.gs-services .fit-card:first-child {
  padding-left: 0;
}

.gs-services .fit-card:last-child {
  padding-right: 0;
}

.gs-services .fit-card + .fit-card {
  border-left: 1px solid rgba(36, 16, 79, 0.16);
}

.gs-services .fit-card h3 {
  display: flex;
  align-items: flex-start;
  align-self: start;
  gap: 10px;
  margin: 0;
  color: #24104f;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -1px;
}

.gs-services .fit-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.22em;
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.gs-services .fit-icon-muted {
  color: var(--muted);
}

.gs-services .clean-list {
  display: grid;
  align-self: start;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #3d3648;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.gs-services .clean-list li {
  position: relative;
  padding-left: 18px;
}

.gs-services .clean-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.gs-services .services-cta-final {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 86px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(246, 99, 39, .035)),
    var(--bg);
}

.gs-services .services-cta-final h2 {
  max-width: 650px;
  margin: 0 auto;
  font-size: 58px;
  line-height: .98;
}

.gs-services .services-cta-final .cta-copy {
  max-width: 590px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.58;
}

.gs-services .cta-kicker {
  margin: 0 0 14px;
  color: var(--orange-text);
  font: 700 34px/1 var(--hand);
}

.gs-services .cta-note {
  margin: 18px 0 0;
  color: #8b8791;
  font-size: 13px;
  font-weight: 750;
}

body.gs-services #stcm-icon {
  display: none !important;
}

.gs-services :focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .gs-services .service-icon {
    transition: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .gs-services .hero-actions,
  .gs-services .cta-actions {
    flex-wrap: wrap;
  }

  .gs-services .services-hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }

  .gs-services .overview-head,
  .gs-services .rail-inner,
  .gs-services .service-detail,
  .gs-services .process-head,
  .gs-services .process-step,
  .gs-services .fit-head,
  .gs-services .fit-grid {
    grid-template-columns: 1fr;
  }

  .gs-services .overview-head,
  .gs-services .process-head,
  .gs-services .fit-head {
    gap: 20px;
    margin-bottom: 28px;
  }

  .gs-services .service-detail {
    gap: 10px;
    padding: 28px 0;
  }

  .gs-services .process-step {
    gap: 8px;
    padding: 24px 0;
  }

  .gs-services .services-overview,
  .gs-services .process-section,
  .gs-services .fit-section {
    padding: 56px 0;
  }

  .gs-services .fit-card,
  .gs-services .fit-card.poor,
  .gs-services .fit-card:first-child,
  .gs-services .fit-card:last-child {
    display: block;
    grid-column: auto;
    grid-row: auto;
    padding: 0;
  }

  .gs-services .fit-card + .fit-card {
    margin-top: 32px;
    padding-top: 32px;
    border-left: 0;
    border-top: 1px solid rgba(36, 16, 79, 0.16);
  }

  .gs-services .rail-window {
    mask-image: none;
  }
}

@media (max-width: 640px) {
  .gs-services h2,
  .gs-services .services-cta-final h2 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .gs-services .service-detail h3,
  .gs-services .process-step h3,
  .gs-services .fit-card h3 {
    font-size: 32px;
  }

  .gs-services .service-detail-intro {
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .gs-services .container {
    width: min(1060px, calc(100% - 32px));
  }

  .gs-services .services-hero {
    padding: 56px 0 48px;
  }

  .gs-services .services-hero h1 {
    font-size: 46px;
  }

  .gs-services .hand,
  .gs-services .cta-kicker {
    font-size: 28px;
  }

  .gs-services a.primary,
  .gs-services a.secondary {
    width: 100%;
  }

  .gs-services .services-cta-final {
    min-height: 0;
    padding: 64px 0;
  }

  .gs-services .fit-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-services .rail-track {
    animation: none;
  }

  .gs-services .rail-track .rail-list[aria-hidden="true"] {
    display: none;
  }
}
