/* Shared service-detail type from Figma 5373:8255; phone/tablet retain the fluid scale. */
@media (min-width: 1400px) {
  .osp-page.ds-site :is(.osp-hero > .container, .osp-overview-grid,
    .osp-capabilities > .container, .osp-process > .container, .contact-container) {
    width: min(89.583333333vw, 1720px);
    margin-left: calc((100vw - min(89.583333333vw, 1720px)) / 2);
    margin-right: 0;
  }
  .osp-page.ds-site .osp-hero h1 { line-height: 1.142857143; }
  .osp-page.ds-site .osp-hero .inner-hero-copy .osp-subtitle { line-height: 1.321428571; }
  .osp-page.ds-site .osp-hero .inner-hero-copy > p:not(.osp-subtitle) { line-height: 1.5; }
  .osp-page.ds-site .osp-overview-copy h2,
  .osp-page.ds-site .osp-section-heading h2 { line-height: 1.09375; }
  .osp-page.ds-site .osp-overview-copy .eyebrow { line-height: 1.428571429; }
  .osp-page.ds-site .osp-section-heading .eyebrow { line-height: 1.714285714; }
  .osp-page.ds-site .osp-overview-copy > p:not(.eyebrow),
  .osp-page.ds-site .osp-benefits li,
  .osp-page.ds-site .osp-capability p { line-height: 1.555555556; }
  .osp-page.ds-site .osp-overview-copy h3,
  .osp-page.ds-site .osp-capability h3 { line-height: 1.071428571; }
  .osp-page.ds-site .osp-step h3 {
    width: calc(100% + min(.833333333vw, 16px));
    line-height: 1.071428571;
  }
  .osp-page.ds-site .osp-step p { line-height: 1.666666667; }
  /* Preserve the source cap-height trim around its compact 40px heading slots. */
  .osp-page.ds-site .osp-capabilities { padding-top: min(5.78125vw, 111px); }
  .osp-page.ds-site .osp-process { padding-top: min(5.364583333vw, 103px); }
  .osp-page.ds-site .osp-section-heading:has(h2.ds-source-single-line) {
    padding-bottom: min(.989583333vw, 19px);
  }
  /* Short source slots are safe only when the actual editable text is one line. */
  .osp-page.ds-site .osp-section-heading h2.ds-source-single-line { line-height: .625; }
  .osp-page.ds-site .osp-step h3.ds-source-single-line { line-height: 1.3; }
  .osp-page.ds-site .contact-card h2 { line-height: 1.15625; }
  .osp-page.ds-site .contact-card > p:not(.eyebrow) { line-height: 1.666666667; }
  .osp-page.ds-site .contact-card .eyebrow { line-height: 1.714285714; }
}
/* Gradient-clipped text needs a full line box for the complete numeral glyphs. */
@media (min-width: 992px) {
  .osp-page.ds-site .osp-step-number { height:1em; line-height:1; }
}

/* Features follow the source Overview/Benefits copy as a list. */
.ds-site .osp-overview-copy .osp-features-heading { margin-top:24px; }
.ds-site .osp-overview-copy .osp-features-description { margin-bottom:18px; }

/* Extended workflows use three steps per row and center an incomplete final row. */
.osp-page.ds-site .osp-step h3 {
  width:100%;
  white-space:normal;
  line-height:1.3;
}
@media (min-width:992px) {
  .osp-page.ds-site .osp-process-list--extended {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    row-gap:48px;
  }
  .osp-page.ds-site .osp-process-list--extended .osp-step {
    flex:0 0 33.333333%;
    padding-right:clamp(24px,4.166667vw,80px);
  }
  .osp-page.ds-site .osp-process-list--extended .osp-step:nth-child(3n)::before,
  .osp-page.ds-site .osp-process-list--extended .osp-step:nth-child(3n)::after {
    display:none;
  }
}

/* A single photo owns its natural height; only a short accent extends below it. */
.osp-page.ds-site .osp-overview-art--single {
  align-self:start;
  aspect-ratio:auto;
  display:flex;
  flex-direction:column;
  padding-bottom:0;
}
.osp-page.ds-site .osp-overview-art--single > .osp-overview-main {
  order:0;
  display:block;
  width:100%;
  height:auto;
}
.osp-page.ds-site .osp-overview-art--single > .osp-overview-accent {
  position:static;
  order:1;
  flex:none;
  margin-left:10.617284%;
  height:clamp(24px,3.697917vw,71px);
  aspect-ratio:auto;
}
