.work-mini-hero {
  position: relative;
  min-height: 430px;
  padding-top: 82px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.work-mini-bg {
  position: absolute;
  top: 82px;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: none;
  background: url("../img/reichstag.jpg") center center / cover no-repeat;
  filter: saturate(1.03);
}

.work-mini-tint {
  position: absolute;
  inset: 82px 0 0;
  background:
    linear-gradient(90deg, rgba(1, 18, 36, .98) 0%, rgba(1, 18, 36, .9) 52%, rgba(1, 18, 36, .46) 100%),
    linear-gradient(180deg, rgba(1, 18, 36, .12) 0%, rgba(1, 18, 36, .68) 100%);
}

.work-mini-content {
  position: relative;
  z-index: 1;
  padding-top: 4.8rem;
  padding-bottom: 4.3rem;
}

.work-mini-content h1 {
  max-width: 860px;
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: clamp(2.5rem, 4.7vw, 4.3rem);
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.work-mini-content > p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.1rem;
  line-height: 1.65;
}

.committee-section,
.instrument-section,
.method-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.committee-section,
.method-section {
  background: #fff;
}

.instrument-section {
  background: var(--soft);
}

.work-heading {
  max-width: 900px;
  margin-bottom: 2.35rem;
}

.work-heading h2 {
  margin: 0 0 .8rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
}

.work-heading p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(4rem, 6vw, 6rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background:
    linear-gradient(90deg, rgba(3, 21, 40, .98), rgba(3, 21, 40, .86)),
    url("assets/reichstag.jpg") center / cover no-repeat;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(3, 21, 40, .15);
  color: #fff;
}

.work-feature-copy h2 {
  max-width: 580px;
  margin: 0 0 1.15rem;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  font-weight: 600;
  line-height: 1.02;
}

.work-feature-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, .82);
  font-size: 1.06rem;
  line-height: 1.68;
}

.work-feature-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.6rem;
}

.work-feature-stats div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
}

.work-feature-stats strong,
.work-feature-stats span {
  display: block;
}

.work-feature-stats strong {
  color: var(--blue-2);
  font-size: .9rem;
  font-weight: 900;
}

.work-feature-stats span {
  color: #fff;
  font-weight: 900;
}

.work-feature-image {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.work-feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 86px);
  min-height: 390px;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
}

.work-feature-image figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  color: #fff;
  background: rgba(3, 21, 40, .82);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.45;
}

.committee-card,
.group-grid article,
.instrument-grid article,
.method-grid article,
.note-box,
.contact-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(8, 30, 55, .07);
}

.committee-card {
  min-height: 100%;
  padding: 1.65rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.card-title-row h3,
.committee-pill strong,
.instrument-grid h3,
.method-grid h3,
.note-box strong,
.contact-strip h3 {
  color: var(--ink);
  font-weight: 900;
}

.card-title-row h3 {
  margin: 0;
  font-size: 1.08rem;
}

.work-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--blue);
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  border: 1px solid rgba(7, 94, 215, .13);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
  font-size: 1rem;
  font-weight: 900;
}

.work-icon i {
  display: block;
  line-height: 1;
}

.committee-pill {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfcfe;
}

.committee-pill + .committee-pill {
  margin-top: .75rem;
}

.committee-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .2rem .65rem;
  color: var(--blue);
  background: #eef5ff;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
}

.committee-card p {
  margin: 1.15rem 0 0;
  padding-top: 1.15rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  line-height: 1.65;
}

.group-heading {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.group-grid article {
  min-width: 0;
  padding: 1.35rem;
}

.group-grid .work-icon {
  margin-bottom: 1rem;
}

.group-grid h3 {
  margin: 0 0 .7rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.group-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.process-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--navy);
}

.process-panel {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(3.5rem, 6vw, 6.5rem);
  align-items: start;
  color: #fff;
}

.process-panel > div:first-child {
  max-width: 340px;
}

.process-panel h2 {
  max-width: 330px;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 2.45vw, 2.55rem);
  font-weight: 900;
  line-height: 1.08;
}

.process-panel p:not(.section-kicker) {
  max-width: 330px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  min-width: 0;
}

.process-steps article {
  position: relative;
  min-width: 0;
  min-height: 238px;
  padding: 1.65rem 1.45rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .045));
  box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.4rem;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.process-steps h3 {
  margin-bottom: .7rem;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.2;
}

.process-steps p {
  overflow-wrap: break-word;
}

.instrument-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.instrument-grid article {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1rem;
  padding: 1.35rem;
}

.instrument-grid h3,
.method-grid h3 {
  margin: .05rem 0 .4rem;
  font-size: 1.05rem;
}

.instrument-grid p,
.method-grid p,
.note-box p,
.contact-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.note-box {
  margin-top: 1.3rem;
  padding: 1.4rem 1.6rem;
}

.note-box strong {
  display: block;
  margin-bottom: .45rem;
}

.method-grid article {
  min-height: 210px;
  padding: 1.6rem;
}

.method-grid .work-icon {
  margin-bottom: .9rem;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.6rem;
  padding: 1.6rem;
}

.contact-strip h3 {
  margin-bottom: .35rem;
  font-size: 1.1rem;
}

@media (max-width: 991.98px) {
  .work-mini-hero {
    min-height: 390px;
  }

  .work-mini-content {
    padding-top: 4rem;
  }

  .instrument-grid,
  .method-grid,
  .group-grid,
  .work-feature,
  .process-panel,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-feature-image,
  .work-feature-image img {
    min-height: 300px;
  }

  .contact-strip {
    display: block;
  }

  .contact-strip .btn {
    margin-top: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .work-page .page-pad {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .work-page main {
    overflow: hidden;
  }

  .work-page .row {
    --bs-gutter-x: 0;
  }

  .work-mini-hero {
    min-height: 370px;
  }

  .work-mini-content {
    padding-top: 3.2rem;
    padding-bottom: 3.4rem;
  }

  .work-mini-content .eyebrow,
  .work-mini-content h1,
  .work-mini-content > p:last-child,
  .work-feature,
  .work-feature-copy h2,
  .work-feature-copy p:not(.section-kicker),
  .work-feature-stats,
  .work-feature-image,
  .process-panel,
  .process-steps,
  .group-grid,
  .work-heading,
  .committee-card,
  .instrument-grid,
  .method-grid,
  .note-box,
  .contact-strip {
    width: 100%;
    max-width: 100%;
  }

  .work-mini-content .eyebrow {
    font-size: .68rem;
    line-height: 1.45;
  }

  .work-mini-content h1 {
    font-size: 2.18rem;
    line-height: 1.03;
  }

  .work-mini-content > p:last-child {
    font-size: .96rem;
    line-height: 1.58;
  }

  .work-heading h2 {
    font-size: 2.05rem;
  }

  .work-feature {
    padding: 1.25rem;
  }

  .work-feature-copy h2,
  .process-panel h2 {
    font-size: 2.05rem;
  }

  .work-feature-stats {
    grid-template-columns: 1fr;
  }

  .group-grid {
    grid-template-columns: 1fr;
  }

  .work-feature-image,
  .work-feature-image img {
    min-height: 250px;
  }

  .process-steps article {
    min-height: auto;
    padding: 1.25rem;
  }

  .committee-card,
  .group-grid article,
  .instrument-grid article,
  .method-grid article,
  .note-box,
  .contact-strip {
    padding: 1.25rem;
  }

  .committee-pill {
    display: grid;
    gap: .55rem;
  }

  .instrument-grid article {
    grid-template-columns: 2rem 1fr;
  }

  .work-icon {
    width: 2rem;
    height: 2rem;
  }
}
