/* Shared spacing for full-width marketing sections. */
main.site-sections{--section-space:clamp(32px,4vw,64px)}
html body main.site-sections > section,
html body main.site-sections > #top > #architecture-explorer,
html body main.site-sections > .iceberg-story > section{
  margin-block:0!important;
  padding-block:var(--section-space)!important;
}

/* Film introductions share the same content edge as the sections below. */
html body main.site-sections :is(#architecture-detail,#architecture-explorer){
  box-sizing:border-box;width:100%;max-width:none;
  padding-inline:var(--story-space,clamp(20px,3.35vw,48px));
}
html body main.site-sections > .sx-hero{min-height:0}
html body main.site-sections > .about-purpose > :first-child{margin-block-start:0}
html body main.site-sections > section > :is(.boundary-note,.ip-panel,.button):last-child{margin-block-end:0}

/* Inset interactive frames on the page grid. Their own padding is a card inset. */
html body main.site-sections > :is(#product-tour,#your-work,.work-scenes,#connection-story){
  box-sizing:border-box;padding-inline:var(--story-space)!important;
}
html body main.site-sections :is(#product-tour .console-track,#your-work > article,.work-scenes > article,#connection-story > .ip-panel){
  --story-space:clamp(14px,1.7vw,24px);
  box-sizing:border-box;max-width:100%;margin-inline:0;
}
html body main.site-sections > #connection-story .ip-content{padding-inline:clamp(14px,1.7vw,24px)}
html body main.site-sections > .sx-hero{min-block-size:0!important;min-height:0!important}
