/* Gutters between portfolio panels and gallery tiles. */
:root { --content-gutter: 8px; }
.work-grid, .work-grid article,
.gallery__track, .selected-media .grid, .selected-media .branddetail,
.campaign-gallery, .layout-plates, .plate-row, .case .option-gallery {
  gap: var(--content-gutter);
}
.case #prototyping .prototype-split > iframe { border-top-width: var(--content-gutter); }
@media (min-width:721px) {
  .case #prototyping .prototype-split { column-gap: var(--content-gutter); }
}

/* Keep each project introduction together and give new chapters room to open. */
.project-heading.preview-editorial-intro {
  margin-block-end: clamp(24px, 2.8vw, 48px);
}
.preview-editorial-intro :is(h1, #title) {
  margin-block: 8px 0;
  line-height: 1;
}
.preview-editorial-intro .intro__summary {
  margin-block: clamp(8px, .8vw, 14px) 0;
  line-height: 1.15;
}
.study-content > .chapter {
  padding-block-start: clamp(76px, 10vw, 172px);
}
@media (max-width: 760px) {
  .study-content .chapter:has(> h2) > h2 {
    margin-block-end: 12px;
  }
}

.work-grid .caption h2 {
  font-weight: 500;
  margin-block-end: 16px;
}
