/* Archivo dates and Libre Caslon drama; the game keeps its original palette. */
#opening.cinema{--film-gold:#fc0;background:#030304;color:#f4f0e8;isolation:isolate;overflow:hidden}
.cinema-stage{position:absolute;inset:0;opacity:0;transition:opacity .72s ease;background:#030304;overflow:hidden}.cinema-stage.on{opacity:1}
.cinema-stage:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(90deg,#030304b8,transparent 80%),linear-gradient(0deg,#030304bd,transparent 55%)}
.cinema-copy{position:absolute;z-index:4;left:8vw;right:7vw;top:49%;transform:translateY(-50%);max-width:1100px}
.cinema-date{font:600 clamp(12px,1.15vw,17px)/1.5 Archivo,Inter,sans-serif;letter-spacing:.22em;color:#d5c9aa;margin:0 0 24px}
.cinema-copy h1{font:400 clamp(38px,5.8vw,90px)/1.08 "Libre Caslon Text",Georgia,serif;letter-spacing:-.045em;margin:0;color:#f4f0e8;text-wrap:balance;text-shadow:0 2px 30px #0008}.cinema-copy h1 span{display:block}
.cinema-line{font:italic clamp(16px,1.65vw,25px)/1.6 "Libre Caslon Text",Georgia,serif;max-width:43ch;margin:28px 0 0;color:#ded6c6;text-wrap:pretty}
.cinema-stage.on .cinema-date{animation:film-copy .9s .15s both}.cinema-stage.on .cinema-copy h1{animation:film-copy 1.5s .35s both}.cinema-stage.on .cinema-line{animation:film-copy 1.2s 1.3s both}
.cinema-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.12) brightness(.82);animation:film-drift var(--shot-time,8s) ease-out both}
.cinema-giant-year{position:absolute;z-index:1;left:6vw;top:3vh;font:800 clamp(180px,33vw,510px)/1 Archivo,Inter,sans-serif;letter-spacing:-.07em;color:#eee9df;opacity:.24}
#opening .ruins .cinema-image{object-position:60% 56%;filter:grayscale(1) contrast(1.15) brightness(.72)}#opening .ruins .cinema-copy{top:auto;bottom:14%;transform:none}#opening .ruins .cinema-copy h1{font-size:clamp(46px,7vw,108px)}#opening .ruins .cinema-date{display:none}#opening .ruins .cinema-line{max-width:41ch}
#opening .empires .cinema-image{object-fit:contain;width:110%;height:110%;left:-5%;top:-5%;filter:sepia(.4) saturate(.5) brightness(.65);mask-image:radial-gradient(ellipse,#000 25%,transparent 76%)}#opening .empires .cinema-copy{top:65%}
#opening .wars .cinema-image{object-position:65% 70%;filter:grayscale(1) contrast(1.3) brightness(.35)}#opening .wars .cinema-copy{max-width:1000px}#opening .wars .cinema-line{max-width:45ch}
#opening .displaced .cinema-image{object-position:50% 35%;filter:grayscale(1) brightness(.65)}#opening .displaced .cinema-copy{top:61%}
.cinema-cutout{position:absolute;object-fit:contain;filter:grayscale(1);z-index:1}#opening .dependence .cinema-copy{top:57%;max-width:850px}#opening .dependence .cinema-line{max-width:37ch}
#opening .soviet{height:97%;width:55%;left:-11%;bottom:-10%;object-position:bottom;filter:grayscale(1) brightness(.55);mask-image:linear-gradient(#000 65%,transparent 100%);animation:film-cutout 9s ease-out both}
#opening .marshall{height:88%;width:50%;right:-1%;top:4%;transform:rotate(8deg);filter:saturate(.5) brightness(.8);mask-image:radial-gradient(ellipse,#000 48%,transparent 75%);animation:film-poster 9s ease-out both}
#opening .dependence:after{background:linear-gradient(0deg,#030304ef,transparent 90%),linear-gradient(90deg,#03030438,#03030430)}
#opening .rome .cinema-image{inset:auto -3% -2% auto;width:76%;height:93%;object-fit:contain;object-position:right bottom;filter:grayscale(1) brightness(.9);mask-image:linear-gradient(90deg,transparent,#000 32%),linear-gradient(0deg,#000 60%,transparent);mask-composite:intersect}#opening .rome .cinema-copy{max-width:58%;top:45%}#opening .rome .cinema-line{max-width:35ch}
#opening .six .cinema-copy{top:13%;transform:none}#opening .six .cinema-copy h1{font-size:clamp(35px,4.3vw,65px)}
.cinema-states{position:absolute;left:9%;right:9%;bottom:13%;display:flex;justify-content:space-between;gap:20px;z-index:3}.cinema-states>div{text-align:center;animation:film-copy 1s calc(var(--i)*.28s + 1s) both;flex:1}.cinema-states i{display:block;width:52px;height:34px;margin:0 auto 16px;box-shadow:0 8px 40px #0007;transform:rotate(-4deg)}.cinema-states span{font:600 clamp(13px,1.4vw,20px)/1.4 Archivo,Inter,sans-serif;letter-spacing:.04em}
#opening .leaders{right:-3%;bottom:-18%;height:108%;width:68%;object-position:right bottom;filter:grayscale(1) brightness(.95);mask-image:linear-gradient(#000 70%,transparent);animation:film-cutout var(--shot-time,8s) ease-out both}#opening .reconciliation .cinema-copy{max-width:54%;top:39%}#opening .reconciliation .cinema-copy h1{font-size:clamp(36px,5.1vw,78px)}#opening .reconciliation .cinema-line{max-width:25ch}
#opening .road .cinema-copy{top:34%}#opening .road .cinema-copy h1{font-size:clamp(34px,4.9vw,72px)}
.cinema-road{position:absolute;left:8vw;right:8vw;bottom:17%;display:flex;justify-content:space-between;gap:28px;padding-top:24px;border-top:1px solid #d5c9aa66;z-index:3}.cinema-road span{font:600 clamp(30px,4.6vw,68px)/1 Archivo,sans-serif;color:#d5c9aa;animation:film-copy 1.5s both}.cinema-road span:nth-child(2){animation-delay:.5s}.cinema-road span:nth-child(3){animation-delay:1s}.cinema-road small{display:block;font:400 clamp(13px,1.4vw,20px)/1.5 Inter,sans-serif;color:#c1bcb0;max-width:19ch;margin-top:14px}
#opening .flag,#opening .euro{background:radial-gradient(ellipse at 75% 40%,#0b2fa3,#03051b 75%)}
.cinema-drapeau{position:absolute;width:90%;height:130%;right:-15%;top:-13%;transform:perspective(1000px) rotateY(-18deg) rotateZ(-9deg);opacity:.82;mask-image:radial-gradient(ellipse,#000 38%,transparent 72%);animation:film-flag 10s ease-in-out infinite alternate}.cinema-drapeau img{width:100%;height:100%;object-fit:cover}.cinema-drapeau:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(100deg,transparent 0%,#0004 18%,#ffffff18 30%,transparent 50%);mix-blend-mode:soft-light}
#opening .flag .cinema-copy{top:50%;max-width:75%}#opening .flag .cinema-line{max-width:35ch}#opening .maastricht .cinema-copy{top:47%;max-width:72%}
.cinema-treaty{position:absolute;right:-18%;top:32%;font:600 clamp(80px,13vw,200px)/1 Archivo,sans-serif;color:#d5c9aa;letter-spacing:.05em;transform:rotate(-13deg);opacity:.11}.cinema-treaty span{display:block;font:400 clamp(22px,4vw,60px)/2 Inter,sans-serif;letter-spacing:.2em}
#opening .euro .cinema-giant-year{top:4%;left:5%;color:#fff;opacity:.16;z-index:2}#opening .euro .cinema-copy{top:48%;max-width:70%}#opening .euro .cinema-date{color:#fff3b1}#opening .euro .cinema-drapeau{opacity:.5}
.cinema-euro{position:absolute;z-index:2;right:3%;bottom:1%;font:400 clamp(270px,42vw,650px)/1 "Libre Caslon Text",serif;color:var(--film-gold);opacity:.42;animation:film-euro 7s ease-out both}.cinema-eleven{position:absolute;left:8vw;right:8vw;bottom:8%;font:400 clamp(10px,1.1vw,16px)/1.9 Inter,sans-serif;color:#c5cfee;z-index:3}
#opening .cash .cinema-copy{top:35%;max-width:65%}.cinema-banknotes{position:absolute;right:-1%;bottom:2%;width:62%;height:68%;z-index:1}#opening .banknote{position:absolute;width:64%;height:auto;box-shadow:0 20px 80px #0008;animation:film-banknote 7s ease-out both}#opening .note-0{left:6%;top:7%;--angle:-17deg}#opening .note-1{left:30%;top:30%;--angle:9deg;animation-delay:.18s}#opening .note-2{left:2%;top:51%;--angle:-5deg;animation-delay:.4s}
#opening .mandate .cinema-copy{max-width:1000px}.cinema-mandate-euro{position:absolute;right:1%;top:0;font:400 85vh/1 "Libre Caslon Text",serif;color:#233d90;opacity:.22}.cinema-mandate-stars{position:absolute;width:40%;height:70%;right:0;top:10%;opacity:.2}
.cinema-europa{position:absolute;right:-5%;bottom:3%;width:70%;height:89%;object-fit:contain;object-position:right bottom;z-index:2;animation:film-europa 14s ease-out both}.cinema-constellation{position:absolute;width:47%;height:70%;right:5%;top:1%;opacity:.24;z-index:1}#opening .europa .cinema-copy{max-width:57%;top:41%}#opening .europa .cinema-copy h1{font-size:clamp(35px,5.1vw,77px)}#opening .europa .cinema-line{max-width:27ch;color:#ffe29a}
#opening .title{background:radial-gradient(ellipse at 80% 55%,#102454,#030304 68%)}#opening .title .cinema-europa{width:57%;right:-4%;bottom:7%;opacity:.75;mask-image:linear-gradient(90deg,transparent,#000 27%)}#opening .title .cinema-constellation{width:40%;right:1%;top:-2%;opacity:.2}
.cinema-title-copy{position:absolute;z-index:4;left:8vw;right:7vw;top:49%;transform:translateY(-50%);max-width:60%}.cinema-title-copy h1{font:400 clamp(42px,6.6vw,102px)/1.08 "Libre Caslon Text",Georgia,serif;letter-spacing:-.055em;color:#f4f0e8;margin:0}.cinema-title-copy h1 em{font-weight:400;color:#ffcf55}.cinema-title-copy blockquote{font:italic clamp(15px,1.35vw,20px)/1.7 "Libre Caslon Text",Georgia,serif;max-width:45ch;margin:30px 0 0;padding:0;border:0;color:#d7d0c2}.cinema-title-copy cite{display:block;font:500 12px/1.5 Inter,sans-serif;font-style:normal;letter-spacing:.08em;color:#d5c9aa;margin-top:14px}.cinema-title-copy button{display:inline-flex;gap:28px;align-items:center;background:none;border:0;border-bottom:1px solid #d5c9aa88;color:#ffe29a;font:600 15px/1.5 Inter,sans-serif;padding:12px 0;margin-top:22px;cursor:pointer}.cinema-title-copy button span{font-size:28px;font-weight:400}
.cinema-controls,.cinema-navigation{position:absolute;z-index:8;display:flex;gap:22px;align-items:center}.cinema-controls{right:28px;top:18px}.cinema-navigation{left:28px;right:28px;bottom:15px;justify-content:space-between;pointer-events:none}.cinema-controls button,.cinema-navigation button{background:none;border:0;padding:9px 0;min-height:42px;color:#c0bbaf;font:500 12px/1.5 Inter,sans-serif;cursor:pointer;text-shadow:0 1px 8px #000}.cinema-navigation button{font-size:28px;width:44px;pointer-events:auto;opacity:.7}.cinema button:disabled{opacity:.2;cursor:default}.cinema button:hover{color:#fff}.cinema button:focus-visible{outline:2px solid var(--film-gold);outline-offset:5px}
.cinema-grain{position:absolute;inset:0;z-index:6;opacity:.055;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}#opening.is-paused *{animation-play-state:paused!important}
@keyframes film-copy{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes film-drift{from{transform:scale(1.02)}to{transform:scale(1.12) translateY(-1%)}}@keyframes film-cutout{from{transform:translate(3%,4%) scale(1.03);opacity:.5}to{transform:translate(0,0) scale(1);opacity:1}}@keyframes film-poster{from{transform:rotate(12deg) translate(5%,3%)}to{transform:rotate(5deg) translate(0,0)}}@keyframes film-flag{from{transform:perspective(1000px) rotateY(-18deg) rotateZ(-9deg) translateX(2%)}to{transform:perspective(1000px) rotateY(-8deg) rotateZ(-5deg) translateX(-2%)}}@keyframes film-euro{from{transform:translateY(5%) scale(.85);opacity:0}to{transform:translateY(0) scale(1);opacity:.42}}@keyframes film-banknote{from{transform:rotate(var(--angle)) translate(20%,22%);opacity:0}to{transform:rotate(var(--angle)) translate(0,0);opacity:1}}@keyframes film-europa{from{transform:translateX(5%) scale(1.02)}to{transform:translateX(0) scale(1)}}
@media(max-width:700px){
 .cinema-copy{left:7vw;right:7vw;top:46%}.cinema-copy h1{font-size:clamp(31px,8.2vw,52px);letter-spacing:-.045em}.cinema-date{font-size:11px;letter-spacing:.16em;margin-bottom:22px}.cinema-line{font-size:16px;line-height:1.65;margin-top:25px;max-width:30ch}.cinema-controls{left:7vw;right:7vw;top:12px;justify-content:space-between;gap:12px}.cinema-controls button{font-size:10px}.cinema-navigation{left:6vw;right:6vw;bottom:12px}
 .cinema-giant-year{font-size:47vw;left:2vw;top:12vh}#opening .ruins .cinema-copy{bottom:17%}#opening .ruins .cinema-copy h1{font-size:12vw}#opening .ruins .cinema-line{font-size:16px;max-width:26ch}#opening .empires .cinema-image{width:190%;height:80%;left:-45%;top:0;object-fit:cover}#opening .empires .cinema-copy{top:63%}#opening .displaced .cinema-copy{top:61%}
 #opening .dependence .cinema-copy{top:59%;max-width:none}#opening .dependence .cinema-copy h1{font-size:8.6vw}#opening .dependence .cinema-line{max-width:29ch}#opening .soviet{height:80%;width:95%;left:-23%;bottom:14%;opacity:.55}#opening .marshall{height:65%;width:70%;right:-16%;top:8%;opacity:.65}#opening .rome .cinema-image{width:135%;height:78%;right:-30%;bottom:-5%;opacity:.65}#opening .rome .cinema-copy{max-width:none;top:33%}#opening .rome .cinema-line{max-width:28ch}
 #opening .six .cinema-copy{top:16%}#opening .six .cinema-copy h1{font-size:9vw}.cinema-states{left:8%;right:8%;bottom:12%;display:grid;grid-template-columns:1fr 1fr;gap:24px 14px}.cinema-states i{width:39px;height:26px;margin-bottom:9px}.cinema-states span{font-size:13px}#opening .leaders{width:125%;height:74%;right:-22%;bottom:-10%;opacity:.85}#opening .reconciliation .cinema-copy{max-width:none;top:30%}#opening .reconciliation .cinema-copy h1{font-size:8.9vw}#opening .reconciliation .cinema-line{max-width:24ch}
 #opening .road .cinema-copy{top:29%}#opening .road .cinema-copy h1{font-size:8.4vw}.cinema-road{left:8vw;right:8vw;bottom:20%;gap:15px}.cinema-road span{font-size:8.6vw}.cinema-road small{font-size:11px;line-height:1.5;margin-top:14px}.cinema-drapeau{width:155%;height:105%;right:-36%;top:0;opacity:.65}#opening .flag .cinema-copy{max-width:none;top:51%}#opening .flag .cinema-copy h1{font-size:10vw}#opening .flag .cinema-line{max-width:29ch}
 #opening .maastricht .cinema-copy{max-width:none;top:45%}.cinema-treaty{font-size:19vw;right:-20%;top:20%}.cinema-treaty span{font-size:5vw}#opening .euro .cinema-giant-year{font-size:44vw;top:14%;left:4vw}#opening .euro .cinema-copy{max-width:none;top:48%}#opening .euro .cinema-copy h1{font-size:11.4vw}#opening .euro .cinema-date{max-width:22ch}.cinema-euro{font-size:92vw;right:-9%;bottom:11%;opacity:.22}.cinema-eleven{bottom:12%;font-size:9px;line-height:2;left:7vw;right:7vw}
 #opening .cash .cinema-copy{max-width:none;top:29%}#opening .cash .cinema-copy h1{font-size:9.5vw}#opening .cash .cinema-line{max-width:26ch}.cinema-banknotes{width:105%;height:55%;right:-8%;bottom:3%}#opening .mandate .cinema-copy h1{font-size:9.3vw}.cinema-mandate-euro{font-size:80vh;right:-35%;top:15%}.cinema-mandate-stars{width:85%;right:-15%;top:4%;height:65%}
 .cinema-europa{width:125%;height:70%;right:-23%;bottom:1%;opacity:.85}.cinema-constellation{width:80%;height:60%;right:-10%;top:30%;opacity:.17}#opening .europa .cinema-copy{max-width:none;top:28%}#opening .europa .cinema-copy h1{font-size:9.2vw}#opening .europa .cinema-line{max-width:25ch}#opening .title .cinema-europa{width:120%;height:54%;right:-30%;bottom:-1%;opacity:.28;mask-image:linear-gradient(0deg,#000 50%,transparent)}#opening .title .cinema-constellation{width:80%;height:65%;top:37%;right:-9%;opacity:.12}
 .cinema-title-copy{left:7vw;right:7vw;max-width:none;top:46%}.cinema-title-copy h1{font-size:12.4vw;letter-spacing:-.055em}.cinema-title-copy .cinema-date{font-size:9px;margin-bottom:24px}.cinema-title-copy blockquote{font-size:15px;line-height:1.75;margin-top:28px;max-width:33ch}.cinema-title-copy cite{font-size:11px;margin-top:14px}.cinema-title-copy button{font-size:13px;margin-top:22px}
}
@media(max-height:550px) and (min-width:701px){.cinema-copy h1{font-size:8vh}.cinema-line{font-size:3vh;margin-top:16px}.cinema-date{margin-bottom:16px}.cinema-title-copy h1{font-size:10vh}.cinema-title-copy blockquote{font-size:2.7vh;margin-top:14px}.cinema-title-copy button{margin-top:8px}.cinema-states{bottom:14%}}
@media(prefers-reduced-motion:reduce){.cinema-stage{transition:none}.cinema-stage *{animation:none!important}.cinema-image,.cinema-cutout,.cinema-europa{transform:none}.cinema-copy h1,.cinema-line,.cinema-date,.cinema-states>div{opacity:1}.cinema-drapeau{transform:rotate(-5deg)}}

/* Manual navigation while paused must reveal the next still, including its text. */
#opening.is-paused .cinema-stage.on .cinema-date,#opening.is-paused .cinema-stage.on h1,#opening.is-paused .cinema-stage.on .cinema-line,#opening.is-paused .cinema-states>div,#opening.is-paused .banknote{animation:none!important;opacity:1}
#opening.is-paused .banknote{transform:rotate(var(--angle))}

/* Dates remain explicit; cutouts stay lit in front of the photographic vignette. */
#opening .ruins .cinema-date{display:block;font-size:clamp(24px,4vw,50px);letter-spacing:.04em;color:#f4f0e8;margin-bottom:15px}
#opening .leaders{z-index:3;filter:grayscale(1) brightness(1.08)}
#opening .europa .cinema-europa{right:1%;width:65%;height:88%;z-index:3}
#opening.is-paused .cinema-cutout{animation:none!important;opacity:1}
#opening.is-paused .cinema-euro{animation:none!important;opacity:.42}
@media(max-width:700px){#opening .ruins .cinema-date{font-size:32px}#opening .europa .cinema-europa{right:-9%;bottom:3%;width:110%;height:61%}}
