/* Customers page */
.customersPage .sectionBlock {
  padding-top: clamp(78px, 9vw, 126px);
  padding-bottom: clamp(78px, 9vw, 126px);
}

.customersHero {
  padding-top: clamp(96px, 10vw, 150px) !important;
}

.customersHeroGrid,
.customerFirstGrid,
.customerEditorialGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.customersHeroCopy {
  display: grid;
  gap: 22px;
}

.customersHeroCopy h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--green-500);
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.4vw, 82px);
  font-weight: 400;
  line-height: 0.98;
}

.customersHeroCopy .lead {
  max-width: 65ch;
}

.customersHeroCompact {
  grid-template-columns: minmax(0, 0.74fr);
}

.customersHeroCompact .customersHeroCopy h1 {
  max-width: 13ch;
}

.customerArchitecture {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 440px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--green-100);
  background: var(--card);
}

.architectureSource,
.architectureOutputs {
  display: grid;
  gap: 0;
}

.architectureSource span,
.architectureOutputs span {
  margin-bottom: 10px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.architectureSource strong,
.architectureOutputs strong {
  padding: 14px 0;
  border-top: 1px solid var(--green-100);
  color: var(--green-500);
  font-size: 15px;
}

.architectureSource strong:last-child,
.architectureOutputs strong:last-child {
  border-bottom: 1px solid var(--green-100);
}

.architectureCore {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.architectureCore::before,
.architectureCore::after {
  position: absolute;
  top: 54px;
  width: 34px;
  height: 1px;
  background: var(--green-200);
  content: "";
}

.architectureCore::before {
  right: 100%;
}
.architectureCore::after {
  left: 100%;
}

.architectureCore img {
  width: 96px;
  height: 96px;
  padding: 20px;
  border: 12px solid var(--aqua-100);
  border-radius: 50%;
  background: var(--card);
  object-fit: contain;
}

.architectureCore span {
  max-width: 12ch;
  color: var(--green-500);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.customerEditorialGrid {
  align-items: start;
}

.customerEditorialCopy {
  display: grid;
  gap: 20px;
  padding-top: 6px;
}

.customerEditorialCopy p,
.customerFirstStatement > p {
  margin: 0;
  color: var(--green-400);
  font-size: 18px;
  line-height: 1.75;
}

.customerPrinciples,
.cooperationSteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 70px);
  border-top: 1px solid var(--green-200);
  border-bottom: 1px solid var(--green-200);
}

.customerPrinciples article,
.cooperationSteps article {
  padding: 28px clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--green-200);
}

.customerPrinciples article:last-child,
.cooperationSteps article:last-child {
  border-right: 0;
}

.customerPrinciples span,
.cooperationSteps span {
  display: block;
  margin-bottom: 34px;
  color: var(--aqua-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.customerPrinciples h3,
.cooperationSteps h3 {
  margin: 0 0 12px;
  color: var(--green-500);
  font-size: 20px;
}

.customerPrinciples p,
.cooperationSteps p {
  margin: 0;
  color: var(--green-400);
  line-height: 1.6;
}

.industriesSection .sectionIntro {
  max-width: 900px;
}

.industryExplorer {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--green-100);
  background: #ffffff;
}

.industryOptions {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--green-100);
  background: #ffffff;
}

.industryOptions button {
  --industry-accent: var(--green-500);
  position: relative;
  min-height: 66px;
  padding: 17px 24px 17px 30px;
  border: 0;
  border-bottom: 1px solid var(--green-100);
  background: #ffffff;
  color: var(--green-400);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.industryOptions button::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--industry-accent);
  content: "";
  opacity: 0.82;
  transition:
    width 160ms ease,
    opacity 160ms ease;
}

.industryOptions button:nth-child(1) {
  --industry-accent: var(--green-500);
}

.industryOptions button:nth-child(2) {
  --industry-accent: var(--blue-500);
}

.industryOptions button:nth-child(3) {
  --industry-accent: var(--aqua-500);
}

.industryOptions button:nth-child(4) {
  --industry-accent: var(--coral-500);
}

.industryOptions button:nth-child(5) {
  --industry-accent: #648fbf;
}

.industryOptions button:nth-child(6) {
  --industry-accent: #9de3d8;
}

.industryOptions button:last-child {
  border-bottom: 0;
}

.industryOptions button:hover {
  background: #fafbfa;
  color: var(--green-500);
}

.industryOptions button:focus-visible {
  outline: 2px solid var(--industry-accent);
  outline-offset: -2px;
  background: #fafbfa;
  color: var(--green-500);
}

.industryOptions button.is-active {
  background: #f8f9f8;
  color: var(--green-500);
}

.industryOptions button.is-active::before {
  width: 6px;
  opacity: 1;
}

.industryPanel {
  min-height: 450px;
  padding: clamp(34px, 4.5vw, 52px);
  background: #ffffff;
}

.industryPanel h3 {
  max-width: 22ch;
  margin: 0 0 20px;
  color: var(--green-500);
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.7vw, 48px);
  font-weight: 400;
  line-height: 1.04;
}

.industryPanel > p {
  max-width: 72ch;
  margin: 0;
  color: var(--green-400);
  font-size: 18px;
  line-height: 1.65;
}

.industryPanel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--green-100);
}

.industryPanel li {
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--green-100);
  color: var(--green-500);
  font-weight: 650;
  line-height: 1.42;
}

.industryPanelRefresh {
  animation: industryRefresh 360ms ease both;
}

@keyframes industryRefresh {
  from {
    opacity: 0.45;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.customerCaseHeading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 50px;
  align-items: end;
}

.customerCaseHeading > p {
  margin: 0;
  color: var(--green-400);
  font-size: 18px;
  line-height: 1.7;
}

.customerCaseMetrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--green-200);
  border-bottom: 1px solid var(--green-200);
}

.customerCaseMetrics article {
  min-height: 210px;
  padding: 30px clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--green-200);
}

.customerCaseMetrics article:last-child {
  border-right: 0;
}

.customerCaseMetrics span,
.customerCaseNarrative article > span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.customerCaseMetrics strong {
  display: block;
  color: var(--green-500);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.04;
}

.customerCaseMetrics p {
  margin: 16px 0 0;
  color: var(--green-400);
  line-height: 1.55;
}

.customerCaseBody {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
  margin-top: clamp(52px, 7vw, 88px);
}

.customerCaseNarrative {
  display: grid;
  gap: 30px;
}

.customerCaseNarrative article {
  padding-top: 18px;
  border-top: 1px solid var(--green-200);
}

.customerCaseNarrative h3 {
  margin: 0 0 10px;
  color: var(--green-500);
  font-size: 20px;
}

.customerCaseNarrative p {
  margin: 0;
  color: var(--green-400);
  line-height: 1.65;
}

.customerCaseImageButton {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-500);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: zoom-in;
}

.customerCaseImageButton img {
  display: block;
  width: 100%;
  border: 1px solid var(--green-100);
  background: var(--card);
}

.customerFirstStatement {
  display: grid;
  gap: 18px;
}

.serviceOrbit {
  --orbit-card-width: 224px;
  --orbit-card-height: 150px;
  --orbit-top-card-width: 260px;
  --orbit-side-offset-x: 32.5%;
  --orbit-side-offset-y: 35.5%;
  --orbit-top-offset-y: -42%;
  position: relative;
  width: min(100%, 620px);
  min-height: 600px;
  margin-inline: auto;
}

.serviceOrbitStage,
.serviceOrbitNodes {
  position: absolute;
  inset: 0;
}

.serviceOrbitStage {
  z-index: 0;
}

.serviceOrbitDiagram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.serviceOrbitArc {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke 180ms ease;
}

.serviceOrbitArcDirect {
  stroke: var(--blue-500);
}
.serviceOrbitArcPractical {
  stroke: var(--aqua-500);
}
.serviceOrbitArcPartnership {
  stroke: var(--coral-500);
}

.serviceOrbit:has(.serviceOrbitNodeDirect:hover) .serviceOrbitArcDirect,
.serviceOrbit:has(.serviceOrbitNodeDirect:focus-within) .serviceOrbitArcDirect {
  stroke: var(--blue-600);
}

.serviceOrbit:has(.serviceOrbitNodePractical:hover) .serviceOrbitArcPractical,
.serviceOrbit:has(.serviceOrbitNodePractical:focus-within) .serviceOrbitArcPractical {
  stroke: var(--aqua-600);
}

.serviceOrbit:has(.serviceOrbitNodePartnership:hover) .serviceOrbitArcPartnership,
.serviceOrbit:has(.serviceOrbitNodePartnership:focus-within) .serviceOrbitArcPartnership {
  stroke: var(--coral-600);
}

.serviceOrbitCore {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  place-items: center;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--cream-100);
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.serviceOrbitCore::before {
  position: absolute;
  inset: -12px;
  border: 1px solid var(--aqua-300);
  border-radius: 50%;
  content: "";
  opacity: 0.78;
  transition:
    border-color 180ms ease,
    opacity 180ms ease;
}

.serviceOrbit:has(.serviceOrbitItem:hover) .serviceOrbitCore::before,
.serviceOrbit:has(.serviceOrbitItem:focus-within) .serviceOrbitCore::before {
  border-color: var(--aqua-500);
  opacity: 1;
}

.serviceOrbitCore > span {
  max-width: 12ch;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.05;
}

.serviceOrbitCore small {
  max-width: 16ch;
  color: var(--aqua-300);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.serviceOrbitItem {
  position: absolute;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  width: var(--orbit-card-width);
  height: var(--orbit-card-height);
  padding: 16px;
  border: 1px solid var(--green-200);
  border-radius: 14px;
  background: var(--section-surface-base);
  box-shadow: 0 10px 24px rgba(3, 11, 6, 0.08);
  transform: translate(-50%, -50%);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
  z-index: 1;
}

.serviceOrbitItem:hover {
  box-shadow: 0 12px 26px rgba(3, 11, 6, 0.11);
  transform: translate(-50%, calc(-50% - 2px));
}

.serviceOrbitMarker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--green-200);
  border-radius: 50%;
  color: var(--green-500);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.serviceOrbitNodeDirect .serviceOrbitMarker {
  border-color: var(--blue-500);
  color: var(--blue-600);
}
.serviceOrbitNodePractical .serviceOrbitMarker {
  border-color: var(--aqua-600);
  color: var(--aqua-700);
}
.serviceOrbitNodePartnership .serviceOrbitMarker {
  border-color: var(--coral-500);
  color: var(--coral-600);
}

.serviceOrbitItem strong,
.servicePromises strong {
  display: block;
  margin-bottom: 7px;
  color: var(--green-500);
}

.serviceOrbitItem > div > span,
.servicePromises span {
  color: var(--green-400);
  font-size: 14px;
  line-height: 1.5;
}

.orbitOne {
  top: calc(50% + var(--orbit-top-offset-y));
  left: 50%;
  width: var(--orbit-top-card-width);
}

.orbitTwo {
  top: calc(50% + var(--orbit-side-offset-y));
  left: calc(50% + var(--orbit-side-offset-x));
}

.orbitThree {
  top: calc(50% + var(--orbit-side-offset-y));
  left: calc(50% - var(--orbit-side-offset-x));
}

.servicePromises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--green-200);
  border-left: 1px solid var(--green-200);
}

.servicePromises > div {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid var(--green-200);
  border-bottom: 1px solid var(--green-200);
}

.cooperationSteps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customerCtaBand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
  padding: clamp(34px, 6vw, 70px);
  background: var(--green-500);
}

.customerCtaBand .sectionKicker {
  color: var(--aqua-500);
}

.customerCtaBand h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--cream-100);
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.02;
}

.customerCtaBand p {
  max-width: 65ch;
  margin: 18px 0 0;
  color: var(--cream-300);
  line-height: 1.7;
}

.customerCtaActions {
  display: grid;
  gap: 12px;
  min-width: 250px;
}

.customerCtaBand .button.primary {
  border-color: var(--cream-100);
  background: var(--card);
  color: var(--green-500);
}

.customerCtaBand .button.ghost {
  border-color: var(--green-300);
  background: transparent;
  color: var(--cream-100);
}

@media (max-width: 980px) {
  .customersHeroCompact {
    grid-template-columns: 1fr;
  }

  .customersHeroGrid,
  .customerFirstGrid,
  .customerEditorialGrid,
  .customerCaseHeading,
  .customerCaseBody,
  .customerCtaBand {
    grid-template-columns: 1fr;
  }

  .customerArchitecture {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .architectureCore::before,
  .architectureCore::after {
    display: none;
  }

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

  .industryOptions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--green-100);
  }

  .industryOptions button:nth-child(odd) {
    border-right: 1px solid var(--green-100);
  }

  .industryPanel {
    min-height: 0;
  }

  .customerCaseImageButton {
    position: static;
  }
  .serviceOrbit {
    min-height: 600px;
  }
  .customerCtaActions {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .customerPrinciples,
  .customerCaseMetrics,
  .cooperationSteps,
  .servicePromises {
    grid-template-columns: 1fr;
  }

  .customerPrinciples article,
  .customerCaseMetrics article,
  .cooperationSteps article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--green-200);
  }

  .customerPrinciples article:last-child,
  .customerCaseMetrics article:last-child,
  .cooperationSteps article:last-child {
    border-bottom: 0;
  }

  .industryOptions,
  .industryPanel ul {
    grid-template-columns: 1fr;
  }

  .industryOptions button:nth-child(odd) {
    border-right: 0;
  }

  .serviceOrbit {
    display: grid;
    gap: 18px;
    min-height: 0;
    width: 100%;
  }

  .serviceOrbitStage {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 620 / 560;
  }

  .serviceOrbitCore {
    width: 156px;
    height: 156px;
  }

  .serviceOrbitCore > span {
    font-size: 22px;
  }
  .serviceOrbitCore small {
    font-size: 9px;
  }

  .serviceOrbitNodes {
    position: static;
    display: grid;
    gap: 12px;
  }

  .serviceOrbitItem,
  .serviceOrbitItem:hover {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
  }

  .customerCtaBand {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industryPanelRefresh {
    animation: none;
  }
}

/* Centered editorial and conversion lockups on the Customers page. */
.customersHeroCompact {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.customersHeroCompact .customersHeroCopy {
  justify-items: center;
  text-align: center;
}

.customersHeroCompact .customersHeroCopy h1 {
  max-width: 14ch;
  margin-inline: auto;
  text-wrap: balance;
}

.customersHeroCompact .customersHeroCopy .lead {
  max-width: 62ch;
  margin-inline: auto;
}

.customersHeroCompact .heroActions {
  justify-content: center;
  margin-top: 4px;
}

.industriesSection .sectionIntro,
.cooperationSection .sectionIntro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.industriesSection .sectionIntro .sectionTitle,
.cooperationSection .sectionIntro .sectionTitle {
  max-width: 19ch;
  margin-inline: auto;
  text-wrap: balance;
}

.industriesSection .sectionIntro .sectionText {
  max-width: 64ch;
  margin-inline: auto;
}

.customerCaseHeading {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 0;
  text-align: center;
}

.customerCaseHeading .sectionTitle {
  max-width: 20ch;
  margin-inline: auto;
  text-wrap: balance;
}

.customerCaseHeading > p {
  max-width: 64ch;
  margin: 20px auto 0;
}

.customerCtaBand {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 26px;
  align-items: start;
  text-align: center;
}

.customerCtaBand > div:first-child {
  display: grid;
  justify-items: center;
}

.customerCtaBand h2 {
  max-width: 17ch;
  margin-inline: auto;
  text-wrap: balance;
}

.customerCtaBand p {
  max-width: 62ch;
  margin: 18px auto 0;
}

.customerCtaActions {
  min-width: 0;
  width: min(100%, 220px);
  justify-self: center;
}

.customerCtaActions .button {
  width: 100%;
}

/* Give the desktop industry explorer more vertical breathing room. */
@media (min-width: 981px) {
  .industryOptions button {
    display: flex;
    align-items: center;
    min-height: 86px;
  }

  .industryPanel {
    min-height: 520px;
  }
}

/* Let centered editorial headlines use the available desktop width. */
@media (min-width: 981px) {
  .customersHeroCompact {
    grid-template-columns: minmax(0, 75%);
  }

  .customersHeroCompact .customersHeroCopy h1,
  .industriesSection .sectionIntro .sectionTitle,
  .cooperationSection .sectionIntro .sectionTitle,
  .customerCaseHeading .sectionTitle,
  .customerCtaBand h2 {
    width: 100%;
    max-width: none;
  }

  .industriesSection .sectionIntro,
  .cooperationSection .sectionIntro {
    width: 75%;
    max-width: none;
  }

  .customerCaseHeading,
  .customerCtaBand {
    grid-template-columns: minmax(0, 75%);
  }
}

/* Balance Customer First copy against the radial customer-success diagram. */
@media (min-width: 981px) {
  .customerFirstGrid {
    column-gap: clamp(116px, 9vw, 150px);
  }

  .customerFirstStatement {
    width: 100%;
    max-width: 430px;
    justify-self: start;
  }

  .customerFirstStatement .sectionTitle {
    max-width: 12ch;
    text-wrap: balance;
  }

  .customerFirstStatement > p {
    max-width: 40ch;
  }

  .serviceOrbit {
    --orbit-side-offset-x: 41%;
    --orbit-side-offset-y: 26.5%;
  }
}

/* Final desktop refinement: a slightly wider copy block and a consistent orbit gap. */
@media (min-width: 981px) {
  .customerFirstStatement {
    max-width: 480px;
  }

  .customerFirstStatement .sectionTitle {
    max-width: 460px;
  }

  .customerFirstStatement > p {
    max-width: 46ch;
  }

  .serviceOrbit {
    --orbit-side-offset-x: 43%;
  }
}

/* Let the selected Customers-page hero and outcome copy use the same 75% desktop lane. */
@media (min-width: 981px) {
  .customersHeroCompact .customersHeroCopy .lead,
  .customerCaseHeading > p {
    width: 100%;
    max-width: none;
  }

  .customersHeroCompact .heroActions {
    margin-top: 12px;
  }

  .customerCaseMetrics {
    margin-top: clamp(60px, 5vw, 72px);
  }
}