@font-face{font-family:Bitbox Pixel;src:url(bitbox-pixel.woff) format("woff");font-display:swap}
:root{color-scheme:dark;--bg:#100e16;--panel:#1b1723;--line:#3b3248;--text:#f5effc;--muted:#c0b5cd;--accent:#d0a7ff;--purple:#462565;--radius:16px;--header-offset:7.5rem}
*{box-sizing:border-box}
html{scroll-padding-top:var(--header-offset)}
body{margin:0;background:var(--bg);color:var(--text);font:1rem/1.6 system-ui,sans-serif;isolation:isolate}
[hidden]{display:none!important}
a{color:var(--accent);text-underline-offset:.2em}
a:hover{color:white}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
button{font:inherit;color:inherit;cursor:pointer}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4,p,figure,ul{margin:0}
h1,h2,h3,h4{line-height:1.15;text-wrap:balance}
h1,h2,h3,.brand{font-family:Bitbox Pixel,monospace;font-weight:400}
h2{font-size:clamp(1.75rem,4.5vw,2.45rem)}
h3{font-size:clamp(1.3rem,3.6vw,1.9rem)}
.container{width:min(1100px,calc(100% - 2.5rem));margin-inline:auto}
.skip-link,.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:100;width:auto;height:auto;clip-path:none;padding:.75rem;background:var(--panel)}
.site-header{position:sticky;top:0;z-index:5;border-bottom:1px solid var(--line);background:#141018f5}
.header-inner{min-height:62px;display:flex;align-items:center;gap:1rem;justify-content:space-between}
.brand{font-size:1.08rem;color:var(--text);text-decoration:none;white-space:nowrap}
.brand-icon{color:var(--accent);margin-right:.45rem}
.site-nav{display:flex;gap:clamp(.5rem,2.6vw,1.35rem);flex-wrap:wrap}
.site-nav a,.footer-links a{color:var(--muted);text-decoration:none}
.site-nav a:hover,.footer-links a:hover,.site-nav [aria-current]{color:var(--text);text-decoration:underline}
.button,.project-action,.social-link,.news-filter button,.motion-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.45rem .9rem;border:1px solid var(--line);border-radius:8px;background:#221b2d;color:var(--text);text-decoration:none;font-weight:650}
.button:hover,.project-action:hover,.social-link:hover,.news-filter button:hover,.motion-toggle:hover{background:#332342;border-color:var(--accent)}
.primary,.project-action{background:var(--purple);border-color:#845cb0}
.header-discord{min-height:38px}
.header-discord span{color:#a9acff;margin-right:.45em}
section{margin-block-end:clamp(2.4rem,6vw,4.6rem)}
.hero{padding-block:clamp(2.5rem,7vw,5.3rem) clamp(1.8rem,4vw,3rem);margin-bottom:0}
.hero h1{font-size:clamp(2rem,7.6vw,5.5rem);line-height:1.17;letter-spacing:-.035em}
.title-word,.studio-word{display:inline-block;white-space:nowrap}
.studio-word{color:#f1ddff;text-shadow:0 .09em #503565,0 .13em #251431}
.title-letter{color:var(--face);text-shadow:0 .085em var(--side),0 .13em #2a1936}
.title-letter:nth-child(1){--face:#ff8da7;--side:#9e4465}
.title-letter:nth-child(2){--face:#ffbf80;--side:#9b6235}
.title-letter:nth-child(3){--face:#ffe293;--side:#85733f}
.title-letter:nth-child(4){--face:#a5ebba;--side:#407954}
.title-letter:nth-child(5){--face:#9bdaff;--side:#4879a7}
.title-letter:nth-child(6){--face:#c7acff;--side:#694ca3}
.hero p,.page-intro p{font-size:clamp(1.02rem,2.1vw,1.22rem);color:var(--muted);margin-top:1.05rem;max-width:55ch}
.hero-actions,.social-links{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.2rem}
.section-heading{display:flex;justify-content:space-between;gap:.75rem;align-items:baseline;flex-wrap:wrap;margin-bottom:1rem}
.section-note,.version,.game-description,.project-type,figcaption,.content-note,.footer-note{color:var(--muted)}
.project-grid,.gamejolt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.project-card,.panel,.gamejolt-entry{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.project-card{overflow:hidden;display:flex;flex-direction:column}
.project-card.featured{grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr}
.project-media{background:#342a41;padding:.55rem}
.project-media img{width:100%;height:clamp(130px,21vw,210px);object-fit:cover;object-position:50% 45%;border-radius:9px}
.featured .project-media img{height:100%;min-height:235px;max-height:300px}
.daybit-card .project-media{background:#66557b}
.daybit-card .project-media img{object-position:center top}
.card-body,.panel{padding:clamp(.95rem,2.3vw,1.55rem)}
.card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.65rem}
.game-meta{display:flex;align-items:center;gap:.45rem .65rem;flex-wrap:wrap;font-size:.78rem}
.status-badge{display:inline-flex;padding:.13rem .48rem;border-radius:5px;background:#25212c;color:#ded5e9}
.status-badge.active{background:#203b33;color:#b3e8c9}
.status-badge.paused{background:#41331e;color:#ffdb96}
.status-badge.finished{background:#223654;color:#bbd9ff}
.project-action{margin-top:auto}
.content-note{font-size:.85rem}
.archive-more{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:.8rem 1rem;text-decoration:none}
.archive-more strong{color:var(--text)}
.archive-more small{display:block;color:var(--muted)}
.news-filter{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.8rem}
.news-filter button{min-height:38px;font-size:.88rem}
.news-filter button[aria-pressed="true"]{background:var(--purple);border-color:#a57bcc}
.news-days{display:grid;gap:.75rem;list-style:none;padding:0;margin:0}
.news-day{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:.85rem 1rem}
.news-day h3{font:650 .84rem/1.4 system-ui,sans-serif;color:var(--muted)}
.news-day article{padding:.7rem 0 0}
.news-day article+article{border-top:1px solid var(--line);margin-top:.8rem}
.news-top h4{font-size:1rem}
.news-day article p{margin-top:.35rem;color:var(--muted)}
.news-tag{display:inline-block;font-size:.75rem;margin:.15rem .25rem;padding:.14rem .42rem;border-radius:4px;background:#203b33;color:#b3e8c9;font-weight:600;vertical-align:middle}
.news-tag.announcement,.news-tag.dev{background:#332548;color:#e3caff}
.news-more{margin-top:1rem}
.cancelled-text,.deprecated-note{color:#ffc0c4}
.about-copy p,.policy p{margin:.75rem 0}
.social-link{box-shadow:inset 0 1px #ffffff19,0 2px #0004;border-left:3px solid var(--brand-color,var(--accent))}
.site-footer{border-top:1px solid var(--line);padding-block:1.4rem 2rem;font-size:.88rem}
.footer-links{display:flex;gap:.4rem 1rem;flex-wrap:wrap;margin-bottom:.8rem}
.footer-bottom{display:flex;align-items:center;gap:.6rem 1rem;flex-wrap:wrap}
.motion-toggle{font-size:.82rem;min-height:38px}
.fluid-field,.archive-field{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.fluid-field{background:radial-gradient(ellipse at 24% 4%,#201329,transparent 68%)}
.fluid-field canvas{display:block;width:100%;height:100%;opacity:0;pointer-events:none}
.fluid-field canvas[data-rendering="true"]{opacity:.44;mix-blend-mode:screen}
.page-intro{padding-top:2.1rem;margin-bottom:2rem}
.page-intro h1{font-size:clamp(2.4rem,8vw,5rem);margin-top:1rem}
.archive-page{--bg:#0e0d12;--panel:#1a1820}
.archive-field .grave-row{position:absolute;inset:auto 0 0;display:flex;justify-content:space-around;opacity:.16}
.grave{width:clamp(22px,7vw,95px);height:clamp(35px,12vw,150px);border:2px solid #aca0be;border-radius:50% 50% 0 0;background:#24202b}
.ghost-project{position:absolute;bottom:-6rem;left:var(--x);padding:.35rem .5rem;border:1px solid #8c7ba9;border-radius:8px;white-space:nowrap;color:#d5c8e5;background:#2e2538;opacity:0;animation:rise var(--dur) var(--delay) linear infinite}
@keyframes rise{0%{transform:translateY(0);opacity:0}17%,74%{opacity:.18}100%{transform:translateY(-115vh);opacity:0}}
.archive-field[data-paused="true"] .ghost-project{animation-play-state:paused}
.gamejolt-entry{padding:1rem;display:grid;gap:.4rem;text-decoration:none;color:var(--text)}
.gamejolt-entry:hover{border-color:var(--accent)}
.gamejolt-entry h3{font-size:1.22rem}
.gamejolt-entry p,.entry-kind{color:var(--muted);font-size:.87rem}
.entry-action{color:var(--accent);font-size:.85rem}
.policy{max-width:760px}
.policy h2{margin-top:1.7rem;font-size:1.3rem}
@media(max-width:640px){
 .container{width:calc(100% - 1.5rem)}
 .header-inner{flex-wrap:wrap;gap:.15rem .5rem;padding:.4rem 0}
 .site-nav{order:3;flex-basis:100%;justify-content:space-between;font-size:.89rem;gap:.35rem}
 .site-nav a{padding-block:.3rem}
 .hero{padding-top:2rem}
 .project-grid,.gamejolt-grid,.project-card.featured{grid-template-columns:minmax(0,1fr)}
 .featured .project-media img{height:clamp(155px,53vw,235px);min-height:0}
 .project-media img{height:clamp(145px,45vw,215px)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
@media(forced-colors:active){.fluid-field,.archive-field{display:none}.title-letter,.studio-word{color:CanvasText;text-shadow:none}}
.classic-intro{margin-bottom:1rem}
#nl-badge-frame,#nl-badge{display:none!important}

.home-page{--header-offset:8.5rem}
.header-contact{display:flex;justify-content:flex-end;flex-wrap:wrap;column-gap:1.15rem;row-gap:.15rem;padding-bottom:.55rem;font-size:.84rem}
.header-contact a{color:var(--text);text-decoration:none;white-space:nowrap}
.header-contact span{color:var(--muted)}
.header-contact a:hover{text-decoration:underline}
.featured .merge-teaser{position:relative;aspect-ratio:1.86;min-height:235px}
.featured .merge-teaser img,.featured .merge-teaser video{position:absolute;inset:.55rem;width:calc(100% - 1.1rem);height:calc(100% - 1.1rem);min-height:0;max-height:none;object-fit:cover;object-position:center}
@media(max-width:640px){.featured .merge-teaser{min-height:0}.header-contact{justify-content:flex-start;font-size:.8rem;column-gap:.85rem}}

.merge-teaser img{z-index:1}
.merge-teaser video[data-playing]{z-index:2}
@media(prefers-reduced-motion:reduce){.merge-teaser video[data-playing]{z-index:0}}

.header-social{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.header-social .social-link{min-height:36px;padding:.3rem .65rem;font-size:.85rem}
@media(max-width:640px){
  .header-social .social-link{padding:.25rem .45rem;font-size:.78rem}
  .home-page{--header-offset:10rem}
}
@media(max-width:350px){.header-inner .brand{font-size:.92rem}}
