/* from video/index.html (project_page/build_assets.py) */
@font-face { font-family: "Inter"; src: url("fonts/Inter.ttf"); font-weight: 100 900; }
:root {
  --ink: #1F2430; --mute: #5B6472; --navy: #1F3A68; --ours: #1F5AA6; --oursL: #B9CDEB; --ours2: #5E8ED3; --oursLL: #DCE7F6;
  --prior: #C0392B; --priorL: #F0B6AE; --vis: #17867F; --sme: #B5294E; --smeL: #F4DCE4; --ok: #1E7D45; --bad: #B42318;
  --grid: #DCE6F2; --amber: #C98420; --smem: #2A8A8A;
}
html, body { margin: 0; background: #fff; }
#stage { position: relative; width: 1920px; height: 1080px; overflow: hidden; font-family: Inter, "DejaVu Sans", sans-serif; color: var(--ink);
  background: radial-gradient(1100px 720px at 0% 0%, rgba(181, 41, 78, .09), transparent 70%),
              radial-gradient(1250px 820px at 100% 100%, rgba(31, 90, 166, .13), transparent 70%), #fff; }
.scene { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; opacity: 0; visibility: hidden; }
.kicker { position: absolute; left: 120px; top: 62px; font-size: 21px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ours); }
.title { position: absolute; left: 120px; top: 92px; font-size: 50px; font-weight: 740; letter-spacing: -.012em; white-space: nowrap; }
/* subtitles: one line on a faint plate (the width follows the text), so that the narration is told apart from figure text */
.cap { position: absolute; left: 0; width: 1920px; top: 922px; text-align: center; white-space: nowrap; }
.capt { display: inline-block; min-width: 520px; box-sizing: border-box; padding: 10px 30px 11px; border-radius: 14px; background: rgba(31, 58, 104, .07);
  box-shadow: inset 0 0 0 1px rgba(31, 58, 104, .05); font-size: 29px; font-weight: 560; line-height: 1.3; color: #1F2430; }
.abs { position: absolute; box-sizing: border-box; }
.card { position: absolute; background: #fff; border: 1.5px solid var(--grid); border-radius: 18px; box-shadow: 0 10px 30px rgba(31, 58, 104, .08); box-sizing: border-box; }
.img { position: absolute; border-radius: 16px; background-size: cover; background-position: center; box-shadow: 0 10px 30px rgba(31, 58, 104, .14); box-sizing: border-box; }
.chip { display: inline-block; padding: 7px 18px; border-radius: 999px; font-size: 25px; font-weight: 600; margin: 0 10px 10px 0; white-space: nowrap; }
.chip.vis { background: #D9F0EE; color: #0F5F5A; } .chip.sme { background: var(--smeL); color: #8E1C3B; } .chip.navy { background: #E3E9F3; color: var(--navy); }
.chip.ok { background: #DDF1E4; color: var(--ok); } .chip.bad { background: #FBE1DD; color: var(--bad); } .chip.ours { background: var(--oursLL); color: var(--ours); }
.chip.white { background: rgba(255, 255, 255, .93); color: var(--navy); box-shadow: 0 2px 8px rgba(31, 58, 104, .18); }
.lab { font-size: 21px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.h2 { font-size: 34px; font-weight: 700; }
.p { font-size: 28px; line-height: 1.38; }
.small { font-size: 23px; color: var(--mute); line-height: 1.35; }
.barlab { font-size: 27px; text-align: right; white-space: nowrap; }
.barval { font-size: 27px; font-weight: 600; white-space: nowrap; }
.b { font-weight: 760; }
.tag { display: inline-block; margin-left: 10px; padding: 2px 12px; border-radius: 10px; color: #fff; font-size: 24px; font-weight: 700; }
.num { font-size: 76px; font-weight: 780; letter-spacing: -.02em; color: var(--ours); line-height: 1; }
.badge { display: inline-block; width: 44px; height: 44px; border-radius: 50%; background: var(--ours); color: #fff; font-weight: 760; font-size: 25px; line-height: 44px; text-align: center; }
.row { display: flex; align-items: center; }
.mono { font-family: "DejaVu Sans Mono", monospace; }
.figtag { position: absolute; right: 18px; bottom: 10px; font-size: 18px; color: var(--mute); font-weight: 500; }
svg text { font-family: Inter, "DejaVu Sans", sans-serif; }
/* fixed parts */
#brand { position: absolute; right: 120px; top: 58px; width: 250px; height: 64px; background: url("assets/fig/logo.png") right center/contain no-repeat; opacity: 0; }
#chap { position: absolute; left: 120px; top: 1018px; width: 1680px; height: 50px; opacity: 0; }
#chap .seg { position: absolute; top: 0; height: 50px; }
#chap .trk { position: absolute; left: 0; top: 0; width: 100%; height: 7px; border-radius: 4px; background: #D5DFEE; overflow: hidden; }
#chap .fill { position: absolute; left: 0; top: 0; height: 7px; width: 0; background: var(--ours); border-radius: 4px; }
#chap .nm { position: absolute; left: 0; top: 15px; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6B7A90; white-space: nowrap; }
#chap .seg.on .nm { color: var(--ours); } #chap .seg.done .nm { color: var(--navy); }
/* vertical cut (index.html?vertical, 1080 x 1920): the stage at 9/16 of its size in the middle, the logo and the title above it,
   the subtitle in large type below it, the logos of the university and the lab and the page's address at the foot */
body.vert #frame { position: relative; width: 1080px; height: 1920px; overflow: hidden; font-family: Inter, "DejaVu Sans", sans-serif; color: var(--ink);
  background: radial-gradient(1000px 900px at 0% 0%, rgba(181, 41, 78, .09), transparent 70%),
              radial-gradient(1100px 1100px at 100% 100%, rgba(31, 90, 166, .13), transparent 70%), #fff; }
body.vert #stage { position: absolute; left: 0; top: 656px; transform: scale(.5625); transform-origin: 0 0; background: none; }
body.vert .cap, body.vert #brand { display: none; }
#vtop { position: absolute; left: 0; top: 190px; width: 1080px; text-align: center; opacity: 0; }
#vtop .vlogo { height: 150px; background: url("assets/fig/logo.png") center/contain no-repeat; mix-blend-mode: multiply; }   /* the logo has a white ground */
#vtop .vtitle { margin-top: 46px; font-size: 42px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
#vcap { position: absolute; left: 60px; width: 960px; top: 1318px; text-align: center; opacity: 0; }
#vcap .capt { min-width: 0; padding: 18px 34px 20px; border-radius: 22px; font-size: 45px; line-height: 1.34; white-space: normal; }
#vfoot { position: absolute; left: 0; width: 1080px; top: 1690px; text-align: center; }
#vfoot img { height: 76px; margin: 0 24px; vertical-align: middle; }
#vfoot .vurl { margin-top: 28px; font-size: 30px; font-weight: 600; color: var(--ours); }
