@font-face{font-family:Onest;src:url(assets/fonts/onest-cyrillic.woff2) format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-052F}
@font-face{font-family:Onest;src:url(assets/fonts/onest-latin.woff2) format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:SovMod;src:url(assets/fonts/sovmod.woff2) format('woff2');font-display:swap}
:root{--cream:#f5f5f3;--ink:#231f20;--red:#c9211b;--gold:#cfb45d;--line:#deddd6;--sans:Onest,'Segoe UI',sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:var(--cream);color:var(--ink);font-family:var(--sans);-webkit-tap-highlight-color:transparent;user-select:none}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:5px solid var(--gold);outline-offset:5px}[hidden]{display:none!important}
#menu{height:100dvh;padding:0 3.333vw;display:grid;grid-template-rows:11.85vh 14.63vh 1fr 7.04vh;gap:0}.header{display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line)}.wordmark{font-family:SovMod;font-size:clamp(24px,2.7vw,52px);color:var(--red);line-height:1}.header p{font-size:clamp(12px,1.04vw,20px);line-height:1.35;margin:0;padding-left:30px;border-left:1px solid var(--line)}.anniversary{margin-left:auto;font-size:clamp(14px,1.15vw,22px);letter-spacing:.1em}.anniversary span{color:var(--gold);margin:0 15px}.heading{display:flex;align-items:center;justify-content:space-between}.heading h1{font-family:SovMod;font-weight:400;font-size:clamp(32px,3.96vw,76px);line-height:1;margin:0;letter-spacing:-.02em}.heading p{display:flex;gap:18px;align-items:center;font-size:clamp(12px,1.04vw,20px);line-height:1.4;margin:0;color:#74716b}.heading svg{width:38px;height:38px;color:var(--red)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:2.22vh 1.25vw;padding-bottom:0}.card{position:relative;overflow:hidden;isolation:isolate;border:0;border-radius:2px;padding:0;color:white;text-align:left;background:#252525;min-width:0;min-height:0;transition:transform .18s}.card:active{transform:scale(.985)}.card video,.card .poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.card .poster{transition:opacity .4s}.card.playing .poster{opacity:0}.card:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.12),transparent 25%,rgba(0,0,0,.18) 45%,rgba(0,0,0,.88))}.card-index{position:absolute;top:22px;left:25px;font-size:16px;letter-spacing:.12em}.card-status{position:absolute;right:20px;top:19px;font-size:12px;max-width:70%;background:#231f20b3;padding:7px 10px;border:1px solid #ffffff40;backdrop-filter:blur(8px)}.card-caption{position:absolute;left:26px;right:24px;bottom:24px}.card-title{font-family:SovMod;font-size:clamp(22px,1.93vw,37px);font-weight:400;line-height:1.1;display:block;padding-right:42px;text-wrap:balance}.card-description{display:block;font-size:clamp(12px,.94vw,18px);margin-top:10px;color:#eeece6}.card-touch{position:absolute;right:0;bottom:0;width:48px;height:52px;display:grid;place-items:center;color:var(--gold)}.card-touch svg{width:48px;height:48px;overflow:visible}footer{display:flex;align-items:center;justify-content:space-between;color:#77746f;font-size:clamp(11px,.83vw,16px)}footer b{font-size:24px;font-weight:400;margin-left:12px;color:var(--red)}#connection{font-size:12px;max-width:45%;text-align:center}
#viewer{position:fixed;inset:0;background:var(--cream);z-index:10;display:flex;flex-direction:column}.viewer-bar{height:88px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 28px;gap:25px}.back,#message-back{border:0;background:var(--red);color:white;min-height:60px;padding:12px 25px;font-size:20px}.back{display:flex;gap:15px;align-items:center}#viewer-title{font-size:23px}.viewer-mark{font-family:SovMod;color:var(--red);font-size:26px}#frame-host{flex:1;min-height:0}iframe{border:0;width:100%;height:100%;display:block;background:var(--cream)}#message{position:absolute;inset:88px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--cream);text-align:center;padding:40px}.message-icon{font-size:70px;color:var(--gold)}#message h2{font-family:SovMod;font-size:48px;font-weight:400;max-width:850px;margin:30px 0 15px}#message p{font-size:22px;max-width:700px;line-height:1.5;margin:0 0 35px;color:#77746f}
dialog{background:var(--cream);color:var(--ink);border:0;padding:55px;max-width:750px;text-align:center;box-shadow:0 20px 120px #0005}dialog::backdrop{background:#171713b3;backdrop-filter:blur(8px)}.eyebrow{color:var(--red);font-size:18px}dialog h2{font-family:SovMod;font-weight:400;font-size:44px;line-height:1.1;margin:24px 0}dialog p{font-size:22px;margin-bottom:35px}dialog button{display:block;width:100%;padding:20px;border:0;background:var(--red);color:white;font-size:23px;min-height:70px}dialog .secondary{margin-top:12px;background:transparent;color:var(--ink);border:1px solid var(--line)}
@media(max-aspect-ratio:4/3){#menu{padding:0 24px;grid-template-rows:90px 110px 1fr 65px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:14px}.header p{font-size:13px}.heading h1{font-size:40px}.heading p{font-size:13px}.card-title{font-size:25px}.card-caption{left:18px;bottom:18px}.card-description{font-size:13px}.card-index{top:15px;left:18px}.card-status{font-size:10px;right:12px;top:12px}.viewer-mark{display:none}#viewer-title{font-size:16px}footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.card,.card .poster{transition:none}}

/* Exhibition menu: site typography, prompt below the projects. */
#menu{grid-template-rows:11.85vh minmax(0,1fr) 13.33vh 5.56vh}
.header p{white-space:nowrap}
.wordmark,.viewer-mark{font-family:SovMod,var(--sans)}
.grid{padding-top:24px}
.heading{flex-direction:column;justify-content:center;gap:12px}
.heading h1{font-family:var(--sans);font-size:48px;font-weight:700;line-height:1.2;letter-spacing:-.01em;text-align:center}
.heading p{font-size:16px;line-height:1.4;gap:10px}
.heading svg{width:26px;height:26px}
.card-title{font-family:var(--sans);font-size:30px;font-weight:700;line-height:1.15;letter-spacing:-.01em}
#message h2,dialog h2{font-family:var(--sans);font-weight:700}
@media(max-aspect-ratio:4/3){#menu{grid-template-rows:90px minmax(0,1fr) 105px 55px}.heading h1{font-size:34px}.heading p{font-size:13px}.grid{padding-top:18px}.card-title{font-size:23px}.header{gap:18px}.header p{padding-left:18px;font-size:14px}}

/* SovMod is unicase: match the main site wordmark. */
.wordmark,.viewer-mark{font-family:SovMod,Onest,Georgia,serif;font-weight:400;text-transform:uppercase;letter-spacing:.01em}

/* Exhibition title and QR in the header. */
.header p{font-size:clamp(22px,2.083vw,40px);font-weight:600;line-height:1.15;letter-spacing:-.02em}
.header-qr{display:block;width:104px;height:104px;flex-shrink:0;object-fit:contain}
.footer-credit{white-space:nowrap}
@media(max-aspect-ratio:4/3){.header p{font-size:20px}.header-qr{width:64px;height:64px}.anniversary{font-size:14px}.anniversary span{margin:0 7px}}

/* Static project images with authors below each card. */
#menu{grid-template-rows:11.85vh minmax(0,1fr) 48px 60px}
.project-entry{display:grid;grid-template-rows:minmax(0,1fr) 68px;gap:12px;min-width:0;min-height:0}
.project-entry .card{width:100%;height:100%}
.project-credits{font-size:15px;line-height:21px;padding:0 2px;color:#74716b}
.project-team{display:block;font-weight:700;color:var(--ink);margin-bottom:3px}
.project-authors{display:block;text-wrap:pretty}
.heading{gap:0}
@media(max-aspect-ratio:4/3){#menu{grid-template-rows:90px minmax(0,1fr) 40px 55px}.project-entry{grid-template-rows:minmax(0,1fr) 76px;gap:8px}.project-credits{font-size:12px;line-height:17px}}

.project-author{display:block;color:var(--ink);font-size:16px;line-height:22px}
@media(max-aspect-ratio:4/3){.project-author{font-size:12px;line-height:18px}}

#menu{grid-template-rows:11.85vh minmax(0,1fr) 76px}
.project-entry{grid-template-rows:minmax(0,1fr) 52px}
footer{gap:32px}
footer>span:first-child{max-width:1100px;line-height:1.4}
.footer-credit{flex-shrink:0}
@media(max-aspect-ratio:4/3){#menu{grid-template-rows:90px minmax(0,1fr) 70px}.project-entry{grid-template-rows:minmax(0,1fr) 48px}}

/* Small top inset for the header QR code. */
.header-qr{margin-top:16px}
@media(max-aspect-ratio:4/3){.header-qr{margin-top:0}}
