:root { --section-label-size: clamp(21px, 2vw, 46px); }
@media (max-width: 640px) {
  :root { --section-label-size: clamp(19px, 5vw, 26px); }
}
@media (min-width: 641px) and (max-height: 520px) {
  :root { --section-label-size: 17px; }
}
body :is(.project-heading .project-category, .study-content .chapter > h2,
         .page .intro .eyebrow, .page .cv-section > h2) {
  font-family: "Portfolio Maison Neue", Arial, sans-serif;
  font-size: var(--section-label-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body .study-content .chapter > h2 { max-width: 40%; }
@media (min-width: 761px) {
  body .study-content .chapter:has(> h2) > .chapter-body > p:first-child,
  body .study-content #role .chapter-body {
    margin-top: calc(-1.2 * var(--section-label-size));
  }
}
@media (max-width: 760px) {
  body .study-content .chapter > h2 { max-width: none; margin-bottom: 20px; }
  body .study-content .chapter:has(> h2) > .chapter-body > p:first-child { margin-top: 0; }
}
