/* Keep one source for every photo; change its position through the layout. */
.story-pin{grid-template-areas:"rows scene"}
.problem-rows{grid-area:rows}
.photo-scene{grid-area:scene}

.process>.container{display:flex;flex-direction:column}
.process-heading{order:1}
.process-track{order:2}
.process-footer{order:3}
.process>.container>.process-photo{order:4;flex:none}

.quote-grid{grid-template-areas:"copy photo" "copy conversation";column-gap:100px;row-gap:0;align-items:start}
.quote-copy{grid-area:copy;align-self:center}
.quote-grid>.quote-photo{grid-area:photo;margin:36px 0 37px}
.quote-conversation{grid-area:conversation;border-top:0;padding-top:0}

@media(max-width:1200px){.quote-grid{column-gap:60px}}
@media(max-width:1000px){.quote-grid{column-gap:50px}}
@media(max-width:999px) and (min-width:681px){.story-pin{grid-template-areas:"rows" "scene"}}
@media(max-width:900px){.quote-grid{column-gap:35px}}

@media(max-width:680px){
  /* These wrappers have no mobile box; the scene leads the entire section. */
  .problem>.container{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"scene" "heading" "rows" "close"}
  .problem .problem-story,.problem .story-pin{display:contents}
  .problem .problem-heading{grid-area:heading;margin:0 0 32px}
  .problem .problem-rows{grid-area:rows;min-width:0}
  .problem .problem-close{grid-area:close;margin-top:28px}

  /* A short, touch- and keyboard-scrollable sequence, with no automatic motion. */
  .problem .photo-scene{
    grid-area:scene;display:grid;position:relative;grid-auto-flow:column;
    grid-template-columns:none;grid-auto-columns:90%;grid-template-rows:minmax(0,1fr);
    gap:12px;width:100%;max-width:none;min-width:0;height:clamp(210px,58vw,260px);
    margin:0 0 32px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:thin;
    scrollbar-color:#aebdb5 transparent;scroll-behavior:auto;
  }
  .problem .photo-scene .scene-photo{
    position:relative;left:auto;top:auto;grid-column:auto;grid-row:1;
    width:auto;height:100%;min-width:0;aspect-ratio:auto;margin:0;border:0;
    box-shadow:none;transform:none!important;z-index:auto!important;
    will-change:auto;scroll-snap-align:start;scroll-snap-stop:normal;
  }
  .problem .scene-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 35%}
  .problem .scene-photo[data-story-photo="0"] img{object-position:50% 33%}
  .problem .scene-photo figcaption{opacity:1!important;left:14px;bottom:16px;right:12px;font-size:.875rem}

  .process>.container>.process-photo{
    order:0;width:100%;height:clamp(210px,58vw,260px);margin:0 0 32px;box-shadow:none;
  }
  .process-photo>img{transform:none!important;will-change:auto;object-position:57% center}
  .process-photo figcaption{left:18px;bottom:20px;right:18px;font-size:clamp(1.8rem,7.7vw,2.3rem)}
  .process+.funnel{padding-top:68px}

  .quote-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "copy" "conversation";gap:0;align-items:start}
  .quote-grid>.quote-photo{width:100%;max-width:none;height:clamp(210px,58vw,260px);margin:0 0 32px}
  .quote-photo .quote-team{object-position:62% center}
  .quote-photo .conversation-art{width:54px;height:54px;right:14px;bottom:12px;margin:0}
  .quote-copy{align-self:start;padding:0}
  .quote-conversation{border-top:1px solid #ffffff35;margin-top:28px;padding:28px 0 0}
}
