:root {
    color-scheme: dark;
    --background: #111213;
    --surface: #191a1c;
    --text: #f1f1ef;
    --muted: #a8a9ad;
    --line: #303235;
    --accent: #d97579;
    --content-width: 1120px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; }
h1, h2 { font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -2px; }
h3 { font-size: 28px; letter-spacing: -.8px; }
p { color: var(--muted); }
::selection { background: #744448; color: var(--text); }
.container { width: min(var(--content-width), calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 112px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.meta-separator { margin-inline: 9px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 12px 20px; background: var(--text); color: var(--background); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* A small, persistent navigation that stays visible at every screen size. */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(17, 18, 19, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(16px)) {
    .site-header { background: rgba(17, 18, 19, .88); backdrop-filter: blur(16px); }
}
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; flex: 0 0 auto; align-items: center; min-height: 44px; }
.site-brand img { width: 168px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { display: flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; }

/* Shared links and equally sized game cards. */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 12px 23px; border-radius: 100px; font-size: 13px; font-weight: 500; transition: background-color .15s ease; }
.button-primary { background: var(--text); color: var(--background); }
.button-primary:hover { background: #d8d9d7; text-decoration: none; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 500; }
.text-link span[aria-hidden] { font-size: 18px; font-weight: 400; }
.section-heading { margin-bottom: 38px; }
.game-collection .section-heading { text-align: center; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 48px 32px; }
.game-card { display: flex; flex-direction: column; }
.game-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 32px) / 2); justify-self: center; }
.game-art { display: block; border-radius: 12px; }
.game-art img { width: 100%; aspect-ratio: 411 / 215; object-fit: cover; border-radius: inherit; }
.game-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px 0 0; }
.game-copy .eyebrow { font-size: 10px; letter-spacing: 1px; }
.game-copy h2 { margin-top: 9px; font-size: 28px; letter-spacing: -.8px; }
.game-copy > p:not(.eyebrow) { margin-top: 13px; margin-bottom: 15px; max-width: 440px; font-size: 14px; line-height: 1.75; }
.game-copy .text-link { margin-top: auto; }

.studio-section, .team-section { background: var(--surface); }
.studio-section { padding-bottom: 64px; }
.studio-section + .team-section { padding-top: 0; }
.team-section > .container { border-top: 1px solid var(--line); padding-top: 48px; }
.studio-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; text-align: left; }
.studio-story h2 { margin-top: 16px; }
.studio-copy { padding-top: 5px; }
.studio-copy p + p { margin-top: 19px; }
.studio-copy p { font-size: 15px; line-height: 1.8; }
.studio-copy .lead { font-size: 22px; line-height: 1.4; color: var(--text); letter-spacing: -.5px; }
.team-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; text-align: left; }
.team-heading h2 { font-size: 24px; letter-spacing: -.8px; }
.team-heading p { font-size: 13px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.team-member { display: grid; grid-template-columns: 110px 1fr; align-items: start; gap: 24px; }
.team-member img { width: 110px; height: 132px; object-fit: cover; border-radius: 9px; }
.team-member h3 { margin-top: 3px; font-size: 18px; letter-spacing: -.4px; }
.team-member .team-role { margin-top: 7px; color: var(--text); font-size: 11px; }
.team-member p:not(.team-role) { margin-top: 12px; font-size: 13px; line-height: 1.7; }
.team-profile { margin-top: 4px; }

.qa-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.qa-intro { text-align: left; }
.qa-intro h2 { margin-top: 21px; }
.qa-content { padding-top: 7px; }
/* Native disclosure elements keep answers accessible without JavaScript. */
.qa-content details { border-top: 1px solid var(--line); }
.qa-content details:last-child { border-bottom: 1px solid var(--line); }
.qa-content summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 16px; line-height: 1.5; font-weight: 500; cursor: pointer; list-style: none; }
.qa-content summary::-webkit-details-marker { display: none; }
.qa-content summary::after { content: "+"; flex: 0 0 20px; font-size: 23px; font-weight: 400; color: var(--muted); }
.qa-content details[open] summary::after { content: "−"; }
.qa-content details p { margin-bottom: 24px; padding-right: 32px; font-size: 14px; line-height: 1.8; }
.qa-content details a { text-decoration: underline; }

.site-footer { background: var(--surface); padding-block: 42px 26px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 24px; }
.footer-top { align-items: center; padding-bottom: 34px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-contact { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 3px; font-size: 15px; }
.contact-address { grid-column: 1 / -1; font-size: 12px; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.footer-bottom { padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 24px; }
.footer-bottom p, .footer-bottom > span { padding-top: 4px; }

/* The supporting pages share the same simple reading experience. */
.document-page { max-width: 760px; padding-block: 80px 112px; }
.document-page h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -2px; margin: 20px 0 40px; }
.document-page h2 { font-size: 25px; letter-spacing: -.6px; margin: 36px 0 14px; }
.document-page h3 { font-size: 20px; margin: 25px 0 12px; }
.document-page p + p { margin-top: 12px; }
.document-page p, .document-page li { font-size: 15px; line-height: 1.8; }
.document-page li { color: var(--muted); padding-left: 4px; margin-block: 7px; }
.document-page ul { padding-left: 21px; }
.document-page a:not(.button) { text-decoration: underline; overflow-wrap: anywhere; }
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 90px; }
.not-found h1 { margin: 18px 0 20px; font-size: clamp(40px, 6vw, 64px); letter-spacing: -2px; }
.not-found .button { margin-top: 28px; }

@media (max-width: 900px) {
    .container { width: calc(100% - 48px); }
    .section-space { padding-block: 80px; }
    .studio-section { padding-bottom: 40px; }
    .team-section > .container { padding-top: 40px; }
    .studio-story { gap: 36px; }
    .team-grid { gap: 28px; }
    .team-member { grid-template-columns: 80px 1fr; gap: 18px; }
    .team-member img { width: 80px; height: 96px; }
    .qa-section { gap: 40px; }
    .footer-bottom > span { display: none; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 40px); }
    .nav-shell { min-height: 70px; gap: 16px; }
    .site-brand img { width: 134px; }
    .site-header nav { gap: 18px; }
    .site-header nav a { font-size: 12px; }
    h1, h2 { letter-spacing: -1.5px; }
    .button { padding-inline: 20px; gap: 14px; }
    .section-space { padding-block: 64px; }
    .studio-section { padding-bottom: 32px; }
    .team-section > .container { padding-top: 32px; }
    .section-heading { margin-bottom: 28px; }
    .game-grid, .studio-story, .team-grid, .qa-section { grid-template-columns: 1fr; }
    .game-grid { gap: 40px; }
    .game-card:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
    .game-copy { padding-top: 20px; }
    .game-copy h2 { font-size: 27px; }
    .studio-story { gap: 28px; }
    .team-heading { display: block; margin-bottom: 28px; }
    .team-heading h2 { font-size: 22px; }
    .team-heading p { margin-top: 12px; }
    .team-grid { gap: 30px; }
    .team-member { grid-template-columns: 90px 1fr; }
    .team-member img { width: 90px; height: 108px; }
    .qa-section { gap: 32px; }
    .qa-content { padding-top: 0; }
    .footer-top { align-items: flex-start; flex-direction: column; gap: 27px; }
    .footer-bottom { flex-direction: column; gap: 9px; }
    .document-page { padding-block: 52px 72px; }
}

@media (max-width: 360px) {
    .container { width: calc(100% - 32px); }
    .site-brand img { width: 126px; }
    .site-header nav { gap: 12px; }
    .site-header nav a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

@media print {
    .site-header { position: static; }
    .site-footer, .skip-link { display: none; }
    .section-space { padding-block: 35px; }
}
