/* A single full-bleed world. Text and camera share the same scroll clock. */
:root{--bg:#030610}
body{background:#030610}
.world{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0;background:radial-gradient(ellipse at 50% 90%,#101746 0%,#050a1c 45%,#030610 80%)}
.brand-ring{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;mix-blend-mode:screen;will-change:transform,opacity}
#film-canvas{position:absolute;inset:0;width:100%;height:100%}
main,.footer{position:relative;z-index:1}
.cinematic .header{position:fixed;top:0;left:0;height:92px;background:linear-gradient(#030610b0,transparent);border:0;z-index:20}
.cinematic .header .brand img{width:175px}.header nav a{font-size:12px}
.nav-contact,.button{border-radius:40px}.nav-contact{background:#4433f5;border:0;padding:12px 22px}
.film{height:850svh;position:relative}
.film-stage{height:100svh;position:sticky;top:0;overflow:hidden;isolation:isolate}
.film-copy{position:absolute;inset:0;pointer-events:none}
.film-chapter{position:absolute;left:7%;right:7%;top:31%;opacity:0;visibility:hidden;will-change:transform,opacity;pointer-events:none;text-align:center}
.film-chapter.active{visibility:visible;pointer-events:auto}
.film-chapter .eyebrow{font:10px var(--font);letter-spacing:.22em;color:#b5bce1;margin-bottom:28px}
.film-chapter h1,.film-chapter h2{font-size:clamp(60px,7.7vw,120px);font-weight:400;line-height:1.02;letter-spacing:-.06em;margin:0;text-wrap:balance;text-shadow:0 2px 35px #03061085}
.film-chapter>p:not(.eyebrow){font-size:16px;color:#c4c9df;line-height:1.7;max-width:470px;margin:28px auto 0;text-wrap:pretty;text-shadow:0 1px 15px #030610}
.film-chapter[data-chapter="0"]{text-align:left;top:36%;left:9%}.film-chapter[data-chapter="0"]>p:not(.eyebrow){margin-left:0;max-width:480px}
.film-chapter[data-chapter="1"]{top:25%}.film-chapter[data-chapter="2"]{top:25%}
.film-chapter[data-chapter="3"]{top:33%}
.film-chapter[data-chapter="4"]{top:19%}.film-chapter[data-chapter="4"] h2{font-size:clamp(52px,6.1vw,94px)}
.film-chapter[data-chapter="4"]>p:not(.eyebrow){max-width:430px;font-size:14px}
.film-chapter[data-chapter="5"]{text-align:left;left:9%;top:20%}.film-chapter[data-chapter="5"]>p:not(.eyebrow){margin-left:0}
.film-chapter[data-chapter="6"]{top:28%}.film-chapter .button{margin-top:28px}
.film-controls{position:fixed;left:5%;right:5%;bottom:27px;z-index:8;pointer-events:none}
.film-control-top{display:flex;justify-content:space-between;align-items:center}.film-hint{font-size:10px;color:#bac1de;letter-spacing:.10em;text-transform:uppercase}.motion-toggle{pointer-events:auto;border:0;background:#03061055;border-radius:20px;color:#c1c7de;font-size:10px;padding:10px 14px}
.film-track{position:fixed;left:0;top:0;height:2px;width:100%;background:transparent}.film-track span{display:block;height:100%;background:#7e79ff}
.film-chapters{position:fixed;right:22px;top:40%;display:flex;flex-direction:column;gap:8px;pointer-events:auto}
.film-chapters button{position:relative;border:0;background:none;color:transparent;width:24px;height:24px;padding:0;font-size:0}
.film-chapters button:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#8791b177;left:10px;top:10px;transition:transform .3s,background .3s}
.film-chapters button[aria-current]:after{background:#dbe0ff;transform:scale(1.8)}
.film-chapters button:focus-visible{outline:1px solid #9eabec}
.film-disclaimer{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);font-size:8px;color:#8994b7;white-space:nowrap}
.scene-caption{position:absolute;bottom:15%;left:12%;right:12%;text-align:center;font-size:11px;color:#afb9dc;letter-spacing:.08em;pointer-events:none}
.film-stage[data-chapter="0"] .scene-caption,.film-stage[data-chapter="6"] .scene-caption{opacity:0}
.decision-annotations{position:absolute;inset:0;opacity:0;pointer-events:none}
.decision-annotations span{position:absolute;top:70%;width:34%;left:3%;text-align:center;color:#abb5d6;font-size:9px;letter-spacing:.14em}
.decision-annotations span+span{left:63%}.decision-annotations strong{display:block;font-weight:400;letter-spacing:-.02em;font-size:24px;margin-top:10px;color:#e6ebff}
.cinematic .research,.cinematic .company,.cinematic .contact{max-width:none;position:relative;border:0;scroll-margin-top:92px;background:linear-gradient(transparent,#030610b8 20%,#030610ad 85%,transparent)}
.cinematic .research{min-height:115svh;padding-top:17svh;padding-bottom:17svh}
.cinematic .section-heading{max-width:920px}.cinematic .section-heading h2{font-size:clamp(44px,5.7vw,84px);font-weight:400}.research-grid{margin-top:80px}
.cinematic .company{min-height:100svh;padding-top:20svh;padding-bottom:20svh}.company-grid h2{font-size:clamp(40px,4.7vw,68px);font-weight:400}
.cinematic .contact{min-height:90svh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse,#030610ad,transparent)}
.cinematic .contact h2{font-size:clamp(60px,8vw,120px);font-weight:400}.footer{padding-bottom:85px;background:#030610aa}
body.story-complete .film-chapters,body.story-complete .film-disclaimer,body.story-complete .film-hint{visibility:hidden}
.research .section-heading,.research-grid article,.company-grid,.company>.eyebrow,.contact>*{will-change:transform,opacity}
@media(max-width:700px){
 .cinematic .header{height:77px;padding:0 6%}.cinematic .header .brand img{width:145px}.nav-contact{padding:10px 16px}
 .film{height:790svh}.film-chapter{left:7%;right:7%;top:30%}.film-chapter h1,.film-chapter h2{font-size:clamp(43px,11.5vw,72px);line-height:1.07;letter-spacing:-.055em}
 .film-chapter .eyebrow{font-size:8px;margin-bottom:24px}.film-chapter>p:not(.eyebrow){font-size:13px;max-width:300px;margin-top:24px}
 .film-chapter[data-chapter="0"]{top:36%;left:7%;text-align:center}.film-chapter[data-chapter="0"]>p:not(.eyebrow){margin-left:auto}
 .film-chapter[data-chapter="4"]{top:21%}.film-chapter[data-chapter="4"] h2{font-size:40px}.film-chapter[data-chapter="4"]>p:not(.eyebrow){font-size:12px;max-width:280px}
 .film-chapter[data-chapter="5"]{top:22%;text-align:center;left:7%}.film-chapter[data-chapter="5"]>p:not(.eyebrow){margin-left:auto}
 .film-controls{bottom:19px;left:6%;right:6%}.film-hint{font-size:8px;letter-spacing:.04em}.film-disclaimer{bottom:48px;font-size:7px}
 .film-chapters{right:5px;gap:4px;top:43%}.film-chapters button{width:20px;height:20px}.film-chapters button:after{left:8px;top:8px;width:3px;height:3px}
 .scene-caption{bottom:17%;left:8%;right:8%;font-size:9px;line-height:1.7}.decision-annotations strong{font-size:18px}.decision-annotations span{font-size:6px;line-height:1.6;top:71%;width:40%;left:0}.decision-annotations span+span{left:60%}
 .cinematic .research,.cinematic .company{padding-top:100px;padding-bottom:110px;min-height:100svh}.cinematic .section-heading h2{font-size:42px}.research-grid{margin-top:45px}.company-grid h2{font-size:40px}.cinematic .contact{min-height:90svh}.footer{padding-bottom:85px}
}
@media(max-height:620px){.film-chapter .eyebrow{margin-bottom:15px}.film-chapter h1,.film-chapter h2{font-size:clamp(38px,6vw,73px)}.film-chapter>p:not(.eyebrow){margin-top:18px;font-size:12px}.film-chapter[data-chapter="4"] h2{font-size:40px}.film-chapter .button{padding:10px 18px;margin-top:18px}.scene-caption{bottom:13%}}
@media(prefers-reduced-motion:reduce){.film-chapter,.brand-ring{will-change:auto}.research .section-heading,.research-grid article,.company-grid,.contact>*{will-change:auto}}

/* Real-time spatial scene; the 2D version remains available if WebGL is unavailable. */
#three-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .7s}
.spatial-ready #three-canvas{opacity:1}.spatial-ready #film-canvas,.spatial-ready .brand-ring{visibility:hidden}
.spatial-label{position:absolute;left:0;top:0;visibility:hidden;white-space:nowrap;color:#d8e9ff;font-size:9px;letter-spacing:.10em;pointer-events:none;will-change:transform;z-index:2;text-shadow:0 2px 12px #000}
.spatial-label span{display:block;margin:18px 0 0 17px;padding:6px 9px;border-left:1px solid #8ebdff;background:#04091988;backdrop-filter:blur(6px)}
.spatial-label.landmark{margin-left:-110px;width:220px;text-align:center;color:#a0b4e5;font-size:9px}
.spatial-ready .film-chapter[data-chapter="1"],.spatial-ready .film-chapter[data-chapter="2"],.spatial-ready .film-chapter[data-chapter="3"]{top:17%}
.spatial-ready .film-chapter[data-chapter="1"] h2,.spatial-ready .film-chapter[data-chapter="2"] h2,.spatial-ready .film-chapter[data-chapter="3"] h2{font-size:clamp(44px,5.8vw,87px)}
.spatial-ready .film-chapter[data-chapter="1"]>p:not(.eyebrow),.spatial-ready .film-chapter[data-chapter="2"]>p:not(.eyebrow),.spatial-ready .film-chapter[data-chapter="3"]>p:not(.eyebrow){max-width:520px;font-size:14px;margin-top:18px}
.spatial-ready .film-chapter[data-chapter="4"]{top:16%}.spatial-ready .decision-annotations span{top:72%}
@media(max-width:700px){.spatial-ready .film-chapter[data-chapter="1"],.spatial-ready .film-chapter[data-chapter="2"],.spatial-ready .film-chapter[data-chapter="3"]{top:16%}.spatial-ready .film-chapter[data-chapter="1"] h2,.spatial-ready .film-chapter[data-chapter="2"] h2,.spatial-ready .film-chapter[data-chapter="3"] h2{font-size:38px}.spatial-ready .film-chapter[data-chapter]>p:not(.eyebrow){font-size:12px}.spatial-label{font-size:7px;letter-spacing:.03em}.spatial-label.landmark{font-size:7px}.spatial-ready .scene-caption{bottom:14%}}
.spatial-ready .decision-annotations span,.spatial-ready .decision-annotations span+span{left:0;top:0;width:240px;margin-left:-120px}
@media(max-width:700px){.spatial-ready .decision-annotations span,.spatial-ready .decision-annotations span+span{width:150px;margin-left:-75px}.spatial-ready .decision-annotations strong{font-size:16px}}
/* One identified order, contextual depth and an explicit broker ledger. */
.order-book,.broker-ledger{position:absolute;z-index:4;opacity:0;visibility:hidden;background:linear-gradient(135deg,#0b153bea,#050a1ad9);border:1px solid #6e85cf38;border-radius:12px;box-shadow:0 20px 70px #0005;backdrop-filter:blur(16px);pointer-events:none}
.order-book{left:5%;top:43%;width:290px;padding:18px;transform-origin:right center}.book-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.book-heading strong{font-size:14px;font-weight:500}.book-heading span{font:7px var(--mono);letter-spacing:.10em;color:#899cc6}.order-book table{width:100%;border-collapse:collapse;font:10px var(--mono);font-variant-numeric:tabular-nums}.order-book th{font-size:8px;font-weight:400;color:#7489b8;padding:0 0 10px}.order-book td{padding:7px 4px;text-align:right;color:#aabdeb}.order-book td:nth-child(3),.order-book td:nth-child(4){color:#d5dcf1}.order-book td:first-child,.order-book td:last-child{background:linear-gradient(90deg,#586dec33 var(--depth),transparent var(--depth))}.order-book tr.selected{outline:1px solid #9eb6ff;background:#354d873d}.book-status,.ledger-note{font-size:9px;color:#91a6d3;margin-top:14px;line-height:1.5}
.ticket-detail{margin:0 0 0 17px;width:184px;padding:12px;background:#0a1631ed;border:1px solid #8ea8f76b;border-radius:0 0 7px 7px;box-shadow:0 8px 30px #0006;letter-spacing:0}.ticket-detail strong{font-size:13px;font-weight:500}.ticket-detail b{float:right;font-size:10px;color:#a4bfff;font-weight:400}.ticket-detail div{font:10px var(--mono);margin-top:10px}.ticket-detail em{display:block;font-style:normal;color:#adc0e8;margin-top:5px}.ticket-detail small{display:block;font:8px var(--mono);margin-top:12px;color:#8299c9}
.broker-ledger{right:5%;top:48%;width:260px;padding:18px}.ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.ledger-grid>div{font-size:9px;color:#8da2cc}.ledger-grid strong{display:block;color:#dde6ff;font:20px var(--mono);margin-top:6px}.ledger-grid .residual{grid-column:1/-1;border-top:1px solid #52699055;padding-top:12px}.ledger-grid .residual strong{color:#a7b9ff}.broker-ledger[data-mode="hedged"] .residual strong{color:#c6e3ff}
@media(max-width:700px){.order-book{left:5%;top:49%;width:53%;padding:12px}.order-book table{font-size:7px}.order-book td{padding:5px 2px}.order-book th{font-size:6px}.book-heading{gap:5px;margin-bottom:10px}.book-heading strong{font-size:11px}.book-heading span{font-size:5px}.book-status{font-size:7px;margin-top:9px}.ticket-detail{width:140px;padding:9px}.ticket-detail strong{font-size:11px}.ticket-detail div{font-size:8px}.ticket-detail small{font-size:6px}.spatial-label span{font-size:6px}.broker-ledger{right:5%;top:auto;bottom:13%;width:90%;padding:12px}.ledger-grid{grid-template-columns:repeat(5,1fr);gap:8px}.ledger-grid>div{font-size:7px}.ledger-grid strong{font-size:12px}.ledger-grid .residual{grid-column:auto;border:0;padding:0}.ledger-note{font-size:7px;margin-top:8px}.broker-ledger .book-heading{margin-bottom:10px}.film-stage[data-chapter="2"] .scene-caption,.film-stage[data-chapter="3"] .scene-caption,.film-stage[data-chapter="4"] .scene-caption{display:none}.spatial-ready .film-chapter[data-chapter="2"]>p:not(.eyebrow){max-width:310px}.order-book .book-heading span{display:none}}
@media(max-height:650px) and (min-width:701px){.order-book{top:43%;padding:12px;width:250px}.order-book td{padding:4px}.broker-ledger{top:48%;width:225px;padding:12px}.ledger-grid{gap:8px}.ledger-grid strong{font-size:16px}.book-status,.ledger-note{font-size:8px}}
@media(max-height:650px) and (min-width:701px){.order-book{top:50%}.broker-ledger{top:51%;width:200px;right:3%}.ledger-grid strong{font-size:15px}.broker-ledger .book-heading span{font-size:6px}.spatial-ready .film-chapter[data-chapter="1"]>p:not(.eyebrow),.spatial-ready .film-chapter[data-chapter="2"]>p:not(.eyebrow),.spatial-ready .film-chapter[data-chapter="3"]>p:not(.eyebrow){font-size:12px;max-width:440px}}
.film-stage[data-chapter="4"] .decision-annotations span+span{display:none}
#hedge-marker span{font-size:8px;line-height:1.6}
@media(max-width:700px){#hedge-marker span{font-size:7px}.spatial-ready .film-stage[data-chapter="4"] .film-copy h2{font-size:34px}body:has(.film-stage[data-chapter="4"]) #trade-marker .ticket-detail{width:122px;padding:7px}body:has(.film-stage[data-chapter="4"]) #trade-marker .ticket-detail div{margin-top:5px}body:has(.film-stage[data-chapter="4"]) #trade-marker .ticket-detail small{margin-top:6px}}
@media(max-width:700px){.film-stage[data-chapter="4"] .decision-annotations{display:none}body:has(.film-stage[data-chapter="1"]) #trade-marker .ticket-detail{width:125px}body:has(.film-stage[data-chapter="1"]) #trade-marker span{max-width:125px;white-space:normal}}
.order-book,.broker-ledger,.spatial-label span{backdrop-filter:none}
.order-book,.broker-ledger{background:linear-gradient(135deg,#0b153bf7,#050a1af2)}

/* A brief full-stage order-book scene, followed by a focused model and portfolio view. */
.order-book{left:50%;top:47%;width:min(560px,76vw);padding:16px 24px;transform-origin:center;box-shadow:0 15px 80px #030610aa;border-radius:5px}.order-book td{padding:5px 8px}.order-book .book-status{margin-top:10px}.order-book[data-selected="true"] tr.selected{box-shadow:0 0 18px #668aff44;background:#3c5b9955}
.model-explainer,.portfolio-view{position:absolute;z-index:5;opacity:0;visibility:hidden;pointer-events:none}.model-explainer{left:14%;right:14%;bottom:19%;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:center}.model-explainer div{flex:1;background:#040a18d9;border-top:1px solid #748fd988;padding:14px 10px}.model-explainer small{display:block;font:8px var(--mono);color:#8ca3d6;letter-spacing:.1em}.model-explainer strong{display:block;font-weight:400;font-size:18px;margin:10px 0}.model-explainer span{font-size:10px;color:#9baaca}.model-explainer i{font-style:normal;color:#7da4ff}
.portfolio-view{right:7%;left:49%;top:48%;padding:20px 24px;background:#060d21ed;border:1px solid #6378b544;border-radius:6px}.portfolio-title{display:flex;justify-content:space-between;gap:10px;font:8px var(--mono);color:#94a9d1}.portfolio-title strong{font-weight:400}.portfolio-metrics{display:flex;justify-content:space-between;margin-top:22px;gap:12px;font-size:10px;color:#9eaed0}.portfolio-metrics strong{display:block;font:25px var(--mono);color:#e1ebff;margin-top:8px}.portfolio-view svg{width:100%;height:76px;margin-top:12px;overflow:visible}.portfolio-view svg path{fill:none;stroke-width:2}.portfolio-view .chart-grid{stroke:#65749533;stroke-width:.5}#gross-line{stroke:#8e91ac}#net-line{stroke:#769cff}.portfolio-view p{font-size:8px;display:flex;gap:14px;color:#97a7c9}.portfolio-view p span:before{content:"";display:inline-block;width:10px;height:2px;background:#8e91ac;margin-right:5px;vertical-align:middle}.portfolio-view p span+span:before{background:#769cff}.portfolio-note{margin-top:14px;font-size:9px;line-height:1.5;color:#8999bb}.film-chapter[data-chapter="5"]{right:52%;top:25%}.film-chapter[data-chapter="5"] h2{font-size:clamp(40px,4.8vw,72px)}.film-chapter[data-chapter="5"]>p:not(.eyebrow){font-size:14px}
.film-stage[data-chapter="4"] .decision-annotations span+span{display:block}
@media(max-width:700px){.order-book{left:50%;top:47%;width:84%;padding:12px 16px}.order-book table{font-size:9px}.order-book td{padding:5px}.order-book th{font-size:7px}.model-explainer{left:6%;right:6%;bottom:20%;gap:5px}.model-explainer div{padding:12px 3px}.model-explainer strong{font-size:12px}.model-explainer small{font-size:6px}.model-explainer span{font-size:8px}.model-explainer i{font-size:10px}.portfolio-view{left:6%;right:6%;top:51%;padding:14px}.portfolio-metrics strong{font-size:20px}.portfolio-title{font-size:6px}.portfolio-metrics{font-size:8px;margin-top:15px}.portfolio-view svg{height:55px}.portfolio-view p{font-size:6px;gap:7px}.portfolio-note{font-size:8px}.film-chapter[data-chapter="5"]{top:17%;left:7%;right:7%;text-align:center}.film-chapter[data-chapter="5"] h2{font-size:36px}.film-chapter[data-chapter="5"]>p:not(.eyebrow){font-size:12px;margin:18px auto 0}body:has(.film-stage[data-chapter="1"]) #trade-marker{display:none}}
@media(max-height:650px) and (min-width:701px){.order-book{top:49%;width:440px;padding:10px 18px}.order-book td{padding:3px}.model-explainer{bottom:17%}.model-explainer strong{font-size:15px}.portfolio-view{top:45%;padding:12px 18px}.portfolio-metrics{margin-top:12px}.portfolio-view svg{height:55px}.film-chapter[data-chapter="5"]{top:23%}}

.execution-tape{font:8px var(--mono);color:#94b9f5;padding-bottom:12px;white-space:nowrap;overflow:hidden}body:has(.film-stage[data-chapter="3"]) #trade-marker .ticket-detail{display:none}
