.portfolio-kicker { color:#93c5fd; font-size:.78rem; font-weight:600; letter-spacing:.13em; text-transform:uppercase; margin-bottom:1rem; }
.portfolio-intro { max-width:720px; margin:0 auto 2.5rem; text-align:center; color:#cbd5e1; font-size:1.1rem; }
.portfolio-jump { display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; margin-top:2rem; }
.games-showcase { background:radial-gradient(ellipse at 15% 15%,#142544 0,transparent 50%),#080e1b; border-block:1px solid #24334a; }
.games-showcase h2 { max-width:740px; margin-inline:auto; }
.games-showcase > .container > .portfolio-kicker { text-align:center; }
.game-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1.5rem; }
@media(max-width:1100px) and (min-width:761px) { .game-grid { grid-template-columns:1fr 1fr; } .game-grid .game-card:last-child:nth-child(odd) { grid-column:1 / -1; } }
.game-card { border:1px solid #334155; border-radius:18px; background:#0d1525; overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.game-card figure { margin:0; background:#101524; }
.game-card figure img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.game-card figcaption { padding:.65rem 1.5rem; font-size:.75rem; color:#b8c4d7; border-bottom:1px solid #334155; }
.game-card-body { padding:1.75rem; display:flex; flex-direction:column; align-items:flex-start; flex:1; }
.game-type { color:#9bc5ff; font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
.game-card h3 { font-size:2rem; margin:.3rem 0 .75rem; }
.game-card p { color:#cbd5e1; margin-bottom:1rem; }
.game-skills { display:flex; flex-wrap:wrap; gap:.5rem; margin:.25rem 0 1.25rem; }
.game-skills li { border:1px solid #3b4e6b; border-radius:100px; padding:.25rem .7rem; color:#d6e5ff; font-size:.77rem; }
.game-card .game-note { font-size:.85rem; color:#b4c0d3; }
.game-card .btn { margin-top:auto; }
.portfolio-bridge { display:grid; grid-template-columns:1fr 1fr; gap:2rem; align-items:center; border-top:1px solid #334155; margin-top:3rem; padding-top:2rem; }
.portfolio-bridge h3 { font-size:1.45rem; margin-bottom:.5rem; }
.portfolio-bridge p { color:#cbd5e1; }
.portfolio-bridge .btn-group { justify-content:flex-end; }
.games-teaser { display:grid; grid-template-columns:1.1fr 1fr; gap:2.5rem; align-items:center; }
.games-teaser h2 { text-align:left; margin-bottom:1rem; }
.games-teaser p { color:#cbd5e1; margin-bottom:1.5rem; }
.teaser-visual { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.teaser-game { display:block; border:1px solid #3b4e6b; background:#101827; border-radius:12px; overflow:hidden; }
.teaser-game img { width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.teaser-game span { display:block; padding:.75rem; font-weight:600; }
.teaser-game:hover { border-color:#93c5fd; }
.portfolio-anchor { scroll-margin-top:100px; }
.game-card a:focus-visible,.teaser-game:focus-visible,.portfolio-jump a:focus-visible { outline:3px solid #bfdbfe; outline-offset:4px; }
@media(max-width:760px) { .game-grid,.games-teaser,.portfolio-bridge { grid-template-columns:minmax(0,1fr); } .portfolio-bridge .btn-group { justify-content:flex-start; } .game-card-body { padding:1.3rem; } .games-teaser { gap:1.5rem; } .games-showcase .btn { white-space:normal; text-align:center; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.software-showcase { background:#030712; border-top:1px solid #24334a; }
.software-showcase > .container > .portfolio-kicker { text-align:center; }
.software-project { padding:2.5rem 0; border-top:1px solid #334155; }
.software-project + .software-project { margin-top:1rem; }
.software-story { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:3rem; align-items:start; margin-bottom:2rem; }
.software-story .game-type,.software-story h3 { grid-column:1; }
.software-story h3 { font-size:2rem; line-height:1.2; margin:.4rem 0 1rem; }
.software-story > p:first-of-type { grid-column:1; color:#cbd5e1; }
.software-story .game-skills { grid-column:1; margin-top:1rem; }
.software-story .software-design { grid-column:2; grid-row:1 / span 3; color:#cbd5e1; font-size:1.05rem; border-left:2px solid #3b82f6; padding-left:1.5rem; margin:1rem 0; }
.software-story .software-note { grid-column:2; grid-row:4; color:#b4c0d3; font-size:.85rem; margin:0 0 1rem; }
.software-story .btn { grid-column:1; justify-self:start; margin-top:1rem; white-space:normal; }
.product-screens { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.5rem; }
.product-screens figure { margin:0; border:1px solid #334155; border-radius:12px; overflow:hidden; background:#0f1726; }
.product-screens a { display:flex; height:390px; padding:1rem; align-items:flex-start; justify-content:center; background:#e6ebf4; }
.product-screens img { width:100%; height:100%; object-fit:contain; object-position:center top; }
#smart-command .product-screens a { background:#11151e; }
#ymp .product-screens img { object-fit:cover; object-position:center top; }
#smart-command .product-screens a { height:auto; padding:.75rem; }
#smart-command .product-screens img { height:auto; }
.product-screens figcaption { padding:1rem 1.25rem; font-size:.8rem; color:#cbd5e1; }
.product-screens a:focus-visible,.game-card figure a:focus-visible { outline:3px solid #bfdbfe; outline-offset:-4px; }
@media(max-width:760px) { .software-story { display:block; } .software-story .software-design { margin-top:1.5rem; } .product-screens { grid-template-columns:minmax(0,1fr); } .product-screens a { height:330px; } .software-story h3 { font-size:1.8rem; } .software-project { padding:2rem 0; } }
