/* Scoped collaboration: scroll-controlled, non-overlapping horizontal panels. */
.process-story.process-clean{position:relative;padding:0;overflow:visible;isolation:isolate}
.process-story .process-clean__head{display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:48px;padding:44px 0 28px}
.process-story .process-clean__head .kicker{margin:0 0 16px;color:var(--ink);font-size:.72rem}
.process-story .process-clean__head h2{font-size:clamp(2rem,3.3vw,3.7rem);line-height:1.05;letter-spacing:-.045em;max-width:26ch}
.process-story .process-clean__head>p{font-size:clamp(.95rem,1.1vw,1.1rem);line-height:1.55;padding:0;max-width:47ch;justify-self:end}
.process-story .process-clean__head strong{display:block;margin-bottom:10px}
.process-story__pin{position:relative;padding:16px 0 28px;z-index:1}
.process-story.is-pinned{height:calc(var(--handoff-height) + var(--handoff-travel))}
.process-story.is-pinned .process-story__pin{position:sticky;top:var(--handoff-top)}
.process-story.is-pinned.is-full-pin .process-story__body{position:sticky;top:var(--handoff-top)}
.process-story.is-pinned:not(.is-full-pin) .process-story__body{height:100%}
.process-story.is-full-pin .process-story__pin{position:relative;top:auto}
.handoff__tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:relative;border-bottom:1px solid #11110f45}
.handoff__tabs button{appearance:none;background:none;border:0;padding:15px 8px 17px 0;min-height:48px;text-align:left;font-family:var(--display);font-size:clamp(1rem,1.4vw,1.5rem);font-weight:620;letter-spacing:-.025em;color:var(--ink);cursor:pointer}
.handoff__tabs button[aria-selected="true"]{font-weight:800}
.handoff__tabs button:hover{text-decoration:underline;text-underline-offset:5px}
.handoff__tabs button:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}
.handoff__marker{position:absolute;left:0;bottom:-1px;width:20%;height:3px;background:var(--paper);transform:translate3d(calc(var(--handoff-step,0)*100%),0,0);pointer-events:none}
.handoff__stage{height:310px;position:relative;overflow:hidden;isolation:isolate}
.is-scrubbing .handoff__stage::after{content:"";position:absolute;z-index:2;left:50%;top:50%;width:clamp(72px,11vw,150px);height:2px;background:var(--paper);opacity:calc(var(--handoff-transition,0)*.8);transform:translate3d(-50%,-50%,0) scaleX(var(--handoff-transition,0));transform-origin:center;pointer-events:none;will-change:transform,opacity}
.handoff__scene{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,.36fr) minmax(0,1.2fr);gap:clamp(24px,3.2vw,60px);align-items:center;padding:24px 0}
.handoff__scene[hidden]{display:none}
.is-scrubbing .handoff__scene{position:absolute;inset:0;will-change:transform,opacity}
.handoff__label{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;margin:0 0 18px}
.handoff__quote{font-family:var(--display);font-size:clamp(1.5rem,2.5vw,2.65rem);letter-spacing:-.04em;line-height:1.12;max-width:22ch;margin:0;text-wrap:balance}
.handoff__answer h3{font-family:var(--display);font-weight:600;font-size:clamp(1.65rem,2.7vw,2.95rem);line-height:1.06;letter-spacing:-.045em;margin:0 0 15px}
.handoff__answer h3 span{position:relative;display:inline-block;color:var(--paper);padding-bottom:5px}
.handoff__answer h3 span::after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:currentColor;transform:scaleX(var(--handoff-reveal,1));transform-origin:left}
.handoff__detail{font-size:clamp(.85rem,1.03vw,1.04rem);line-height:1.5;max-width:49ch;margin:0}
.handoff__bridge{position:relative;height:24px;align-self:center}
.handoff__track,.handoff__draw{position:absolute;left:0;right:0;top:11px;height:1px;background:#11110f50}
.handoff__draw{background:var(--paper);height:2px;transform:scaleX(var(--handoff-reveal,1));transform-origin:left}
.handoff__pulse{position:absolute;left:0;top:8px;width:24px;height:7px;background:var(--paper);border-radius:4px;opacity:var(--pulse-opacity,0);transform:translate3d(var(--pulse-x,0px),0,0);box-shadow:0 0 10px #fff5}
.handoff__arrow{position:absolute;right:0;top:7px;width:9px;height:9px;border-right:1px solid var(--paper);border-top:1px solid var(--paper);transform:rotate(45deg)}
.handoff__foot{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #11110f45;padding-top:14px;font-size:.8rem;line-height:1.4}
.handoff__cue{white-space:nowrap}
.handoff__cue>span{display:inline-block;margin-left:12px}
.handoff__fallback{padding-bottom:24px}
/* Small-height / reduced-motion fallback: all steps stay readable by scrolling. */
.process-story.is-stacked .handoff__stage{height:auto}
.process-story.is-stacked .handoff__scene{position:relative;height:auto;min-height:260px;border-bottom:1px solid #11110f35;transform:none!important;visibility:visible!important}
.process-story.is-stacked .handoff__tabs{display:none}
@media(max-width:1000px){
.process-story .process-clean__head{gap:30px}
.handoff__scene{grid-template-columns:minmax(0,1fr) 70px minmax(0,1.15fr);gap:20px}
.handoff__quote{font-size:1.75rem}
.handoff__answer h3{font-size:1.8rem}
.handoff__tabs button{font-size:1.05rem}
}
@media(max-width:760px){
.process-story .process-clean__head{grid-template-columns:1fr;gap:18px;padding:32px 0 20px}
.process-story .process-clean__head h2{font-size:clamp(1.9rem,6.8vw,2.6rem)}
.process-story .process-clean__head>p{justify-self:start;font-size:.94rem;max-width:44ch}
.process-story__pin{padding:8px 0 18px}
.handoff__tabs{display:flex;overflow-x:auto;scrollbar-width:none;gap:24px}
.handoff__tabs button{flex:none;font-size:1.05rem;white-space:nowrap;padding:12px 0;border-bottom:3px solid transparent}
.handoff__tabs button[aria-selected="true"]{border-color:var(--paper)}
.handoff__marker{display:none}
.handoff__stage{height:390px}
.handoff__scene{grid-template-columns:1fr;grid-template-rows:96px 22px 1fr;gap:14px;padding:20px 0 16px;align-items:start}
.handoff__label{font-size:.64rem;margin-bottom:10px}
.handoff__quote{font-size:1.65rem;max-width:26ch;text-wrap:pretty}
.handoff__bridge{width:100px;height:22px}
.handoff__answer h3{font-size:1.75rem;margin-bottom:10px}
.handoff__detail{font-size:.85rem;max-width:44ch}
.handoff__foot{font-size:.75rem}
.handoff__foot>span:first-child{max-width:24ch}
.process-story.is-stacked .handoff__scene{min-height:390px}
}
@media(prefers-reduced-motion:reduce){.handoff__pulse{display:none}}
/* Short touch viewports use readable stacked scenes with a purposeful answer reveal. */
@media(max-width:900px) and (prefers-reduced-motion:no-preference){
  .process-story.is-stacked.has-stacked-motion .handoff__scene:not(.is-entered) .handoff__answer{opacity:.7;transform:translate3d(0,14px,0)}
  .process-story.is-stacked.has-stacked-motion .handoff__answer{transition:opacity .6s var(--ease),transform .6s var(--ease)}
  .process-story.is-stacked.has-stacked-motion .handoff__scene:not(.is-entered) .handoff__draw,
  .process-story.is-stacked.has-stacked-motion .handoff__scene:not(.is-entered) .handoff__answer h3 span::after{transform:scaleX(0)}
  .process-story.is-stacked.has-stacked-motion .handoff__draw,
  .process-story.is-stacked.has-stacked-motion .handoff__answer h3 span::after{transition:transform .75s cubic-bezier(.22,1,.36,1)}
}
