.service-hero,
.service-model,
.service-technology {
  color: var(--white);
  background: var(--navy-950);
}

.service-hero {
  position: relative;
  min-height: 39rem;
  display: flex;
  align-items: center;
  padding-block: 5.8rem 6.4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 48%, rgb(34 112 124 / 18%), transparent 36%),
    var(--navy-950);
}

.service-hero-layout,
.distinction-layout,
.service-model-layout,
.service-method-heading,
.service-technology-layout,
.service-fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.service-hero-copy {
  max-width: 42rem;
}

.service-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 5.4vw, 4.7rem);
  line-height: 1.02;
}

.service-hero-lede {
  max-width: 38rem;
  margin-bottom: 1rem;
  color: rgb(238 245 248 / 80%);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.service-scope-note,
.service-journey-note {
  color: rgb(224 237 242 / 61%);
  font-size: 0.84rem;
}

.service-scope-note {
  margin-bottom: 1.8rem;
}

.service-journey {
  margin: 0;
  padding: 1.5rem 0 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.service-journey-caption,
.service-model-figure figcaption {
  margin-bottom: 2rem;
  color: rgb(224 237 242 / 62%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-journey-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-journey-steps::before {
  position: absolute;
  top: 1.35rem;
  bottom: 1.35rem;
  left: 1rem;
  width: 1px;
  transform: scaleY(1);
  transform-origin: top center;
  background: rgb(101 213 200 / 52%);
  content: "";
}

.motion-ready .service-journey-steps::before {
  transform: scaleY(0);
}

.motion-ready .service-journey-steps.is-visible::before {
  transform: scaleY(1);
  transition: transform 900ms var(--ease-out) 120ms;
}

.motion-ready .service-journey-steps > li.is-visible .journey-number {
  animation: service-node-activate 420ms var(--ease-out) var(--reveal-delay, 0ms) both;
}

@keyframes service-node-activate {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.service-journey-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.2rem 0.9rem;
  min-height: 5.15rem;
  align-content: center;
  transition: transform var(--motion-standard) var(--ease-out);
}

.service-journey-steps li:hover {
  transform: translateX(0.2rem);
}

.journey-number {
  z-index: 1;
  grid-row: 1 / span 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  background: var(--navy-950);
  font-size: 0.66rem;
  font-weight: 700;
}

.service-journey-steps strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
}

.service-journey-steps li > span:last-child {
  color: rgb(224 237 242 / 63%);
  font-size: 0.84rem;
}

.service-journey-note {
  margin: 1.3rem 0 0;
}

.service-distinction {
  background: var(--white);
}

.distinction-intro h2,
.service-section-heading h2,
.service-model h2,
.service-method h2,
.service-responsibilities h2,
.service-technology h2,
.service-fit h2 {
  max-width: 15ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.05rem, 3.6vw, 3.1rem);
  line-height: 1.1;
}

.distinction-statement {
  max-width: 38rem;
  padding-left: 1rem;
  border-left: 2px solid #348e89;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.question-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  margin-block: 2rem 1.4rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.question-bridge-step {
  display: grid;
  gap: 0.3rem;
}

.question-bridge-step span {
  color: #347e7c;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.question-bridge-step strong {
  font-size: 0.96rem;
  line-height: 1.4;
}

.question-bridge-connector {
  height: 1px;
  background: #69a7a1;
}

.distinction-note {
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.service-focus {
  background: var(--surface);
}

.service-section-heading {
  max-width: 50rem;
  margin-bottom: 2.7rem;
}

.service-section-heading .body-lede {
  max-width: 44rem;
  margin-bottom: 0;
}

.service-focus-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #b6c5cd;
  list-style: none;
}

.service-focus-list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(9rem, 0.42fr);
  gap: 1rem;
  align-items: center;
  padding: 1.45rem 0;
  border-bottom: 1px solid #b6c5cd;
}

.service-focus-index,
.responsibility-number {
  color: #347e7c;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.service-focus-list h3,
.responsibility-column h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.24rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.service-focus-list p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.96rem;
}

.service-focus-prompt {
  color: #496779;
  font-size: 0.88rem;
  font-weight: 680;
  text-align: right;
}

.service-model {
  background:
    radial-gradient(ellipse at 78% 45%, rgb(34 112 124 / 13%), transparent 34%),
    var(--navy-950);
}

.service-model-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.service-model-copy h2,
.service-method h2,
.service-technology h2 {
  color: var(--white);
}

.service-model-copy > p:not(.eyebrow),
.service-technology-copy > p:not(.eyebrow) {
  max-width: 39rem;
  color: rgb(235 244 247 / 75%);
  font-size: 1.05rem;
}

.service-model-caveat,
.technology-scope-note {
  font-size: 0.83rem !important;
}

.service-model-figure {
  margin: 0;
  padding: 1.4rem;
  border: 1px solid rgb(255 255 255 / 17%);
  background: rgb(255 255 255 / 3%);
}

.service-model-figure figcaption {
  margin-bottom: 1rem;
}

.service-model-stack {
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-level {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1.1rem 0.9rem;
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.model-level:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 17%);
}

.model-excelytech {
  border-left: 2px solid var(--cyan);
  background: rgb(101 213 200 / 7%);
}

.model-index {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 750;
}

.model-level > span:nth-child(2) {
  display: grid;
  gap: 0.25rem;
}

.model-level strong {
  font-size: 0.97rem;
  line-height: 1.35;
}

.model-level small {
  color: rgb(235 244 247 / 64%);
  font-size: 0.8rem;
  line-height: 1.4;
}

.model-role {
  color: rgb(235 244 247 / 55%);
  font-size: 0.72rem;
  text-align: right;
}

.service-method {
  color: var(--white);
  background: var(--navy-900);
}

.service-method-heading {
  align-items: end;
  margin-bottom: 3rem;
}

.service-method-heading h2 {
  margin-bottom: 0;
}

.service-method-heading > p {
  max-width: 29rem;
  margin-bottom: 0.3rem;
  color: rgb(235 244 247 / 73%);
}

.service-method-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-method-list li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 9rem;
  padding: 1.2rem 0 1.5rem;
  border-top: 1px solid rgb(101 213 200 / 48%);
}

.service-method-list li > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.09em;
}

.service-method-list h3 {
  margin: -0.25rem 0 0.4rem;
  color: var(--white);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.service-method-list p {
  max-width: 19rem;
  margin: 0;
  color: rgb(235 244 247 / 72%);
  font-size: 0.92rem;
}

.service-method-note {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(235 244 247 / 64%);
  font-size: 0.83rem;
}

.service-responsibilities {
  background: var(--canvas);
}

.responsibility-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.4rem);
}

.responsibility-column {
  padding-top: 1.1rem;
  border-top: 1px solid #aebfc8;
}

.responsibility-column h3 {
  margin: 0.7rem 0 0.65rem;
}

.responsibility-column p {
  max-width: 23rem;
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.responsibility-excelytech {
  border-top: 2px solid #348e89;
}

.service-technology {
  background:
    radial-gradient(ellipse at 75% 45%, rgb(34 112 124 / 13%), transparent 35%),
    var(--navy-950);
}

.service-technology-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-technology-stack {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 22%);
  list-style: none;
}

.service-technology-stack li {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.68fr) minmax(0, 1.32fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 19%);
}

.service-technology-stack li > span {
  color: rgb(235 244 247 / 57%);
  font-size: 0.76rem;
}

.service-technology-stack strong {
  color: rgb(255 255 255 / 92%);
  font-size: 0.98rem;
  font-weight: 640;
}

.service-technology-stack .technology-owner strong {
  color: var(--cyan);
  font-size: 1.2rem;
}

.service-fit {
  background: var(--surface);
}

.service-fit-layout {
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
}

.service-fit-label span {
  color: #347e7c;
  font-size: 1.25rem;
  font-weight: 690;
  line-height: 1.4;
}

.service-fit h2 {
  max-width: 21ch;
}

.service-fit .body-lede {
  max-width: 49rem;
  margin-bottom: 0;
}

.service-contact {
  padding-block: 0 var(--section-space);
  background: var(--canvas);
}

.service-contact-panel {
  display: flex;
  min-height: 18rem;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 5.5vw, 4.5rem);
  color: var(--white);
  background:
    radial-gradient(ellipse at 88% 15%, rgb(34 112 124 / 19%), transparent 32%),
    var(--navy-950);
}

.service-contact-panel > div {
  max-width: 44rem;
}

.service-contact-panel h2 {
  max-width: 14ch;
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.1;
}

.service-contact-panel p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0;
  color: rgb(235 244 247 / 75%);
}

.service-contact-panel .button {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .service-hero-layout,
  .distinction-layout,
  .service-model-layout,
  .service-method-heading,
  .service-technology-layout,
  .service-fit-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .service-hero {
    min-height: 0;
    padding-block: 4.5rem 5rem;
  }

  .service-hero-copy {
    max-width: 48rem;
  }

  .service-journey {
    width: min(100%, 48rem);
  }

  .service-model-figure {
    width: min(100%, 50rem);
  }

  .service-method-heading {
    gap: 1.2rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 700px) {
  .service-hero {
    padding-block: 3.8rem 4.2rem;
  }

  .service-hero h1 {
    max-width: 11.5ch;
    font-size: clamp(2.65rem, 10vw, 3.5rem);
  }

  .service-hero .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-hero .hero-actions .button-primary {
    width: 100%;
  }

  .service-journey {
    padding-block: 1.15rem 0.9rem;
  }

  .service-journey-caption {
    margin-bottom: 1rem;
  }

  .service-distinction .container,
  .service-focus .container,
  .service-responsibilities .container,
  .service-fit .container {
    min-width: 0;
  }

  .service-focus-list li {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.65rem 0.8rem;
    padding-block: 1.15rem;
  }

  .service-focus-prompt {
    grid-column: 2;
    text-align: left;
  }

  .service-model-figure {
    padding: 1rem 0.75rem;
  }

  .model-level {
    grid-template-columns: 1.7rem minmax(0, 1fr);
    gap: 0.55rem;
    padding: 1rem 0.45rem;
  }

  .model-role {
    grid-column: 2;
    text-align: left;
  }

  .service-method-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-method-list li {
    min-height: 0;
    padding-block: 1rem 1.2rem;
  }

  .responsibility-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .service-technology-stack li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
    padding-block: 0.9rem;
  }

  .service-contact-panel {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.7rem;
    padding: 2rem 1.4rem;
  }

  .service-contact-panel > a {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .service-hero h1 {
    font-size: 2.55rem;
  }

  .question-bridge {
    grid-template-columns: minmax(0, 1fr) 1.5rem minmax(0, 1fr);
    gap: 0.55rem;
  }

  .question-bridge-step strong {
    font-size: 0.9rem;
  }

  .service-contact-panel {
    padding-inline: 1.2rem;
  }
}
