/* Game development theme: black and chartreuse */
.theme-games{--g-bg:#0A0C09;--g-panel:#111510;--g-line:rgba(168,214,31,.16);--g-acc:#A8D61F;--g-acc-soft:#c9e86a;--g-text:#E6ECDD;--g-dim:#9AA58E;background:var(--g-bg);color:var(--g-text)}
.theme-games .mono,.theme-games .brand,.theme-games .eyebrow,.theme-games .label,.theme-games .navlinks,.theme-games .btn{font-family:'JetBrains Mono',monospace}
.theme-games .groupbar{background:#050604;border-bottom-color:var(--g-line)}
.theme-games .groupbar .home b,.theme-games .groupbar .divs a.on,.theme-games .groupbar a:hover{color:var(--g-acc)}
.theme-games header{background:rgba(10,12,9,.86);border-bottom-color:var(--g-line)}
.theme-games .brand{font-size:1rem;letter-spacing:.06em;font-weight:600}
.theme-games .brand b{color:var(--g-acc)}
.theme-games .navlinks a{color:var(--g-dim)}
.theme-games .navlinks a:hover{color:var(--g-acc)}
.theme-games .grid-bg{background-color:var(--g-bg);background-image:linear-gradient(var(--g-line) 1px,transparent 1px),linear-gradient(90deg,var(--g-line) 1px,transparent 1px);background-size:44px 44px;background-position:-1px -1px}
.theme-games .hero{background:radial-gradient(90% 120% at 85% 10%, rgba(168,214,31,.10) 0%, transparent 55%),transparent;color:var(--g-text)}
.theme-games .hero .ghost{opacity:.05}
.theme-games .eyebrow{color:var(--g-acc);letter-spacing:.18em;font-size:.74rem}
.theme-games .hero h1{font-family:'JetBrains Mono',monospace;font-weight:600;letter-spacing:-.03em;font-size:clamp(2.6rem,7vw,5rem);max-width:none}
.theme-games .hero h1 .sl{color:var(--g-acc)}
.theme-games .hero p{color:#c4ccb8}
.theme-games .btn-gold{background:var(--g-acc);color:var(--g-bg)}
.theme-games .btn-gold:hover{background:var(--g-acc-soft)}
.theme-games .btn-ghost{border-color:rgba(230,236,221,.3);color:var(--g-text)}
.theme-games .btn-ghost:hover{border-color:var(--g-acc);color:var(--g-acc)}
.theme-games .status-line{margin-top:34px;display:inline-flex;gap:10px;align-items:center;font-family:'JetBrains Mono',monospace;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--g-dim)}
.theme-games .status-line i{width:8px;height:8px;border-radius:50%;background:var(--g-acc);box-shadow:0 0 12px var(--g-acc);animation:blink 2.4s ease-in-out infinite}
@keyframes blink{50%{opacity:.35}}
.theme-games .section{border-top:1px solid var(--g-line)}
.theme-games .section-dark{background:var(--g-panel)}
.theme-games .label{color:var(--g-acc);font-size:.72rem;letter-spacing:.18em}
.theme-games .lead{color:var(--g-text);font-family:'JetBrains Mono',monospace;font-weight:600;font-size:clamp(1.35rem,2.6vw,1.9rem);letter-spacing:-.02em;max-width:28ch}
.theme-games .body-text{color:#c4ccb8}
.theme-games .feat{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:46px}
@media(max-width:820px){.theme-games .feat{grid-template-columns:1fr}}
.theme-games .feat .item{background:var(--g-bg);border:1px solid var(--g-line);padding:28px 26px;border-radius:2px;position:relative}
.theme-games .feat .item .k{font-family:'JetBrains Mono',monospace;font-size:.72rem;color:var(--g-acc);letter-spacing:.12em;margin-bottom:14px}
.theme-games .feat .item h4{font-family:'JetBrains Mono',monospace;font-weight:600;font-size:1.02rem;color:var(--g-text);margin-bottom:10px}
.theme-games .feat .item p{font-size:.95rem;color:var(--g-dim)}
.theme-games .contact{background:var(--g-bg);border-top:1px solid var(--g-line)}
.theme-games .contact .label{color:var(--g-acc)}
.theme-games .contact-links a{border-bottom-color:var(--g-acc);font-family:'JetBrains Mono',monospace;font-size:.98rem}
.theme-games .contact-links a:hover{color:var(--g-acc)}
.theme-games .contact small{color:var(--g-dim)}
.theme-games footer{color:var(--g-dim);border-top:1px solid var(--g-line)}
.theme-games footer a{color:var(--g-dim)}
.theme-games .projects .project{background:var(--g-bg);border-color:var(--g-line)}
.theme-games .project .kind{color:var(--g-acc);font-family:'JetBrains Mono',monospace}
.theme-games .project .status{color:var(--g-dim);border-color:var(--g-line);font-family:'JetBrains Mono',monospace}
.theme-games .project h3{font-family:'JetBrains Mono',monospace;font-weight:600;color:var(--g-text);font-size:1.3rem}
.theme-games .project h3 .sl{color:var(--g-acc)}
.theme-games .project p{color:var(--g-dim)}
.theme-games .project ul{margin:16px 0 0 0;list-style:none}
.theme-games .project li{font-size:.92rem;color:#c4ccb8;padding:6px 0 6px 18px;position:relative;border-top:1px solid var(--g-line)}
.theme-games .project li:before{content:"›";position:absolute;left:2px;color:var(--g-acc)}
.theme-games .project.ghosted{background:transparent;border-style:dashed}
.theme-games .profile h3{color:var(--g-text);font-family:'JetBrains Mono',monospace;font-weight:600}
.theme-games .profile .role{color:var(--g-acc);font-family:'JetBrains Mono',monospace}
.theme-games .profile p{color:#c4ccb8}
.theme-games .profile p+p{margin-top:14px}
.theme-games .creds span{background:var(--g-bg);border-color:var(--g-line);color:var(--g-dim);font-family:'JetBrains Mono',monospace;font-size:.74rem}

.theme-games .crosslink{background:var(--g-bg);border-color:var(--g-line)}
.theme-games .crosslink p{color:var(--g-dim)}
.theme-games .crosslink .tag{color:#C9A24B;font-family:'JetBrains Mono',monospace}
.theme-games .crosslink .btn-consult{background:#C9A24B;color:#1B1029;font-family:'JetBrains Mono',monospace}
.theme-games .crosslink .btn-consult:hover{background:#dcc189}
.theme-games .crosslink .side small{color:var(--g-dim);font-family:'JetBrains Mono',monospace;font-size:.78rem}

/* brief-driven sections */
.theme-games .quote{margin-top:26px;max-width:58ch;padding-left:18px;border-left:2px solid var(--g-acc);color:var(--g-text);font-size:1.02rem;font-style:italic}
.theme-games .quote span{display:block;margin-top:8px;font-style:normal;font-family:'JetBrains Mono',monospace;font-size:.74rem;letter-spacing:.1em;color:var(--g-dim)}
.theme-games .split{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:46px}
@media(max-width:1000px){.theme-games .split{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.theme-games .split{grid-template-columns:1fr}}
.theme-games .split .col{border:1px solid var(--g-line);background:var(--g-bg);padding:30px 28px;border-radius:2px}
.theme-games .split .who{font-family:'JetBrains Mono',monospace;font-size:.74rem;letter-spacing:.14em;color:var(--g-acc);margin-bottom:10px}
.theme-games .split h4{font-family:'JetBrains Mono',monospace;font-weight:600;font-size:1.1rem;color:var(--g-text);margin-bottom:14px}
.theme-games .split ul{list-style:none}
.theme-games .split li{font-size:.94rem;color:#c4ccb8;padding:8px 0 8px 18px;position:relative;border-top:1px solid var(--g-line)}
.theme-games .split li:before{content:"›";position:absolute;left:2px;color:var(--g-acc)}
.theme-games .method{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:46px}
.theme-games .method .item{border:1px solid var(--g-line);background:var(--g-panel);padding:24px 22px;border-radius:2px}
.theme-games .method .stat{font-family:'JetBrains Mono',monospace;font-weight:600;font-size:1.9rem;color:var(--g-acc);line-height:1;margin-bottom:10px}
.theme-games .method h4{font-family:'JetBrains Mono',monospace;font-weight:600;font-size:.98rem;color:var(--g-text);margin-bottom:8px}
.theme-games .method p{font-size:.92rem;color:var(--g-dim)}
.theme-games .facts{margin-top:30px;border-top:1px solid var(--g-line)}
.theme-games .facts div{display:grid;grid-template-columns:200px 1fr;gap:20px;padding:14px 0;border-bottom:1px solid var(--g-line);font-size:.95rem}
@media(max-width:600px){.theme-games .facts div{grid-template-columns:1fr;gap:4px}}
.theme-games .facts b{font-family:'JetBrains Mono',monospace;font-weight:600;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--g-acc);padding-top:3px}
.theme-games .facts span{color:#c4ccb8}

/* Chart/Reuse showcase subpage */
.theme-games a.project-link{transition:border-color .2s,transform .2s}
.theme-games a.project-link:hover{border-color:var(--g-acc);transform:translateY(-2px)}
.theme-games .project .more{margin-top:auto;padding-top:18px;font-family:'JetBrains Mono',monospace;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--g-acc)}
.theme-games .project .shot{display:block;width:calc(100% + 56px);margin:-30px -28px 22px;aspect-ratio:16/9;object-fit:cover;border-bottom:1px solid var(--g-line)}
.theme-games .eyebrow .crumb{color:inherit;text-decoration:none}
.theme-games .eyebrow .crumb:hover{text-decoration:underline}
.theme-games .intro{margin-top:18px;max-width:64ch;color:#c4ccb8}
.theme-games .body-text p+p{margin-top:14px}
.theme-games .body-text a,.theme-games .facts a{color:var(--g-acc)}
.theme-games .loop{list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin-top:46px}
.theme-games .loop li{counter-increment:step;border:1px solid var(--g-line);background:var(--g-panel);padding:22px 22px 22px 64px;border-radius:2px;position:relative}
.theme-games .loop li:before{content:counter(step,decimal-leading-zero);position:absolute;left:20px;top:21px;font-family:'JetBrains Mono',monospace;font-weight:600;color:var(--g-acc)}
.theme-games .loop b{display:block;font-family:'JetBrains Mono',monospace;font-weight:600;font-size:.98rem;color:var(--g-text);margin-bottom:6px}
.theme-games .loop span{font-size:.92rem;color:var(--g-dim)}
.theme-games .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px}
@media(max-width:900px){.theme-games .gallery{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.theme-games .gallery{grid-template-columns:1fr}}
.theme-games .gallery figure.wide{grid-column:span 2;grid-row:span 2}
@media(max-width:560px){.theme-games .gallery figure.wide{grid-column:auto;grid-row:auto}}
.theme-games .gallery figure,.theme-games figure.banner{margin:0;border:1px solid var(--g-line);background:var(--g-bg);border-radius:2px;display:flex;flex-direction:column;overflow:hidden}
.theme-games .gallery a{display:block;flex:1;overflow:hidden;background:#000}
.theme-games .gallery img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .35s,opacity .2s}
.theme-games .gallery a:hover img{transform:scale(1.03)}
.theme-games figure.banner{margin-top:36px}
.theme-games figure.banner img{display:block;width:100%;height:auto;background:#fff}
.theme-games figure.banner.logos img{background:#111}
.theme-games figcaption{display:flex;justify-content:space-between;gap:14px;align-items:baseline;padding:11px 14px;font-size:.86rem;color:#c4ccb8;border-top:1px solid var(--g-line)}
.theme-games figcaption span{font-family:'JetBrains Mono',monospace;font-size:.7rem;letter-spacing:.08em;color:var(--g-acc);white-space:nowrap}
.lightbox{position:fixed;inset:0;z-index:100;background:rgba(5,6,4,.94);display:none;align-items:center;justify-content:center;padding:40px 70px}
.lightbox.open{display:flex}
.lightbox figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}
.lightbox img{max-width:100%;max-height:calc(100vh - 140px);border:1px solid rgba(168,214,31,.25)}
.lightbox figcaption{border:0;color:#E6ECDD;font-size:.92rem;justify-content:center;text-align:center}
.lightbox button{position:absolute;background:none;border:0;color:#A8D61F;font-size:2.4rem;cursor:pointer;padding:10px 16px;font-family:'JetBrains Mono',monospace;line-height:1}
.lightbox .lb-close{top:14px;right:18px}
.lightbox .lb-prev{left:10px;top:50%;transform:translateY(-50%)}
.lightbox .lb-next{right:10px;top:50%;transform:translateY(-50%)}
@media(max-width:600px){.lightbox{padding:50px 10px}.lightbox .lb-prev,.lightbox .lb-next{top:auto;bottom:10px;transform:none}}
.theme-games .gallery.pairs{grid-template-columns:1fr 1fr}
@media(max-width:560px){.theme-games .gallery.pairs{grid-template-columns:1fr}}
.theme-games .gallery figure.fit img{object-fit:contain}
.theme-games .section-dark .gallery figure,.theme-games .section-dark figure.banner{background:var(--g-bg)}
.theme-games figure.banner.video video{display:block;width:100%;height:auto;background:#000}
.theme-games .contact .coffee{margin-top:26px}
.theme-games .btn-coffee{display:inline-block;background:var(--g-acc);color:var(--g-bg);font-family:'JetBrains Mono',monospace;text-decoration:none}
.theme-games .btn-coffee:hover{background:var(--g-acc-soft)}
