/* Geometry is measured from the supplied 1280 × 960 photograph. */
#cinematicEntrance{background:transparent;isolation:isolate;}
#cinematicEntrance #entranceStage{left:0;top:0;transform-origin:0 0;will-change:transform;}
#cinematicEntrance #entranceFacade{
 width:100%;height:100%;display:block;user-select:none;
 -webkit-mask-image:url('assets/facade-mask.svg');
 mask-image:url('assets/facade-mask.svg');
 -webkit-mask-size:100% 100%;mask-size:100% 100%;
 -webkit-mask-position:0 0;mask-position:0 0;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 mask-mode:alpha;
}
#cinematicEntrance .portal-slot{
 left:46.015625%;top:55.520833333%;width:8.046875%;height:18.125%;
 overflow:hidden;perspective:900px;
 --door-texture:url('assets/door-source.webp');
}
#cinematicEntrance .portal-darkness{position:absolute;inset:0;background:#100d08;opacity:1;}
#cinematicEntrance .portal-leaf{
 position:absolute;top:0;bottom:0;width:50%;
 background-image:var(--door-texture);background-size:200% 100%;background-repeat:no-repeat;
 backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;
}
#cinematicEntrance .portal-left{left:0;right:auto;background-position:0 0;transform-origin:left center;}
#cinematicEntrance .portal-right{left:auto;right:0;background-position:100% 0;transform-origin:right center;}
#cinematicEntrance #portalButton{
 left:0;top:0;transform:none;min-width:0;min-height:0;padding:0;
 border:0;background:transparent;touch-action:manipulation;
}
#cinematicEntrance #portalButton:disabled{pointer-events:none;}
#cinematicEntrance #portalButton:focus-visible{outline:2px solid #ffe4a3;outline-offset:7px;}
body.cinematic-active #cinematicEntrance #portalPrompt{
 left:50%;bottom:calc(4% + 60px);transform:translateX(-50%);max-width:calc(100% - 40px);
 min-height:44px;margin:0;padding:13px 22px;
 font:13px/1.4 Georgia,serif;letter-spacing:.4px;text-align:center;
 color:#fff3da;background:#172b36ed;white-space:nowrap;
}
body.cinematic-active #cinematicEntrance #entryReturn{
 left:50%;bottom:4%;transform:translateX(-50%);min-height:44px;
 width:max-content;max-width:calc(100% - 40px);white-space:normal;
 padding:11px 20px;font-size:12px;color:#fff3da;background:#172b36ed;
}
body.cinematic-active #cinematicEntrance #entryReturn:hover{background:#233f4e;color:#fff;}
body.cinematic-active #cinematicEntrance #entryReturn:focus-visible{outline:2px solid #ffe4a3;outline-offset:4px;}
body.cinematic-active .vignette{background:linear-gradient(#18375018,transparent 20%,transparent 88%,#18375018);}
body.cinematic-active header{background:#122d3c80;}
body.cinematic-active #intro .primary{background:#172b36ed;color:#fff3da;border-color:#f0d4a480;}
body.cinematic-active #intro .primary:hover{background:#233f4e;}
body.cinematic-active .language-switch{background:#172b36;border-color:#b8d0dc80;}
body.cinematic-active .language-switch button{color:#e1ecf0;}
body.cinematic-active .language-switch button[aria-pressed='true']{background:#f0e8d6;color:#263c49;}
body.cinematic-active .language-switch button:hover{background:#345465;color:#fff;}
body.cinematic-active .language-switch button[aria-pressed='true']:hover{background:#fff5de;color:#263c49;}

@media(max-width:700px){
 body.cinematic-active #cinematicEntrance #portalPrompt{width:max-content;white-space:normal;}
}
@media(max-height:520px) and (min-aspect-ratio:3/2){
 body.cinematic-active header{inset:8px 12px auto;min-height:52px;padding:6px 12px;}
 body.cinematic-active .brand .seal{width:36px;height:36px;}
 body.cinematic-active .wordmark{display:none;}
 body.cinematic-active .nav-link{padding:8px 11px;font-size:11px;}
 body.cinematic-active .header-actions{gap:9px;}
 body.cinematic-active #intro{left:24px;bottom:60px;width:min(270px,38vw);padding:0;text-align:left;}
 body.cinematic-active #intro .primary{min-width:170px;padding:12px 16px;font-size:12px;gap:20px;}
 body.cinematic-active #cinematicEntrance #portalPrompt{bottom:72px;}
 body.cinematic-active #cinematicEntrance #entryReturn{bottom:12px;}
}
@media(prefers-reduced-motion:reduce){
 #cinematicEntrance #entranceStage,#cinematicEntrance .portal-leaf{will-change:auto;}
}
