/* Compact layouts use space and type instead of the document-height desktop frame. */
@media (max-width: 1100px), (max-width: 1366px) and (pointer: coarse) {
  body.nuweb-site::before,
  body.nuweb-site .site-header::before,
  body.nuweb-site .site-header::after {
    content: none;
  }
  body.nuweb-site .footer-link-group {
    border-inline-start: 0;
  }
  body.nuweb-site #content .story--compact :is(.website-landing-lead, .website-landing-showcase, .website-landing-cta, .solution-list .detail-row) {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  body.nuweb-site #content .story--compact :is(.website-landing-lead, .website-landing-showcase, .website-landing-cta, .website-landing-process--intro) h2 {
    max-width: none;
  }
  body.nuweb-site #content .story--compact .solution-list .detail-row:nth-child(n) > :is(figure, div, img) {
    grid-column: 1;
    grid-row: auto;
  }
  body.nuweb-site #content :is(.website-landing-faq-grid, .website-landing-card-grid, .website-landing-cta, .about-closing) {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  body.nuweb-site #content .website-landing-cta h2 {max-width: none}
  body.nuweb-site #content .project-detail-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  body.nuweb-site #content .project-detail-editorial .project-browser {
    width: 100%;
    max-width: 760px;
  }
  body.nuweb-site #content :is(.website-landing-card-grid, .website-landing-process-grid) > article {
    border: 0;
  }
}
/* Idle or out-of-view chapters never spend frames moving an illustration. */
body.nuweb-site #content [data-compact-panel][aria-hidden="true"] .nuweb-illustration .service-art-float,
body.nuweb-site #content .scene:not(.scene--active):not(.scene--linear) .nuweb-illustration .service-art-float {
  animation-play-state: paused;
}
/* The compact Hero reads past the fold; logos get their own space below its action. */
body.nuweb-site #content .nuweb-home .story--compact .scene--hero {
  padding-bottom: calc(var(--intro-logo-height) + 32px);
}
body.nuweb-site #content .nuweb-home .story--compact .scroll-cue {
  display: none;
}
/* A compact action remains a text link rather than a full-width divider. */
body.nuweb-site #content .page-story.story--compact .scene.scene--page .scene-content .subhero :is(.subhero-copy, .solution-detail-copy) > :is(.text-link, .button) {
  width: fit-content;
  max-width: 100%;
}
