:root {
    color-scheme: dark;
    --background: #101012;
    --surface: #18191d;
    --ink: #f4f3f0;
    --muted: #b5b7be;
    --border: #35363e;
    --accent: #bdd0e7;
    font: 100%/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    margin: 0;
    color: var(--ink);
    background: radial-gradient(ellipse at 75% 7%, #202631 0%, transparent 42rem), var(--background);
}
main { flex: 1; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; }
p { margin: 0; color: var(--muted); }
h1, h2 { margin: 0; line-height: 1.02; letter-spacing: -.05em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.7rem); font-weight: 760; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3vw, 2.8rem); font-weight: 730; }
address { font-style: normal; }
.wrap { width: min(calc(100% - 4rem), 78rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { background: #101012; border-bottom: 1px solid var(--border); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; font-weight: 760; line-height: 1.08; }
.brand-mark { position: relative; flex: none; width: 2.5rem; height: 2.5rem; overflow: hidden; }
.brand-mark img { position: absolute; width: 3.55rem; height: 3.55rem; left: -.48rem; top: -.4rem; mix-blend-mode: screen; }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(1rem, 3vw, 2.2rem); }
nav a { text-decoration: none; font-weight: 650; font-size: .94rem; }
nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.showcase { padding-block: clamp(2.8rem, 6vw, 6rem) clamp(2rem, 5vw, 4rem); }
.showcase-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.4rem, 3vw, 2.65rem); }
.showcase-heading h1 { max-width: 15ch; text-wrap: wrap; }
.showcase-heading p { border-left: 1px solid #788ba3; padding-left: 1rem; }
.game {
    margin: 0;
    border: 1px solid #414854;
    background: linear-gradient(155deg, #24272f, var(--surface) 64%);
    box-shadow: 0 1.5rem 4rem #0007;
}
.cover-frame {
    padding: clamp(.45rem, 1.1vw, .85rem);
    border-bottom: 1px solid var(--border);
}
.cover { width: 100%; height: auto; border: 1px solid #30343d; background: #000; }
.game-caption { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem clamp(1.4rem, 5vw, 4.5rem); padding: clamp(1rem, 2.5vw, 1.75rem); }
.release { display: grid; justify-items: start; gap: .3rem; }
.release h2 { font-size: .88rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.release-year { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; font-weight: 740; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.platforms { border-left: 1px solid #4b515d; padding-left: clamp(1rem, 3vw, 2.1rem); }
.platforms p { font-size: .88rem; }
.platforms ul { display: flex; flex-wrap: wrap; gap: .18rem .9rem; margin: .2rem 0 0; padding: 0; list-style: none; font-weight: 660; }
.game-caption .button { margin-left: auto; }
.button { display: inline-block; border: 1px solid #707e91; background: #272e39; padding: .67rem 1rem; font-weight: 690; text-decoration: none; }
.button:hover { background: #343e4d; color: var(--ink); }
.feature { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.7rem 2.6rem; border-top: 1px solid var(--border); }
.feature p { margin-top: .6rem; }
.text-link { font-weight: 680; }
.inner-page { padding-block: clamp(2.8rem, 7vw, 6rem); }
.inner-page h1 { max-width: 13ch; }
.inner-page > .button { margin-top: 1.5rem; }
.prose { display: grid; gap: 1.3rem; max-width: 47rem; margin-top: 2rem; padding: clamp(1.2rem, 3.5vw, 2.6rem); border: 1px solid var(--border); background: var(--surface); font-size: 1.13rem; }
.prose strong { color: var(--ink); }
.site-footer { background: #101012; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1.3rem clamp(1.25rem, 5vw, 4rem); padding-block: 1.8rem; }
.footer-name { color: var(--ink); font-weight: 750; margin-bottom: .4rem; }
.footer-inner address { display: grid; gap: .25rem; color: var(--muted); }
.footer-inner a { overflow-wrap: anywhere; }
.footer-social { display: flex; gap: .5rem; }
.social { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--border); background: var(--surface); }
.social:hover { border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
    .cover { animation: cover-entry 900ms ease-out both; }
    @keyframes cover-entry {
        from { opacity: .42; }
        to { opacity: 1; }
    }
}
@media (max-width: 48rem) {
    .showcase-heading { grid-template-columns: 1fr; }
    .showcase-heading h1 { max-width: 13ch; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 34rem) {
    .wrap { width: calc(100% - 2rem); }
    .header-inner { flex-wrap: wrap; padding-block: .75rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .game-caption .button { margin-left: 0; }
}
