:root {
    --paper: #f5f1e8;
    --paper-deep: #ebe4d7;
    --surface: #fffdf8;
    --ink: #22231f;
    --ink-soft: #56584f;
    --moss: #60745a;
    --moss-dark: #3f503c;
    --sun: #f4b942;
    --sun-soft: #f8d98a;
    --sky: #b9dce5;
    --line: #d8d1c3;
    --white: #ffffff;
    --shadow-soft: 0 24px 70px rgba(34, 35, 31, 0.12);
    --shadow-card: 0 18px 45px rgba(34, 35, 31, 0.09);
    --radius-small: 12px;
    --radius-medium: 24px;
    --radius-large: 36px;
    --container-wide: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    --bs-gutter-x: 2.5rem;
    max-width: var(--container-wide);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    color: var(--white);
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 4px;
}

.site-header {
    z-index: 1030;
    border-bottom: 1px solid rgba(34, 35, 31, 0.08);
    background: rgba(245, 241, 232, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 12px 30px rgba(34, 35, 31, 0.07);
}

.site-header .navbar {
    min-height: 78px;
    padding: 0;
}

.site-nav-shell {
    min-height: 78px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    color: var(--ink);
    text-decoration: none;
}

.site-brand:hover,
.site-brand:focus {
    color: var(--ink);
}

.brand-mark {
    display: inline-grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--sun);
    font-size: 1.1rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-header .nav-link {
    margin: 0 2px;
    padding: 10px 13px !important;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    background: rgba(96, 116, 90, 0.11);
    color: var(--moss-dark);
}

.site-menu-toggle {
    display: inline-flex;
    width: 48px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: none !important;
}

.site-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background:
        radial-gradient(circle at 90% 10%, rgba(185, 220, 229, 0.72), transparent 30%),
        linear-gradient(145deg, var(--paper) 0%, #f9f6ef 58%, #eee7da 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -12vw;
    bottom: -30vw;
    z-index: -1;
    width: 54vw;
    height: 54vw;
    border: 1px solid rgba(34, 35, 31, 0.1);
    border-radius: 50%;
}

.hero-texture {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.38;
    background-image: radial-gradient(rgba(34, 35, 31, 0.22) 0.7px, transparent 0.7px);
    background-size: 18px 18px;
    mask-image: linear-gradient(100deg, #000, transparent 70%);
}

.hero-layout {
    display: grid;
    min-height: clamp(680px, calc(100svh - 78px), 820px);
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: clamp(42px, 6vw, 90px);
    padding-top: clamp(48px, 6vw, 82px);
    padding-bottom: clamp(56px, 6vw, 88px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.section-index {
    margin: 0;
    color: var(--moss-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 680px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.85rem, 2.7vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.48;
}

.hero-actions,
.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(34, 35, 31, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--moss-dark);
    color: var(--white);
    box-shadow: 0 16px 30px rgba(63, 80, 60, 0.22);
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 253, 248, 0.72);
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--ink);
    background: var(--surface);
    color: var(--ink);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 34px;
    margin: 34px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.hero-facts li {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.hero-facts span {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hero-visual {
    position: relative;
    min-height: min(660px, calc(100svh - 140px));
}

.hero-art-card {
    position: absolute;
    inset: 18px 24px 18px 62px;
    overflow: hidden;
    border: 1px solid rgba(34, 35, 31, 0.7);
    border-radius: var(--radius-large);
    background: var(--sky);
    box-shadow: var(--shadow-soft);
    transform: rotate(1.5deg);
}

.hero-art-card picture,
.hero-art-card img {
    width: 100%;
    height: 100%;
}

.hero-art-card img {
    object-fit: cover;
    object-position: center;
}

.hero-art-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(16, 25, 20, 0.72) 100%);
}

.hero-art-caption {
    position: absolute;
    right: 28px;
    bottom: 26px;
    left: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    color: var(--white);
}

.hero-art-caption span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-art-caption strong {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-game-badge {
    position: absolute;
    top: 82px;
    left: 0;
    z-index: 2;
    display: flex;
    width: 126px;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid var(--ink);
    border-radius: 18px;
    background: var(--sun);
    box-shadow: 8px 10px 0 rgba(34, 35, 31, 0.13);
    transform: rotate(-5deg);
}

.hero-game-badge img {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    border: 1px solid rgba(34, 35, 31, 0.7);
    border-radius: 13px;
}

.hero-game-badge span {
    font-size: 0.59rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.25;
}

.hero-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(34, 35, 31, 0.28);
    border-radius: 50%;
}

.hero-orbit-one {
    right: -30px;
    bottom: 20px;
    width: 160px;
    height: 160px;
}

.hero-orbit-two {
    top: -12px;
    right: 28px;
    width: 74px;
    height: 74px;
    background: rgba(244, 185, 66, 0.48);
}

.section-space {
    padding-top: clamp(84px, 10vw, 140px);
    padding-bottom: clamp(84px, 10vw, 140px);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(160px, 0.35fr) 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.section-heading h2 {
    margin: -8px 0 0;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.section-heading > div > p {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.featured-game {
    position: relative;
    background: var(--surface);
}

.featured-game::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--line);
}

.game-showcase {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    border: 1px solid var(--ink);
    border-radius: var(--radius-large);
    background: var(--paper);
    box-shadow: var(--shadow-card);
}

.game-story {
    padding: clamp(34px, 5vw, 68px);
}

.game-wordmark {
    width: min(100%, 430px);
    height: auto;
    max-height: 205px;
    object-fit: contain;
    object-position: left center;
}

.game-kicker {
    margin: 30px 0 0;
    color: var(--moss-dark);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.game-description {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 2;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.game-tags li {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.7);
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
}

.store-actions {
    margin-top: 34px;
}

.button-dark {
    background: var(--moss-dark);
    color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
    background: var(--ink);
    color: var(--white);
}

.button-outline-dark {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible {
    background: var(--ink);
    color: var(--white);
}

.game-numbers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid var(--ink);
    background: var(--moss-dark);
}

.game-numbers article {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(24px, 3.4vw, 42px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.game-numbers article:nth-child(even) {
    border-right: 0;
}

.game-numbers article span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.game-numbers article strong {
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.game-numbers article small {
    color: var(--sun);
    font-size: 0.48em;
}

.game-numbers .game-numbers-wide {
    min-height: 170px;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
    border-right: 0;
    border-bottom: 0;
    background: var(--ink);
}

.studio-section {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.studio-section::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -180px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.section-heading-light .section-index,
.studio-section .section-index {
    color: var(--sun);
}

.section-heading-light > div > p {
    color: rgba(255, 255, 255, 0.62);
}

.studio-principles {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.studio-principles article {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: clamp(30px, 5vw, 54px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.principle-number {
    color: var(--sun);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.principle-copy h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.principle-copy p {
    max-width: 680px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.63);
}

.studio-principles article > i {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--sun);
    font-size: 1.55rem;
}

.studio-note {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(46px, 7vw, 82px);
}

.studio-note p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.75;
}

.contact-section {
    background:
        radial-gradient(circle at 12% 80%, rgba(185, 220, 229, 0.66), transparent 32%),
        var(--paper);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: clamp(50px, 8vw, 110px);
    padding: clamp(38px, 6vw, 76px);
    border: 1px solid var(--ink);
    border-radius: var(--radius-large);
    background: var(--sun);
    box-shadow: 12px 14px 0 var(--ink);
}

.contact-copy h2 {
    margin: 18px 0 0;
    font-size: clamp(2.5rem, 4.7vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.contact-copy > p:last-child {
    max-width: 530px;
    margin: 24px 0 0;
    color: rgba(34, 35, 31, 0.7);
}

.contact-links {
    width: 100%;
    align-self: center;
    border-top: 1px solid rgba(34, 35, 31, 0.4);
}

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    border-bottom: 1px solid rgba(34, 35, 31, 0.4);
    color: var(--ink);
    font-size: clamp(0.92rem, 1.6vw, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    transition: padding 180ms ease, background-color 180ms ease;
}

.contact-links a:hover {
    padding-right: 14px;
    padding-left: 14px;
    background: rgba(255, 255, 255, 0.24);
}

.contact-links small {
    display: block;
    margin-bottom: 4px;
    color: rgba(34, 35, 31, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-links i {
    font-size: 1.35rem;
}

.site-footer {
    padding: 72px 0 30px;
    background: #171814;
    color: rgba(255, 255, 255, 0.7);
}

.footer-primary {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(190px, 0.75fr) minmax(220px, 0.85fr);
    gap: 54px;
    padding-bottom: 56px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
}

.brand-mark-light {
    border-color: rgba(255, 255, 255, 0.48);
    color: var(--ink);
}

.footer-brand-block p {
    margin: 3px 0;
    font-size: 0.86rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-column h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.footer-column a,
.footer-meta a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-column a:hover,
.footer-meta a:hover {
    color: var(--sun);
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-meta p {
    margin: 0;
    font-size: 0.78rem;
}

/* Legal documents */
.legal-section {
    min-height: 70vh;
    padding: clamp(52px, 7vw, 92px) 0 clamp(80px, 9vw, 130px);
    background:
        linear-gradient(rgba(96, 116, 90, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 116, 90, 0.055) 1px, transparent 1px),
        var(--paper);
    background-size: 32px 32px;
}

.legal-content {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: clamp(32px, 6vw, 72px);
    overflow-wrap: anywhere;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.95;
}

.legal-content > p:first-child {
    margin-bottom: 10px;
}

.legal-content > p:first-child strong {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.legal-content p {
    margin-bottom: 1.05rem;
}

.legal-content strong {
    color: var(--ink);
    font-weight: 700;
}

.legal-content a {
    color: var(--moss-dark);
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-title {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.legal-update-date {
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.legal-intro,
.legal-footer-note {
    margin: 28px 0;
    padding: 22px 24px;
    border-left: 4px solid var(--sun);
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
    background: var(--paper);
}

.legal-sensitive-emphasis {
    color: var(--ink);
    font-size: 1.02em;
    font-weight: 750;
}

.legal-info-separator {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.legal-section-title,
.legal-subsection-title,
.legal-item-title,
.legal-subsection h3 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.45;
}

.legal-section-title {
    margin: 46px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 1.55rem;
}

.legal-subsection-title {
    margin: 34px 0 16px;
    font-size: 1.28rem;
}

.legal-item-title,
.legal-subsection h3 {
    margin: 26px 0 12px;
    font-size: 1.12rem;
}

.legal-content ul,
.legal-subsection ul {
    margin: 16px 0 22px;
    padding-left: 1.4rem;
}

.legal-content li,
.legal-subsection li {
    margin-bottom: 8px;
}

.table-responsive {
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    -webkit-overflow-scrolling: touch;
}

.legal-table {
    width: 100%;
    min-width: 680px;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table thead {
    background: var(--moss-dark);
    color: var(--white);
}

.legal-table th,
.legal-table td {
    padding: 14px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal-table th:last-child,
.legal-table td:last-child {
    border-right: 0;
}

.legal-table tbody tr:nth-child(even) {
    background: rgba(235, 228, 215, 0.42);
}

/* Reveal animation is progressive enhancement: content is visible without JS. */
[data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    html.motion-ready [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 600ms ease, transform 600ms ease;
    }

    html.motion-ready [data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1099.98px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(370px, 0.9fr);
        gap: 36px;
    }

    .hero-art-card {
        inset: 38px 12px 38px 52px;
    }

    .game-showcase {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    }

    .game-numbers article {
        min-height: 170px;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin: 10px 0 18px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--surface);
        box-shadow: var(--shadow-card);
    }

    .site-header .navbar-nav {
        align-items: stretch !important;
    }

    .site-header .nav-link {
        margin: 2px 0;
        padding: 11px 14px !important;
    }

    .hero-layout {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 44px;
        padding-top: 62px;
        padding-bottom: 74px;
    }

    .hero-copy {
        max-width: 740px;
    }

    .hero-visual {
        min-height: 660px;
        width: min(100%, 610px);
        justify-self: center;
    }

    .game-showcase {
        grid-template-columns: 1fr;
    }

    .game-numbers {
        border-top: 1px solid var(--ink);
        border-left: 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .container {
        --bs-gutter-x: 1.5rem;
    }

    .site-header .navbar,
    .site-nav-shell {
        min-height: 70px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: 0.96rem;
    }

    .brand-copy small {
        font-size: 0.52rem;
    }

    .hero-layout {
        gap: 34px;
        padding-top: 44px;
        padding-bottom: 62px;
    }

    .hero-copy h1 {
        font-size: clamp(1.7rem, 7.4vw, 2.15rem);
        line-height: 1.48;
    }

    .hero-actions {
        margin-top: 26px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-facts {
        gap: 16px 26px;
        margin-top: 28px;
        padding-top: 18px;
    }

    .hero-visual {
        min-height: 500px;
        width: 100%;
    }

    .hero-art-card {
        inset: 12px 2px 12px 28px;
        border-radius: 28px;
        transform: rotate(1deg);
    }

    .hero-game-badge {
        top: 60px;
        width: 110px;
        padding: 7px;
    }

    .hero-game-badge img {
        width: 44px;
        height: 44px;
    }

    .hero-art-caption {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .hero-orbit-two {
        right: -12px;
    }

    .section-space {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 38px;
    }

    .section-heading h2 {
        margin-top: 0;
        font-size: clamp(2.15rem, 10vw, 3.2rem);
    }

    .section-heading > div > p {
        font-size: 0.96rem;
    }

    .game-showcase,
    .contact-panel {
        border-radius: 24px;
    }

    .game-story {
        padding: 30px 24px 36px;
    }

    .game-wordmark {
        max-height: 154px;
    }

    .game-description {
        font-size: 0.96rem;
        line-height: 1.9;
    }

    .store-actions .button {
        width: 100%;
    }

    .game-numbers article {
        min-height: 138px;
        padding: 24px 20px;
    }

    .game-numbers article strong {
        font-size: clamp(2.7rem, 13vw, 3.6rem);
    }

    .game-numbers .game-numbers-wide {
        min-height: 134px;
    }

    .studio-principles article {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 16px;
    }

    .studio-principles article > i {
        display: none;
    }

    .principle-copy h3 {
        font-size: 1.75rem;
    }

    .principle-copy p {
        font-size: 0.93rem;
    }

    .studio-note p {
        font-size: 1.18rem;
    }

    .contact-panel {
        gap: 38px;
        padding: 32px 24px;
        box-shadow: 7px 8px 0 var(--ink);
    }

    .contact-copy h2 {
        font-size: clamp(2.4rem, 12vw, 3.5rem);
    }

    .contact-links a {
        overflow-wrap: anywhere;
    }

    .site-footer {
        padding-top: 56px;
    }

    .footer-primary {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .legal-section {
        padding-top: 24px;
    }

    .legal-content {
        padding: 30px 22px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        font-size: 0.94rem;
        line-height: 1.88;
    }

    .legal-section > .container {
        --bs-gutter-x: 0;
    }
}

@media (max-width: 419.98px) {
    .brand-copy small {
        display: none;
    }

    .hero-visual {
        min-height: 455px;
    }

    .hero-game-badge {
        left: -4px;
    }

    .game-numbers article span {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
