/* A shared rhythm for the journey, rather than independent entrance effects. */
html{scroll-padding-top:calc(var(--site-header-size,96px) + 18px)}
.chapter-surface{position:relative;isolation:isolate;overflow:clip}
.chapter-surface>.container{position:relative;z-index:2}
.chapter-edge{display:none;position:absolute;inset:0 0 auto;height:64px;background:var(--section-from);pointer-events:none;z-index:1;transform-origin:top;clip-path:polygon(0 0,100% 0,100% 100%,0 0)}
.chapter-surface:nth-of-type(even)>.chapter-edge{clip-path:polygon(0 0,100% 0,100% 0,0 100%)}
.immersive-ready .chapter-edge{display:block;transform:scaleY(var(--edge-amount,1));will-change:transform}
.immersive-ready .chapter-surface .section-heading,
.immersive-ready .tracking-heading,
.immersive-ready .differences-intro,
.immersive-ready .quote-copy,
.immersive-ready .faq-intro{translate:var(--chapter-shift,0px) 0}

/* The selection numbers settle into one line as the visitor reaches the choice. */
.immersive-ready .funnel-cell:nth-child(2){translate:0 var(--funnel-step,0px)}
.immersive-ready .funnel-cell:nth-child(3){translate:0 calc(var(--funnel-step,0px) * 2)}
.funnel-chart{padding-bottom:18px}
.funnel-cell{transition:border-color .3s}
.immersive-ready .funnel-bar{transform:scaleX(var(--bar-open,1));transform-origin:left}

/* The illustrative dashboard moves from perspective into the reading plane. */
.tracking-stage{perspective:1800px}
.immersive-ready .dashboard{transform:translate3d(var(--dashboard-x,0px),var(--dashboard-y,0px),0) rotateY(var(--dashboard-rotate,0deg));transform-origin:center;will-change:transform}
.immersive-ready .tracking-side{translate:var(--side-shift,0px) 0}
.tracking-points>div{position:relative;transition:border-color .35s}
.tracking-points>div::after{content:"";position:absolute;top:-2px;left:0;height:2px;width:100%;background:#aa7c37;transform:scaleX(0);transform-origin:left;transition:transform .5s}
.tracking-points>div.is-reading::after{transform:scaleX(1)}

/* A second photographic movement, without disturbing the conversation itself. */
.quote-image-frame{width:100%;height:100%;overflow:hidden;background:var(--night)}
.quote-image-frame .quote-team{width:100%;height:100%;object-fit:cover;object-position:62% center}
.immersive-ready .quote-photo{translate:var(--quote-offset,0px) 0;rotate:var(--quote-rotate,0deg);transform-origin:center}
.immersive-ready .quote-team{scale:var(--quote-scale,1);will-change:scale}
.difference{position:relative}
.difference::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:#a98040;transform:scaleX(0);transform-origin:left;transition:transform .65s}
.difference.is-reading::after{transform:scaleX(1)}
.immersive-ready .difference:nth-child(2){translate:var(--difference-offset,0px) 0}
.closing-rule{transform-origin:top;scale:1 var(--closing-rule,1)}
.closing .button{transition:background .25s,transform .25s,box-shadow .25s}
.closing .button:hover{box-shadow:0 12px 30px #082b3a20}

@media(min-width:1000px) and (min-height:780px){
  .photo-motion-ready .story-pin{top:calc(var(--site-header-size,96px) + 18px);height:calc(100svh - var(--site-header-size,96px) - 42px)}
  .photo-motion-ready .photo-scene{height:100%;width:min(100%,calc((100svh - var(--site-header-size,96px) - 42px) * 1.1))}
}
@media(min-width:1000px) and (max-height:779px){
  .photo-motion-ready .problem-story{height:auto}
  .photo-motion-ready .story-pin{position:static;height:auto;grid-template-columns:.86fr 1.14fr;align-items:center}
  .photo-motion-ready .photo-scene{height:auto;aspect-ratio:1.02;min-height:500px;width:100%}
}
@media(min-width:681px){.differences-intro{top:calc(var(--site-header-size,96px) + 34px)}}
@media(max-width:900px){
  .immersive-ready .dashboard{transform:translateY(var(--dashboard-y,0px));will-change:auto}
  .immersive-ready .chapter-edge{height:45px}
}
@media(max-width:680px){
  .chapter-edge{height:38px}
  .funnel-chart{padding-bottom:8px}
  .immersive-ready .funnel-cell:nth-child(2){translate:0 calc(var(--funnel-step,0px) * .5)}
  .immersive-ready .funnel-cell:nth-child(3){translate:0 var(--funnel-step,0px)}
  .immersive-ready .quote-photo{rotate:0deg}
  .immersive-ready .quote-team{will-change:auto}
  .immersive-ready .chapter-surface .section-heading,
  .immersive-ready .tracking-heading,
  .immersive-ready .differences-intro,
  .immersive-ready .quote-copy,
  .immersive-ready .faq-intro{translate:calc(var(--chapter-shift,0px) * .55) 0}
}
@media(prefers-reduced-motion:reduce){
  .chapter-edge{display:none!important}
  .chapter-surface .section-heading,.tracking-heading,.differences-intro,.quote-copy,.faq-intro,
  .funnel-cell,.tracking-side,.quote-photo,.difference{translate:none!important;rotate:none!important}
  .dashboard{transform:none!important;will-change:auto!important}
  .quote-team,.closing-rule{scale:1!important;will-change:auto!important}
  .funnel-bar{transform:none!important}
}
