/* The five-step process is scoped to the service page. */
main[data-page="service"] .service-list.service-process-list {
  --service-step-tile: #f1eae0;
  --service-step-gold: #a8845d;
  --service-step-line: #ddd0c0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

main[data-page="service"] .service-list.service-process-list .service-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 0 22px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

main[data-page="service"] .service-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 58px;
  bottom: -20px;
  left: 23.5px;
  width: 1px;
  background: var(--service-step-line);
  pointer-events: none;
}

main[data-page="service"] .service-process-step .service-process-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--service-step-tile);
  color: var(--service-step-gold);
}

main[data-page="service"] .service-process-icon svg {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
}

main[data-page="service"] .service-process-step .service-process-copy {
  min-width: 0;
}

main[data-page="service"] .service-process-copy .service-process-number {
  display: block;
  margin: 0 0 7px;
  color: var(--service-step-gold);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .1em;
}

main[data-page="service"] .service-process-copy .service-process-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

main[data-page="service"] .service-process-copy .service-process-description {
  grid-column: auto;
  max-width: 560px;
  margin: 0;
  color: var(--quiet);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  main[data-page="service"] .service-list.service-process-list {
    gap: 28px;
  }
  main[data-page="service"] .service-list.service-process-list .service-process-step {
    column-gap: 18px;
  }
  main[data-page="service"] .service-process-step:not(:last-child)::after {
    bottom: -18px;
  }
}

@media (max-width: 500px) {
  main[data-page="service"] .service-list.service-process-list .service-process-step {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
  }
  main[data-page="service"] .service-process-copy .service-process-title {
    font-size: 18px;
  }
}

/* Brand principles keep their existing three-column desktop layout. */
main[data-page="brand"] .brand-principles article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

main[data-page="brand"] .brand-principles .brand-principle-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  margin-bottom: 18px;
}

main[data-page="brand"] .brand-principles .brand-principle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1eae0;
  color: #a8845d;
}

main[data-page="brand"] .brand-principle-icon svg {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
}

main[data-page="brand"] .brand-principles article h3,
main[data-page="brand"] .brand-principles article p {
  width: 100%;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}
