/* Quiet, pipe-separated indexes using the same language as the main navigation. */
html{scroll-behavior:smooth;scroll-padding-top:88px}
.work-index{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 0;margin:24px 0 34px;font:18px/1.5 Alata,sans-serif;color:#ffa000}
.work-index>span{display:inline-flex;align-items:baseline;white-space:nowrap}
.work-index i{font-style:normal;color:white;margin:0 12px}
.work-index a{color:inherit;text-decoration:none}
.work-index a:hover,.work-index a:focus-visible{color:white;text-decoration:underline;text-underline-offset:5px}
.work-index a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.megaming .work-index{color:#302016}
.venibarque .work-index{color:#ffd361}
.ai .work-index{color:#241c3b}
.writtenwork .work-index{color:#ffdb64}
main> .work-index + .writing-archive,main> .work-index + .games-archive{margin-top:34px}
main> .work-index + .digital-project{margin-top:34px}
.project-intro:has(.work-index) + .scene{margin-top:0}
.project-intro:has(.work-index) + .map-section{padding-top:12px}
/* Keep the prototype and its film together instead of a short logo beside a tall research grid. */
@media(min-width:701px){
 .digital-workbench{grid-template-columns:1.1fr 1fr;align-items:start;gap:28px 44px}
 .digital-workbench .documentation{grid-column:1;grid-row:1/3}
 .digital-workbench .prototype{grid-column:2;grid-row:1}
 .digital-workbench .marketing{grid-column:2;grid-row:2}
 .digital-workbench .research-blog{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px 24px;align-items:center;max-width:820px}
 .research-blog h3{grid-column:1/-1;margin:0}
 .research-blog p{margin:0}
 .digital-workbench .documents{gap:24px}
 .digital-workbench .documents .artifact{max-width:100%}
}
/* Remove unused space belonging to the old 'how it came together' prompt. */
.opening{padding-bottom:0;margin-bottom:28px}
.schematic,.project-pdf{border-top-color:white}
@media(max-width:700px){
 .work-index{font-size:16px;line-height:1.7;gap:5px 0;margin:20px 0 28px}
 .work-index i{margin:0 9px}
 .digital-workbench .prototype{order:0}.digital-workbench .documentation{order:1}.digital-workbench .marketing{order:2}.digital-workbench .research-blog{order:3}
 .world-portals{margin-top:24px}
 .opening{margin-bottom:20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* The index is the transition from introduction to work, not another loose caption. */
.work-index{display:block;border-top:1px solid #fff;border-bottom:1px solid #fff;padding:15px 0 18px;margin:28px 0 36px;max-width:100%}
.work-index .index-label{font-size:13px;line-height:1.3;color:#fff;margin:0 0 10px}
.work-index .index-links{display:flex;flex-wrap:wrap;gap:7px 0;font-size:22px;line-height:1.35}
.work-index .index-links>span{display:inline-flex;align-items:baseline;white-space:nowrap}
.work-index i{margin:0 14px}
/* Works and their support read as complete sections, with consistent starts. */
.digital-project + .digital-project{border-top:1px solid white;padding-top:38px;margin-top:48px}
.digital-project>header{max-width:900px}
.digital-project>header .description{margin-bottom:0}
.digital-workbench{margin-top:28px}
.digital-workbench h3{font-size:22px;margin:0 0 15px}
.digital-project>.awards{border-top:1px solid #fff;padding-top:24px;margin-top:28px}
.written-piece:nth-child(n+3){border-top:1px solid #fff;padding-top:28px}
.narrated-game{border-left:0;padding-left:0;padding-top:24px;margin-bottom:36px;border-top:1px solid #fff}
.narrated-game:first-child{border-top:0;padding-top:0}
.narrated-game:before{display:none}
.world-documents,.world-watch,.world-see{border-top:1px solid #fff;padding-top:26px;margin-top:36px}
.world-documents h2,.world-watch h2,.world-see h2{margin-bottom:22px}
.world-see .collection{margin-top:28px}
.scene + .scene{border-top:1px solid #fff;padding-top:12px}
.map-section + .map-section{border-top:1px solid #fff;padding-top:32px;margin-top:36px}
.attempt + .attempt{border-top:1px solid #fff;padding-top:32px}
.attempt{margin-bottom:60px}
@media(max-width:700px){
 .work-index{padding:13px 0 15px;margin:24px 0 28px}
 .work-index .index-links{font-size:18px;line-height:1.5;gap:6px 0}
 .work-index i{margin:0 10px}
 .work-index .index-label{font-size:12px;margin-bottom:8px}
 .written-piece:nth-child(n+2){border-top:1px solid #fff;padding-top:24px}
 .digital-project + .digital-project{padding-top:28px;margin-top:34px}
 .world-documents,.world-watch,.world-see{padding-top:22px}
 .attempt{margin-bottom:36px}.attempt + .attempt{padding-top:26px}
}
