:root {
    --blue: #064be8;
    --ink: #111827;
    --muted: #707887;
    --line: #d8dce4;
    --pad: max(5vw, 24px)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Yu Gothic", sans-serif;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: 82px;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    transition: .35s
}

.site-header.scrolled {
    height: 68px;
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    box-shadow: 0 2px 20px #00133c12
}

.brand img {
    width: 156px;
    display: block
}

.scrolled .brand img {
    filter: invert(1)
}

.desktop-nav {
    display: flex;
    gap: 38px
}

.desktop-nav a {
    font-size: 14px;
    position: relative
}

.desktop-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 2px;
    background: currentColor;
    transition: .25s
}

.desktop-nav a:hover:after {
    right: 0
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px
}

.language {
    position: relative
}

.language>button {
    border: 0;
    background: none;
    color: inherit;
    padding: 12px;
    cursor: pointer
}

.language i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1px solid;
    border-bottom: 1px solid;
    transform: rotate(45deg);
    margin: 0 0 4px 8px
}

.language-menu {
    position: absolute;
    right: 0;
    top: 40px;
    width: 130px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 10px 35px #00164226;
    display: none
}

.language.open .language-menu {
    display: block
}

.language-menu button {
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 9px;
    color: #222;
    cursor: pointer
}

.language-menu button:hover {
    background: #f1f4fa
}

.menu-button {
    display: none;
    border: 0;
    background: none;
    color: inherit;
    width: 38px;
    height: 38px
}

.menu-button span {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    margin: 7px
}

.mobile-menu {
    display: none
}

.hero {
    height: 100vh;
    min-height: 660px;
    position: relative;
    overflow: hidden;
    background: #07111d
}

.hero video,
.universe>video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #00153488, transparent 60%), linear-gradient(0deg, #00112966, transparent 40%)
}

.hero-mark {
    position: absolute;
    left: var(--pad);
    top: 42%;
    color: white;
    display: flex;
    align-items: center;
    gap: 24px
}

.hero-mark h1 {
    font-size: clamp(38px, 5vw, 76px);
    line-height: .9;
    letter-spacing: -3px;
    margin: 0
}

.play-ring,
.circle-play {
    width: 64px;
    height: 64px;
    border: 1px solid #ffffff99;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding-left: 4px
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center
}

.scroll-hint i {
    display: block;
    width: 1px;
    height: 42px;
    background: #fff;
    margin: 12px auto -30px;
    animation: scroll 1.6s infinite
}

@keyframes scroll {
    0% {
        transform: scaleY(0);
        transform-origin: top
    }

    50% {
        transform: scaleY(1);
        transform-origin: top
    }

    51% {
        transform-origin: bottom
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom
    }
}

.section {
    padding: 40px var(--pad)
}

.about {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 7vw;
    align-items: center
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--blue);
    font-weight: bold;
    margin: 0 0 18px
}

.section h2,
.business h2,
.news h2 {
    font-size: clamp(34px, 4vw, 58px);
    margin: 0 0 32px;
    letter-spacing: -2px
}

.about-copy>p:not(.eyebrow),
.letter-copy>p:not(.eyebrow) {
    color: var(--muted);
    line-height: 2;
    font-size: 15px
}

.about-media {
    height: 580px;
    overflow: hidden
}

.about-media video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.line-button,
.white-button {
    display: inline-flex;
    margin-top: 25px;
    min-width: 180px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    font-size: 13px;
    transition: .25s
}

.line-button:hover {
    background: var(--ink);
    color: #fff
}

.letter {
    background: #f3f5f8;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 7vw;
    align-items: center
}

.letter-art {
    height: 430px;
    background: url('assets/studio.jpg') center/cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 46px
}

.letter-art span {
    font-size: 12px;
    letter-spacing: 5px
}

.letter-art strong {
    font-size: 28px;
    margin-top: 10px
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--blue);
    font-size: 13px
}

.universe {
    height: min(800px, 82vh);
    position: relative;
    background: #07101e;
    overflow: hidden
}

.universe-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background: #00102335
}

.universe-overlay p {
    letter-spacing: 7px;
    font-size: 12px
}

.universe-overlay h2 {
    font-size: clamp(38px, 5vw, 70px);
    margin: 12px 0 35px
}

.circle-play {
    background: #ffffff15;
    color: white;
    cursor: pointer
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: auto
}

.section-heading p:last-child {
    color: var(--muted)
}

.slider-tools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    margin: 55px 0 20px
}

.slider-tools button {
    background: none;
    border: 0;
    font-size: 24px;
    cursor: pointer
}

.slider-tools span {
    font-size: 12px;
    letter-spacing: 2px
}

.game-track {
    display: flex;
    gap: 24px;
    overflow: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.game-track::-webkit-scrollbar {
    display: none
}

.game-card {
    flex: 0 0 30%;
    min-width: 300px;
    scroll-snap-align: start
}

.game-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    transition: .45s
}

.game-card:hover img {
    transform: scale(1.02)
}

.game-card h3 {
    font-size: 22px;
    margin: 20px 0 8px
}

.game-card p {
    font-size: 14px;
    color: var(--muted)
}

.centered {
    display: flex;
    width: max-content;
    margin: 60px auto 100px
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.business-card {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center
}

.business-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #001327d9, transparent 70%);
    transition: .4s
}

.business-card:hover:before {
    background: #054be7bb
}

.business-card>* {
    position: relative
}

.business-card h3 {
    font-size: 28px;
    margin: 0 0 12px
}

.business-card p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0
}

.careers {
    min-height: 600px;
    background: url('assets/careers.jpg') center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    padding: var(--pad);
    position: relative
}

.careers:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #001b56cc, transparent)
}

.careers-content {
    position: relative
}

.careers h2 {
    font-size: clamp(46px, 7vw, 90px);
    margin: 0 0 18px
}

.careers p:not(.eyebrow) {
    font-size: 20px
}

.white-button {
    border-color: #fff
}

.white-button:hover {
    background: #fff;
    color: #111
}

.news-list {
    margin-top: 60px;
    border-top: 1px solid var(--line)
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    gap: 30px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    align-items: center
}

.news-item time {
    font-size: 13px;
    color: var(--muted)
}

.news-item h3 {
    margin: 0 0 8px;
    font-size: 21px
}

.news-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.news-item b {
    font-size: 22px;
    color: var(--blue)
}

footer {
    background: #07101d;
    color: #8992a0;
    min-height: 200px;
    padding: 50px var(--pad);
    display: flex;
    align-items: center;
    gap: 40px
}

footer img {
    width: 150px
}

footer p {
    font-size: 12px;
    flex: 1
}

footer>a {
    color: #fff;
    font-size: 24px
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .8s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:800px) {
    .site-header {
        height: 64px
    }

    .brand img {
        width: 125px
    }

    .desktop-nav {
        display: none
    }

    .menu-button {
        display: block
    }

    .mobile-menu {
        display: block;
        position: fixed;
        z-index: 45;
        inset: 0;
        background: #07101df7;
        color: #fff;
        transform: translateY(-100%);
        transition: .4s;
        padding: 110px 30px
    }

    .mobile-menu.open {
        transform: none
    }

    .mobile-menu nav {
        display: flex;
        flex-direction: column
    }

    .mobile-menu a {
        font-size: 27px;
        border-bottom: 1px solid #ffffff24;
        padding: 17px
    }

    .hero {
        min-height: 600px;
        height: 88vh
    }

    .hero-mark {
        top: 40%;
        left: 24px
    }

    .hero-mark h1 {
        font-size: 42px
    }

    .play-ring {
        width: 50px;
        height: 50px
    }

    .section {
        padding: 80px 24px
    }

    .about,
    .letter {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .about-media {
        height: 420px
    }

    .letter-art {
        height: 360px;
        order: 2;
        padding: 28px
    }

    .universe {
        height: 620px
    }

    .game-card {
        flex-basis: 82%;
        min-width: 0
    }

    .business-grid {
        grid-template-columns: 1fr
    }

    .business-card {
        min-height: 390px
    }

    .centered {
        margin-bottom: 70px
    }

    .careers {
        min-height: 530px;
        padding: 24px
    }

    .news-item {
        grid-template-columns: 75px 1fr 20px;
        gap: 12px
    }

    .news-item p {
        display: none
    }

    .news-item h3 {
        font-size: 16px;
        line-height: 1.5
    }

    footer {
        flex-wrap: wrap;
        gap: 20px
    }

    .language-menu {
        right: -35px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .scroll-hint i {
        animation: none
    }
}