/* Match Sprint's centered 1728px canvas while surfaces span the viewport. */
:root {
  --site-content-canvas: 1728px;
}
@media (min-width: 1729px) {
  body.editorial-site[data-site-page]:not(.aitria-panel) {
    --sprint-canvas: var(--site-content-canvas);
    --ap-rule-canvas: var(--site-content-canvas);
    --site-fluid-gutter: 40px;
    --panel-gutter: 40px;
    --panel-cell: 40px;
    --ep-margin: 40px;
    --site-canvas-outset: max(0px, calc((100% - var(--site-content-canvas)) / 2));
  }
  /* Continuous canvas edges begin below the hero on every page. */
  body:is(.editorial-site,.aitria-panel)[data-site-page]::before,
  body:is(.editorial-site,.aitria-panel)[data-site-page]::after {
    content: "";
    position: fixed;
    top: var(--site-canvas-rule-start, 100%);
    bottom: 0;
    width: 1px;
    background: #8a8f95;
    pointer-events: none;
    z-index: 4;
  }
  body:is(.editorial-site,.aitria-panel)[data-site-page]::before {
    left: max(0px, calc((100% - var(--site-content-canvas)) / 2));
  }
  body:is(.editorial-site,.aitria-panel)[data-site-page]::after {
    right: max(0px, calc((100% - var(--site-content-canvas)) / 2));
  }
  body.editorial-site[data-site-page] .ap-header {
    width: 100%;
    max-width: var(--site-content-canvas);
    margin-inline: auto;
  }
  body.editorial-site.has-section-navigation main [data-page-navigation-section] {
    padding-left: calc(var(--site-canvas-outset) + var(--sprint-guide-space)) !important;
    padding-right: var(--site-canvas-outset) !important;
  }
  body.editorial-site.has-section-navigation .sprint-section-navigation {
    left: var(--site-canvas-outset);
  }
  body.editorial-site.has-section-navigation .page-navigation-rail {
    left: calc(var(--site-canvas-outset) + var(--sprint-guide-space) - 1px);
    box-shadow: none;
  }
  /* The homepage's two approach surfaces own their rail space. */
  body.editorial-site.has-section-navigation.content-preserved main > #shift {
    padding-inline: 0 !important;
  }
  body.editorial-site.has-section-navigation.content-preserved #shift > :is(.approach-scroll,.quality-full) {
    padding-left: calc(var(--site-canvas-outset) + var(--sprint-guide-space));
    padding-right: var(--site-canvas-outset);
  }
  body.editorial-site[data-site-page] main > section:not([data-page-navigation-section]) > .wrap {
    max-width: var(--site-content-canvas) !important;
    margin-inline: auto !important;
  }
  body.editorial-site[data-site-page="top"].content-preserved #top > .hero {
    max-width: var(--site-content-canvas);
    margin-inline: auto;
  }
  body.editorial-site[data-site-page="top"].content-preserved #top > .client-logos {
    width: calc(var(--site-content-canvas) / 2 - var(--home-header-right-edge));
    margin-left: auto;
    margin-right: calc(var(--site-canvas-outset) + var(--home-header-right-edge));
  }
  body:is(.editorial-site,.aitria-panel)[data-site-page] footer.preserved-footer {
    --sf-edge: 40px;
  }
  body:is(.editorial-site,.aitria-panel)[data-site-page] footer.preserved-footer > :is(.footer-top,.footer-wordmark,.footer-bottom) {
    width: 100%;
    max-width: calc(var(--site-content-canvas) - 80px);
    margin-inline: auto;
  }
  body.editorial-site[data-site-page] .ap-menu .ap-menu-panel {
    right: calc(var(--site-canvas-outset) + 12px);
  }
  /* Align the hero copy with the left edge of the section-navigation canvas.
     Move the copy as a unit so its measure, wrapping and reveal stay intact. */
  body:is(.editorial-site,.aitria-panel)[data-site-page] main .editorial-hero-panel {
    position: relative;
    left: calc(-1 * (var(--first-view-gutter) + 32px));
  }
  body.editorial-site.service-panel[data-site-page] main [data-desktop-hero-form] .editorial-hero-panel {
    /* Fluid forms change the centered copy column's starting position. */
    left: calc(max(0px,(100vw - var(--site-content-canvas)) / 2)
      - max(0px,(100vw - var(--hero-form-width) - (var(--site-content-canvas) - 380px)) / 2)
      - var(--first-view-gutter) - 32px);
  }
  body.editorial-site[data-site-page="top"] #top[data-home-video-hero] .home-hero-intro {
    position: relative;
    left: -128px;
  }
}
