:root{--paper:#faf8f2;--ink:#1d1c1a;--yellow:#f1c405;--yellow-deep:#c9a204;--muted:#6b675f;--rule:#e4e0d6;--card:#ffffff;--width:1120px;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.6 ui-sans-serif,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;overflow-wrap:break-word;border-top:8px solid var(--yellow)}
a{color:inherit;text-underline-offset:5px}
img{max-width:100%;height:auto}
p{margin:0 0 1rem}
h1,h2,h3{font-weight:800;line-height:1.05;margin:0;letter-spacing:-.03em}
h1{font-size:clamp(2.6rem,6vw,4.6rem)}
h2{font-size:clamp(1.9rem,4vw,2.9rem)}
.wrap{width:min(100% - 48px,var(--width));margin-inline:auto}
.brand{display:inline-flex;align-items:center;gap:12px;font-weight:800;font-size:1.15rem;letter-spacing:.14em;text-decoration:none}
.brand img{border-radius:9px}
.eyebrow{font-size:.8rem;letter-spacing:.18em;font-weight:700;color:var(--muted);margin-bottom:18px}
.lede{font-size:clamp(1.15rem,1.9vw,1.4rem);line-height:1.45;color:var(--ink);max-width:56ch;margin:24px 0 30px}
.button{display:inline-flex;align-items:center;gap:16px;text-decoration:none;background:var(--ink);color:var(--paper);border-radius:999px;padding:14px 26px;font-size:1.05rem;font-weight:700;transition:background .15s,transform .15s}
.button:hover{background:#000;transform:translateY(-1px)}
.top{display:flex;justify-content:space-between;align-items:center;padding-block:26px}
.top nav{display:flex;gap:28px;font-weight:600}
.top nav a{text-decoration:none;padding-bottom:4px;border-bottom:2px solid transparent}
.top nav a:hover{border-color:var(--yellow)}
.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center;padding-block:56px 80px}
.hero-mark{justify-self:center;width:min(100%,300px);aspect-ratio:1;background:var(--yellow);border-radius:28% ;display:grid;place-items:center}
.hero-mark img{width:56%;height:auto}
.section{padding-block:64px;border-top:1px solid var(--rule)}
.section-title{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:36px}
.section-title p:not(.eyebrow){color:var(--muted);margin:0;max-width:44ch}
.games{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.game>a,.game>div{display:grid;grid-template-rows:auto 1fr;height:100%;text-decoration:none;border-radius:var(--radius);overflow:hidden;background:var(--card);border:1px solid var(--rule);transition:transform .15s,box-shadow .15s}
.game>a:hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(29,28,26,.45)}
.game-art{display:flex;gap:16px;align-items:center;justify-content:center;padding:44px 24px;min-height:190px}
.game-body{display:flex;flex-direction:column;gap:10px;padding:24px 26px 28px}
.game-body strong{font-size:1.5rem;letter-spacing:-.02em;line-height:1.1}
.game-status{font-size:.8rem;letter-spacing:.12em;font-weight:700;text-transform:uppercase}
.game-meta{font-size:.9rem;color:var(--muted)}
.game-link{font-weight:700;margin-top:auto}
/* Each game carries its own palette on its card; the studio page itself stays neutral. */
.game-duelingdice{--plum:#3a1020;--deep:#260b16;--pink:#ee8fa9;--cream:#fff2ec;--wine:#8e1a3e}
.game-duelingdice .game-art{background:linear-gradient(var(--plum) 0 50%,var(--pink) 50% 100%)}
.game-duelingdice .game-status{color:var(--wine)}
.game-duelingdice .die{width:64px;height:64px;border-radius:14px;background:linear-gradient(#fffaf7,var(--cream));color:var(--wine);display:grid;place-items:center;font-weight:800;font-size:2rem;box-shadow:5px 5px 0 var(--deep);transform:rotate(-6deg)}
.game-duelingdice .die-alt{background:var(--wine);color:var(--cream);transform:rotate(5deg)}
.game-duelingdice .die:last-child{transform:rotate(-2deg)}
.game-next .game-art{background:repeating-linear-gradient(-45deg,#f3f0e8 0 10px,var(--paper) 10px 20px)}
.game-next .slot{width:64px;height:64px;border-radius:14px;border:2px dashed #cfcabd}
.game-next .game-status{color:var(--muted)}
.studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.studio-grid p{color:var(--muted);font-size:1.1rem;max-width:52ch}
footer{display:flex;gap:24px;justify-content:space-between;align-items:center;padding-block:28px 40px;border-top:1px solid var(--rule)}
footer p{font-size:.875rem;color:var(--muted);margin:0}
a:focus-visible{outline:3px solid var(--yellow-deep);outline-offset:6px}
.skip{position:absolute;left:20px;top:-100px;background:var(--ink);color:var(--paper);z-index:5;padding:12px}
.skip:focus{top:10px}
@media (max-width:820px){.hero,.section-title,.games,.studio-grid{grid-template-columns:1fr}.hero{padding-block:24px 56px}.hero-mark{order:-1;width:min(60%,220px)}.top nav{gap:18px}}
@media (prefers-reduced-motion:reduce){.button,.game>a{transition:none}html{scroll-behavior:auto}}
