*{box-sizing:border-box}body{margin:0;background:#faf7ef;color:#252923;font:1rem/1.6 system-ui,sans-serif;overflow-wrap:anywhere}header,main,footer{max-width:1100px;margin:auto;padding:1rem clamp(1rem,4vw,3rem)}header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;border-bottom:1px solid #dedfd8;gap:1rem}nav{display:flex;flex-wrap:wrap;gap:1rem}a{color:#31533b;text-underline-offset:4px}a:focus-visible{outline:3px solid #8350aa;outline-offset:4px}nav a,.action{display:inline-flex;align-items:center;min-height:48px}.brand{font-weight:800}.notice,figcaption{color:#545d56;font-size:.85rem}.hero{padding:1rem 0 2rem}.wordmark{width:min(100%,360px);height:auto;display:block}h1{font-size:clamp(2rem,5vw,3.8rem);line-height:1.1;margin:.5rem 0}h2{line-height:1.2}.intro{font-size:1.15rem;color:#545d56;max-width:65ch}.cover{margin:1.5rem 0}.cover img{display:block;width:100%;height:auto;border-radius:18px}.action{padding:.6rem 1rem;background:#426c4d;color:white;text-decoration:none;border-radius:8px;font-weight:700}.actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem}.card{background:white;border:1px solid #dedfd8;border-radius:14px;padding:1.2rem;min-width:0}.card h3{margin:0}.card p{color:#545d56}.tile-icon{display:block;width:112px;height:112px;object-fit:contain;border-radius:14px;margin-bottom:1rem}section{margin-bottom:2rem}.help-note{background:white;border-left:4px solid #426c4d;padding:1rem}footer{border-top:1px solid #dedfd8;color:#545d56}.skip{position:absolute;left:-9999px}.skip:focus{position:fixed;left:1rem;top:1rem;background:white;padding:1rem;z-index:9}

.ws .action{background:#765333}.ws-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem;align-items:center}.ws figure{margin:0;min-width:0}.ws figure img{display:block;width:100%;max-width:290px;height:auto;border-radius:14px;margin:auto}.ws figcaption{text-align:center;padding:.5rem}.ws-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ws-tile{width:112px;height:112px;object-fit:contain;background:#ede5d7;border-radius:14px;margin-bottom:1rem}@media(max-width:600px){.ws-hero,.ws-gallery{grid-template-columns:1fr}}
.gh .action{background:#426b73}.gh-hero{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem;align-items:center;background:#e5efeb;border-radius:18px;padding:clamp(1rem,4vw,2rem)}.gh-hero img{width:100%;max-width:256px;height:auto;margin:auto}.gh-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:1rem}.gh-gallery figure{margin:0;background:#e9dfbf;border-radius:14px;padding:1rem;text-align:center;min-width:0}.gh-gallery img{width:100%;max-width:150px;height:auto;display:block;margin:auto}.gh-icon{background:#e5efeb}@media(max-width:600px){.gh-hero{grid-template-columns:1fr}.gh-hero img{max-width:160px}}

.cr{background:#faf5e9}.cr .action{background:#805e38}.cr-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}.cr-gallery figure{margin:0;min-width:0;background:#fff;border:1px solid #d8c4a8;padding:.75rem;border-radius:12px}.cr-gallery img{display:block;width:100%;height:auto;border-radius:8px}.cr-gallery figcaption{padding:.5rem 0;text-align:center}.cr .cover{margin-inline:0}

.sr{background:#101d28;color:#ecf1f4}.sr .intro,.sr .notice,.sr figcaption,.sr footer{color:#c0cdd5}.sr a{color:#b4e3ef}.sr .action{background:#e8ad52;color:#15202a}.sr-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem}.sr-gallery figure{margin:0;min-width:0;background:#1d303e;padding:.75rem;border-radius:12px}.sr-gallery img,.sr-tile img{width:100%;height:auto;display:block;border-radius:8px}.sr-gallery figcaption{padding:.5rem 0}.sr .cover{margin-inline:0}.sr .skip:focus{color:#15202a}.sr a:focus-visible{outline-color:#e8ad52}

.eps{background:#17191c;color:#f1eff3}.eps .intro,.eps .notice,.eps figcaption,.eps footer,.eps .card p{color:#d2ccd8}.eps a{color:#d5b5ef}.eps .action{background:#d5a74f;color:#17191c}.eps .card,.eps .ec-gallery figure{background:#24262b;border:1px solid #514b58}.eps a:focus-visible{outline-color:#d5a74f}.eps .skip:focus{color:#17191c}.ec-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:2rem}.eps figure{margin:0;min-width:0}.eps figure img,.eps-tile img{display:block;width:100%;max-width:270px;height:auto;margin:auto;border-radius:12px}.eps-tile img{max-width:140px;margin:0 0 1rem}.ec-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}.ec-gallery figure{border-radius:14px;padding:1rem}.eps figcaption{text-align:center;padding:.5rem}@media(max-width:600px){.ec-hero{grid-template-columns:1fr}}

/* V7 parent portfolio */
.brand-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.brand-door{background:white;border:1px solid #dedfd8;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.brand-panel{height:210px;display:flex;align-items:center;justify-content:center;background:#e6e9df;overflow:hidden}.brand-panel img{max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}.games-door .brand-panel img{width:100%;height:100%;object-fit:cover}.software-door .brand-panel{background:#17191c;padding:12px}.designs-door .brand-panel{background:#eae1ef;color:#503960;font:700 2.5rem Georgia,serif}.brand-copy{padding:1.25rem;flex:1;display:flex;flex-direction:column;align-items:flex-start}.brand-copy h2{margin:.3rem 0}.brand-copy .action{margin-top:auto}.category{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#545d56;margin:0}.software-door .action{background:#78550b}.designs-door .action{background:#69427e}.epd{background:#faf6fb}.epd a{color:#69427e}.landing #about,.landing #help{max-width:75ch}.brand,footer a{display:inline-flex;align-items:center;min-height:48px}.brand{max-width:100%}@media(max-width:800px){.brand-doors{grid-template-columns:1fr}.brand-panel{height:180px}}

/* WEB-08.05B: generous link targets and keyboard skip access */
nav a,footer a,.actions a,.brand,.action{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px}
.skip:focus{min-width:48px;min-height:48px;max-width:calc(100vw - 2rem)}
/* WEB-08.07D.01: shared visual rhythm and responsive brand showcases */
header{gap:.5rem 1.25rem;padding-block:.65rem}
header .brand,nav a{text-decoration:none}
header .brand{letter-spacing:.055em}
nav{gap:.25rem .8rem}
nav a{padding-inline:.35rem;font-weight:550}
nav a:hover,.brand:hover{text-decoration:underline}
.hero{padding-block:.65rem 1rem}
.landing .hero{margin-bottom:1.25rem}
.landing h1{font-size:clamp(2rem,4.5vw,3.35rem)}
.brand-doors{gap:1.1rem}
.brand-panel{height:190px}
.games-door .brand-panel img{object-fit:contain;background:#e6e9df}
.software-door .brand-panel img{max-height:none;height:240px;align-self:flex-start;width:auto}
.designs-door .brand-panel{font:650 clamp(1.5rem,3vw,2.2rem)/1.15 system-ui,sans-serif;letter-spacing:.045em}
.brand-copy{gap:.35rem}
.brand-copy h2{font-size:1.3rem;line-height:1.25}
.brand-copy p:not(.category){margin:.25rem 0 1rem}
.cards>.card{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}
.cards>.card>.action{margin-top:auto}
.cards>.card p{margin:.5rem 0 1rem}
@media(min-width:601px) and (max-width:800px){.brand-doors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){header{gap:.25rem}nav{gap:.15rem .5rem}.brand-panel{height:170px}}

/* Hub-only presentation: preserve product-specific galleries and layouts. */
.spudacus .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
.spudacus .cards>.card{gap:.5rem}
.spudacus .cards>.card>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#e8ece4;border-radius:10px}
.spudacus .cards>.sr-tile>img{background:#101d28}
.spudacus .sr-tile .action{background:#78550b}
.gridmates-hub .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.gridmates-hub .cards>.card>img{width:100%;height:158px;object-fit:contain;background:#f2efe7;margin-bottom:.35rem;border-radius:10px}
.gridmates-hub .cards>.card>img+p{font-size:.8rem;letter-spacing:.02em;margin:.15rem 0 .35rem}
.eps-hub .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}
.eps-hub .cards>.eps-tile{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:.5rem 1.5rem;align-content:start;align-items:start}
.eps-hub .eps-tile img{grid-row:1/span 3;margin:0;max-width:150px;justify-self:center}
.eps-hub .eps-tile h3{align-self:end}
.eps-hub .eps-tile .action{justify-self:start;align-self:start}
.epd #collections{background:#fff;border:1px solid #ded0e4;border-radius:14px;padding:1.25rem;max-width:75ch}
.epd #collections h2{margin-top:0}
@media(max-width:480px){.eps-hub .cards>.eps-tile{grid-template-columns:1fr}.eps-hub .eps-tile img{grid-row:auto;max-width:120px}.gridmates-hub .cards>.card>img{height:144px}}

/* Product presentation: shared rhythm, authentic images, no fixed screenshot crops. */
.gridmates-hub .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.gridmates-hub .cards{grid-template-columns:1fr}}
main>section:not(.hero):not(.ws-hero):not(.gh-hero){margin-block:2rem}
main section>h2{margin:0 0 .8rem}
main section>h2+p{max-width:75ch}
main :is(.hero,.ws-hero,.gh-hero)>p:first-child,main :is(.ws-hero,.gh-hero,.ec-hero)>div>p:first-child{font-size:.875rem;font-weight:650;letter-spacing:.035em;margin:0 0 .5rem}
main :is(.ws-hero,.gh-hero,.ec-hero){gap:clamp(1rem,3vw,2rem);margin-bottom:2rem}
main :is(.ws-hero,.ec-hero) figure img{max-width:220px}
main .cover{max-width:820px;margin:1.25rem 0}
main .cover figcaption{margin-top:.4rem}
main :is(.ws-gallery,.ec-gallery,.cr-gallery,.sr-gallery,.gh-gallery) figure{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.4rem}
main :is(.ws-gallery,.ec-gallery,.cr-gallery,.sr-gallery,.gh-gallery) figcaption{margin-top:auto;padding:.4rem 0;text-align:center}
.ws-gallery figure{background:#fff;border:1px solid #dedfd8;border-radius:14px;padding:1rem}
.ws-gallery figure img,.ec-gallery figure img{max-width:220px}
main .wordmark{width:min(100%,260px)}
main #help{max-width:75ch}
main #help p{margin:.7rem 0}
@media(min-width:601px){.gh-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.sr-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){main .cover{margin:1rem 0}.gh-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}main :is(.ws-hero,.ec-hero) figure img{max-width:180px}.ws-gallery figure img,.ec-gallery figure img{max-width:200px}}

/* Support directory: comfortable touch targets without changing other pages. */
.support-page .cards .card p a{display:inline-flex;align-items:center;min-height:48px;min-width:48px;padding:.25rem .5rem;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
