/* Shared reading/portfolio skin. No animation loops, filters or permanent GPU layers.
   Existing layout and laboratory behavior stay in their original stylesheets.
   Every rule is scoped away from the immersive homepage and standalone demos. */
body.site-shell:not(.future-home){--paper:#080e18;--ink:#edf4fb;--muted:#a3b4c6;--accent:#9de5f6;--line:#2b3c4f;--lime:#cbf7a0;--site-panel:#101b2b;--site-panel-raised:#142334;--site-soft:#0c1624;--site-media-inset:18px;color-scheme:dark;background:#080e18;color:var(--ink)}
body.site-shell:not(.future-home)::selection{background:#cbf7a0;color:#15261d}
body.site-shell:not(.future-home) :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--lime);outline-offset:4px}
body.site-shell:not(.future-home) :is(main,.profile-copy,.profile-mosaic,.prose,.section-heading>div){min-width:0}
body.site-shell:not(.future-home) :is(h1,h2,h3,p,dd,figcaption){overflow-wrap:break-word}
body.site-shell:not(.future-home) .site-header{background:#0a111d;border-bottom-color:#263346;backdrop-filter:none}
body.site-shell:not(.future-home) .brand-icon{color:#a3ecf5;border-color:#6596a7;background:linear-gradient(140deg,#25414d,#102230);box-shadow:3px 3px 0 #172a3b;border-radius:6px}
body.site-shell:not(.future-home) .brand-name{color:#edf4fb}
body.site-shell:not(.future-home) .brand-sub{color:#96acbf}
body.site-shell:not(.future-home) .nav a{color:#b6c7d7}
body.site-shell:not(.future-home) .nav a:hover{color:#ecfaff}
body.site-shell:not(.future-home) .nav .nav-lab{border-color:#3e5265;background:#142131}
body.site-shell:not(.future-home) .menu-toggle{color:#edf4fb;background:#142131;border-color:#3e5265}
body.site-shell:not(.future-home) .site-footer{background:#0a111c;color:#98afc3;border-color:#263346}
body.site-shell:not(.future-home) .site-footer a:hover{color:#c8f0f9}
body.site-shell:not(.future-home) .skip{background:var(--lime);color:#17281e}
body.site-shell:not(.future-home) .button{background:var(--lime);border-color:#d2f6b2;color:#17271e;box-shadow:none}
body.site-shell:not(.future-home) .button:hover{background:#dcffb8;color:#17271e;transform:none}
body.site-shell:not(.future-home) .button.secondary{background:#142334;border-color:#3d566d;color:#d9e8f5}
body.site-shell:not(.future-home) .button.secondary:hover{background:#1c3448}

/* Profile, ability summary and portfolio cards share the same panel hierarchy. */
body.site-shell:not(.future-home) .profile-intro{padding-top:56px}
body.site-shell:not(.future-home) .profile-copy>p{color:#aebed0}
body.site-shell:not(.future-home) .author-profile .profile-avatar{outline-color:#648697;border-color:#10202e;box-shadow:none}
body.site-shell:not(.future-home) .profile-directions span{color:#b5e8f3;background:#142738;border-color:#34576a}
body.site-shell:not(.future-home) .profile-proof{padding:23px 0 0;border-top:1px solid var(--line)}
body.site-shell:not(.future-home) .profile-proof strong{color:var(--lime)}
body.site-shell:not(.future-home) .profile-mosaic{transform:none;gap:14px}
body.site-shell:not(.future-home) .profile-mosaic>a{padding:var(--site-media-inset);background:var(--site-panel);border-color:#304657;border-radius:11px;box-shadow:none}
body.site-shell:not(.future-home) .profile-mosaic img{border-radius:6px;background:#091420}
body.site-shell:not(.future-home) .profile-mosaic a>span{color:#bad0df;background:transparent;border:0;padding:11px 0 0;line-height:1.7}
body.site-shell:not(.future-home) .profile-mosaic>p{color:#8da6bb}
body.site-shell:not(.future-home) .capability-grid{background:var(--site-panel);border-color:#304355;border-radius:11px}
body.site-shell:not(.future-home) .capability-grid>div{padding:27px 23px}
body.site-shell:not(.future-home) .capability-icon{color:var(--lime);background:#1b302e;border-color:#426354}
body.site-shell:not(.future-home) .capability-grid h3{color:#e6f2fa}
body.site-shell:not(.future-home) .capability-grid>div>span:last-child{color:#9bc4d1}
body.site-shell:not(.future-home) .project-filters button{background:#101b29;border-color:#344b60;color:#aebed0}
body.site-shell:not(.future-home) .project-filters button:hover{background:#192d3e;border-color:#5c8398}
body.site-shell:not(.future-home) .project-filters button[aria-pressed=true]{color:#17291f;background:var(--lime);border-color:var(--lime)}
body.site-shell:not(.future-home) .showcase-card{background:var(--site-panel);border-color:#2f4356;border-radius:12px;box-shadow:none}
body.site-shell:not(.future-home) .showcase-image{margin:var(--site-media-inset) var(--site-media-inset) 0;padding:14px;background:#0a1420;border:1px solid #294254;border-radius:8px;aspect-ratio:1.6;box-sizing:border-box}
body.site-shell:not(.future-home) .showcase-image img{object-fit:contain;border-radius:5px;transition:none}
body.site-shell:not(.future-home) .showcase-image:hover img{transform:none}
body.site-shell:not(.future-home) .image-expand{background:#11283a;color:#daf2f8;border-color:#4f7188;box-shadow:none;bottom:11px;right:11px}
body.site-shell:not(.future-home) .showcase-body{padding:23px 26px 21px}
body.site-shell:not(.future-home) .responsibility{background:#193344;color:#b6dce9}
body.site-shell:not(.future-home) .showcase-subtitle{color:#a9bdd0}
body.site-shell:not(.future-home) .project-facts dt{color:#8eabc0}
body.site-shell:not(.future-home) .project-facts dd{color:#bfd0de}
body.site-shell:not(.future-home) .project-facts strong{color:#e0f5ee}
body.site-shell:not(.future-home) .project-facts small{color:#93aabd}
body.site-shell:not(.future-home) .project-tech span{color:#aecfdc;background:#112333;border-color:#324b5f}
body.site-shell:not(.future-home) :is(.case-direct-link,.project-demo-link){background:#193443;color:#bcecf3;border:1px solid #335769}
body.site-shell:not(.future-home) :is(.case-direct-link,.project-demo-link):hover{background:#234454;color:#e4faff}
body.site-shell:not(.future-home) .physical-ai-portfolio-link{background:#102231;border-color:#335265}
body.site-shell:not(.future-home) .engineering-strip{background:transparent}
body.site-shell:not(.future-home) .engineering-strip h3{color:#c1ecf5}

/* Dialog media gets an actual frame on phones too; no backdrop blur cost. */
body.site-shell:not(.future-home) .image-dialog{background:#0e1b29;color:var(--ink);border-color:#608497;box-shadow:0 14px 50px #0005}
body.site-shell:not(.future-home) .image-dialog::backdrop{background:#040b14e8;backdrop-filter:none}
body.site-shell:not(.future-home) .image-dialog-body{background:#07111d;padding:18px}
body.site-shell:not(.future-home) .gallery-full-image{border-radius:6px}
body.site-shell:not(.future-home) .gallery-close{color:#18291f;background:var(--lime)}
body.site-shell:not(.future-home) .image-dialog-header{background:#112334}
body.site-shell:not(.future-home) .image-dialog-footer{color:#a9becf}

/* Long-form reading keeps quiet surfaces and strong text contrast. */
body.site-shell:not(.future-home) .breadcrumb{flex-wrap:wrap;gap:7px 10px}
body.site-shell:not(.future-home) .breadcrumb a:hover{color:var(--accent)}
body.site-shell:not(.future-home) .author-line .author-avatar{border-color:#658498}
body.site-shell:not(.future-home) .article-cover{padding:20px;background:var(--site-panel);border-color:#324b60;border-radius:11px}
body.site-shell:not(.future-home) .article-cover img{border-radius:6px;background:#0a1520}
body.site-shell:not(.future-home) .toc{border-color:#345066}
body.site-shell:not(.future-home) .toc a{color:#a6bbce}
body.site-shell:not(.future-home) .toc a:hover{color:#cdf1fa}
body.site-shell:not(.future-home) .prose :is(p,ul,ol,dd){color:#b8c9d9}
body.site-shell:not(.future-home) .prose :is(h2,h3,strong){color:#ebf5fc}
body.site-shell:not(.future-home) .prose blockquote{background:#132b3a;border-left-color:#77bacd;color:#c8e0eb}
body.site-shell:not(.future-home) .prose pre{background:#06131f;border:1px solid #2d455b;color:#bfdfdb;border-radius:8px;max-width:100%}
body.site-shell:not(.future-home) .prose :not(pre)>code{background:#173044;color:#c1e6ef}
body.site-shell:not(.future-home) .prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;color:#bfd0de}
body.site-shell:not(.future-home) .prose :is(th,td){border:1px solid var(--line);padding:10px 12px}
body.site-shell:not(.future-home) .prose th{background:#142b3d;color:#e5f3fb;text-align:left}
body.site-shell:not(.future-home) .case-overview>div{background:#112637;border-color:#304b5d}
body.site-shell:not(.future-home) .case-figure>a{padding:18px;background:var(--site-panel);border-color:#314b5e;border-radius:9px}
body.site-shell:not(.future-home) .case-figure img{border-radius:5px}
body.site-shell:not(.future-home) .case-callout{background:#132c3b;border-left-color:#86c8cb}
body.site-shell:not(.future-home) .case-breakthroughs>div{background:var(--site-panel);border-color:#2b4358;border-radius:8px}
body.site-shell:not(.future-home) .case-breakthroughs dd{color:#aec2d4}
body.site-shell:not(.future-home) .article-end{background:#111f2e;border-color:#304759;border-radius:8px}
body.site-shell:not(.future-home) .article-end .button{color:#17271e}
body.site-shell:not(.future-home) :is(.article-image,.spotlight-image){padding:var(--site-media-inset);background:var(--site-panel);border-color:#304657;border-radius:9px}
body.site-shell:not(.future-home) :is(.article-image,.spotlight-image) img{border-radius:5px;transition:none}
body.site-shell:not(.future-home) .article-card:hover .article-image img{transform:none}

/* Laboratory overrides are color-only: preserve its input, trace and responsive grids. */
body.site-shell:not(.future-home) #lab-app{--lab-paper:#080e18;--lab-ink:#edf4fb;--lab-muted:#a3b8cb;--lab-accent:#9de5f6;--lab-line:#30475b}
body.site-shell:not(.future-home) #lab-app :focus-visible{outline-color:var(--lime)}
body.site-shell:not(.future-home) #lab-app .lab-switch a{background:#111e2e;color:#b7cddd}
body.site-shell:not(.future-home) #lab-app .lab-switch a[aria-current]{background:#203c39;border-color:#5c8070;color:var(--lime)}
body.site-shell:not(.future-home) #lab-app .lab-card{background:var(--site-panel);border-color:#30465a}
body.site-shell:not(.future-home) #lab-app .lab-step{background:#1b3541;color:#b6ecf2}
body.site-shell:not(.future-home) #lab-app :is(input[type=text],select){background:#0a1725;color:#e5f1fa;border-color:#476075}
body.site-shell:not(.future-home) #lab-app option{background:#0a1725;color:#e5f1fa}
body.site-shell:not(.future-home) #lab-app input::placeholder{color:#809aad}
body.site-shell:not(.future-home) #lab-app .lab-button{background:var(--lime);border-color:var(--lime);color:#17291e}
body.site-shell:not(.future-home) #lab-app .lab-button:hover:not(:disabled){background:#ddffbd;border-color:#ddffbd}
body.site-shell:not(.future-home) #lab-app :is(.lab-button-secondary,.lab-button-plain){background:#172c3d;border-color:#3c5a6d;color:#c3e7f1}
body.site-shell:not(.future-home) #lab-app :is(.lab-button-secondary,.lab-button-plain):hover:not(:disabled){background:#234253;border-color:#62879a;color:#e3f5fb}
body.site-shell:not(.future-home) #lab-app .lab-examples button{background:#162b3c;border-color:#35536a;color:#b4dce9}
body.site-shell:not(.future-home) #lab-app .lab-examples button:hover{background:#244558}
body.site-shell:not(.future-home) #lab-app :is(.lab-summary,.lab-agent-status){background:#122f40;border:1px solid #355367;color:#e5f2fa}
body.site-shell:not(.future-home) #lab-app .lab-summary>div{color:#b0c9d7}
body.site-shell:not(.future-home) #lab-app .lab-summary p{border-color:#38596d;color:#daebf4}
body.site-shell:not(.future-home) #lab-app :is(.lab-summary p span,.lab-agent-status>span){color:#9dbbcb}
body.site-shell:not(.future-home) #lab-app .lab-stat-number{color:var(--lime)}
body.site-shell:not(.future-home) #lab-app .lab-stat-number small{color:#a9c7d4}
body.site-shell:not(.future-home) #lab-app .lab-source{background:#0d1c2a;border-color:#30485d}
body.site-shell:not(.future-home) #lab-app .lab-source-selected{background:#112c37;border-color:#436777}
body.site-shell:not(.future-home) #lab-app :is(.lab-score,.lab-citation){background:#1a3b47;color:#b5eaf2}
body.site-shell:not(.future-home) #lab-app .lab-citation:hover{background:#2b5160}
body.site-shell:not(.future-home) #lab-app .lab-disposition{color:#9fb6c9}
body.site-shell:not(.future-home) #lab-app .lab-good{color:#b5e6ad}
body.site-shell:not(.future-home) #lab-app .lab-warn{color:#eed096}
body.site-shell:not(.future-home) #lab-app .lab-bad{color:#f1aeb2}
body.site-shell:not(.future-home) #lab-app .lab-status-dot{background:#8fa9b8}
body.site-shell:not(.future-home) #lab-app .lab-tone-good{background:#b5e6ad}
body.site-shell:not(.future-home) #lab-app .lab-tone-warn{background:#eed096}
body.site-shell:not(.future-home) #lab-app .lab-tone-bad{background:#f1aeb2}
body.site-shell:not(.future-home) #lab-app .lab-cited{outline-color:#b6db8f}
body.site-shell:not(.future-home) #lab-app .lab-answer-card{background:#142d3d;border-color:#365970}
body.site-shell:not(.future-home) #lab-app .lab-empty{background:#0c1927;border-color:#3c5265}
body.site-shell:not(.future-home) #lab-app code{background:#173045;color:#c3e1ee}
body.site-shell:not(.future-home) #lab-app .lab-trace-heading{background:#162c3f}
body.site-shell:not(.future-home) #lab-app .lab-trace-index{border-color:#527186}
body.site-shell:not(.future-home) #lab-app pre{background:#0a1825;border-color:#294357;color:#bad4e3}
body.site-shell:not(.future-home) #lab-app .lab-state-json{background:#0b2430;color:#c1e4d4}
body.site-shell:not(.future-home) #lab-app .lab-verdict{background:#1b3041;color:#b9d0df}
body.site-shell:not(.future-home) #lab-app .lab-verdict-good{background:#1c382f;color:#b9e9b4}
body.site-shell:not(.future-home) #lab-app .lab-verdict-warn{background:#382f20;color:#efd29b}
body.site-shell:not(.future-home) #lab-app .lab-verdict-bad{background:#3b252e;color:#f1b5bb}
body.site-shell:not(.future-home) #lab-app .lab-empty-mark{color:#567889}

@media(max-width:760px){
  body.site-shell:not(.future-home){--site-media-inset:14px}
  body.site-shell:not(.future-home) .header-inner{gap:12px}
  body.site-shell:not(.future-home) .nav{background:#0d1927;box-shadow:0 8px 18px #0003}
  body.site-shell:not(.future-home) .profile-intro{padding-top:31px}
  body.site-shell:not(.future-home) .capability-grid>div{padding:21px 18px}
  body.site-shell:not(.future-home) .showcase-body{padding:21px 19px 19px}
  body.site-shell:not(.future-home) .showcase-image{padding:14px}
  body.site-shell:not(.future-home) .profile-mosaic{gap:12px}
  body.site-shell:not(.future-home) .profile-mosaic a>span{font-size:10px}
  body.site-shell:not(.future-home) :is(.article-cover,.case-figure>a){padding:14px}
  body.site-shell:not(.future-home) .toc{background:#0e1c2a}
  body.site-shell:not(.future-home) .image-dialog-body{padding:14px}
  body.site-shell:not(.future-home) .gallery-full-image{max-height:calc(100dvh - 218px)}
}
@media(max-width:380px){
  body.site-shell:not(.future-home) .author-profile{gap:12px}
  body.site-shell:not(.future-home) .author-profile .profile-avatar{width:60px;height:60px;flex-basis:60px}
  body.site-shell:not(.future-home) .author-profile .eyebrow{font-size:7px;letter-spacing:0}
  body.site-shell:not(.future-home) .profile-copy h1{font-size:28px;letter-spacing:-1px}
  body.site-shell:not(.future-home) .showcase-body{padding:20px 17px 18px}
  body.site-shell:not(.future-home) .showcase-card h3{font-size:21px}
  body.site-shell:not(.future-home) .project-facts>div{grid-template-columns:1fr;gap:5px}
  body.site-shell:not(.future-home) .profile-mosaic{grid-template-columns:1fr}
  body.site-shell:not(.future-home) .profile-mosaic .mosaic-main{grid-column:auto}
  body.site-shell:not(.future-home) .prose pre{padding:15px}
}
/* Lift only navigable outer cards. Reading and form panels stay anchored;
   their highlight is instantaneous, including when reduced motion is enabled. */
body.site-shell:not(.future-home) :is(.showcase-card,.profile-mosaic>a,.article-cover,.case-figure>a,.physical-ai-portfolio-link):focus-within{border-color:#83c5d8;box-shadow:0 0 0 1px #83c5d855}
body.site-shell:not(.future-home) #lab-app :is(.lab-card,.lab-source):focus-within{border-color:#83c5d8}
@media (hover:hover) and (pointer:fine){
 body.site-shell:not(.future-home) :is(.showcase-card,.profile-mosaic>a,.article-cover,.case-figure>a,.physical-ai-portfolio-link):hover{border-color:#83c5d8;box-shadow:0 8px 18px #02081255}
 body.site-shell:not(.future-home) :is(.capability-grid>div,.case-overview>div,.case-breakthroughs>div):hover{background-color:#193043}
 body.site-shell:not(.future-home) #lab-app :is(.lab-card,.lab-source):hover{border-color:#83c5d8}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body.site-shell:not(.future-home) :is(.showcase-card,.profile-mosaic>a,.article-cover,.case-figure>a,.physical-ai-portfolio-link){transition:transform .18s ease-out}
 body.site-shell:not(.future-home) :is(.showcase-card,.profile-mosaic>a,.article-cover,.case-figure>a,.physical-ai-portfolio-link):hover{transform:translateY(-3px)}
}
@media print{
  body.site-shell:not(.future-home){--paper:#fff;--ink:#17242b;--muted:#48555f;--accent:#244f65;--line:#bfcad0;color-scheme:light;background:#fff;color:#17242b}
  body.site-shell:not(.future-home) :is(.profile-mosaic>a,.capability-grid,.showcase-card,.showcase-image,.project-tech span,.responsibility,.physical-ai-portfolio-link,.case-overview>div,.case-breakthroughs>div,.case-callout,.article-cover,.case-figure>a,.article-end){background:#fff;color:#17242b;border-color:#bfcad0;box-shadow:none}
  body.site-shell:not(.future-home) :is(p,dd,dt,small,span,strong,h1,h2,h3,a){color:#17242b!important}
}
