.work-hero { padding-block: clamp(58px,6vw,105px); }
.work-hero h1 { max-width: 24ch; overflow-wrap: anywhere; }
.work-hero-photo { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 12px; }
.work-row { display: grid; align-items: start; gap: clamp(24px,4vw,72px); }
.work-split { grid-template-columns: repeat(2,minmax(0,1fr)); }
.work-hero .work-split { align-items: center; }
.work-row:not(.work-split) .work-col { width: 100%; max-width: 980px; }
.work-col > div + div, .work-col > .pill + div { margin-top: 15px; }
.work-col img:not(.work-hero-photo) { max-width: min(100%,680px); height: auto; border-radius: 10px; margin-block: 10px 22px; }
.work-col a:not(.pill) { color: inherit; text-underline-offset: 3px; }
.work-col .pill { margin: 6px 9px 6px 0; }
.work-col li { margin-block: 5px; }
.work-gallery img { width: min(100%,240px); max-height: 260px; object-fit: contain; }
@media(max-width:760px) { .work-split { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 8px; margin: 20px 0 16px; padding: clamp(16px,3vw,30px); background: var(--light); border-radius: 12px; }
.contact-form label { margin-top: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; color: var(--ink); font: inherit; border: 1px solid #9bb9bb; border-radius: 7px; background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible { outline: 2px solid #398594; outline-offset: 2px; }
.contact-form #contact-uitleg { margin: 4px 0; font-size: .9rem; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }

.work-col > .staff-card-grid { margin-top: 18px; }
.work-media-row { align-items: center; }
.work-media img { display: block; margin-inline: auto; }
@media (min-width: 761px) {
  .work-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.work-landing h2 { font-family: var(--heading-font); }
.work-landing .work-white { background: #fff; color: var(--ink); }
.work-landing .work-white:hover { background: var(--light); }
.work-landing .work-hero { padding: 0; }
.work-landing .work-hero > .wrap { width: 100%; }
.work-landing .work-hero .detail-crumb { padding: 12px var(--gutter) 0; margin-bottom: 0; }
.work-landing .work-hero .work-row { gap: 0; align-items: stretch; }
.work-landing .work-hero .work-col:first-child { align-self: center; padding: clamp(30px, 6vw, 100px) var(--gutter); }
.work-landing .work-hero-photo { height: 100%; min-height: 390px; border-radius: 0; }
.work-landing .work-usp-section { padding-block: 0; }
.work-landing .work-usp-section .work-col { max-width: none; }
.work-usps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 20px; border-bottom: 1px solid #d1e2e3; }
.work-usps p, .work-landing .benefits p { margin: 0; }
.work-usps li { align-self: center; }
.work-regie .benefits, .work-testimonial .benefits { gap: 5px; margin-block: 14px 20px; }
.work-feature-section { position: relative; isolation: isolate; overflow: hidden; padding-top: 15px; text-align: center; }
.work-feature-section::before, .work-feature-section::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.work-feature-section::before { width: 47%; height: 62%; bottom: -42%; left: -12%; background: var(--teal); }
.work-feature-section::after { width: 36%; height: 120%; bottom: -35%; right: -22%; background: var(--yellow); }
.work-feature-section .work-row .work-col { max-width: none; }
.work-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.work-feature-grid article, .work-testimonial-card { padding: clamp(20px, 3vw, 48px); border-radius: 9px; box-shadow: 0 2px 4px #00384326; }
.work-feature-grid article { background: #fff; }
.work-feature-grid h3 { font-size: clamp(19px, 1.45vw, 27px); color: #396e75; }
.work-feature-grid p, .work-testimonial-card blockquote { margin: 0; }
.work-testimonial-card { align-self: center; background: var(--light); text-align: center; }
.work-testimonial-card blockquote { font-style: italic; }
.work-solutions { text-align: center; padding-bottom: 15px; }
.work-solutions .work-row .work-col { max-width: none; }
.work-services { padding-top: 10px; }
.work-services .work-row { gap: 20px; align-items: stretch; }
.work-service { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: var(--ink); color: #fff; }
.work-service img { width: 100%; aspect-ratio: 1.75; object-fit: cover; }
.work-landing .work-service img { margin: 0; border-radius: 0; }
.work-landing .work-service > .work-service-copy { flex: 1; position: relative; margin-top: -10px; padding: 24px; background: var(--ink); border-radius: 50% 50% 0 0 / 12px 12px 0 0; }
.work-service-copy h3 { font-family: var(--heading-font); color: var(--teal); }
.work-process-steps { padding-left: 28px; }
.work-process-steps li::marker { color: #396e75; font-weight: 700; }
.work-process-steps li p:first-child { margin-bottom: 0; }
.work-landing-staff { text-align: center; }
.work-landing-staff .work-row .work-col { max-width: none; }
@media (max-width: 760px) {
  .work-usps, .work-feature-grid { grid-template-columns: 1fr; }
  .work-landing .work-hero-photo { min-height: 0; height: auto; aspect-ratio: 1.55; }
}

.work-landing .work-testimonial-card {
  position: relative;
  padding-bottom: clamp(44px, 4vw, 64px);
  margin-bottom: 24px;
}
.work-landing .work-testimonial-card > .pill {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  transform: translate(-50%, 50%);
  white-space: nowrap;
}
.work-landing .work-service-copy { display: flex; flex-direction: column; }
.work-landing .work-service-copy > :last-child { margin-top: auto; }
.work-landing .work-service-copy > :last-child p { margin-bottom: 0; }
.work-process-section .work-row { align-items: center; }
.work-landing .work-process-steps {
  list-style: none;
  counter-reset: work-step;
  padding: 0;
  margin: 24px 0;
}
.work-landing .work-process-steps li {
  position: relative;
  counter-increment: work-step;
  padding: 0 0 20px 48px;
  margin: 0;
}
.work-landing .work-process-steps li:last-child { padding-bottom: 0; }
.work-landing .work-process-steps li::before {
  content: counter(work-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 31px;
  height: 35px;
  border-radius: 62% 34% 57% 42%;
  background: #90b4b7;
  color: var(--ink);
  font-weight: 700;
}
.work-landing .work-process-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset: 40px auto 5px 15px;
  border-inline-start: 2px dotted #78999b;
}
.work-landing .work-process-steps p { margin: 0; }
.work-landing .work-process-steps strong { display: block; margin-bottom: 4px; }
.work-landing-staff .staff-card-grid { max-width: 690px; margin-inline: auto; }
.work-landing-staff .staff-card-grid .staff-card img {
  max-width: 140px;
  height: auto;
  aspect-ratio: 1 / 1.15;
  margin: 0;
}
.work-landing-staff .work-closing-quote {
  max-width: 28ch;
  margin: 42px auto 0;
  color: #467a80;
}

.work-form-photo { margin: 0; }
.work-form-photo img { width: 100%; }
.work-form-photo figcaption { font-style: italic; text-align: center; }

.work-pmo-benefits { padding-top: clamp(44px, 5vw, 80px); }
.work-pmo-benefits h2 { font-family: var(--heading-font); }
.work-pmo-benefits::after { display: none; }
@media (min-width: 761px) {
  .work-pmo-benefits .work-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.work-benefits li p { margin: 0; }
.firstbeat-consultation .consultation-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.work-team .team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
}

.work-team-many .team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 3vw, 40px);
  max-width: 1040px;
}
.work-team-many .team-grid > li { flex: 0 1 min(160px, 45%); }

.work-saba-prose { max-width: 850px; }
