/* Native subpage compositions use the same scroll chapters as the home page. */
body.nuweb-site #content .page-story {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}
body.nuweb-site #content .page-story > .stage {
  position: sticky;
  top: 0;
  height: 100svh;
  isolation: isolate;
}
body.nuweb-site #content .page-story > .stage > .scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: calc(var(--header-height) + 28px) 0 44px;
  pointer-events: none;
}
body.nuweb-site #content .page-story > .stage > .scene--active {
  pointer-events: auto;
}
/* Opted-in desktop chapters retain their full height and consume page scroll. */
body.nuweb-site #content .page-story.story--readthrough > .stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}
body.nuweb-site #content .page-story.story--readthrough > .stage > .scene {
  inset: 0 0 auto;
  height: auto;
  min-height: 100%;
  align-items: center;
}
body.nuweb-site #content .page-story .scene-content {
  width: 100%;
  min-width: 0;
}
body.nuweb-site #content .page-story .scene-content > :is(.subhero, .section) > .section-inner {
  width: calc(100% - var(--frame-gutter) * 2 - var(--nuweb-frame-pad) * 2);
  max-width: 1180px;
  margin-inline: auto;
}
body.nuweb-site #content .page-story .scene-content > :is(.section, .subhero) {
  min-height: 0;
  margin-block: 0;
  padding-block: 0;
  background: transparent !important;
}
body.nuweb-site #content .page-story .scene-content :is(.project-list, .solution-list, .pricing-stack) {
  display: block;
  padding: 0;
}
body.nuweb-site #content .section-inner:has(> .page-story) {
  width: 100%;
  max-width: none;
}
body.nuweb-site #content .section:has(> .section-inner > .page-story) {
  padding-block: 0;
}
body.nuweb-site #content .page-story .scene-content > .project-wide,
body.nuweb-site #content .project-list > .project-wide {
  width: min(1180px, calc(100% - 12vw));
  margin-inline: auto;
}
body.nuweb-site #content .project-list > .project-wide[data-page-parity="even"] .project-browser {
  grid-column: 2;
  grid-row: 1;
}
body.nuweb-site #content .project-list > .project-wide[data-page-parity="even"] .project-copy {
  grid-column: 1;
  grid-row: 1;
}
body.nuweb-site #content .page-story .scene-content :is(.subhero-media, .detail-media, .workflow-media, .website-landing-hero-media) {
  margin: 0;
  overflow: clip;
}
body.nuweb-site #content .page-story .scene-content :is(.subhero-media, .detail-media, .workflow-media, .website-landing-hero-media, .website-landing-showcase) img,
body.nuweb-site #content .page-story .scene-content .detail-row > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48svh;
  object-fit: cover;
}
body.nuweb-site #content .page-story .scene-content .browser-viewport {
  height: 43svh;
  max-height: 520px;
}
body.nuweb-site #content .page-story:not(.story--linear) [data-reveal-media],
body.nuweb-site #content .page-story:not(.story--linear) [data-reveal-media] img,
body.nuweb-site #content .page-story:not(.story--linear) .detail-row > img {
  transition: none;
  will-change: transform, filter, opacity;
}
body.nuweb-site #content .page-story .scene-content :is(.project-wide h2, .solution-list h2, .pricing-intro h2) {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.8vw, 54px);
}
body.nuweb-site #content .page-story .scene-content :is(.project-copy, .solution-list .detail-row > div) > p:not(.meta):not(.eyebrow) {
  margin: 0 0 22px;
  font-size: 18px;
}
body.nuweb-site #content .page-story .scene-content .detail-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 20px 0;
  padding-top: 18px;
}
body.nuweb-site #content .page-story .scene-content .detail-pair p,
body.nuweb-site #content .page-story .scene-content .solution-list .richtext {
  font-size: 15px;
  line-height: 1.55;
}
body.nuweb-site #content .page-story .scene-content .detail-pair p {
  margin: 8px 0 0;
}
body.nuweb-site #content .page-story .solution-story-row--reverse > img,
body.nuweb-site #content .page-story .project-wide[data-page-parity="even"] .project-browser {
  grid-column: 2;
  grid-row: 1;
}
body.nuweb-site #content .page-story .solution-story-row--reverse > div,
body.nuweb-site #content .page-story .project-wide[data-page-parity="even"] .project-copy {
  grid-column: 1;
  grid-row: 1;
}
body.nuweb-site #content .page-story .pricing-package {
  padding: 0;
  border: 0;
  row-gap: 24px;
}
@media (min-width: 1051px) {
  body.nuweb-site #content .page-story .pricing-money {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
  body.nuweb-site #content .page-story .pricing-money > p {
    grid-column: 1 / -1;
    margin: 0;
  }
}
body.nuweb-site #content .page-story .pricing-intro p {
  margin: 0;
  font-size: 18px;
}
body.nuweb-site #content .page-story .pricing-list ul {
  margin-top: 12px;
  gap: 7px;
  font-size: 15px;
  line-height: 1.45;
}
body.nuweb-site #content .page-story .website-landing-process--intro {
  display: block;
  max-width: 940px;
}
body.nuweb-site #content .page-story .website-landing-process--intro h2 {
  max-width: 20ch;
  font-size: clamp(40px, 5vw, 70px);
}
body.nuweb-site #content .page-story .website-landing-process--intro p {
  max-width: 62ch;
}
body.nuweb-site #content .page-story .website-landing-process--steps,
body.nuweb-site #content .page-story .website-landing-process--steps .website-landing-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.nuweb-site #content .page-story .website-landing-process--steps .website-landing-process-grid {
  grid-column: 1 / -1;
  gap: 38px 70px;
}
body.nuweb-site #content .page-story .about-principle-list {
  display: block;
}
body.nuweb-site #content .page-story .about-principle-list article:nth-child(n) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 65px;
  margin: 0;
  padding: 0;
  border: 0;
}
body.nuweb-site #content .page-story .about-principle-list h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
body.nuweb-site #content .page-story .about-principle-list p {
  margin: 0;
  font-size: 21px;
  line-height: 1.65;
}
body.nuweb-site #content .page-story .about-process-section h2 {
  max-width: 27ch;
  margin: 0 0 45px;
  font-size: 32px;
  color: var(--green);
}
body.nuweb-site #content .page-story .chapter-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
/* All content starts in normal flow until the module has measured it. */
html:not(.nuweb-motion-ready) body.nuweb-site #content .page-story,
body.nuweb-site #content .page-story.story--linear {
  height: auto;
}
html:not(.nuweb-motion-ready) body.nuweb-site #content .page-story > .stage,
body.nuweb-site #content .page-story.story--linear > .stage {
  position: static;
  height: auto;
}
html:not(.nuweb-motion-ready) body.nuweb-site #content .page-story > .stage > .scene,
body.nuweb-site #content .page-story > .stage > .scene--linear {
  position: relative;
  inset: auto;
  display: block;
  min-height: 0;
  padding: clamp(90px, 10vw, 140px) 0;
  pointer-events: auto;
}
@media (max-width: 1050px) {
  body.nuweb-site #content .page-story .scene-content .detail-pair,
  body.nuweb-site #content .page-story .about-principle-list article:nth-child(n) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.nuweb-site #content .page-story .solution-story-row--reverse > :is(img, div),
  body.nuweb-site #content .page-story .project-wide[data-page-parity="even"] :is(.project-browser, .project-copy) {
    grid-column: auto;
    grid-row: auto;
  }
  body.nuweb-site #content .project-list > .project-wide[data-page-parity="even"] :is(.project-browser, .project-copy) {
    grid-column: auto;
    grid-row: auto;
  }
  body.nuweb-site #content .page-story .about-principle-list h3 {
    font-size: clamp(36px, 6vw, 60px);
  }
}
@media (max-width: 700px) {
  body.nuweb-site #content .page-story .website-landing-process--steps,
  body.nuweb-site #content .page-story .website-landing-process--steps .website-landing-process-grid {
    grid-template-columns: 1fr;
  }
  body.nuweb-site #content .page-story .about-principle-list p {
    font-size: 18px;
  }
}
