.people-stage{isolation:isolate;background:#111214}
.people-background{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.people-background img,.people-background canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center}
.people-background{opacity:0;will-change:opacity,transform;transform-origin:70% 45%}
.people-background:first-child{opacity:1}
.people-stage:after{z-index:1;background:linear-gradient(90deg,#111214 0%,rgba(17,18,20,.94) 25%,rgba(17,18,20,.45) 48%,transparent 70%)}
.people-stage .chapter{z-index:4;left:6vw;width:39%;max-width:620px;top:27%}
.people-stage .chapter h1{font-size:clamp(40px,4.8vw,72px);line-height:1.05;letter-spacing:-.055em}
.people-stage .story-top,.people-stage .story-bottom,.people-stage .progress{z-index:5}
.story-system{position:absolute;z-index:3;width:clamp(360px,32vw,520px);left:77%;top:70%;transform:translate(-50%,-50%);will-change:transform,left,top}
.story-system .interface{position:relative;right:auto;bottom:auto;width:100%;max-width:none;margin:0;font-size:11px}
.story-panel{position:absolute;inset:0 auto auto 0;width:100%;opacity:0;will-change:opacity,transform;pointer-events:none}
.story-panel[data-panel="crowded"]{opacity:1}
.story-system .interface{box-shadow:0 22px 60px #0008}
.data-strip{display:flex;justify-content:space-between;font-size:8px;padding:8px 0;color:#aeb2bb;border-bottom:1px solid #4a4d56}
.busy-status{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:6px 0;font-size:7px}.busy-status span{background:#414650;padding:5px;border:1px solid #5d626e}
.overload-popups{position:absolute;inset:0;opacity:0;will-change:opacity;pointer-events:none}
.overload-popups>div{position:absolute;padding:12px 15px;background:#606572;border:1px solid #989da9;box-shadow:0 10px 25px #0006;border-radius:5px;font-size:10px}
.overload-popups>div:nth-child(1){top:36px;right:-18px;transform:rotate(1.5deg)}.overload-popups>div:nth-child(2){bottom:65px;left:30px;transform:rotate(-2deg)}.overload-popups>div:nth-child(3){bottom:-15px;right:20px;width:65%}
.overload-popups small{display:block;margin-top:7px;font-size:8px;color:#eef0f4}
.layer-plates{position:absolute;inset:0;z-index:-1;opacity:0;pointer-events:none}
.layer-plates i{position:absolute;inset:0;border:1px solid #676e7b;background:#272b32;border-radius:12px;transform:translate(var(--lx),var(--ly));box-shadow:0 10px 30px #0006}
.layer-plates i:nth-child(1){--lx:-35px;--ly:28px}.layer-plates i:nth-child(2){--lx:28px;--ly:-28px}.layer-plates i:nth-child(3){--lx:50px;--ly:-48px;background:transparent;border-style:dashed}
.journey-panel{background:#1b1e23;border:1px solid #616875;border-radius:12px;padding:28px;box-shadow:0 22px 60px #0008}
.journey-panel .journey-title{font-size:12px;color:#c2c7d0;letter-spacing:.08em;margin-bottom:22px}
.journey-nodes{display:flex;align-items:center;justify-content:space-between;gap:8px}.journey-nodes span{display:grid;place-items:center;gap:8px;width:27%;padding:22px 5px;border:1px solid #6e7581;border-radius:8px;color:#f2f1ed;font-size:12px}.journey-nodes small{font-size:8px;color:#b2b8c3}.journey-nodes i{font-style:normal;color:#959daa}
.journey-panel p{font-size:12px;color:#bfc5cf;margin:22px 0 0}

.task-result{position:absolute;inset:44px 0 0;background:#202228;border-radius:0 0 12px 12px;opacity:0;padding:22px;pointer-events:none}
.task-result .player-surface{height:155px;border:1px solid #59616c;border-radius:6px;display:grid;place-items:center;background:linear-gradient(150deg,#414956,#20252e)}.player-surface span{font-size:34px;color:#fff}.task-result h3{font-size:22px;margin:16px 0 5px}.task-result p{font-size:11px;color:#c2c6ce;margin:0}.player-progress{height:3px;background:#616775;margin-top:20px}.player-progress i{display:block;width:27%;height:100%;background:#eee}
.people-stage .story-cta{background:#f2f1ed;color:#111214}
.fidelity-label{position:absolute;left:0;right:0;bottom:-32px;text-align:center;color:#c5c9d0;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.people-stage .chapter h1,.people-stage .chapter .support{transition:none}
html:not(.js) .story-system{height:340px}
@media(max-width:760px){.people-stage .chapter{left:7vw;top:16%;width:86%}.people-stage .chapter h1{font-size:clamp(30px,8vw,43px);margin:16px 0}.people-stage .support{font-size:14px;max-width:320px;line-height:1.55}.people-stage .story-top{top:94px}.people-background{top:30%;height:66%}.people-background img,.people-background canvas{object-position:69% center}.people-stage:after{background:linear-gradient(180deg,#111214 0%,#111214 28%,rgba(17,18,20,.7) 42%,transparent 70%)}.story-system{width:min(88vw,390px);left:50%;top:72%}.story-system .crowded-body{min-height:210px}.story-system .busy-row{padding:5px 0}.story-system .crowded-content{padding:10px}.story-system .busy-row:nth-of-type(n+7){display:none}.story-system .wire-flow{padding:15px 12px}.story-system .wire-flow>div{height:105px}.story-system .clear-feature>div:first-child{padding:13px 12px}.story-system .clear-cards{padding-bottom:12px}.story-system .clear-feature h3{font-size:20px}.fidelity-label{bottom:-25px;font-size:8px}.people-stage .story-bottom{bottom:22px}.overload-popups>div:nth-child(1){right:0}.overload-popups>div:nth-child(2){left:0}}
@media(prefers-reduced-motion:reduce){.js .story{height:auto}.people-stage{height:780px;position:relative}.people-background,.story-panel{will-change:auto}.people-stage .chapter{opacity:1!important}}
.constrained-motion .people-stage{height:780px}
.story-system{height:370px}
@media(max-width:760px){.story-system{height:300px}}
.story-system .crowded-body{height:330px;min-height:0;overflow:hidden}
.story-system .crowded-content{padding:8px 10px}
.story-system .busy-row{height:31px;padding:4px 0}.story-system .busy-row i{height:22px;width:20px}.story-system .busy-row b{font-size:9px}.story-system .busy-row small{font-size:6px;margin-top:3px}
.story-system .busy-tabs{padding:6px}.story-system .data-strip{padding:5px 0}.story-system .filter-grid{margin:6px 0;gap:4px}.story-system .filter-grid span{padding:4px;font-size:7px}.story-system .busy-actions{margin:6px 0}.story-system .busy-status{margin:5px 0}.story-system .busy-status span{padding:4px}
@media(max-width:760px){.story-system .crowded-body{height:240px}.story-system .busy-row{height:29px}}
.story-system .interface{left:auto}.crowded-content{min-width:0}.story-system .task-result{background:#202228}

/* The actual interface stays in view while its surrounding context changes. */
.story-system .demo-play{opacity:calc(1 - var(--reframe,0))}
.story-system .interface.resolved{box-shadow:0 22px 60px #0008;backface-visibility:hidden}

/* Phone composition uses a full-bleed portrait scene, not a cropped lower panel. */
.people-background picture{position:absolute;inset:0}
@media(max-width:760px){
  .people-background{inset:0;height:auto;transform-origin:50% 42%}
  .people-stage{--portrait-inset:clamp(190px,26svh,220px)}
  .people-background img,.people-background canvas{top:var(--portrait-inset);height:calc(100% - var(--portrait-inset));object-position:50% 50%}
  .people-stage:after{background:linear-gradient(180deg,#111214 0%,#111214 var(--portrait-inset),#11121400 calc(var(--portrait-inset) + 100px),#11121412 75%,#111214bd 100%)}
  .people-stage .story-top,.people-stage .eyebrow,.fidelity-label{display:none}
  .people-stage .chapter{top:calc(64px + env(safe-area-inset-top) + 22px);left:6vw;width:88%;max-width:480px}
  .people-stage .chapter h1{font-size:clamp(26px,7.6vw,38px);line-height:1.08;margin:0 0 12px;max-width:360px}
  .people-stage .chapter .support{display:block;font-size:14px;line-height:1.45;max-width:360px;margin:0 0 14px;color:#dedee1}
  .people-stage .story-cta{display:inline-flex;align-items:center;min-height:44px;padding:12px 18px;margin:0;font-size:13px}
  .story-system{width:min(90vw,390px);height:300px}
  .story-system .resolved .ui-top{padding:10px 12px 6px}
  .story-system .clear-search{margin:6px 12px 10px;padding:8px}
  .story-system .clear-feature{margin:0 12px}
  .story-system .clear-feature>div:first-child{padding:10px}
  .story-system .clear-feature h3{font-size:20px;margin:8px 0}
  .story-system .clear-feature p{margin:6px 0 10px}
  .story-system .demo-play{padding:7px 8px}
  .story-system .clear-bottom{padding:10px 12px 8px}
  .story-system .clear-cards{padding:0 12px 10px}
  .story-system .clear-cards div{padding:12px 5px 8px;min-height:40px}
  .story-system .task-result{inset:36px 0 0;padding:16px}
  .story-system .task-result .player-surface{height:100px}
  .story-system .task-result h3{font-size:20px;margin:12px 0 5px}
  .story-system .player-progress{margin-top:14px}
  .people-stage .story-bottom{left:5vw;right:5vw;bottom:calc(12px + env(safe-area-inset-bottom));align-items:center;font-size:9px;letter-spacing:.6px}
  .people-stage .story-bottom a{display:flex;align-items:center;min-height:44px;padding:8px 0}
  .people-stage .story-bottom #counter{display:none}
  .people-stage .story-bottom>span:last-child{display:block;font-size:8px}
  .layer-plates i:nth-child(1){--lx:-14px;--ly:16px}.layer-plates i:nth-child(2){--lx:14px;--ly:-16px}.layer-plates i:nth-child(3){--lx:20px;--ly:-30px}
}
@media(max-width:760px) and (max-height:700px){.people-stage .chapter{top:calc(64px + env(safe-area-inset-top) + 14px)}.people-stage .chapter h1{font-size:clamp(25px,7vw,32px);margin-bottom:10px}.people-stage .chapter .support{font-size:13px;margin-bottom:10px}.people-stage .story-cta{padding:10px 16px}}
@media(min-width:761px) and (max-height:540px){.people-stage .chapter{top:110px}.people-stage .chapter h1{font-size:32px;margin:12px 0}.people-stage .support,.people-stage .story-top{display:none}}
@media(prefers-reduced-motion:reduce){.people-stage{height:100svh;min-height:560px}.people-background{transform:none!important}.people-stage .story-bottom>span:last-child{display:none}}
.constrained-motion .people-stage{height:100svh;min-height:560px}
