/* Service narratives use the approved SwissAutomate palette and typography. */
.sa-story {
  --story-gap: clamp(32px, 6vw, 112px);
}

.sa-story h1, .sa-story h2, .sa-story h3 {
  font-weight: 500;
  letter-spacing: -.04em;
}

.sa-story h2 {
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.16;
}

.sa-story p {
  max-width: 60ch;
}

.sa-story .micro {
  margin-bottom: 26px;
}

.service-opening {
  padding-top: 60px;
  padding-bottom: 80px;
}

.service-opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: var(--story-gap);
  align-items: end;
}

.service-opening h1 {
  font-size: clamp(40px, 4.5vw, 76px);
  line-height: 1.08;
  max-width: 22ch;
  text-wrap: initial;
}

.service-intro p, .service-prose p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.sa-story a:not(.action) {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.service-split, .service-questions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--story-gap);
}

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

.service-scene {
  background: #e5e9e7;
  padding: 72px 0;
}

.sa-story .service-takeaway {
  font-size: 20px;
  line-height: 1.55;
  border-top: 1px solid #a9b7b6;
  padding-top: 24px;
  margin-top: 28px;
  margin-bottom: 0;
}

.service-work {
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-section-heading, .service-work-rows article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--story-gap);
}

.service-section-heading {
  padding-bottom: 40px;
}

.service-work-rows article {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.service-work-rows h3 {
  font-size: 23px;
  line-height: 1.4;
}

.service-work-rows p, .service-answers p {
  font-size: 16px;
  line-height: 1.8;
}

.service-handover {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-questions {
  padding-top: 76px;
  padding-bottom: 64px;
}

.service-answers details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.service-answers details:last-child {
  border-bottom: 1px solid var(--line);
}

.service-answers summary, .service-depth > details > summary {
  font-size: 20px;
  line-height: 1.5;
  cursor: pointer;
}

.service-answers p {
  margin-top: 18px;
}

.service-related {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding-bottom: 64px;
}

.service-contact {
  padding: 72px 0;
  background: #e9e5dc;
}

.service-contact .action {
  margin-bottom: 20px;
}

.service-email {
  display: block;
  width: fit-content;
  font-size: 14px;
}

.service-depth {
  padding-top: 48px;
  padding-bottom: 48px;
}

.service-depth > details {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.service-depth .inner-section {
  padding: 40px 0 0;
  border: 0;
}

.service-depth .inner-section > .container {
  max-width: none;
  padding: 0;
}

.service-anchor {
  display: block;
  scroll-margin-top: 24px;
}

@media (min-width: 1800px) {
  .service-opening, .service-work, .service-questions {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .service-opening h1 {
    font-size: clamp(76px, 4vw, 96px);
  }
}

@media (max-width: 1050px) {
  .service-opening-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .service-intro p, .service-prose p {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .service-opening-grid, .service-split, .service-questions,
  .service-section-heading, .service-work-rows article {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .service-opening, .service-work, .service-questions {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .service-opening h1 {
    font-size: clamp(36px, 8.7vw, 58px);
  }

  .service-scene, .service-handover, .service-contact {
    padding: 44px 0;
  }

  .service-section-heading {
    gap: 0;
    padding-bottom: 28px;
  }

  .service-work-rows article {
    gap: 14px;
    padding: 24px 0;
  }

  .service-answers summary, .service-depth > details > summary {
    font-size: 18px;
  }

  .service-related {
    flex-direction: column;
    padding-bottom: 40px;
  }
}
