/* The person's depth changes; the type stays fixed in the same frame. */
#projects[data-brand-story] .brand-handoff-scene{position:relative;isolation:isolate;overflow:hidden;background:#fff;height:clamp(230px,36svh,540px)}
#projects[data-brand-story] .brand-handoff-fallback{height:100%}
#projects[data-brand-story] .brand-handoff-fallback img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1);transform-origin:56% 70%}
#projects[data-brand-story] .brand-handoff-wordmark,
#projects[data-brand-story] .brand-handoff-subject{display:none;position:absolute;inset:0;width:100%;height:100%;max-width:none;pointer-events:none}
#projects[data-brand-story] .brand-handoff-wordmark{z-index:0;overflow:visible}
#projects[data-brand-story] .brand-handoff-wordmark text{font-family:DM,Arial,sans-serif;font-size:820px;font-weight:700;letter-spacing:-.04em;fill:#acd6a6}
#projects[data-brand-story] .brand-handoff-subject{z-index:1;object-fit:contain;transform:scale(1);transform-origin:56% 70%}
#projects.brand-story-art-ready .brand-handoff-fallback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#projects.brand-story-art-ready .brand-handoff-wordmark,
#projects.brand-story-art-ready .brand-handoff-subject{display:block}

@supports(animation-timeline:view()){
 @media(min-width:1000px) and (prefers-reduced-motion:no-preference){
  /* The extra height belongs to this chapter, so native wheel scrolling scrubs it. */
  .home-motion #projects.brand-story-ready{display:block;padding:0;height:calc(240svh - var(--nav-height,80px));min-height:0;view-timeline-name:--brand-handoff;view-timeline-axis:block;view-timeline-inset:var(--nav-height,80px) 0;scroll-snap-align:start}
  #projects.brand-story-ready .brand-story-stage{position:sticky;top:var(--nav-height,80px);height:calc(100svh - var(--nav-height,80px));padding:clamp(22px,3svh,65px) var(--g);display:flex;flex-direction:column;justify-content:center}
  #projects.brand-story-ready .project-collection{min-height:0}
  #projects.brand-story-ready .brand-handoff-fallback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  #projects.brand-story-ready .brand-handoff-wordmark,
  #projects.brand-story-ready .brand-handoff-subject{display:block}
  #projects.brand-story-ready .brand-handoff-subject{animation:brand-handoff-approach linear both;animation-timeline:--brand-handoff;animation-range:contain 0% contain 100%}
  #projects.brand-story-ready.brand-story-in-view .brand-handoff-subject{will-change:transform}
  #projects.brand-story-ready .project-descriptions{margin-bottom:0}
 }
}
@keyframes brand-handoff-approach{
 from{transform:scale(1)}
 to{transform:scale(1.6)}
}
@media(max-width:999px){
 #projects[data-brand-story] .brand-handoff-scene{height:auto;aspect-ratio:2.6 / 1}
 #projects[data-brand-story] .brand-handoff-fallback img{height:100%;object-fit:contain}
}
@media(prefers-reduced-motion:reduce){
 #projects[data-brand-story] .brand-handoff-subject{animation:none;will-change:auto}
}
