/* Portfolio chapters share the existing gold reading plane and stable hover geometry. */
#consulting .product-name{font-size:clamp(36px,3.7vw,54px);line-height:1.25;letter-spacing:-1px}
#consulting .product-positioning{font-size:15px;letter-spacing:.5px}
.consult-source-note{font-size:10px;line-height:1.9;color:#96876f;margin-top:26px}
.consult-source-note a{color:#ceae7f;text-underline-offset:4px}
#nova-base .chapter-grid,#nova-agent .chapter-grid{grid-template-columns:1fr 1.2fr;gap:6%}
#nova-base .product-name,#nova-agent .product-name{font-size:clamp(42px,4.7vw,68px)}
#nova-base .product-positioning,#nova-agent .product-positioning{font-size:18px;margin-bottom:18px}
#nova-base .product-promise,#nova-agent .product-promise{font-size:20px;margin-bottom:16px}
.module-cinema{min-width:0;width:100%;position:relative}
.module-verdict{min-height:100px;padding:18px 0 14px;border-top:1px solid #d1a05e30}
.module-verdict>span{font-size:12px;color:#efc387}
.module-verdict p{font-size:12px;line-height:1.9;color:#af9e86;margin:10px 0 0}
.module-evidence{display:flex;justify-content:space-between;gap:12px;font-size:9px;line-height:1.8;padding-top:10px;border-top:1px solid #ffffff0d;color:#87755d}
.module-evidence>span:first-child{color:#bd9b6a}
.base-query{position:relative;border-bottom:1px solid #d4a46040;padding:25px 0 22px;overflow:hidden}
.base-query>span,.agent-brief>span{display:block;color:#9e8059;font-size:9px;letter-spacing:1px;margin-bottom:10px}
.base-query>b{font-size:18px;font-weight:400;color:#e8d9c1;line-height:1.6}
.query-scan{position:absolute;width:90px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#ffc777,transparent);animation:knowledgeScan 4.2s ease-in-out infinite}
.base-stage{position:relative;display:grid;grid-template-columns:1fr 25px 1.05fr 25px 1.35fr;gap:0;align-items:center;min-height:250px;background:radial-gradient(ellipse at 45% 50%,#b87b2920,transparent 64%)}
.base-sources{display:flex;flex-direction:column;gap:9px}
.base-sources>span{font-size:8px;letter-spacing:1px;color:#8f7653;margin-bottom:3px}
.base-sources>b{font-size:12px;font-weight:400;color:#c6ad8c;border-left:1px solid #cba26566;padding:9px 12px;background:linear-gradient(90deg,#c58b3910,transparent)}
.base-sources small{font-size:8px;color:#79664c;line-height:1.7}
.base-link{height:1px;position:relative;background:#b9914d33;overflow:hidden}
.base-link i{position:absolute;left:-30%;width:30%;height:1px;background:#f5c783;animation:knowledgePacket 2s linear infinite}
.base-link i:nth-child(2){animation-delay:-.7s}.base-link i:nth-child(3){animation-delay:-1.4s}
.base-core{position:relative;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.base-core img{width:58px;height:auto;opacity:.85}.base-core b{font-size:12px;font-weight:400;color:#ebc58e}.base-core>span{font-size:8px;color:#a38b69}
.base-orbit{position:absolute;inset:0;border:1px solid #e8af5b45;border-radius:50%;box-shadow:inset 0 0 35px #d09a2b12;animation:knowledgeOrbit 20s linear infinite}
.base-orbit::before,.base-orbit::after{content:"";position:absolute;border:1px solid #d8a25c25;border-radius:50%;inset:-9px}
.base-orbit::after{inset:8px;border-top-color:#f2bf73;border-bottom-color:#e3af5d55;transform:rotate(30deg)}
.base-results{display:flex;flex-direction:column;gap:7px}
.base-result{position:relative;min-height:59px;padding:10px 10px 10px 14px;border-left:1px solid #b4966638;transition:opacity .45s,border-color .45s,background-color .45s;background:#bd8d4b04}
.base-result>span{font-size:7px;color:#7d684b;display:block;margin-bottom:5px}
.base-result b{font-size:10px;font-weight:400;color:#bca789;display:block}.base-result small{font-size:8px;color:#77634b;display:block;margin-top:4px}
.result-secondary{order:0}.result-primary{order:1}.result-noise{order:2}
.base-cinema[data-step=rerank] .result-primary,.base-cinema[data-step=trace] .result-primary,.base-cinema[data-step=trust] .result-primary{order:-1;background:#e4ab5112;border-color:#f2c27e}
.base-cinema[data-step=rerank] .result-primary b,.base-cinema[data-step=trace] .result-primary b,.base-cinema[data-step=trust] .result-primary b{color:#f2d19d}
.base-cinema[data-step=rerank] .result-noise,.base-cinema[data-step=trace] .result-noise,.base-cinema[data-step=trust] .result-noise{opacity:.25}
.base-cinema[data-step=recall] .base-link i{animation-duration:.7s}
.base-answer{border-top:1px solid #cfa15d25;padding:16px 0;min-height:110px}
.base-answer>span{font-size:8px;letter-spacing:1.1px;color:#c09860}.base-answer p{font-size:12px;line-height:1.8;color:#bdad93;margin:9px 0}.base-answer small{font-size:8px;color:#78674f}
.base-cinema[data-step=trace] .base-answer p,.base-cinema[data-step=trust] .base-answer p{color:#f1cea0}
.base-cinema .defense-surfaces{grid-template-columns:repeat(5,minmax(0,1fr))}
.base-evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.base-evidence-grid>div{min-width:0}
.base-evidence-grid>div>span{display:block;font-size:9px;letter-spacing:.6px;color:#cfaa73;margin-bottom:9px}
.base-evidence-grid b{display:block;font-size:12px;font-weight:400;color:#c9b99f;line-height:1.8;min-height:43px}
.base-evidence-grid small{display:block;font-size:8px;line-height:1.8;color:#a38e70}
.base-trust{border-left:1px solid #bd965633;padding-left:24px}
.base-trust b{font:500 23px/1.8 "SFMono-Regular",Consolas,monospace;color:#cbb391;min-height:43px}
.base-trust-meter{height:2px;background:#b38e4920;margin:5px 0 8px;overflow:hidden}
.base-trust-meter i{display:block;width:0;height:100%;background:linear-gradient(90deg,#c88e42,#ffe0a8);transition:width .8s ease}
.base-cinema[data-step=trace] .base-provenance b,.base-cinema[data-step=trust] .base-provenance b,.base-cinema[data-step=trust] .base-trust b{color:#f3d4a4}
.base-cinema[data-step=trust] .base-trust-meter i{width:92%}
.agent-brief{padding:24px 0 20px;border-bottom:1px solid #c9a36630}.agent-brief>b{display:block;color:#e5d1b0;font-size:20px;font-weight:400}.agent-brief>small{display:block;font-size:10px;color:#938068;margin-top:12px;line-height:1.8}
.agent-studio{display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;padding:22px 0 20px}
.studio-label{padding-bottom:16px;min-height:54px}.studio-label>span{font-size:8px;letter-spacing:1.5px;color:#927247;display:block;margin-bottom:7px}.studio-label b{font-size:13px;color:#cbb08a;font-weight:400}
.agent-low,.agent-high{min-width:0;transition:opacity .35s}
.agent-high{border-left:1px solid #c3a16c25;padding-left:24px}
.agent-flow{position:relative;display:flex;flex-direction:column;align-items:stretch}
.agent-flow>div{padding:10px 10px 10px 30px;min-height:50px;border:1px solid #c99a5d28;position:relative;background:#cda76604;transition:border-color .3s,background-color .3s}
.agent-flow i{position:absolute;left:9px;top:12px;font-size:8px;color:#8f724c;font-style:normal}.agent-flow b{font-size:11px;color:#bfaa8a;font-weight:400;display:block}.agent-flow small{display:block;color:#7e6d55;font-size:8px;margin-top:5px}.agent-flow>span{text-align:center;font-size:12px;line-height:18px;color:#ad8450}
.agent-code-head{display:flex;justify-content:space-between;font-size:8px;color:#9b815c;padding-bottom:12px;border-bottom:1px solid #b6996a25;gap:8px}
.agent-high pre{white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.85 "SFMono-Regular",Consolas,monospace;color:#c7b08b;min-height:217px;margin:12px 0 0}
.agent-code-capabilities{display:flex;gap:11px;font-size:8px;color:#927f62;border-top:1px solid #c89d5b22;padding-top:12px}
.agent-delivery{display:flex;gap:9px;align-items:flex-start;min-height:58px;font-size:11px;line-height:1.8;color:#bca482;padding:9px 0 16px}
.agent-delivery i{width:4px;height:4px;border-radius:50%;background:#e7b56e;flex-shrink:0;margin-top:7px;box-shadow:0 0 12px #e7b56e50}
.agent-cinema[data-step=compose] .agent-high{opacity:.72}
.agent-cinema[data-step=compose] .agent-flow>div{border-color:#dcb47775;background:#e4ad5609;animation:workflowNode 2.8s ease-in-out infinite}
.agent-cinema[data-step=compose] .agent-flow>div:nth-of-type(2){animation-delay:.55s}.agent-cinema[data-step=compose] .agent-flow>div:nth-of-type(3){animation-delay:1.1s}.agent-cinema[data-step=compose] .agent-flow>div:nth-of-type(4){animation-delay:1.65s}
.agent-cinema[data-step=develop] .agent-low{opacity:.72}.agent-cinema[data-step=develop] .agent-high pre{color:#f4d29b}
.agent-cinema[data-step=verify] .agent-delivery{color:#f1d4aa}
.module-cinema[data-running=false] *,body[data-render-owner=false] .module-cinema *{animation-play-state:paused!important}
@keyframes knowledgeScan{from{left:-90px}to{left:100%}}
@keyframes knowledgePacket{to{left:100%}}
@keyframes knowledgeOrbit{to{transform:rotate(360deg)}}
@keyframes workflowNode{50%{border-color:#f5ca8a;background:#efbb651b}}
@media(max-width:1050px) and (min-width:801px){.agent-studio{gap:14px}.agent-high{padding-left:14px}.agent-code-head{font-size:7px}.agent-high pre{font-size:9px}.base-stage{grid-template-columns:.9fr 16px 1fr 16px 1.3fr}.base-core img{width:45px}.base-core{gap:7px}.base-core b{font-size:10px}.base-core>span{font-size:7px}}
@media(max-width:800px){
 #nova-base .chapter-grid,#nova-agent .chapter-grid{grid-template-columns:1fr;gap:34px}
 #consulting .product-name{font-size:clamp(34px,9vw,45px)}
 #nova-base .product-name,#nova-agent .product-name{font-size:clamp(42px,9vw,60px)}
 #nova-base .product-positioning,#nova-agent .product-positioning{font-size:15px}
 #nova-base .product-promise,#nova-agent .product-promise{font-size:17px}
 .base-query>b{font-size:16px}.base-query{padding:22px 0 18px}
 .base-stage{grid-template-columns:.9fr 14px 1fr 14px 1.35fr;min-height:236px}.base-sources>b{font-size:10px;padding:8px}.base-sources small{font-size:7px}
 .base-core{gap:8px}.base-core img{width:42px}.base-core b{font-size:10px}.base-core>span{font-size:6px}
 .base-result{padding:9px 5px 9px 8px}.base-result b{font-size:9px}.base-result>span,.base-result small{font-size:7px}
 .base-answer p{font-size:11px}.base-answer{min-height:116px}
 .base-evidence-grid{gap:14px}.base-trust{padding-left:14px}
 .base-evidence-grid>div>span{font-size:8px;letter-spacing:0}.base-evidence-grid b{font-size:10px}
 .base-trust b{font-size:21px}.base-evidence-grid small{font-size:8px}
 .base-cinema .defense-surfaces{gap:4px}.base-cinema .defense-surfaces li{padding-left:7px}.base-cinema .defense-surfaces b{font-size:9px}
 .agent-brief>b{font-size:18px}.agent-brief>small{font-size:9px}
 .agent-studio{grid-template-columns:.85fr 1.15fr;gap:14px}.agent-high{padding-left:14px}.studio-label b{font-size:11px}.studio-label>span{font-size:7px}.agent-code-head{font-size:6px}.agent-high pre{font-size:9px;line-height:1.85;min-height:235px}
 .agent-flow>div{padding-left:25px}.agent-flow i{left:7px;font-size:7px}.agent-flow b{font-size:10px}.agent-flow small{font-size:7px}.agent-code-capabilities{gap:8px;font-size:7px;flex-wrap:wrap}
 .module-verdict>span{font-size:11px}.module-verdict p{font-size:11px}.module-verdict{min-height:114px}.module-evidence{font-size:8px;gap:8px}.agent-delivery{min-height:70px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.module-cinema *{animation:none!important;transition:none!important}}

@media(min-width:801px){
 #nova-base,#nova-agent{padding-top:115px;padding-bottom:65px}
 .base-stage{min-height:200px}.base-query{padding:18px 0 15px}
 .base-answer{min-height:90px;padding:12px 0}
 .module-cinema .defense-surfaces{margin-top:8px;padding:10px 0}
 .module-verdict{min-height:90px;padding:14px 0 12px}
 .agent-brief{padding:18px 0 15px}.agent-brief>small{margin-top:8px}
 .agent-studio{padding:16px 0}.studio-label{min-height:45px;padding-bottom:12px}
 .agent-flow>div{min-height:44px;padding-top:8px;padding-bottom:8px}.agent-flow>span{line-height:12px;font-size:10px}
 .agent-high pre{min-height:192px;font-size:10px;line-height:1.75}
 .agent-delivery{min-height:48px;padding:5px 0 12px}
}
#agent-dialog{width:min(1180px,94vw)}
.agent-shots{display:grid;gap:22px;margin:8px 0 0}
.agent-shots figure{margin:0}
.agent-shots img{width:100%;height:auto;display:block;border-radius:8px;border:1px solid #ffffff18;background:#f3f6fb}
.agent-shots figcaption{font-size:12px;line-height:1.7;color:#c5af8c;padding:12px 2px 0}
@media(max-width:800px){.agent-shots{gap:16px}.agent-shots figcaption{font-size:11px}}
@media(min-width:801px){
 #nova-agent{padding-bottom:55px}
 .agent-brief{padding:12px 0 10px}
 .agent-high pre{min-height:148px}
 #nova-agent .module-verdict{min-height:84px}
}
