/* First-person perception → SLAM reconstruction → associative memory → action. */
.world-model.memory-cinema{position:relative;isolation:isolate;height:100svh;min-height:960px;overflow:hidden;scroll-margin-top:0;background:#0d1927;color:#f0f6fb}
.memory-canvas,.memory-canvas canvas,.memory-cinema-shade{position:absolute;inset:0;width:100%;height:100%}
.memory-canvas{z-index:-3}.memory-canvas canvas{display:block;outline:0}
.memory-cinema-shade{z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0b1729e8 0%,#0b1729b8 22%,#0b17291a 42%,#0b172912 61%,#0b1729dc 79%,#0b1729 100%)}
.world-model-copy{text-align:center;pointer-events:none}
.memory-eyebrow{position:absolute;top:7%;left:24px;right:24px;font-size:10px;letter-spacing:.2em;color:#bdd5e7}
.scroll-experience .world-model-copy h2{position:absolute;top:11%;left:50%;transform:translateX(-50%);width:calc(100% - 80px);max-width:1200px;margin:0;font-size:clamp(46px,5.2vw,82px);font-weight:400;line-height:1.08;letter-spacing:-.045em;color:#f3f8fc;text-shadow:0 3px 35px #07142355}
.world-model-copy h2>span{display:block}html[lang="zh-CN"] .world-model-copy h2>span{display:inline}
.scroll-experience .world-model-copy>p{position:absolute;bottom:4.8%;left:50%;transform:translateX(-50%);width:min(1080px,calc(100% - 112px));margin:0;font-size:clamp(15px,1.22vw,19px);line-height:1.8;font-weight:400;color:#d0deeb;text-wrap:pretty}
html[lang="zh-CN"] .world-model-copy>p{max-width:980px;text-wrap:balance;line-height:1.9}
.memory-vision-hud{position:absolute;top:31%;left:5.2%;right:5.2%;display:flex;gap:9px;align-items:center;color:#d4e8f6;font-size:11px;letter-spacing:.12em;line-height:1.6}
.memory-live-dot{width:5px;height:5px;border-radius:50%;background:#a2dfcf;box-shadow:0 0 12px #a2dfcf66;flex-shrink:0}.memory-demo-label{margin-left:auto;color:#9fb6cb;font-size:9px;letter-spacing:.1em}
.memory-target-readout{position:absolute;left:10%;top:43%;display:flex;flex-direction:column;gap:8px;font-size:11px;transition:opacity .7s;pointer-events:none}.memory-target-id{color:#d5e7f1;font-size:14px;letter-spacing:.06em}.memory-target-state{color:#f3c7a3;font-size:10px}.memory-target-readout i{width:110px;height:32px;border-top:1px solid #d9b29080;border-right:1px solid #d9b29080;transform:skewY(22deg);transform-origin:left top}
.memory-neural-regions{position:absolute;top:40%;left:5.2%;margin:0;padding:0;list-style:none;display:grid;gap:20px;opacity:0;transition:opacity .7s;pointer-events:none}
.memory-neural-regions li{display:flex;align-items:center;gap:9px;color:#849eb6;font-size:12px;transition:color .7s,opacity .7s;opacity:.4}.memory-neural-regions li.is-active{color:#e1f5ff;opacity:1}.memory-neural-regions li.is-recalled{color:#b1d2e5;opacity:.85}.neural-region-index{font-size:9px;font-variant-numeric:tabular-nums}.neural-region-dot{width:4px;height:4px;border-radius:50%;background:currentColor}.memory-neural-regions li.is-active .neural-region-dot{box-shadow:0 0 12px #b4e8ff}
.memory-association{position:absolute;top:69%;left:50%;transform:translateX(-50%);width:min(580px,80%);text-align:center;opacity:0;transition:opacity .7s;pointer-events:none}.memory-association-kicker{font-size:9px;letter-spacing:.22em;color:#94bedc}.memory-association-copy{font-size:13px;line-height:1.7;margin:8px 0 0;color:#d7ebf9}
.memory-decision-panel{position:absolute;top:39%;right:5.2%;width:292px;padding:20px;border:1px solid #b6d9ec30;border-radius:16px;background:#10263ae6;box-shadow:0 18px 50px #00000026;backdrop-filter:blur(12px);opacity:0;transform:translateY(12px);transition:opacity .8s,transform .8s;pointer-events:none}
.memory-queue-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.1em;color:#d6e9f8}.memory-queue-indicator{width:5px;height:5px;border-radius:50%;background:#a3dacb}.memory-queue-reason{font-size:11px;line-height:1.7;margin:13px 0 17px;color:#aac2d5;min-height:38px}.memory-task-list{position:relative;height:156px}.memory-task{position:absolute;left:0;right:0;top:0;transform:translateY(calc(var(--task-order) * 52px));height:44px;display:flex;align-items:center;gap:10px;padding:0 10px;border:1px solid #b6d5e41c;border-radius:7px;background:#a2c6e005;font-size:11px;transition:transform 1.3s cubic-bezier(.22,1,.36,1),background .8s,border-color .8s;color:#bdd1e0}.memory-task-rank{font-size:9px;color:#84a3bc}.memory-task-priority{margin-left:auto;font-size:8px;letter-spacing:.05em;color:#8daac0}.memory-priority-updated{border-top:1px solid #a6cfe51f;padding-top:13px;margin-top:6px;font-size:9px;letter-spacing:.04em;color:#b4e6d1;opacity:0;transition:opacity .8s}
.memory-world.is-recalling .memory-neural-regions,.memory-world.is-recalling .memory-association{opacity:1}.memory-world.is-recalling .memory-target-readout{opacity:0}.memory-world.is-deciding .memory-decision-panel{opacity:1;transform:translateY(0)}.memory-world.is-deciding .memory-association{width:440px;left:43%}.memory-world.is-prioritized .memory-task-recheck{background:#a7dfcd16;border-color:#a7dfcd6b;color:#d6f6e9}.memory-world.is-prioritized .memory-task-recheck .memory-task-priority{color:#b4e6d1}.memory-world.is-prioritized .memory-priority-updated{opacity:1}
.memory-world.is-acting .memory-neural-regions,.memory-world.is-acting .memory-association{opacity:0}.memory-world.is-acting .memory-target-readout{opacity:1}
.memory-playback{position:absolute;top:77.5%;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 112px));padding-bottom:12px}
.memory-chapters{display:flex;justify-content:center;gap:28px;margin-bottom:16px}.memory-chapters button{padding:5px 0;border-bottom:1px solid transparent;color:#85a4bd;font-size:12px;letter-spacing:.04em;transition:color .3s,border-color .3s}.memory-chapters button[aria-current="step"]{color:#def0fc;border-color:#a7d7f3}.memory-chapters button:hover{color:#e1f4ff}.memory-playback-status{display:flex;align-items:center;gap:13px;min-height:32px}.memory-phase-number{font-size:9px;letter-spacing:.08em;color:#8daac1;font-variant-numeric:tabular-nums;white-space:nowrap}.memory-phase-copy{flex:1;margin:0;font-size:12px;line-height:1.6;color:#cce0f0}.memory-pause{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #b2d9f133;border-radius:50%;background:#ffffff05;color:#cce4f4;flex-shrink:0}.memory-pause:hover{background:#ffffff15}.memory-chapters button:focus-visible,.memory-pause:focus-visible{outline:2px solid #b3e3ff;outline-offset:4px}.scroll-experience .memory-pause svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}.memory-play-icon{display:none;fill:currentColor;stroke:none}.memory-pause[aria-pressed="true"] .memory-pause-icon{display:none}.memory-pause[aria-pressed="true"] .memory-play-icon{display:block}.memory-progress{position:absolute;bottom:0;left:0;right:0;height:1px;background:#a7cee326}.memory-progress i{display:block;height:100%;background:#adddf8;transform-origin:left;transform:scaleX(0)}
@media(max-width:1000px) and (min-width:701px){.memory-decision-panel{right:3%;width:250px;padding:16px}.memory-neural-regions{left:3%;gap:17px}.memory-neural-regions li{font-size:11px}.memory-world.is-deciding .memory-association{left:35%;width:340px}.memory-demo-label{font-size:7px}}
@media(max-width:700px){
 .world-model.memory-cinema{min-height:1280px;height:1280px}
 .memory-eyebrow{top:90px;font-size:9px;letter-spacing:.14em}
 .scroll-experience .world-model-copy h2{top:126px;width:calc(100% - 40px);font-size:clamp(36px,10vw,54px);line-height:1.12}
 html[lang="zh-CN"] .world-model-copy h2>span{display:block}
 .scroll-experience .world-model-copy>p{bottom:45px;width:calc(100% - 48px);font-size:14px;line-height:1.85}
 .memory-cinema-shade{background:linear-gradient(180deg,#0b1729e6 0%,#0b1729b0 20%,#0b172900 35%,#0b172922 58%,#0b1729ef 78%,#0b1729 100%)}
 .memory-vision-hud{top:285px;left:20px;right:20px;font-size:8px;letter-spacing:.05em}.memory-demo-label{display:none}
 .memory-target-readout{left:23px;top:365px}.memory-target-id{font-size:11px}.memory-target-state{font-size:9px}.memory-target-readout i{width:70px}
 .memory-neural-regions{top:347px;left:20px;gap:15px}.memory-neural-regions li{font-size:10px;gap:6px}.neural-region-index{font-size:8px}
 .memory-association,.memory-world.is-deciding .memory-association{top:690px;left:50%;width:calc(100% - 40px)}.memory-association-copy{font-size:12px}.memory-association-kicker{font-size:8px}
 .memory-decision-panel{top:494px;right:20px;width:calc(100% - 40px);padding:15px 16px}.memory-queue-reason{font-size:10px;margin:10px 0;min-height:0}.memory-task-list{height:132px}.memory-task{height:38px;transform:translateY(calc(var(--task-order) * 44px));font-size:10px}.memory-queue-heading{font-size:10px}.memory-priority-updated{font-size:8px;padding-top:9px}.memory-world.is-deciding .memory-association{top:790px}.memory-world.is-deciding .memory-association-kicker{display:none}
 .memory-playback{top:847px;width:calc(100% - 40px)}.memory-chapters{gap:18px;margin-bottom:15px}.memory-chapters button{font-size:9px;white-space:nowrap}.memory-phase-copy{font-size:11px}.memory-phase-number{font-size:8px}.memory-playback-status{gap:9px}
}
@media(prefers-reduced-motion:reduce){.memory-world *{transition:none!important}}

/* The source layer is a crop from the supplied factory film, not a rendered building. */
.memory-real-scene{position:absolute;inset:0;z-index:-4;overflow:hidden;will-change:opacity,transform}
.memory-real-scene img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 42%;filter:saturate(.65) brightness(.8)}
.memory-scan-line{position:absolute;top:28%;bottom:24%;left:var(--memory-scan,0%);width:1px;background:linear-gradient(transparent,#b9e9ff,transparent);box-shadow:0 0 32px #97d7ff;z-index:-2;opacity:0;pointer-events:none}
.memory-cinema.is-mapping .memory-scan-line{opacity:.8}
.memory-eyebrow{top:9%}
.memory-render-fallback .memory-real-scene{opacity:1!important}
@media(max-width:700px){.memory-eyebrow{top:90px}.memory-world.is-deciding .memory-neural-regions{opacity:0}.memory-world.is-deciding .memory-association{top:775px}.memory-world.is-deciding .memory-decision-panel{top:465px}}
/* Keep the cinematic HUD hidden; the headline and supporting sentence are foreground copy. */
.memory-cinema .memory-vision-hud,.memory-cinema .memory-target-readout,.memory-cinema .memory-neural-regions,.memory-cinema .memory-association,.memory-cinema .memory-decision-panel{display:none!important}
.memory-cinema .memory-cinema-shade{background:linear-gradient(180deg,#101c2722,#101c2700 30%,#101c2700 72%,#101c2733)}
.memory-cinema .memory-chapters,.memory-cinema .memory-playback-status>.memory-phase-number,.memory-cinema .memory-phase-copy,.memory-cinema .memory-progress{display:none}
.memory-cinema .memory-playback{top:auto;left:auto;bottom:30px;right:30px;transform:none;width:auto;padding:0}
.memory-cinema .memory-playback-status{display:block;min-height:0}
.memory-cinema .memory-pause{width:34px;height:34px;background:#10233688}
@media(max-width:700px){.world-model.memory-cinema{height:100svh;min-height:700px}.memory-cinema .memory-playback{bottom:24px;right:24px}}

/* Foreground copy stays separate from the rotating memory and factory reconstruction. */
.memory-cinema .world-model-copy{display:block;position:absolute;inset:0;z-index:2;pointer-events:none}
.memory-cinema .memory-eyebrow{display:none}
.memory-cinema .memory-cinema-shade{background:linear-gradient(180deg,#071423b8 0%,#07142366 24%,#07142308 38%,#07142300 68%,#071423bd 90%,#071423d9 100%)}
.scroll-experience .memory-cinema .world-model-copy h2{top:13%;width:calc(100% - 80px);max-width:1120px;font-size:clamp(44px,4.6vw,74px);line-height:1.14;letter-spacing:-.035em;color:#fff;text-wrap:balance;text-shadow:0 3px 28px #05101f88}
.scroll-experience .memory-cinema .world-model-copy>p{bottom:7.5%;width:min(860px,calc(100% - 112px));font-size:clamp(16px,1.35vw,20px);line-height:1.85;color:#ecf4fa;text-wrap:balance;text-shadow:0 2px 15px #05101fcc}
@media(max-width:700px){
 .scroll-experience .memory-cinema .world-model-copy h2{top:15%;width:calc(100% - 40px);font-size:clamp(30px,8.5vw,44px);line-height:1.24}
 .scroll-experience .memory-cinema .world-model-copy>p{bottom:8.5%;width:calc(100% - 48px);font-size:14px;line-height:1.8}
}
