:root {
    color-scheme: dark;
    font: 100%/1.65 system-ui, sans-serif;
    background: #100e1b;
    color: #f7f1fc;
    --muted: #c8bfd7;
    --accent: #ffd477;
    --line: #473854;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { color: white; }
:focus-visible { outline: 2px solid #ffdb87; outline-offset: 5px; }
.wrap { width: min(92%, 69rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #171222; }
.site-header .wrap, .site-footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem;
}
.site-header .wrap { padding-block: .8rem; }
.brand { color: #fff; text-decoration: none; font-weight: 850; font-size: 1.2rem; }
.brand span {
    display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .35rem;
    border-radius: .45rem; background: var(--accent); color: #1f112e;
}
nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { padding: .3rem 0; color: var(--muted); text-decoration: none; }
nav a:hover, [aria-current="page"] { color: var(--accent); text-decoration: underline; }
.studio-hero {
    display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 1rem;
    margin-top: clamp(1rem, 4vw, 2.5rem); padding: clamp(1.25rem, 5vw, 4rem);
    border: 1px solid #684e8c; border-radius: 1.5rem; overflow: hidden;
    background: radial-gradient(circle at var(--spot-x, 80%) var(--spot-y, 40%), #513274, transparent 55%), #20172e;
}
.hero-copy > p:not(.eyebrow) { color: #e7dcf4; max-width: 32rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-art {
    display: grid; place-items: center; min-width: 0;
    background: repeating-radial-gradient(ellipse, #bf94ff29 0 1px, transparent 2px 25px);
    border-radius: 50%;
}
.hero-art img { display: block; width: min(100%, 21rem); height: auto; filter: drop-shadow(0 18px 28px #0d061cb0); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
h1, h2, h3 { line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 8vw, 5.2rem); letter-spacing: -.06em; margin: 0; }
h2 { margin: 0 0 .8rem; font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { margin: .35rem 0; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.button {
    display: inline-block; border-radius: .75rem; background: var(--accent); color: #211129;
    padding: .65rem 1rem; text-decoration: none; font-weight: 800;
}
.button:hover { color: #211129; background: #ffe7af; }
.home-section { margin-top: clamp(1.5rem, 5vw, 3rem); }
.game-feature, .card {
    background: #20172d; padding: clamp(1rem, 4vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem;
}
.game-feature { max-width: none; }
.game-feature .eyebrow { margin-top: 0; }
.studio-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.studio-details a { display: inline-block; margin-right: 1rem; }
.page-heading { padding: 1.5rem 0 0; }
.page-heading h1 { font-size: clamp(2rem, 7vw, 3.9rem); }
.notice { color: var(--accent); margin-bottom: 1.5rem; }
.muted, .site-footer p { color: var(--muted); }
article { max-width: 72ch; overflow-wrap: anywhere; }
article h2 { margin-top: 1.6em; font-size: 1.4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.card h2 { margin: 0; font-size: 1.2rem; }
.card p, .site-footer p { margin-bottom: 0; }
.site-footer { margin-top: 3rem; padding: 1rem 0 2rem; border-top: 1px solid var(--line); }
.site-footer p { margin-top: 0; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: #20172e; padding: .65rem; transform: translateY(-200%); }
.skip:focus { transform: none; }

@media (max-width: 42rem) {
    .studio-hero, .studio-details { grid-template-columns: 1fr; }
    .hero-art { width: min(100%, 15rem); justify-self: center; }
}
