/* A delivery story told in three readable photographic chapters. */
.delivery-story {
  padding-block: 28px 72px;
  color: #062d3d;
}
.delivery-story .delivery-story-heading {
  max-width: 920px;
  margin-bottom: 52px;
}
.delivery-story .delivery-story-heading > .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #075e70;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: .02em;
}
.delivery-story .delivery-story-heading > .eyebrow::before {
  content: '';
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  background: #53d8e9;
}
.delivery-story .delivery-story-heading > h2 {
  margin: 0 0 24px;
  color: #062d3d;
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.delivery-story .delivery-story-heading > p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: #355966;
  font-size: 20px;
  line-height: 1.75;
  letter-spacing: normal;
}
.delivery-story .delivery-stages {
  margin: 0;
  padding: 0;
  list-style: none;
}
.delivery-story .delivery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
  min-width: 0;
  margin: 0;
  padding-block: 64px;
  border-top: 1px solid #bfdce4;
}
.delivery-story .delivery-stage-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.delivery-story .delivery-stage-visual {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.delivery-story .delivery-stage:nth-child(odd) .delivery-stage-copy { grid-column: 2; }
.delivery-story .delivery-stage:nth-child(odd) .delivery-stage-visual { grid-column: 1; }
.delivery-story .delivery-stage:not(:has(.delivery-stage-visual)) {
  grid-template-columns: minmax(0, 900px);
}
.delivery-story .delivery-stage:not(:has(.delivery-stage-visual)) .delivery-stage-copy { grid-column: 1; }
.delivery-story .delivery-stage-number {
  display: block;
  margin-bottom: 20px;
  color: #075e70;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.delivery-story .delivery-stage-copy > h3 {
  max-width: 560px;
  margin: 0 0 24px;
  color: #062d3d;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.delivery-story .delivery-stage-copy > p {
  max-width: 600px;
  margin: 0;
  color: #355966;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.delivery-story .delivery-stage-copy > p + p { margin-top: 22px; }
.delivery-story .delivery-stage-visual .service-photograph { margin: 0; }
.delivery-story .delivery-stage-visual .service-photograph > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: var(--delivery-focus, 50% 50%);
  border-radius: 18px;
  background: #edf6f8;
  box-shadow: 0 14px 36px #062d3d0c;
  outline: 1px solid #062d3d0a;
  outline-offset: -1px;
}
.delivery-story .delivery-stage-visual figcaption {
  margin-top: 14px;
  color: #536f7a;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.delivery-story .delivery-stage-visual :is(.photo-context, .photo-credit) {
  color: #536f7a;
  font-size: 14px;
  line-height: 1.65;
}
.delivery-story .delivery-stage-visual .photo-credit-links { gap: 4px 16px; margin-top: 4px; }
.delivery-story .delivery-stage-visual .photo-credit { text-underline-offset: 3px; }
.delivery-story .delivery-story-closing {
  max-width: 920px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid #bfdce4;
  color: #294f5e;
  font-size: 20px;
  line-height: 1.75;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1099px) {
  .delivery-story .delivery-stage { gap: 44px; padding-block: 52px; }
  .delivery-story .delivery-stage-copy > h3 { font-size: 34px; }
}
@media (max-width: 899px) {
  .delivery-story { padding-block: 20px 56px; }
  .delivery-story .delivery-story-heading { margin-bottom: 38px; }
  .delivery-story .delivery-stage,
  .delivery-story .delivery-stage:not(:has(.delivery-stage-visual)) {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    padding-block: 42px;
  }
  .delivery-story .delivery-stage .delivery-stage-copy,
  .delivery-story .delivery-stage:nth-child(odd) .delivery-stage-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .delivery-story .delivery-stage .delivery-stage-visual,
  .delivery-story .delivery-stage:nth-child(odd) .delivery-stage-visual {
    grid-column: 1;
    grid-row: 2;
  }
  .delivery-story .delivery-stage-copy > p { max-width: 820px; }
  .delivery-story .delivery-stage-visual .service-photograph > img { aspect-ratio: 3 / 2; }
  .delivery-story .delivery-stage-number { margin-bottom: 14px; }
  .delivery-story .delivery-stage-copy > h3 { max-width: 720px; margin-bottom: 20px; }
}
@media (max-width: 599px) {
  .delivery-story { padding-block: 16px 44px; }
  .delivery-story .delivery-story-heading > h2 { margin-bottom: 22px; font-size: 36px; }
  .delivery-story .delivery-story-heading > p:not(.eyebrow) { font-size: 18px; }
  .delivery-story .delivery-stage { gap: 26px; padding-block: 34px; }
  .delivery-story .delivery-stage-copy > h3 { font-size: 30px; }
  .delivery-story .delivery-stage-copy > p { font-size: 18px; line-height: 1.75; }
  .delivery-story .delivery-stage-visual .service-photograph > img { aspect-ratio: 4 / 3; border-radius: 12px; }
  .delivery-story .delivery-story-closing { padding-top: 28px; font-size: 18px; }
}
