﻿.game--hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    min-height: 100svh;
    background: var(--cloth);
}

.game--background {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game--shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 0deg, rgb(12 10 8 / .95), rgb(12 10 8 / .55) 35%, rgb(12 10 8 / .12) 75% ), linear-gradient( 90deg, rgb(12 10 8 / .35), transparent 65% );
    pointer-events: none;
}

.game--hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 180px;
    width: 100%;
    padding-top: 152px;
    padding-bottom: 64px;
}

.game--top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.game--back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--text-soft);
    font-family: 'GOST', sans-serif;
    font-size: 19px;
    text-decoration: none;
}

    .game--back:hover {
        color: var(--linen-bright);
    }

    .game--back:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 5px;
    }

.game--status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px dashed var(--seam);
    border-radius: var(--corner);
    background: var(--cloth-dark);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 15px;
    letter-spacing: .06em;
}

    .game--status > span {
        width: 6px;
        height: 6px;
        flex-shrink: 0;
        border-radius: 50%;
        background: currentColor;
    }

.game--hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: end;
    gap: 40px 72px;
}

.game--identity,
.game--intro {
    min-width: 0;
}

.game--genre {
    margin: 0 0 24px;
    color: var(--text-soft);
    font-family: 'GOST', sans-serif;
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.game--title {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0;
    line-height: 1;
}

.game--working-title {
    margin: 24px 0 0;
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: 15px;
    letter-spacing: .04em;
}

.game--intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: end;
    gap: 28px;
    max-width: 440px;
    width: 100%;
    padding-bottom: 12px;
}

.game--lead {
    margin: 0;
    color: var(--linen);
    font-size: clamp(23px, 2vw, 28px);
    line-height: 1.45;
}

.game--intro > .patch {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 100%;
}

.game--facts {
    border-top: 1px dashed var(--seam);
    border-bottom: 1px dashed var(--seam);
    background: var(--cloth-dark);
}

.game--facts-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding-block: 28px;
}

.game--facts dt {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.game--facts dd {
    margin: 0;
    color: var(--linen);
    font-size: 22px;
    line-height: 1.35;
}

@media (max-width: 760px) {
    .game--hero-inner {
        padding-top: 176px;
        padding-bottom: 40px;
        gap: 120px;
    }

    .game--background {
        object-position: 45% center;
    }

    .game--hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .game--title {
        max-width: 420px;
    }

    .game--intro {
        justify-self: start;
        max-width: 520px;
        padding-bottom: 0;
    }

    .game--facts-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 380px) {
    .game--facts-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

.game--gallery {
    padding-block: clamp(64px, 7vw, 104px);
}

.game--gallery-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: end;
    gap: 24px 56px;
    margin-bottom: 40px;
}

.game--section-label {
    margin: 0 0 20px;
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.game--section-title {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.1;
}

.game--gallery-intro {
    width: 100%;
    max-width: 360px;
    justify-self: end;
    margin: 0;
    color: var(--text-soft);
    font-size: 22px;
    line-height: 1.5;
}

.game--gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 36px 28px;
}

.game--shot {
    min-width: 0;
    margin: 0;
}

.game--shot-link {
    position: relative;
    display: block;
    padding: 8px;
    border: 1px solid var(--seam);
    border-radius: var(--corner);
    background: var(--cloth-dark);
    color: var(--gold-soft);
    text-decoration: none;
}

    .game--shot-link > .sewn {
        border-radius: calc(var(--corner) - 3px);
    }

        .game--shot-link > .sewn::after {
            border-radius: calc(var(--corner) - 5px);
        }

    .game--shot-link:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 6px;
    }

.game--shot-expand {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px dashed var(--seam);
    border-radius: calc(var(--corner) - 3px);
    background: var(--cloth);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 24px;
    pointer-events: none;
}

.game--shot-link:hover .game--shot-expand {
    color: var(--linen-bright);
}

.game--shot-caption {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
    color: var(--text-soft);
    font-family: 'GOST', sans-serif;
    font-size: 18px;
    line-height: 1.45;
}

.game--shot-number {
    color: var(--gold);
}

.game--gallery-note {
    margin: 32px 0 0;
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

@media (min-width: 761px) {
    .game--shot-caption {
        min-height: 2.9em;
    }
}

@media (max-width: 760px) {
    .game--gallery-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-bottom: 28px;
    }

    .game--gallery-intro {
        justify-self: start;
        max-width: 520px;
        font-size: 21px;
    }

    .game--gallery-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game--shot-link .sewn img {
        transition: none;
        transform: none;
    }
}

.game--shift {
    border-top: 1px dashed var(--seam);
    border-bottom: 1px dashed var(--seam);
    background: var(--cloth-dark);
}

.game--shift-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px 80px;
    padding-block: clamp(64px, 7vw, 104px);
}

.game--shift-heading {
    min-width: 0;
}

.game--shift-description {
    max-width: 480px;
    margin: 28px 0 0;
    color: var(--text-soft);
    font-size: 23px;
    line-height: 1.55;
}

.game--steps {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.game--step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 20px;
    padding-block: 28px;
    border-bottom: 1px dashed var(--seam);
}

    .game--step:first-child {
        padding-top: 0;
    }

.game--step-number {
    padding-top: 5px;
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 24px;
    line-height: 1.2;
}

.game--step h3 {
    margin: 0;
    color: var(--linen-bright);
    font-family: 'Neucha', sans-serif;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.15;
}

.game--step p {
    margin: 16px 0 0;
    color: var(--text-soft);
    font-size: 21px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .game--shift-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .game--shift-description {
        max-width: none;
        font-size: 21px;
    }

    .game--step {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 16px;
    }
}

.game--crew {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px 80px;
    padding-block: clamp(64px, 7vw, 104px);
}

.game--crew-portrait,
.game--crew-roster {
    min-width: 0;
}

.game--crew-photo {
    position: relative;
    width: calc(100% - 24px);
    max-width: 400px;
    box-sizing: border-box;
    margin: 36px 12px 0;
    padding: 10px;
    border: 1px solid var(--seam);
    border-radius: var(--corner);
    background: var(--cloth-dark);
    box-shadow: 8px 18px 30px rgb(0 0 0 / .35);
    transform-origin: 50% -110px;
    animation: crew--portrait-sway 9s ease-in-out infinite;
}

    .game--crew-photo > .sewn {
        border-radius: calc(var(--corner) - 3px);
    }

        .game--crew-photo > .sewn::after {
            border-radius: calc(var(--corner) - 5px);
        }

    .game--crew-photo .sewn:hover img {
        transform: none;
    }

.game--crew-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 6px 8px;
    color: var(--text-muted);
    font-family: 'GOST', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.game--crew-intro {
    margin: 0 0 32px;
    min-height: 4.5em;
    color: var(--text-soft);
    font-size: 24px;
    line-height: 1.5;
}

.crew--role {
    border-bottom: 2px dashed var(--seam);
}

    .crew--role:first-of-type {
        border-top: 2px dashed var(--seam);
    }

.crew--summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-block: 22px;
    list-style: none;
    cursor: pointer;
}

    .crew--summary::-webkit-details-marker {
        display: none;
    }

    .crew--summary::marker {
        content: "";
    }

    .crew--summary:focus-visible {
        outline: 2px dashed var(--role-color);
        outline-offset: 5px;
        border-radius: var(--corner);
    }

.crew--icon {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    box-sizing: border-box;
    padding: 5px;
    border: 4px dashed var(--role-color);
    border-radius: 50%;
    background: rgb(224 215 187 / .07);
    box-shadow: 0 0 0 2px #100c08, inset 0 0 0 1px rgb(236 229 214 / .17);
}

    .crew--icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.crew--body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.crew--name {
    color: var(--role-color);
    font-family: 'GOST', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.crew--arrow {
    display: block;
    color: var(--role-color);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .65;
    transition: transform .2s ease, opacity .2s ease;
}

.crew--summary:hover .crew--arrow,
.crew--summary:focus-visible .crew--arrow {
    opacity: 1;
}

.crew--role[open] .crew--arrow {
    transform: rotate(180deg);
}

.crew--description {
    padding: 0 0 24px 88px;
}

    .crew--description p {
        margin: 0;
        color: var(--text-soft);
        font-size: 21px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

@keyframes crew--portrait-sway {
    0%, 100% {
        transform: rotate(-1deg);
    }

    50% {
        transform: rotate(1deg);
    }
}

@media (max-width: 760px) {
    .game--crew {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .game--crew-photo {
        max-width: 360px;
        margin-inline: auto;
    }

    .game--crew-intro {
        min-height: 0;
        font-size: 22px;
    }

    .crew--summary {
        gap: 18px;
        padding-block: 20px;
    }

    .crew--icon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .crew--name {
        font-size: 29px;
    }

    .crew--description {
        padding-left: 74px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game--crew-photo {
        animation: none;
        transform: none;
    }

        .crew--arrow,
        .game--crew-photo .sewn img {
            transition: none;
        }
}

.game--development {
    border-top: 1px dashed var(--seam);
    border-bottom: 1px dashed var(--seam);
    background: var(--cloth-dark);
}

.game--development-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px 80px;
    padding-block: clamp(64px, 7vw, 104px);
}

.game--development-image {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--seam);
    border-radius: var(--corner);
    background: var(--cloth);
    box-shadow: 0 16px 32px rgb(0 0 0 / .2);
}

    .game--development-image > .sewn {
        border-radius: calc(var(--corner) - 3px);
    }

        .game--development-image > .sewn::after {
            border-radius: calc(var(--corner) - 5px);
        }

.game--development-body {
    min-width: 0;
}

    .game--development-body .game--section-title {
        min-height: 2.2em;
    }

.game--development-text {
    min-height: 6.2em;
    margin: 28px 0;
    color: var(--text-soft);
    font-size: 23px;
    line-height: 1.55;
}

.game--development-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 48px;
    padding-block: 12px;
    border-bottom: 1px dashed var(--seam);
    color: var(--gold-soft);
    font-family: 'GOST', sans-serif;
    font-size: 21px;
    line-height: 1.4;
    text-decoration: none;
}

    .game--development-link:hover {
        color: var(--linen-bright);
    }

    .game--development-link:focus-visible {
        outline: 2px dashed var(--gold-soft);
        outline-offset: 5px;
        border-radius: var(--corner);
    }

    .game--development-link > span:last-child {
        flex-shrink: 0;
    }

@media (max-width: 760px) {
    .game--development-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .game--development-body .game--section-title {
        min-height: 0;
    }

    .game--development-text {
        min-height: 0;
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game--development-image .sewn img {
        transition: none;
        transform: none;
    }
}