/* Keep the portfolio shell aligned while allowing full-width backgrounds. */
body:has(> header.site-header) {
  --gutter: max(clamp(24px, 5.2vw, 84px), calc((100vw - 1360px) / 2));
}

@media (max-width: 700px) {
  body:has(> header.site-header) {
    --gutter: 22px;
  }
}

body:has(> header.site-header) > :is(header.site-header, main, .work-connections, section.contact.page-gutter, footer.site-footer) {
  padding-inline: var(--gutter);
}

body:has(> header.site-header) > main {
  max-width: none;
  margin-inline: 0;
}
