/* Shared small-screen layout: retain readable text, constrain artwork. */
img{max-width:100%}header .brand,.hero>div,.about>div,.game-card,.work-content{min-width:0}
.work-image{height:220px;aspect-ratio:auto;overflow:hidden}
.work-image img{height:100%;width:100%;min-height:0;max-height:100%;object-fit:contain}
.work h2,.company dd{overflow-wrap:anywhere}
@media(max-width:1100px){
 header{gap:12px}header .menu{display:block;flex-shrink:0;padding:10px 14px}
 header nav{display:none;position:absolute;top:100%;left:0;right:0;background:#1c2a30;padding:20px 5.5%;flex-wrap:wrap;gap:20px;border-bottom:1px solid #486a72}
 header nav.open{display:flex}header nav a{color:#edf7f6}
 .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;min-height:0}
 .hero h1{font-size:clamp(29px,3.9vw,43px)}
 .connect{flex-wrap:wrap}.section-top{flex-wrap:wrap}
 .games{grid-template-columns:repeat(2,minmax(0,1fr))}
 .games .game-card:first-child{grid-column:auto;display:block}
 .games .game-card .game-image,.games .game-card:first-child .game-image{aspect-ratio:auto;height:190px}
 .games .game-card .game-image img,.games .game-card:first-child .game-image img{position:static;display:block;width:100%;height:100%;transform:none;object-fit:contain}
 .games .game-card:first-child .featured-tag{margin-top:0}
 .about{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:30px}
 .about-logo{max-width:280px;margin-inline:auto}.about-logo img{width:210px}
 .works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .work-image{height:190px}.work-tools{align-items:flex-start}
 footer{flex-wrap:wrap}
}
@media(max-width:850px){
 .hero{display:grid;grid-template-columns:minmax(0,1fr);padding-top:36px;gap:12px}
 .hero h1{font-size:clamp(29px,5.9vw,48px)}
 .hero-art{width:100%;max-width:440px;min-width:0;margin:12px auto;padding:22px 10px 16px}
 .screen,.screen:hover{transform:none;box-shadow:5px 7px 0 #ccdfd8}
 .screen .game-image{height:auto;aspect-ratio:2.04}
 .screen .game-image img{position:static;display:block;width:100%;height:100%;transform:none;object-fit:contain}
 .orbit{width:90%;height:auto;aspect-ratio:1;max-width:360px}
 .hero-bottom{grid-column:1;flex-wrap:wrap;margin-top:20px}.hero-bottom span{max-width:100%}
 .about{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
 .about-logo{width:100%;max-width:240px;margin:0 auto;padding-bottom:50px}.about-logo img{width:180px}
 .games-contact .games-width{flex-wrap:wrap}
 .intro-emblem{width:150px;margin-right:0}.intro-row{gap:20px}
}
@media(max-width:600px){
 header{height:76px;padding-inline:5%;gap:8px}header .brand{font-size:24px;gap:5px}header .brand small{font-size:8px;letter-spacing:.8px}
 .header-mark{width:36px;height:36px;flex-shrink:0}header .menu{font-size:11px;padding:10px}
 header nav{max-height:calc(100dvh - 76px);overflow-y:auto;gap:18px}
 .hero h1{font-size:clamp(27px,8.1vw,43px);letter-spacing:-.055em}
 .hero-sub{font-size:16px}.hero-art{max-width:360px;margin:12px auto;padding:18px 6px 12px}
 .screen-bar{font-size:10px;padding:12px;letter-spacing:.5px}.screen-footer{padding:14px 12px}.screen-footer strong{font-size:21px}.screen-footer small{letter-spacing:0}
 .pickup-controls{gap:6px;margin:22px 0 0}.pickup-dots{gap:0}.pickup-dots button{width:25px}.pickup-arrow{width:34px;height:36px}.pickup-toggle{min-width:70px}
 .art-caption{flex-wrap:wrap;gap:4px 12px;letter-spacing:0}.hero-bottom{gap:12px}.hero-bottom span{max-width:100%}
 section.content{padding-top:44px;padding-bottom:44px}.section-top h2{font-size:clamp(24px,6.5vw,30px)}
 .games{grid-template-columns:minmax(0,1fr);gap:22px}.games .game-card{width:100%;max-width:430px;margin-inline:auto;padding:14px}
 .games .game-card .game-image,.games .game-card:first-child .game-image{height:170px}
 .game-card h3,.games .game-card:first-child h3{font-size:21px;margin-top:16px}
 .about-logo img{width:160px}.motif-wordmark{font-size:27px}.about h2{font-size:25px}.about p br{display:none}
 .company dl div{grid-template-columns:70px minmax(0,1fr);gap:8px}.connect h2{font-size:25px}
 .works-grid{grid-template-columns:minmax(0,1fr);gap:22px}.work{width:100%;max-width:450px;margin-inline:auto}
 .work-image{height:175px;padding:12px}.work-image img{max-height:100%}
 .work-content{padding:18px}.work h2{font-size:21px}.work-info{min-height:0}.work-role{margin-block:14px}
 .filter-buttons{gap:6px}.filter-buttons button{padding:10px 12px;font-size:13px;gap:6px}.filter-buttons button span{min-width:20px}
 .games-width{width:90%}.intro-row h1{font-size:58px}.intro-emblem{display:none}
 .games-contact .button{min-width:0;max-width:100%}footer{gap:18px}.top-link{white-space:nowrap}
}
@media(max-width:359px){
 header .brand{font-size:21px}.header-mark{width:30px;height:30px}header .brand small{font-size:7px;letter-spacing:.5px}
 .filter-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.filter-buttons button{padding:10px 7px;font-size:12px;gap:3px;justify-content:center}
 .screen-footer strong{font-size:19px}.screen-footer small{font-size:10px}
}
