/* Separate rough POC only: retain approved Geist/logo/glass world, no production changes. */
#transport,#cinema-tools,#motion-note,.cinema-notice{display:none!important}
#poc-bar{position:fixed;z-index:35;bottom:12px;left:2%;right:2%;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;border-radius:18px;font-size:.78rem;line-height:1.35}
#poc-bar>span:first-child{letter-spacing:.025em;margin-right:auto}#poc-state{flex-basis:100%;color:var(--muted);overflow-wrap:anywhere}#poc-bar button{min-height:40px;padding:8px 14px;font-size:.8rem}
.poc-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1;opacity:0;pointer-events:none;background:#030608}
[data-poc-motion='ready']>.poc-film{opacity:1}html[data-route='scroll'][data-cinema-mode='motion'] [data-poc-motion='ready']>picture.world{opacity:0}
html[data-route='scroll'] .opening-stage{padding-bottom:160px}.poc-case-note{position:fixed;bottom:12px;left:16px;z-index:35;padding:8px 14px;background:#08141ded;border:1px solid var(--edge);border-radius:12px;color:var(--ink);font-size:.75rem}
html[data-route='scroll'] .chapter#art{height:600svh}html[data-route='scroll'] .chapter#art .stage{position:sticky;top:0;height:100svh;min-height:740px;display:flex;flex-direction:row;align-items:center;padding:112px 4% 150px;isolation:isolate}html[data-route='scroll'] .chapter#art .world{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;z-index:-2}html[data-route='scroll'] .chapter#art .panel{position:relative;z-index:2}html[data-route='scroll'] .chapter#art[data-transit='true'] .panel{visibility:hidden}
.stage{isolation:isolate}html[data-route='scroll'] .stage{padding-bottom:150px}.scene-label{bottom:145px!important}
@media(max-width:600px){#poc-bar{left:8px;right:8px;bottom:8px;gap:6px;padding:9px 12px}#poc-bar>span:first-child{flex-basis:100%;font-size:.68rem}#poc-bar button{padding:8px 12px}.poc-film{object-position:62% center}html[data-route='scroll'] .chapter#art .stage{padding:108px 16px 160px}html[data-route='scroll'] .stage{padding-bottom:160px}.opening-stage>.intro{margin-bottom:12px}.panel{max-height:calc(100svh - 280px);overflow:auto}.poc-case-note{font-size:.68rem}}
@media(prefers-reduced-motion:reduce){.poc-film{object-fit:contain}}

/* POC END01 on existing contact section, not a new story panel. */
#contact{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;padding-bottom:170px}#contact .poc-film{z-index:-1}html[data-route='scroll'][data-cinema-mode='motion'] #contact[data-poc-motion='ready']>img.world{opacity:0}#contact .contact-panel{position:relative;z-index:2}#contact .scene-label{z-index:2}

/* Native portrait first pass: original portrait framing, no landscape substitution. */
.poc-film[data-native-portrait='true']{object-position:center center}

/* Optional reviewed2/3s derivative; same journey video, not a5s replacement. */
#rf-cut-controls{position:absolute;top:112px;right:4%;z-index:8;padding:8px 12px;max-width:calc(100% - 32px);border-radius:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}#rf-cut-controls button{font-size:.75rem;min-height:40px}#rf-cut-controls span{font-size:.7rem}#rf-cut-controls input{max-width:180px;accent-color:#c0e8f5}.poc-film[data-short-draft='true']{object-fit:contain!important;object-position:center!important}#rf-cut-controls [hidden]{display:none!important}

#mx-cut-controls{position:absolute;top:112px;right:4%;z-index:8;padding:8px 12px;max-width:calc(100% - 32px);border-radius:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}#mx-cut-controls button{font-size:.75rem;min-height:40px}#mx-cut-controls span{font-size:.7rem}#mx-cut-controls input{max-width:180px;accent-color:#c0e8f5}#mx-cut-controls [hidden]{display:none!important}

.raw-draft-selector{position:absolute;right:4%;top:176px;z-index:9;max-width:90%;background:#171c20;color:white;padding:8px;border:1px solid #ffffff55;border-radius:8px}.raw-preview-control:not([hidden]){position:absolute;top:220px;right:4%;z-index:10;padding:8px;background:#171c20;color:white}.raw-preview-control[hidden]{display:none!important}.poc-film[data-native-portrait='true']{object-fit:contain!important}

/* Owner-corrected original artwork: honest reference, whole artwork on both viewports. */
#art[data-artwork-reference='true'] .world,#art[data-artwork-reference='true'] .world img{object-fit:contain!important;object-position:center!important;background:#080b0d}
#art[data-artwork-reference='true'] .world img{width:100%;height:100%}
#art[data-artwork-reference='true'] .scene-label{top:100px!important;bottom:auto!important;left:16px!important;right:auto!important;width:max-content;max-width:calc(100% - 32px);white-space:normal;overflow-wrap:anywhere;line-height:1.35}
@media(max-width:600px){#art[data-artwork-reference='true'] .scene-label{top:135px!important}}

/* R3: persistent media below real panels/nav, never reparented between partial stages. */
body{isolation:isolate}main{position:relative;z-index:1}
#poc-cinema-plane{position:fixed;inset:0;width:100%;height:100dvh;z-index:0;pointer-events:none;display:none;background:var(--ground);isolation:isolate}
html[data-route='scroll'][data-cinema-mode]:not([data-cinema-mode='reference']) #poc-cinema-plane{display:block}
#poc-cinema-plane>.poc-film,#poc-cinema-plane>.poc-held-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain!important;object-position:center!important;z-index:0;background:var(--ground);pointer-events:none}
#poc-cinema-plane>.poc-held-frame{z-index:1}
#poc-cinema-plane>.poc-held-frame[hidden]{display:none!important}
html[data-route='scroll'][data-cinema-mode]:not([data-cinema-mode='reference']) .opening-stage>.world,
html[data-route='scroll'][data-cinema-mode]:not([data-cinema-mode='reference']) .chapter .stage>.world,
html[data-route='scroll'][data-cinema-mode]:not([data-cinema-mode='reference']) #contact>.world{visibility:hidden!important;opacity:0!important}
html[data-route='scroll'][data-cinema-mode]:not([data-cinema-mode='reference']) .opening-stage,
html[data-route='scroll'][data-cinema-mode]:not([data-cinema-mode='reference']) .chapter .stage{background:transparent!important}
.statement{background:#000}.reading:not(#contact),footer{background:var(--ground)}
html:not([data-route='scroll']) #poc-cinema-plane{display:none!important}

/* R4: honest cold-load/error surface; established motion retains only actual presented pixels. */
#poc-cinema-plane[data-frame='empty'][data-poc-motion='loading']::after,
#poc-cinema-plane[data-frame='empty'][data-poc-motion='error']::after{content:attr(data-message);position:absolute;inset:35% 12%;display:grid;place-items:center;text-align:center;color:var(--ink);font-size:1rem;background:var(--ground);z-index:2}
html:not([data-route='scroll']) .world{visibility:visible!important;opacity:1!important}
html:not([data-route='scroll']) .chapter .panel{display:block!important;visibility:visible!important}
html:not([data-route='scroll']) .opening{height:auto!important}
html:not([data-route='scroll']) .chapter{height:auto!important}
html:not([data-route='scroll']) .chapter .stage{position:relative!important;height:auto!important}
