@font-face{font-family:'Stalinist One';src:url('fonts/stalinistone-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
/* Actual period artwork fills the scene rather than a framed document card. */
.landing-hero.opening-poster{display:flex;min-height:min(900px,92svh);padding:75px max(4vw,calc((100vw - 1320px)/2)) 45px;background:radial-gradient(ellipse at 85% 55%,#3b1c16 0%,#16110e 40%,#090908 75%);color:#f1e6cb;border:0;position:relative;overflow:hidden;isolation:isolate}
.opening-poster::before{display:none}
.opening-poster::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#090908 0%,#090908f5 29%,#090908b5 47%,#09090822 80%),linear-gradient(0deg,#090908,transparent 35%,#09090833);z-index:1;pointer-events:none}
.opening-poster .landing-language{z-index:3;background:#171713d9}
.opening-poster .landing-language label{color:#e1d4b4}
.opening-poster .landing-copy .eyebrow{color:#d6a96e}
.opening-poster .landing-copy{padding:20px 0;max-width:760px;width:61%;position:relative;z-index:2}
.opening-poster .landing-copy h1{font-family:'Stalinist One','Archivo Black',sans-serif;font-size:clamp(36px,4.7vw,72px);line-height:1.12;letter-spacing:-.055em;text-shadow:2px 2px 12px #000;margin-bottom:20px;color:#f3e7cc}
.opening-poster .landing-copy h1 small{font:700 .48em/1 'Barlow Condensed',sans-serif;margin-bottom:10px;letter-spacing:.12em}
.opening-poster .landing-copy h1 span:last-child{color:#e56b4c}
.opening-poster .lead{font:700 clamp(22px,2.5vw,35px)/1.08 'Barlow Condensed',sans-serif;max-width:24ch;color:#d9cfb9}
.opening-poster .poster-credit{font:400 14px/1.35 'PT Sans',sans-serif;color:#b5ab95;margin:15px 0}
.poster-credit>span{font-size:13px;font-weight:400}
.opening-poster .landing-actions{gap:8px;flex-wrap:wrap;max-width:100%;margin:22px 0 12px}
.opening-poster .landing-actions button{font:700 20px 'Barlow Condensed',sans-serif;min-width:95px;padding:10px 16px;border:1px solid #8b7c5d;box-shadow:none}
.opening-poster .landing-actions button.secondary{background:#151511d9;color:#eee1c6}
.opening-poster .landing-actions button.primary{background:#a63425!important;color:#fff1d6}
.opening-poster .small-print{background:#eddfbde8;padding:4px 5px;display:table;font-size:12px!important;max-width:49ch}
.opening-poster .landing-leontief{background:transparent;border:0;color:#b0a48b;font-size:12px;margin-top:20px;padding:4px 0;text-decoration:underline;text-underline-offset:4px}
.opening-art{position:absolute;inset:25px 0 0 auto;width:66%;z-index:0;padding:0;margin:0;pointer-events:none}
.poster-original{display:block;width:100%;height:100%;object-fit:contain;object-position:100% 100%!important;margin:0;border:0;box-shadow:none;transform:none;filter:brightness(.8) saturate(.8)}
.landing>.archive-credits{padding:18px 24px;margin-top:15px}
.archive-credits .archive-gallery{padding:20px 0;margin:0;max-width:none}
.archive-credits .author-credit{padding:0;margin:15px 0}
.opening-record{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#c8b998}
.opening-record button{border:0;border-bottom:1px solid currentColor;border-radius:0;background:transparent;color:#c8b998;padding:4px 0;font:700 15px 'PT Sans',sans-serif;cursor:pointer}
.opening-record span{font:12px 'PT Sans',sans-serif;padding:4px 5px;background:transparent;font-variant-numeric:tabular-nums}
/* Each scene emerges from, and returns to, black. */
.opening-cinema{background:#000;min-height:calc(100svh - 50px);padding:0;color:#f4eddc;display:flex;flex-direction:column}
.opening-cinema::before,.opening-cinema::after{display:none}
.opening-cinema .cinema-top{padding:12px 25px;border:0;position:relative;z-index:2;background:#000}
.opening-cinema .film-frame{position:relative;flex:1;min-height:650px;display:flex;align-items:center;gap:0;background:#000;opacity:1;transition:opacity .65s ease;isolation:isolate;overflow:hidden}
.opening-cinema .film-frame.scene-exit{opacity:0}
.opening-cinema .film-frame::before,.opening-cinema .film-frame::after{display:none}
.opening-cinema.scene-entering .film-frame{animation:opening-reveal 1s ease both}
.opening-cinema.scene-entering .film-frame.scene-exit{animation:none;opacity:0}
.opening-cinema .film-document{margin:0;position:absolute;inset:0 auto 0 0;width:68%;background:#000;overflow:hidden;z-index:-1;border:0;box-shadow:none;mask-image:linear-gradient(90deg,#000 0%,#000 56%,transparent 100%)}
.opening-cinema .cinema-photo{position:relative;display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(.45);opacity:.92;z-index:0}
.opening-cinema .cinema-copy{position:relative;padding:50px clamp(25px,4vw,70px);margin-left:51%;width:49%;max-width:900px;color:#f2ead4;animation:none}
.opening-cinema .cinema-year{font:700 24px 'Barlow Condensed',sans-serif;letter-spacing:.18em;color:#ce9d5c;margin-bottom:20px}
.opening-cinema .cinema-copy h1{font:400 clamp(28px,3.2vw,49px)/1.22 'Stalinist One','Archivo Black',sans-serif;color:#f4e6c6;letter-spacing:-.04em}
.opening-cinema .cinema-copy .narration{font:400 clamp(17px,1.7vw,22px)/1.6 'PT Sans',sans-serif;max-width:52ch;color:#d1c6ad}
.opening-cinema.title-card .film-frame{display:flex;justify-content:center;min-height:65svh}
.opening-cinema.title-card .cinema-copy{text-align:center;margin:auto;max-width:980px;width:100%}
.opening-cinema.title-card .cinema-year{font:400 clamp(62px,12vw,160px)/1 'Stalinist One',sans-serif;letter-spacing:-.04em;color:#efe2c3;margin:0 0 30px}
.opening-cinema.title-card .narration{margin:25px auto 0}
.opening-cinema.portrait-scene .cinema-photo{object-fit:contain;object-position:40% 50%!important;filter:none}
.opening-cinema.portrait-scene .film-document.film-cutout{mask-image:none;width:55%}
.opening-cinema .film-cutout .cinema-photo{filter:brightness(.9);mask-image:linear-gradient(0deg,transparent 0%,#000 12%,#000 100%)}
.opening-cinema.propaganda-scene .film-document{width:65%;mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%)}
.opening-cinema.propaganda-scene .cinema-photo{object-fit:contain;filter:none;opacity:1;object-position:20% 50%!important;animation:none}
.opening-cinema .cinema-bottom{padding:15px 25px;background:#000;border:0}
.opening-cinema .cinema-controls{gap:8px;display:flex;align-items:center;justify-content:center}
.opening-cinema .cinema-controls button{font-size:16px;min-height:37px}
.opening-cinema .scene-progress{max-width:660px;margin:14px auto 0}
.opening-cinema.witness-scene .film-document{width:55%;mask-image:none}
.opening-cinema.witness-scene .cinema-copy{margin-left:55%;width:45%}
.opening-cinema.witness-scene .cinema-photo{object-fit:contain;filter:none;animation:none}
@keyframes opening-reveal{from{opacity:0}to{opacity:1}}
/* A single contextual help, next to the Leontief entry point. */
.leontief-entry{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.leontief-about{margin:0!important;padding:0!important;position:relative;border:0!important;background:none!important}
.leontief-about>summary,.game-shell button.leontief-question{list-style:none;display:inline-grid;place-items:center;min-width:28px;width:28px;height:28px;padding:0;border:1px solid #9c7c46;border-radius:50%;color:#574021;background:#f3e5bc;font:700 18px 'PT Sans',sans-serif;cursor:pointer}
.leontief-about>summary::-webkit-details-marker{display:none}
.leontief-about[open]{flex-basis:100%}
.leontief-about>div{padding:15px;border:1px solid #af9b73;background:#fff8e7;color:#443b2b;max-width:900px;font:15px/1.5 'PT Sans',sans-serif}
.leontief-about h3{font:700 25px 'Barlow Condensed',sans-serif;margin:0 0 10px}.leontief-about h4{font:700 17px/1.3 'PT Sans',sans-serif;margin:15px 0 6px}.leontief-about p{margin:8px 0}.leontief-about .leontief-sources{font-size:12px}
/* The lens does not intercept clicks or reproduce any game values. */
.tour-ribbon{display:flex;gap:14px;align-items:center;margin:10px 0 13px;color:#5c4b2c;font:700 13px 'PT Sans',sans-serif}
.tour-ribbon progress{width:130px;height:5px;accent-color:#a3482c}
body.tour-running .guide{display:none}
body.tour-running .play-layout{grid-template-columns:190px minmax(0,1fr)}
#first-plan-lens{position:fixed;z-index:10000;border:3px solid #f1c16d;border-radius:11px;box-shadow:0 0 0 9999px #0009,0 0 15px 4px #f2c05e80;pointer-events:none;transition:left .2s ease,top .2s ease,width .2s ease,height .2s ease}
#first-plan-lens::after{content:'';position:absolute;width:25px;height:7px;background:#e3ae52;border:1px solid #5b3e20;border-radius:3px;right:-19px;bottom:-10px;transform:rotate(48deg);box-shadow:1px 2px 5px #0008}
#first-plan-lens[hidden]{display:none}
#first-plan-coach{position:fixed;z-index:10002;background:#f6edd6;color:#352d20;border:2px solid #af7d35;border-top:5px solid #a43d27;box-shadow:0 9px 35px #0008;padding:12px 14px;max-height:calc(100svh - 24px);overflow:auto;border-radius:3px;font:14px/1.4 'PT Sans',sans-serif}
#first-plan-coach>header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:700;color:#806039}
#first-plan-coach button{border:1px solid #9b8b69;background:#fff9e9;color:#453821;font:700 14px 'PT Sans',sans-serif;border-radius:0;min-height:31px;padding:5px 9px;cursor:pointer}
#first-plan-coach>header button{border:0;background:none;font-size:11px;font-weight:400;padding:0;min-height:20px}
#first-plan-coach h2{font:700 24px/1.08 'Barlow Condensed',sans-serif;color:#503822;margin:10px 0 9px}
#first-plan-coach p{margin:8px 0}
#first-plan-coach .tour-feedback{color:#43613e;font-size:13px;font-weight:700}
#first-plan-coach details{border-top:1px solid #d0bd95;padding-top:5px;margin-top:7px}
#first-plan-coach details>summary{font-size:12px;font-weight:700;cursor:pointer}
#first-plan-coach details>p{font-size:13px}
.tour-actions{display:flex;gap:8px;justify-content:space-between;margin-top:12px}
#first-plan-coach .tour-next{background:#3d5b43;color:#fff5dc;border-color:#344e39}
#first-plan-coach button:disabled{opacity:.4;cursor:default}
#first-plan-coach .tour-skip,#first-plan-coach .tour-locate{display:block;border:0;background:none;font-size:11px;font-weight:400;padding:3px 0;min-height:23px;color:#745b33}
#first-plan-coach button:focus-visible{outline:3px solid #306b58;outline-offset:2px}
@media(max-width:760px){
 .landing-hero.opening-poster{min-height:740px;padding:85px 23px 40px;gap:5px;align-items:center}
 .opening-poster::after{background:linear-gradient(90deg,#090908f9 0%,#090908cd 35%,#09090866 100%),linear-gradient(0deg,#090908,transparent 45%)}
 .opening-poster .landing-copy{padding:0;width:100%}.opening-poster .landing-copy h1{font-size:clamp(31px,7.8vw,56px);letter-spacing:-.055em;margin-top:8px}
 .opening-poster .lead{font-size:27px;max-width:25ch}.opening-poster .poster-credit{font-size:14px}
 .opening-poster .landing-copy .eyebrow{font-size:15px;margin-bottom:12px}
 .opening-poster .landing-actions{display:flex;gap:6px}.opening-poster .landing-actions button{font-size:18px;padding:9px 12px;min-width:0}
 .opening-art{padding:0;width:100%;max-width:none;margin:0}.poster-original{max-width:none;transform:none}
 .opening-record button{font-size:14px}.opening-record{gap:5px}
 .opening-cinema .cinema-top{padding:9px 12px}.opening-cinema .film-frame,.opening-cinema.witness-scene .film-frame{display:block;min-height:0}
 .opening-cinema .film-document,.opening-cinema.propaganda-scene .film-document,.opening-cinema.witness-scene .film-document{position:relative;inset:auto;width:100%;height:44svh;min-height:250px;mask-image:linear-gradient(0deg,transparent 0%,#000 24%,#000 100%)}
 .opening-cinema .cinema-photo{height:100%;min-height:0}.opening-cinema .cinema-copy,.opening-cinema.witness-scene .cinema-copy{padding:0 22px 30px;margin:-12px 0 0;width:100%}
 .opening-cinema.propaganda-scene .film-document{height:52svh}.opening-cinema.propaganda-scene .cinema-photo{object-position:50% 40%!important}
 .opening-cinema.witness-scene .film-document{mask-image:none}.opening-cinema.witness-scene .cinema-copy{margin:20px 0 0}
 .opening-cinema .cinema-copy h1{font-size:clamp(24px,5.9vw,36px)}.opening-cinema .cinema-copy .narration{font-size:17px;line-height:1.5}
 .opening-cinema .cinema-year{font-size:20px;margin-bottom:12px}.opening-cinema.title-card .film-frame{min-height:65svh}
 .opening-cinema.title-card .cinema-year{font-size:clamp(46px,13vw,90px)}.opening-cinema .cinema-bottom{padding:12px}
 .opening-cinema .cinema-controls{justify-content:flex-start}.opening-cinema .cinema-controls button{font-size:14px}
 .opening-cinema.portrait-scene .film-document{height:49svh}
 .opening-cinema.portrait-scene .film-document.film-cutout{width:100%}
 body.tour-running .play-layout{grid-template-columns:1fr}
 #first-plan-coach{font-size:13px;padding:10px 11px}#first-plan-coach h2{font-size:22px;margin:7px 0}#first-plan-coach p{margin:6px 0}
 #first-plan-coach .tour-feedback{font-size:12px}.tour-actions{margin-top:9px}
}
@media(prefers-reduced-motion:reduce){.opening-cinema .film-frame,#first-plan-lens{transition:none}.opening-cinema.scene-entering .film-frame{animation:none}}
.history-stakes{display:grid;gap:22px;margin-top:28px}
.history-stakes>div{display:grid;grid-template-columns:145px 1fr;gap:18px;align-items:center}
.history-stakes strong{font:700 clamp(34px,4vw,52px)/1 'Barlow Condensed',sans-serif;color:#e08b62;white-space:nowrap}
.history-stakes strong small{display:block;font-size:20px;letter-spacing:.03em;color:#d1b593}
.history-stakes span{font:18px/1.4 'PT Sans',sans-serif;color:#e4d6bc;max-width:28ch}
.opening-cinema.stakes-scene .film-document{opacity:.5;mask-image:linear-gradient(90deg,#000 0%,#000 30%,transparent 100%)}
.opening-cinema.stakes-scene .cinema-copy{margin-left:44%;width:56%}
.historical-review{padding:20px 0;margin:24px 0;border-top:1px solid #766a50;border-bottom:1px solid #766a50}
.ending .historical-review h2{font:700 30px/1.15 'Barlow Condensed',sans-serif;color:#ebd5ac;margin:0 0 12px}
.history-targets{font-weight:700;color:#d9c394}
.history-comparison{font:700 17px/1.5 'PT Sans',sans-serif}
.history-references{display:grid;gap:14px;margin:20px 0}
.history-references>div{display:grid;grid-template-columns:1fr auto;gap:18px}
.history-references dt{font:400 15px/1.4 'PT Sans',sans-serif;color:#d4c9b3}
.history-references dd{font:700 20px/1.2 'Barlow Condensed',sans-serif;margin:0;color:#f2d2a2}
.history-scope,.history-method{font:400 13px/1.5 'PT Sans',sans-serif;color:#bfb39a}
.history-method>summary,.history-score>summary{cursor:pointer;font-weight:700;line-height:1.5;color:#ddbd83}
.history-method p{margin:12px 0}.history-method a{color:#efd2a4}
.history-score{margin:12px 0;padding-top:8px;border-top:1px solid #625840}
.history-score .history-comparison{font-size:14px}
@media(max-width:760px){
 .opening-cinema.stakes-scene .film-document{height:27svh;min-height:160px;mask-image:linear-gradient(0deg,transparent 0%,#000 70%)}
 .opening-cinema.stakes-scene .cinema-copy{margin:0;padding:0 22px 25px;width:100%}
 .history-stakes{gap:18px;margin-top:20px}.history-stakes>div{grid-template-columns:90px 1fr;gap:15px}
 .history-stakes strong{font-size:36px}.history-stakes strong small{font-size:18px}.history-stakes span{font-size:16px}
 .history-references>div{grid-template-columns:1fr;gap:5px}.history-references dd{font-size:22px}
}
