/* Approved refinement of the four work pages. Existing Home, About and BD stay unchanged. */
.work-refined .value-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}
.work-refined .steps p { font-size: .9rem; }
.work-refined .eyebrow { overflow-wrap: break-word; }

/* A concise editorial close replaces repeated four-card outcome grids. */
.work-refined .work-conclusion {
  padding-block: clamp(54px, 6vw, 88px);
  border-top: 1px solid rgba(36, 91, 143, .12);
  background: var(--stone, #f4f1ec);
}
.work-conclusion-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}
.work-conclusion-inner > * { min-width: 0; }
.work-conclusion .eyebrow { margin-bottom: 18px; }
.work-conclusion h2 { margin-bottom: 0; }
.work-conclusion-inner > p {
  max-width: 56ch;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(36, 91, 143, .24);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
}

/* The existing intersection diagram now describes practical project responsibilities. */
.work-refined .project-roles-diagram .growth-circle strong {
  max-width: 78%;
  font-size: clamp(.72rem, 1.15vw, .92rem);
  line-height: 1.35;
  overflow-wrap: normal;
}
.project-roles-diagram .growth-circle strong > span { display: block; }

/* A real Desktop/Mobile capture is integrated beside the IT contribution, not in a new section. */
.work-project-showcase {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 91, 143, .18);
  border-radius: 24px;
  background: #eaf1f6;
  box-shadow: 0 22px 48px rgba(17, 24, 39, .06);
}
.work-project-showcase > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 880 / 580;
  object-fit: contain;
}
.work-project-showcase figcaption {
  padding: 26px 28px 28px;
  border-top: 1px solid rgba(36, 91, 143, .12);
  background: rgba(255, 255, 255, .55);
}
.work-project-showcase .eyebrow { margin-bottom: 12px; }
.work-project-showcase h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -.035em;
}
.work-project-showcase figcaption > p:not(.eyebrow) {
  margin: 0 0 12px;
  font-size: .9rem;
  line-height: 1.65;
}
.work-project-showcase figcaption > p:last-child { margin-bottom: 0; }

@media (min-width: 1101px) and (max-width: 1280px) {
  .work-refined .steps .work-step { padding-inline: 22px; }
}
@media (max-width: 1100px) {
  .work-refined .value-grid { grid-template-columns: minmax(0, 1fr); }
  .work-refined .value-grid > .work-project-showcase { width: 100%; max-width: 720px; }
}
@media (max-width: 900px) {
  .work-conclusion-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .work-conclusion-inner > p { padding-left: 0; border-left: 0; }
}
@media (max-width: 620px) {
  .work-project-showcase figcaption { padding: 22px; }
}

/* Keep the Partnerships lead word and its comma together, including in WebKit.
   Cap the existing type scale to the actual copy column instead of clipping it. */
.work-refined .hero-copy--partnerships { container-type: inline-size; }
.work-refined .skills-hero .hero-copy--partnerships h1 {
  font-size: min(clamp(3.05rem, 4.8vw, 4rem), 10cqi);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.partnerships-title-word { white-space: nowrap; }
@media (max-width: 620px) {
  .work-refined .skills-hero .hero-copy--partnerships h1 {
    font-size: min(clamp(2.35rem, 10vw, 3.2rem), 10cqi);
  }
}
