.case-header h2 {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
}

.rest-case-study .case-description {
  margin: 28px 0 36px;
}

.rest-case-study .case-description p {
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: -.02em;
}

.case-presentation {
  margin: 0;
}

.case-presentation-heading {
  margin: 36px 0 8px;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.4;
}

/* Keep the supplied images at their original proportions. */
.case-presentation-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.case-presentation figcaption {
  padding-top: 18px;
  text-align: right;
}

@media (max-width: 620px) {
  .project-panel { padding: 72px 16px 36px; }
  .close-project { top: 12px; right: 12px; min-height: 40px; padding: 9px 12px; font-size: 11px; }
  .case-header h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.15; letter-spacing: -.055em; margin: 16px 0 8px; }
  .case-subtitle { font-size: 17px; line-height: 1.4; margin-bottom: 18px; }
  .case-facts { flex-wrap: wrap; gap: 8px 20px; font-size: 10px; padding: 12px 0 16px; }
  .case-description, .rest-case-study .case-description {
    display: block;
    margin: 20px 0 24px;
  }
  .case-description p, .rest-case-study .case-description p {
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -.01em;
    margin-top: 12px;
  }
  .case-presentation-heading { font-size: 13px; margin-top: 24px; }
  .case-gallery { gap: 12px; }
  .case-cover { max-height: none; height: auto; }
  .case-end { margin-top: 32px; padding-top: 18px; gap: 16px; flex-wrap: wrap; align-items: center; line-height: 1.5; }
  .case-end button { min-height: 40px; padding: 8px 0; font-size: 12px; }
}
