
/* Terminal Accumulation — modular research chapters: Menger, Pearson, Soros and Nash. */
.research-addition{background:#050505;color:#f4f4f1}
.research-addition .wrap{max-width:1220px}
.research-person{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(26px,7vw,110px);align-items:center}
.research-person.reverse{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}
.research-person .lead{max-width:620px}
.research-portrait{position:relative;min-width:0;margin:0;aspect-ratio:4/5;overflow:hidden;background:#050505}
.research-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 25%;filter:grayscale(1) contrast(1.32) brightness(.8);mix-blend-mode:luminosity;mask-image:linear-gradient(to bottom,black 0%,black 57%,transparent 96%);-webkit-mask-image:linear-gradient(to bottom,black 0%,black 57%,transparent 96%);transition:transform .8s ease}
.research-portrait:hover img{transform:scale(1.035)}
.research-portrait figcaption{position:absolute;bottom:6px;left:0;right:0;font:500 10px/1.6 'IBM Plex Mono',monospace;letter-spacing:.07em}
.research-portrait figcaption small{display:block;font-size:9px;color:#93938f}
.research-addition .fine a,.research-portrait a{color:inherit;text-underline-offset:3px}
.research-rule{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #454545;padding:16px 0 22px;margin-top:clamp(42px,6vw,85px);font:500 10px/1.5 'IBM Plex Mono',monospace;letter-spacing:.12em;color:#aaa}
.research-rule span:last-child{text-align:right}
.research-roles{display:grid;grid-template-columns:repeat(3,1fr);background:#333;gap:1px;border:1px solid #333}
.research-roles article{background:#080808;padding:clamp(20px,2.8vw,36px)}
.research-roles .tag,.research-tag{font:500 10px/1.5 'IBM Plex Mono',monospace;color:#999;letter-spacing:.11em}
.research-roles h3{font:700 clamp(28px,3.15vw,47px)/.96 'Barlow Condensed',sans-serif;margin:32px 0 16px}
.research-roles p,.research-strip p,.research-grid-detail p{font:400 clamp(14px,1.2vw,17px)/1.65 Inter,Arial,sans-serif;color:#b8b8b3}
.research-strip{border:1px solid #454545;padding:clamp(24px,3.6vw,46px);margin-top:24px;background:#090909}
.research-strip .lead{max-width:960px;margin:15px 0 22px;font-size:clamp(20px,2.25vw,31px)}
.research-formula{display:flex;flex-direction:column;align-items:center;width:max-content;max-width:100%;margin:24px 0;font:500 clamp(15px,1.7vw,23px)/1.55 'IBM Plex Mono',monospace}
.research-formula span:first-child{border-bottom:1px solid #fff;padding-bottom:5px}
.research-formula span:last-child{padding-top:5px}
.research-card{margin-top:clamp(32px,5vw,75px);background:#090909;border:1px solid #434343;padding:clamp(20px,3vw,44px)}
.research-card-top{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:20px}
.research-card-top h3{font:700 clamp(29px,4vw,53px)/.98 'Barlow Condensed',sans-serif;margin:12px 0 0}
.research-r{font:500 clamp(30px,5vw,70px)/1 'IBM Plex Mono',monospace;white-space:nowrap;letter-spacing:-.08em}
.research-scatter-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(215px,.58fr);gap:clamp(12px,3vw,46px);align-items:center}
.research-scatter{width:100%;height:auto;display:block;overflow:visible}
.research-controls{display:flex;gap:6px;flex-wrap:wrap}
.research-controls.vertical{flex-direction:column;margin:16px 0}
.research-controls button{padding:10px 12px;min-height:39px;background:#111;color:#aaa;border:1px solid #484848;cursor:pointer;font:500 10px/1.3 'IBM Plex Mono',monospace;letter-spacing:.05em}
.research-controls button[aria-pressed=true]{background:#ebebe8;color:#090909;border-color:#ebebe8}
.research-controls button:focus-visible,.research-matrix button:focus-visible{outline:2px solid white;outline-offset:2px}
.research-scatter-side p:not(.fine){font:400 17px/1.52 Inter,Arial,sans-serif}
.research-test{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);gap:24px 40px;margin-top:26px;padding:clamp(20px,3vw,45px);border:1px solid #343434}
.research-test h3{font:700 clamp(34px,4.8vw,64px)/.98 'Barlow Condensed',sans-serif;margin:18px 0 16px}
.research-test-grid{display:grid;grid-template-columns:1fr 1fr;background:#333;border:1px solid #333;gap:1px}
.research-test-grid>div{background:#080808;padding:18px}
.research-test-grid b{display:block;font:700 27px 'Barlow Condensed',sans-serif}
.research-test-grid strong{display:block;margin:7px 0;font:600 10px 'IBM Plex Mono',monospace}
.research-test-grid span{font:400 12px/1.55 Inter,Arial,sans-serif;color:#aaa}
.research-test>.fine{grid-column:1/-1}
.research-loop-steps{display:grid;grid-template-columns:repeat(4,1fr);background:#3b3b3b;gap:1px;border:1px solid #3b3b3b;margin:25px 0}
.research-loop-steps>div{position:relative;min-height:150px;background:#090909;padding:23px 18px}
.research-loop-steps>div:not(:last-child):after{content:"→";position:absolute;right:-8px;top:45%;color:white;z-index:1;background:#090909}
.research-loop-steps span{display:block;font:500 10px 'IBM Plex Mono',monospace;color:#888;margin-bottom:22px}
.research-loop-steps strong{font:500 clamp(15px,1.4vw,20px)/1.4 Inter,Arial,sans-serif}
.research-loop-note{text-align:center;font:600 12px/1.6 'IBM Plex Mono',monospace;letter-spacing:.12em}
.research-game-layout{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);gap:15px;margin-top:clamp(38px,5vw,75px)}
.research-game-layout>.research-card{margin:0}
.research-matrix{display:grid;grid-template-columns:100px 1fr 1fr;gap:1px;background:#454545;border:1px solid #454545;margin:24px 0}
.research-matrix>*{background:#090909;min-width:0}
.research-matrix .axis{display:grid;place-items:center;padding:8px;text-align:center;font:500 10px/1.5 'IBM Plex Mono',monospace;color:#999}
.research-matrix button{border:0;min-height:142px;color:#eee;padding:20px 14px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer}
.research-matrix button strong{font:700 clamp(17px,2.1vw,28px)/1 'Barlow Condensed',sans-serif}
.research-matrix button small{font:400 11px/1.5 Inter,Arial,sans-serif;color:#999}
.research-matrix button[aria-pressed=true]{background:#e8e8e5;color:#080808}
.research-matrix button[aria-pressed=true] small{color:#444}
.research-game-detail{display:flex;flex-direction:column;justify-content:center}
.research-game-detail h3{font:700 clamp(34px,4.5vw,65px)/.95 'Barlow Condensed',sans-serif;margin:24px 0}
.research-game-detail p{font:400 clamp(15px,1.25vw,18px)/1.6 Inter,Arial,sans-serif;color:#bcbcb8}
.research-game-detail aside{border-top:1px solid #4a4a4a;margin-top:27px;padding-top:22px}
.research-game-detail aside strong{font:600 11px 'IBM Plex Mono',monospace}
.research-last-source{margin-top:24px}
@media(max-width:850px){
 .research-person,.research-person.reverse,.research-scatter-layout,.research-test,.research-game-layout{grid-template-columns:1fr}
 .research-portrait{max-width:500px;width:100%;justify-self:center}
 .research-roles{grid-template-columns:1fr}
 .research-controls.vertical{flex-direction:row}
 .research-loop-steps{grid-template-columns:1fr 1fr}
 .research-loop-steps>div:nth-child(2):after{display:none}
}
@media(max-width:560px){
 .research-addition{padding-block:80px}
 .research-rule{font-size:8px}
 .research-rule span:last-child{max-width:50%}
 .research-card-top{flex-wrap:wrap}
 .research-loop-steps{grid-template-columns:1fr}
 .research-loop-steps>div{min-height:105px}
 .research-loop-steps>div:after{display:none}
 .research-test-grid{grid-template-columns:1fr 1fr}
 .research-matrix{grid-template-columns:68px 1fr 1fr}
 .research-matrix .axis{font-size:8px}
 .research-matrix button{padding:14px 8px;min-height:116px}
 .research-matrix button small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.research-portrait img{transition:none}}

/* Cinematic figure interludes — source artworks are monochrome, edge-faded to page black. */
.research-addition .research-portrait{background:#050505;border:0;isolation:isolate;align-self:center;overflow:hidden;max-height:min(630px,71svh)}
.research-addition .research-portrait img{display:block;width:100%;height:100%;object-fit:contain;object-position:center 50%;mix-blend-mode:lighten;filter:grayscale(1) contrast(1.08);-webkit-mask-image:radial-gradient(ellipse 78% 80% at 50% 44%,#000 49%,transparent 97%);mask-image:radial-gradient(ellipse 78% 80% at 50% 44%,#000 49%,transparent 97%);transform:none!important}
.research-addition .research-portrait figcaption{bottom:8px;left:6%;right:6%;z-index:2;opacity:.78;letter-spacing:.14em}
.research-addition .research-portrait figcaption small{color:#858581;letter-spacing:.025em}
.research-addition .research-portrait .figure-art{display:block;position:absolute;inset:0;width:100%;height:100%}
#game-theory .research-person{margin-bottom:clamp(22px,4vw,60px)}
#game-theory .research-portrait{justify-self:center;max-width:min(100%,530px)}
@media(prefers-reduced-motion:no-preference){
 .research-portrait.portrait-ready .figure-art{opacity:0;will-change:opacity,clip-path,filter}
 .research-portrait.portrait-playing .figure-art{opacity:1}
 #menger .portrait-playing .figure-art{animation:research-engrave 1.75s steps(80,end) both}
 #menger .portrait-playing:after{content:'';pointer-events:none;position:absolute;z-index:2;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent 6%,rgba(255,255,255,.40) 48%,transparent 94%);animation:research-scan 1.75s linear both}
 #reflexivity .portrait-playing .figure-art{animation:research-exposure 1.95s cubic-bezier(.2,.72,.25,1) both}
 #game-theory .portrait-playing .figure-art{animation:research-mathematician 1.45s cubic-bezier(.17,.6,.2,1) both}
 @keyframes research-engrave{0%{clip-path:inset(0 0 100% 0);opacity:0}4%{opacity:1}100%{clip-path:inset(0 0 0 0);opacity:1}}
 @keyframes research-scan{0%{top:0;opacity:0}6%,92%{opacity:.6}100%{top:100%;opacity:0}}
 @keyframes research-exposure{0%{opacity:0;filter:brightness(.25) blur(5px);clip-path:inset(0 0 100% 0)}24%{opacity:.45}70%{filter:brightness(.82) blur(1px)}100%{opacity:1;filter:brightness(1) blur(0);clip-path:inset(0 0 0 0)}}
 @keyframes research-mathematician{0%{clip-path:inset(45% 50% 45% 50%);opacity:0;filter:blur(3px)}45%{opacity:.82}100%{clip-path:inset(0 0 0 0);opacity:1;filter:blur(0)}}
}
/* Clean, editorial 2x2 matrix: thin rules and timed stagger, no card clutter. */
#game-exhibit{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:clamp(25px,4vw,65px);align-items:center}
#game-exhibit>.research-card{border:0;background:transparent;padding:0}
#game-exhibit .research-matrix{background:transparent;border:0;gap:0;grid-template-columns:clamp(78px,8vw,115px) repeat(2,minmax(0,1fr));margin:30px 0 22px}
#game-exhibit .research-matrix>*{min-width:0;background:transparent;border:0;border-top:1px solid #383835}
#game-exhibit .research-matrix .axis{color:#999;font:500 10px/1.4 'IBM Plex Mono',monospace;letter-spacing:.03em;padding:14px 8px}
#game-exhibit .research-matrix .axis:nth-child(3n+2){border-left:1px solid #383835}
#game-exhibit .research-matrix .axis:nth-child(3n){border-left:1px solid #383835}
#game-exhibit .research-matrix button{border-left:1px solid #383835;padding:clamp(14px,2vw,29px);min-height:145px;background:transparent;transition:background .3s ease,color .3s ease,box-shadow .3s ease}
#game-exhibit .research-matrix button strong{font-size:clamp(21px,2.3vw,33px)}
#game-exhibit .research-matrix button small{color:#8e8e8b}
#game-exhibit .research-matrix button[aria-pressed=true]{background:#e8e8e5;color:#050505}
#game-exhibit .research-matrix button[aria-pressed=true] small{color:#434341}
#game-exhibit .research-matrix button:hover:not([aria-pressed=true]){background:#1a1a19}
#game-exhibit .research-matrix .axis:nth-last-child(-n+3),#game-exhibit .research-matrix button:nth-last-child(-n+3){border-bottom:1px solid #383835}
#game-exhibit .research-game-detail{padding:30px 0 30px clamp(0px,2vw,28px);border-left:1px solid #383835;background:transparent}
#game-exhibit .research-game-detail h3{margin:24px 0 20px}
@media(prefers-reduced-motion:no-preference){
 #game-exhibit.matrix-ready .research-matrix{opacity:0}
 #game-exhibit.matrix-ready.matrix-playing .research-matrix{animation:matrix-assemble .55s ease-out both}
 #game-exhibit.matrix-ready .research-matrix>button{opacity:0}
 #game-exhibit.matrix-playing .research-matrix>button{animation:matrix-cell-reveal .46s ease-out both}
 #game-exhibit.matrix-playing .research-matrix>button:nth-of-type(1){animation-delay:.45s}
 #game-exhibit.matrix-playing .research-matrix>button:nth-of-type(2){animation-delay:.60s}
 #game-exhibit.matrix-playing .research-matrix>button:nth-of-type(3){animation-delay:.75s}
 #game-exhibit.matrix-playing .research-matrix>button:nth-of-type(4){animation-delay:.90s}
 #game-exhibit.matrix-ready .research-game-detail>*{opacity:0}
 #game-exhibit.matrix-playing .research-game-detail>*{animation:matrix-cell-reveal .7s ease-out 1.12s both}
 @keyframes matrix-assemble{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
 @keyframes matrix-cell-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
}
@media(max-width:850px){
 #game-exhibit{grid-template-columns:1fr}
 #game-exhibit .research-game-detail{padding-left:0;border-left:0;border-top:1px solid #383835;padding-top:20px}
}
@media(max-width:560px){
 #game-exhibit .research-matrix{grid-template-columns:67px repeat(2,minmax(0,1fr))}
 #game-exhibit .research-matrix button{min-height:124px;padding:12px 9px}
 #game-exhibit .research-matrix button strong{font-size:20px}
 #game-exhibit .research-matrix button small{font-size:10px}
 #game-exhibit .research-matrix .axis{font-size:8px}
 .research-addition .research-portrait{max-height:56svh}
}
@media(prefers-reduced-motion:reduce){
 .research-portrait .figure-art{opacity:1!important;clip-path:none!important;animation:none!important}
 #game-exhibit .research-matrix,#game-exhibit .research-matrix>*,
 #game-exhibit .research-game-detail>*{opacity:1!important;animation:none!important;transform:none!important}
}

/* The shared 3-frame monochrome asset clips to its own 450x450 SVG viewport. */
.research-addition .research-portrait svg.figure-art{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;mix-blend-mode:lighten;filter:grayscale(1);-webkit-mask-image:radial-gradient(ellipse 76% 78% at 50% 48%,#000 51%,transparent 98%);mask-image:radial-gradient(ellipse 76% 78% at 50% 48%,#000 51%,transparent 98%)}
.research-addition .research-portrait svg.figure-art image{image-rendering:auto}
@media(prefers-reduced-motion:reduce){.research-addition .research-portrait svg.figure-art{clip-path:none!important;opacity:1!important;animation:none!important}}


/* White scholar-gallery treatment + new efficient markets and memetics exhibits. */
/* Scholarly chapters become paper-white visual interludes; analyses remain ink-black. */
.research-addition{background:#f4f4f0;color:#141411}
.research-addition .sect-head{color:#666660;border-color:#c5c5bf}
.research-addition .overline,.research-addition .research-rule{color:#666660}
.research-addition .lead{color:#242420}
.research-addition .body,.research-addition .research-person .body{color:#45453f}
.research-addition .fine{color:#6b6b65}
.research-addition .fine a{color:inherit}
.research-addition .research-person h2{color:#111}
.research-addition .research-portrait,.research-addition .research-portrait.research-archive-portrait{background:#f4f4f0}
.research-addition .research-portrait img{
 filter:grayscale(1) contrast(1.19) brightness(1.08);
 mix-blend-mode:multiply;
 -webkit-mask-image:radial-gradient(ellipse 78% 84% at 50% 43%,black 43%,transparent 98%);
 mask-image:radial-gradient(ellipse 78% 84% at 50% 43%,black 43%,transparent 98%);
}
.research-addition .research-portrait svg.figure-art{
 mix-blend-mode:multiply;filter:none;
 -webkit-mask-image:radial-gradient(ellipse 78% 85% at 50% 48%,black 48%,transparent 99%);
 mask-image:radial-gradient(ellipse 78% 85% at 50% 48%,black 48%,transparent 99%);
}
.research-addition .research-portrait svg.figure-art image{
 filter:grayscale(1) contrast(1.1);
}
.research-addition .research-portrait figcaption{color:#292925;opacity:.85}
.research-addition .research-portrait figcaption small{color:#666660}
.research-addition .research-portrait a{color:#3c3c37}
.research-addition .research-card,.research-addition .research-strip{
 background:#090909;color:#f3f3ef;border-color:#3d3d39
}
.research-addition .research-card .fine,.research-addition .research-strip .body{color:#a5a59f}
.research-addition .research-card .lead{color:#f1f1ec}
.research-addition .research-card .body{color:#bcbcb6}
.research-addition .research-roles{color:#e9e9e6}
.research-addition .research-test{color:#151513;border-color:#aaa}
.research-addition .research-test-grid{color:#eee}
.research-addition .research-rule{border-color:#c5c5c0}
.research-addition .research-roles .tag{color:#999}
.research-addition .research-roles article{color:#eee}
.research-addition .research-last-source{color:#555550}

/* Existing Milton Friedman portrait chapter shares the white economist convention. */
#money{background:#f4f4f0;color:#111}
#money .lead{color:#22221e}
#money .body{color:#44443f}
#money .overline,#money .fine,#money .sect-head{color:#666660}
#money .portrait{background:#f4f4f0;color:#22221e}
#money .portrait img{filter:grayscale(1) contrast(1.18) brightness(1.08);mix-blend-mode:multiply}

/* The original reimagined artwork was white on black. Reverse its tonal values
   on the light gallery pages while preserving its scroll-entrance animation. */
#game-exhibit{color:#111}
#game-exhibit>.research-card{color:#171715}
#game-exhibit .research-card .fine{color:#676761}
#game-exhibit .research-card .research-tag{color:#666660}
#game-exhibit .research-matrix>*{border-color:#c4c4bc;background:transparent}
#game-exhibit .research-matrix .axis{color:#5b5b55;border-color:#c4c4bc}
#game-exhibit .research-matrix button{color:#171715;border-color:#c4c4bc}
#game-exhibit .research-matrix button small{color:#676761}
#game-exhibit .research-matrix button[aria-pressed=true]{background:#111;color:white}
#game-exhibit .research-matrix button[aria-pressed=true] small{color:#bcbcb8}
#game-exhibit .research-matrix button:hover:not([aria-pressed=true]){background:#e8e8e3}
#game-exhibit .research-game-detail{color:#111;border-color:#c4c4bc}
#game-exhibit .research-game-detail p{color:#50504a}
#game-exhibit .research-game-detail aside{border-color:#b6b6af}

/* Both additions use the same white scholar opening and black research appendix. */
.research-scholar .research-person{min-height:60svh}
.research-scholar .research-portrait{width:100%;max-width:490px;justify-self:center}
.research-archive-portrait img{object-fit:contain!important;object-position:center 42%!important}
.research-illustration{margin-top:clamp(38px,6vw,85px)}
.research-expansion{border-top:1px solid #555;margin-top:clamp(20px,3vw,36px);padding-top:18px}
.research-expansion summary{color:#dadad5;cursor:pointer;list-style:none;font:500 10px/1.6 'IBM Plex Mono',monospace;letter-spacing:.12em;padding:10px 0}
.research-expansion summary::-webkit-details-marker{display:none}
.research-expansion summary:focus-visible{outline:2px solid #fff;outline-offset:5px}
.research-expansion[open] summary{border-bottom:1px solid #333;margin-bottom:24px}
.research-expansion>div{max-width:850px}
.research-expansion p{font:400 clamp(14px,1.3vw,18px)/1.65 Inter,Arial,sans-serif;color:#c1c1ba;margin:0 0 19px}
.research-expansion .fine{font:500 10px/1.7 'IBM Plex Mono',monospace;color:#999}
.efficiency-layout{display:grid;grid-template-columns:minmax(0,1.26fr) minmax(250px,.74fr);gap:clamp(18px,3vw,52px);align-items:center}
.efficiency-plot,.meme-network{width:100%;height:auto;display:block;overflow:visible}
.efficiency-plot .emh-grid{fill:none;stroke:#333;stroke-dasharray:2 10;stroke-width:1}
.efficiency-plot .emh-axis{fill:none;stroke:#8b8b85;stroke-width:1.3}
.efficiency-plot .emh-news{fill:none;stroke:#a5a5a1;stroke-width:1;stroke-dasharray:4 6;opacity:0;transition:opacity .6s ease}
.efficiency-plot .emh-price{fill:none;stroke:#f0f0eb;stroke-width:3.1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 2.15s cubic-bezier(.19,.75,.25,1)}
.efficiency-plot .emh-labels{fill:#aaa;font:500 12px 'IBM Plex Mono',monospace;letter-spacing:.07em}
#efficiency-exhibit.research-playing .emh-price{stroke-dashoffset:0}
#efficiency-exhibit.research-playing .emh-news{opacity:1;transition-delay:1.0s}
.efficiency-side p:not(.fine){font:400 clamp(15px,1.3vw,18px)/1.6 Inter,Arial,sans-serif;margin:18px 0}
.efficiency-side .research-controls{margin:15px 0}
.meme-network{max-width:960px;margin:10px auto 20px}
.meme-links path{fill:none;stroke:#767672;stroke-width:1.6;stroke-dasharray:4 9;opacity:0;transition:opacity .8s ease}
.meme-nodes circle{fill:#e8e8e4;opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.6);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.75,.2,1)}
.meme-nodes .meme-origin{fill:#f9f9f5}
.meme-labels text{fill:#a5a5a0;font:500 14px 'IBM Plex Mono',monospace}
#meme-exhibit.research-playing .meme-links path{opacity:1;transition-delay:.4s}
#meme-exhibit.research-playing .meme-nodes circle{opacity:1;transform:none}
#meme-exhibit.research-playing .meme-nodes circle:nth-child(1){transition-delay:0s}
#meme-exhibit.research-playing .meme-nodes circle:nth-child(n+2):nth-child(-n+4){transition-delay:.55s}
#meme-exhibit.research-playing .meme-nodes circle:nth-child(n+5):nth-child(-n+9){transition-delay:1.10s}
#meme-exhibit.research-playing .meme-nodes circle:nth-child(n+10){transition-delay:1.65s}
@media(max-width:850px){
 .efficiency-layout{grid-template-columns:1fr}
 .research-scholar .research-person{min-height:unset}
}
@media(max-width:560px){
 .research-scholar .research-portrait{max-width:320px}
 .research-illustration{margin-top:32px}
 .research-expansion p{font-size:14px;line-height:1.55}
 .efficiency-plot .emh-labels{font-size:13px}
 .meme-labels text{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
 .efficiency-plot .emh-price{stroke-dashoffset:0!important}
 .efficiency-plot .emh-news,.meme-links path{opacity:1!important;transition:none!important}
 .meme-nodes circle{opacity:1!important;transform:none!important;transition:none!important}
}


/* Gallery system V4 — standalone white thinkers, black theory, unique authored entrances. */
/* REESTABLISH THE BLACK ANALYTICAL LANGUAGE */
.research-addition{background:#050505;color:#f4f4f1}
.research-addition .sect-head{color:#9b9b95;border-color:#494943}
.research-addition .overline,.research-addition .research-rule{color:#999994}
.research-addition .research-person h2{color:#f6f6f2}
.research-addition .lead,.research-addition .research-card .lead{color:#f0f0ed}
.research-addition .body,.research-addition .research-person .body{color:#bcbcb7}
.research-addition .fine{color:#92928c}
.research-addition .fine a{color:inherit}
.research-addition .research-rule{border-color:#454541}
.research-addition .research-person.scholar-separated{
 display:block;max-width:920px;min-height:auto;padding:clamp(18px,3vw,40px) 0 clamp(22px,4vw,44px)
}
.research-addition .research-person.scholar-separated .reveal{max-width:850px}
.research-addition .research-last-source{color:#a0a09a}
#game-exhibit{color:#f3f3ef}
#game-exhibit>.research-card{color:#f3f3ef}
#game-exhibit .research-card .fine{color:#92928c}
#game-exhibit .research-card .research-tag{color:#999994}
#game-exhibit .research-matrix>*{border-color:#383835;background:#050505}
#game-exhibit .research-matrix .axis{color:#999;border-color:#383835}
#game-exhibit .research-matrix button{color:#eee;border-color:#383835}
#game-exhibit .research-matrix button small{color:#aaa}
#game-exhibit .research-matrix button[aria-pressed=true]{color:#050505;background:#e8e8e5}
#game-exhibit .research-matrix button[aria-pressed=true] small{color:#444}
#game-exhibit .research-matrix button:hover:not([aria-pressed=true]){background:#1a1a19}
#game-exhibit .research-game-detail{color:#efefea;border-color:#383835}
#game-exhibit .research-game-detail p{color:#bebeb8}
#game-exhibit .research-game-detail aside{border-color:#383835}
#money{background:#050505;color:#f4f4f0}
#money .lead{color:#eee}
#money .body{color:#bbb}
#money .overline,#money .fine,#money .sect-head{color:#999}
#money .twocol.scholar-separated{display:block;max-width:960px;margin-top:clamp(15px,4vw,50px)}
#money .twocol.scholar-separated>.reveal{max-width:890px}

/* SCHOLAR PAGES / WHITE GALLERY */
.scholar-gallery{
 background:#f4f4f0;color:#10100f;min-height:100svh;display:flex;align-items:center;
 padding:clamp(78px,10svh,116px) clamp(20px,5vw,86px) clamp(29px,5svh,57px);
 scroll-snap-align:start;position:relative;overflow:hidden;isolation:isolate
}
.scholar-shell{width:100%;max-width:1220px;margin:auto;display:flex;flex-direction:column;min-height:calc(100svh - 177px)}
.scholar-topline,.scholar-footer{
 display:flex;align-items:center;justify-content:space-between;gap:15px;
 font:500 10px/1.5 'IBM Plex Mono',monospace;letter-spacing:.12em;color:#686862;
 text-transform:uppercase
}
.scholar-topline{padding-bottom:16px;border-bottom:1px solid #c9c9c3}
.scholar-footer{padding-top:16px;border-top:1px solid #c9c9c3}
.scholar-footer a{color:#171714;text-decoration:none;border-bottom:1px solid #898982;padding-bottom:4px}
.scholar-footer a:hover,.scholar-footer a:focus-visible{border-color:#111}
.scholar-layout{flex:1;display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);align-items:center;gap:clamp(0px,3vw,48px)}
.scholar-text{position:relative;z-index:5;align-self:center;padding:25px 0}
.scholar-kicker{font:500 11px/1.6 'IBM Plex Mono',monospace;letter-spacing:.13em;color:#696962;text-transform:uppercase;margin:0 0 24px}
.scholar-text h2{
 font:800 clamp(76px,9.1vw,144px)/.85 'Barlow Condensed',Impact,'Arial Narrow',sans-serif;
 text-transform:uppercase;letter-spacing:-.035em;color:#121210;margin:0 0 32px
}
.scholar-summary{font:400 clamp(17px,1.8vw,26px)/1.32 Inter,Arial,sans-serif;letter-spacing:-.025em;max-width:460px;color:#4b4b45;margin:0}
.scholar-visual{position:relative;height:min(68svh,650px);min-height:360px;width:100%;align-self:center}
.scholar-visual .research-portrait{
 position:absolute;inset:0;width:100%;height:100%;max-height:none;max-width:none;
 margin:0;aspect-ratio:auto;overflow:hidden;background:transparent;isolation:isolate
}
.scholar-gallery .research-portrait img{
 display:block;width:100%;height:100%;object-fit:contain;object-position:center 42%;
 filter:grayscale(1) contrast(1.15) brightness(1.12);mix-blend-mode:multiply;
 -webkit-mask-image:radial-gradient(ellipse 69% 77% at 50% 43%,black 54%,transparent 100%);
 mask-image:radial-gradient(ellipse 69% 77% at 50% 43%,black 54%,transparent 100%);
}
.scholar-gallery .research-portrait svg.figure-art{
 display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden;
 filter:grayscale(1) contrast(1.10) brightness(1.04);mix-blend-mode:normal;
 -webkit-mask-image:radial-gradient(ellipse 70% 74% at 50% 46%,black 47%,transparent 99%);
 mask-image:radial-gradient(ellipse 70% 74% at 50% 46%,black 47%,transparent 99%);
}
.scholar-gallery .research-portrait figcaption{
 position:absolute;bottom:8px;left:5%;right:5%;z-index:7;
 color:#353530;text-align:center;opacity:.85;
 font:500 10px/1.5 'IBM Plex Mono',monospace;letter-spacing:.09em
}
.scholar-gallery .research-portrait figcaption small{display:block;font-size:9px;color:#74746e}
.scholar-gallery .research-portrait figcaption a{color:#43433e}
.scholar-visual .scholar-motif{
 position:absolute;inset:0;width:100%;height:100%;color:#bcbcb6;fill:none;stroke:#8c8c85;
 stroke-width:1.25;stroke-linecap:round;opacity:.62;z-index:0;overflow:visible
}
.scholar-motif .scholar-symbols path{fill:none}
.scholar-motif .scholar-symbols text{
 font:500 clamp(13px,1.7vw,19px) 'IBM Plex Mono',monospace;
 stroke:none;fill:#777770;letter-spacing:.05em
}
.scholar-motif .scholar-symbols circle{fill:none;stroke:#aaa9a1}
.scholar-motif .scholar-symbols circle[r="6"],.scholar-motif .scholar-symbols circle[r="7"],.scholar-motif .scholar-symbols circle[r="9"],.scholar-motif .scholar-symbols circle[r="10"]{fill:#9b9b94}
.scholar-gallery .scholar-text,.scholar-gallery .research-portrait{opacity:1}
@media(prefers-reduced-motion:no-preference){
 .scholar-gallery.scholar-ready .scholar-kicker,.scholar-gallery.scholar-ready .scholar-text h2,
 .scholar-gallery.scholar-ready .scholar-summary{opacity:0;transform:translateY(15px)}
 .scholar-gallery.scholar-ready .scholar-kicker,.scholar-gallery.scholar-ready .scholar-text h2,
 .scholar-gallery.scholar-ready .scholar-summary{
  transition:opacity .72s ease,transform .78s cubic-bezier(.2,.75,.2,1)
 }
 .scholar-gallery.scholar-active .scholar-kicker{opacity:1;transform:none;transition-delay:.07s}
 .scholar-gallery.scholar-active .scholar-text h2{opacity:1;transform:none;transition-delay:.21s}
 .scholar-gallery.scholar-active .scholar-summary{opacity:1;transform:none;transition-delay:.49s}
 .scholar-gallery.scholar-ready .research-portrait{opacity:0;transform:translateY(13px) scale(.99)}
 .scholar-gallery.scholar-active .research-portrait{
  opacity:1;transform:none;transition:opacity 1.15s ease .35s,transform 1.4s cubic-bezier(.2,.75,.2,1) .35s
 }
 .scholar-gallery.scholar-ready .scholar-symbols{opacity:0}
 .scholar-gallery.scholar-active .scholar-symbols{opacity:1;transition:opacity .7s ease .6s}
 /* Friedman: monetary rings radiate as the economist arrives. */
 .scholar-friedman.scholar-active .money-symbols circle{animation:scholar-rings 1.8s ease-out both}
 .scholar-friedman.scholar-active .money-symbols circle:nth-child(2){animation-delay:.25s}
 .scholar-friedman.scholar-active .money-symbols circle:nth-child(3){animation-delay:.5s}
 /* Menger: the exchange paths are etched in opposing directions. */
 .scholar-menger .menger-symbols path{stroke-dasharray:900;stroke-dashoffset:900}
 .scholar-menger.scholar-active .menger-symbols path{animation:scholar-etch 2s ease-in-out .5s forwards}
 .scholar-menger.scholar-active .menger-symbols path:nth-child(2){animation-delay:.9s}
 /* Pearson: observations arrive, then an inference is drawn. */
 .scholar-pearson .pearson-symbols circle{opacity:0}
 .scholar-pearson.scholar-active .pearson-symbols circle{animation:scholar-dot .65s ease-out 1.05s both}
 .scholar-pearson.scholar-active .pearson-symbols circle:nth-of-type(2n){animation-delay:1.25s}
 .scholar-pearson .scholar-regression{stroke-dasharray:710;stroke-dashoffset:710}
 .scholar-pearson.scholar-active .scholar-regression{animation:scholar-etch 1.4s ease 1.6s both}
 /* Bachelier: a speculative path resolves sequentially. */
 .scholar-bachelier .scholar-walk{stroke-dasharray:1000;stroke-dashoffset:1000}
 .scholar-bachelier.scholar-active .scholar-walk{animation:scholar-etch 2.1s ease-out .7s both}
 /* Soros: two overlapping reflective circles counter-rotate. */
 .scholar-soros.scholar-active .soros-symbols circle:first-child{animation:scholar-mirror 1.9s ease .7s both}
 .scholar-soros.scholar-active .soros-symbols circle:nth-child(2){animation:scholar-mirror 1.9s ease 1.0s both reverse}
 /* Blackmore: transmission radiates through copies. */
 .scholar-blackmore .blackmore-symbols circle{opacity:0}
 .scholar-blackmore.scholar-active .blackmore-symbols circle{animation:scholar-dot .6s ease .7s both}
 .scholar-blackmore.scholar-active .blackmore-symbols circle:nth-of-type(n+2){animation-delay:1.05s}
 .scholar-blackmore.scholar-active .blackmore-symbols circle:nth-of-type(n+5){animation-delay:1.4s}
 .scholar-blackmore.scholar-active .blackmore-symbols circle:nth-of-type(n+10){animation-delay:1.7s}
 /* Nash: mathematical notation materialises around his portrait like a field of thought. */
 .scholar-nash .nash-symbols text{opacity:0;filter:blur(7px)}
 .scholar-nash.scholar-active .nash-symbols text{animation:scholar-equations 1.2s ease 1.0s both}
 .scholar-nash.scholar-active .nash-symbols text:nth-of-type(2){animation-delay:1.22s}
 .scholar-nash.scholar-active .nash-symbols text:nth-of-type(3){animation-delay:1.48s}
 .scholar-nash.scholar-active .nash-symbols text:nth-of-type(4){animation-delay:1.67s}
 .scholar-nash.scholar-active .nash-symbols text:nth-of-type(5){animation-delay:1.86s}
 .scholar-nash.scholar-active .nash-symbols text:nth-of-type(6){animation-delay:2.03s}
 .scholar-nash .nash-symbols path,.scholar-nash .nash-symbols circle{opacity:0}
 .scholar-nash.scholar-active .nash-symbols path,.scholar-nash.scholar-active .nash-symbols circle{animation:scholar-dot .9s ease 1.4s both}
 @keyframes scholar-rings{from{opacity:0;transform:scale(.82);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}
 @keyframes scholar-etch{to{stroke-dashoffset:0}}
 @keyframes scholar-dot{from{opacity:0;transform:scale(.4);transform-origin:center}to{opacity:1;transform:scale(1);transform-origin:center}}
 @keyframes scholar-mirror{from{opacity:0;transform:rotate(-14deg);transform-origin:center}to{opacity:1;transform:rotate(0);transform-origin:center}}
 @keyframes scholar-equations{from{opacity:0;filter:blur(7px);transform:translateY(11px)}to{opacity:1;filter:blur(0);transform:none}}
}
/* Where a source portrait is already AI artwork, the historical source stays cited in the footer. */
.scholar-nash .research-portrait{left:12%;width:76%}
.scholar-nash .scholar-motif{opacity:.8}
.scholar-pearson .research-portrait{left:5%;width:90%}
.scholar-bachelier .research-portrait{left:5%;width:90%}
@media(max-width:850px){
 .scholar-gallery{padding:72px 22px 30px}
 .scholar-shell{min-height:calc(100svh - 115px)}
 .scholar-layout{grid-template-columns:1fr;gap:0;grid-template-rows:auto minmax(0,1fr)}
 .scholar-text{padding:30px 0 5px}
 .scholar-kicker{margin-bottom:12px;font-size:9px}
 .scholar-text h2{font-size:clamp(73px,15vw,118px);margin-bottom:10px}
 .scholar-summary{font-size:clamp(14px,3vw,20px);max-width:520px}
 .scholar-visual{height:clamp(300px,48svh,580px);min-height:0}
 .scholar-topline,.scholar-footer{font-size:8px;letter-spacing:.08em}
}
@media(max-width:560px){
 .scholar-text h2{font-size:clamp(63px,15.7vw,90px)}
 .scholar-summary{font-size:15px}
 .scholar-visual{height:clamp(255px,45svh,425px)}
 .scholar-gallery .research-portrait figcaption{font-size:8px;bottom:4px}
 .scholar-gallery .research-portrait figcaption small{font-size:7px}
 .scholar-motif .scholar-symbols text{font-size:20px}
 .scholar-footer span{max-width:61%}
 .scholar-footer a{text-align:right}
}
@media(prefers-reduced-motion:reduce){
 .scholar-gallery .scholar-text *,.scholar-gallery .research-portrait,
 .scholar-gallery .scholar-symbols,.scholar-gallery .scholar-symbols *{
  animation:none!important;opacity:1!important;transform:none!important;
  filter:none!important;transition:none!important;stroke-dashoffset:0!important
 }
}


/* V5 — iOS gallery correction. Never apply a photographic negative to AI art. */
.scholar-gallery .scholar-visual{
 isolation:isolate;
}
.scholar-gallery .research-portrait.portrait-ai{
 background:transparent;
}
.scholar-gallery .research-portrait.portrait-ai svg.figure-art{
 filter:grayscale(1) contrast(1.08) brightness(1.04);
 mix-blend-mode:normal;
 -webkit-mask-image:radial-gradient(ellipse 67% 75% at 50% 45%,#000 38%,rgba(0,0,0,.86) 55%,rgba(0,0,0,.36) 78%,transparent 99%);
 mask-image:radial-gradient(ellipse 67% 75% at 50% 45%,#000 38%,rgba(0,0,0,.86) 55%,rgba(0,0,0,.36) 78%,transparent 99%);
}
.scholar-gallery .research-portrait.portrait-ai svg.figure-art image{
 filter:grayscale(1) contrast(1.05);
}
.scholar-gallery .research-portrait.portrait-archival{
 background:transparent;
}
.scholar-gallery .research-portrait.portrait-archival img{
 /* Cover the portrait figure itself; object-fit:contain left a hard-edged
    smaller photograph inside a larger, ineffectively masked element. */
 width:100%;height:100%;
 object-fit:cover!important;
 object-position:center 32%!important;
 filter:grayscale(1) contrast(1.10) brightness(1.07);
 mix-blend-mode:multiply;
 -webkit-mask-image:radial-gradient(ellipse 73% 77% at 50% 44%,#000 25%,rgba(0,0,0,.91) 43%,rgba(0,0,0,.52) 66%,transparent 96%);
 mask-image:radial-gradient(ellipse 73% 77% at 50% 44%,#000 25%,rgba(0,0,0,.91) 43%,rgba(0,0,0,.52) 66%,transparent 96%);
}
/* Give the historical crop room to breathe and avoid cropping the face. */
.scholar-bachelier .research-portrait.portrait-archival img{object-position:center 18%!important}
.scholar-blackmore .research-portrait.portrait-archival img{object-position:center 23%!important}
.scholar-pearson .research-portrait.portrait-archival img{object-position:center 23%!important}
.scholar-gallery .research-portrait figcaption{
 bottom:7px;
 left:4%;right:4%;
 padding:6px 0 3px;
 color:#55554f;
 text-shadow:none;
 background:transparent;
}
.scholar-gallery .research-portrait figcaption small{
 color:#73736c;
 letter-spacing:.025em;
}
.scholar-gallery .scholar-footer{
 position:relative;
 z-index:4;
 border-color:#c2c2bb;
}
.scholar-gallery .scholar-footer span{
 max-width:62%;
}
.scholar-gallery .scholar-footer a{
 flex-shrink:0;
}
.scholar-gallery .scholar-motif{
 opacity:.46;
}
@media(max-width:850px){
 .scholar-gallery{
  align-items:stretch;
  padding:clamp(73px,8svh,94px) 22px max(36px,env(safe-area-inset-bottom));
 }
 .scholar-shell{
  min-height:calc(100svh - 130px);
 }
 .scholar-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto;
  flex:1;
  align-content:center;
  gap:clamp(10px,1.5svh,18px);
 }
 .scholar-text{padding:14px 0 0}
 .scholar-kicker{margin-bottom:12px}
 .scholar-text h2{
  font-size:clamp(67px,14vw,105px);
  line-height:.86;
  margin-bottom:14px;
 }
 .scholar-summary{
  font-size:clamp(15px,3vw,19px);
  line-height:1.35;
 }
 .scholar-visual{
  height:clamp(300px,41svh,450px);
  min-height:0;
  width:100%;
  max-width:580px;
  margin:auto;
 }
 .scholar-visual .research-portrait{
  inset:0!important;
  left:0!important;
  width:100%!important;
  max-width:none!important;
 }
 .scholar-footer{
  margin-top:18px;
  padding-top:13px;
  padding-bottom:6px;
 }
}
@media(max-width:560px){
 .scholar-gallery{
  padding-top:clamp(65px,8svh,82px);
  padding-inline:21px;
  padding-bottom:max(48px,env(safe-area-inset-bottom));
 }
 .scholar-shell{min-height:calc(100svh - 125px)}
 .scholar-topline,.scholar-footer{font-size:8px;letter-spacing:.04em;gap:12px}
 .scholar-topline{padding-bottom:12px}
 .scholar-text{padding:12px 0 0}
 .scholar-kicker{font-size:9px;margin-bottom:9px}
 .scholar-text h2{
  font-size:clamp(60px,13.5vw,84px);
  margin-bottom:9px;
 }
 .scholar-summary{font-size:clamp(14px,3.6vw,17px);line-height:1.33}
 .scholar-visual{
  height:clamp(265px,36svh,360px);
  min-height:265px;
 }
 .scholar-gallery .research-portrait figcaption{
  bottom:0;
  font-size:8px;
  line-height:1.3;
  padding:0 0 4px;
 }
 .scholar-gallery .research-portrait figcaption small{font-size:7px}
 .scholar-footer{margin-top:16px;align-items:center}
 .scholar-footer span{max-width:58%}
 .scholar-footer a{text-align:right;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){
 .scholar-gallery .research-portrait.portrait-ai svg.figure-art{
  filter:grayscale(1) contrast(1.08) brightness(1.04)!important
 }
}
