:root {
    --ink: #11130f;
    --paper: #e9e8df;
    --lime: #d7f25b;
    --muted: #9b9d91;
    --line: rgba(233, 232, 223, .2);
    --display: "Space Grotesk", sans-serif;
    --mono: "DM Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--display);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 75% 15%, #293127 0, transparent 30%), radial-gradient(circle at 10% 75%, #1c2521 0, transparent 25%), var(--ink);
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 5;
    opacity: .035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.section-pad,
.site-header {
    padding-left: clamp(24px, 6vw, 96px);
    padding-right: clamp(24px, 6vw, 96px);
}

.site-header {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 2;
}

.wordmark {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--paper);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .22em;
}

.wordmark-mark {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid var(--lime);
    color: var(--lime);
    font-size: 16px;
    transform: rotate(-9deg);
}

.main-nav {
    display: flex;
    gap: 38px;
    margin-left: 13%;
}

.main-nav a,
.header-link,
.site-footer a {
    color: var(--paper);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 11px;
}

.main-nav a:hover,
.header-link:hover,
.site-footer a:hover {
    color: var(--lime);
}

.header-link {
    color: var(--lime);
}

.header-link span,
.text-link span,
.contact-link span {
    font-size: 16px;
    margin-left: 8px;
}

.hero {
    min-height: calc(100vh - 92px);
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr);
    gap: clamp(40px, 8vw, 140px);
    align-items: center;
    position: relative;
    padding-top: 60px;
    padding-bottom: 90px;
}

.hero-copy {
    padding-bottom: 5vh;
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--lime);
    font: 11px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 28px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--lime);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 5px rgba(215, 242, 91, .12);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-size: clamp(58px, 8vw, 122px);
    line-height: .88;
    letter-spacing: -.06em;
    font-weight: 600;
    margin-bottom: 34px;
}

em {
    color: var(--lime);
    font-style: normal;
}

.hero-intro {
    max-width: 390px;
    color: #bbbdb3;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 16px 18px 16px 20px;
    color: var(--ink);
    font: 12px var(--mono);
    text-decoration: none;
    transition: transform .25s, background .25s;
}

.button-primary {
    background: var(--lime);
}

.button:hover {
    transform: translate(4px, -4px);
    background: #f0ff9f;
}

.button-arrow {
    font-size: 19px;
}

.hero-art {
    min-height: min(610px, 65vh);
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(35, 51, 41, .2), rgba(7, 10, 8, .75)), url("https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&w=1400&q=85") center/cover;
    filter: saturate(.7);
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(215, 242, 91, .35);
    pointer-events: none;
}

.hero-art-grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(215, 242, 91, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(215, 242, 91, .13) 1px, transparent 1px);
    background-size: 15% 15%;
    mix-blend-mode: screen;
    opacity: .6;
}

.hero-art-label,
.hero-art-stamp,
.visual-code {
    position: absolute;
    z-index: 1;
    font: 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-art-label {
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    color: var(--paper);
}

.hero-art-stamp {
    right: 22px;
    top: 22px;
    width: 67px;
    height: 67px;
    border: 1px solid var(--lime);
    border-radius: 50%;
    color: var(--lime);
    display: grid;
    place-content: center;
    text-align: center;
    transform: rotate(14deg);
}

.hero-meta {
    position: absolute;
    bottom: 30px;
    left: clamp(24px, 6vw, 96px);
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--muted);
    font: 10px var(--mono);
}

.scroll-line {
    width: 52px;
    height: 1px;
    background: var(--muted);
}

.games {
    padding-top: 150px;
    padding-bottom: 160px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 1.2fr .8fr;
    align-items: end;
    gap: 50px;
    margin-bottom: 70px;
}

.section-heading .eyebrow {
    align-self: start;
}

.section-heading h2 {
    font-size: clamp(55px, 7vw, 100px);
    margin-bottom: 0;
}

.section-heading>p:last-child {
    color: #aeb0a6;
    font-size: 15px;
    line-height: 1.55;
    max-width: 270px;
    margin-bottom: 7px;
}

.game-list {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 14px;
}

.game-card {
    min-height: 500px;
    border-top: 1px solid var(--line);
    position: relative;
}

.game-visual {
    height: 280px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background: #242b20;
}

.possessed-visual {
    background: radial-gradient(ellipse at 48% 48%, #a5b882 0, #42523c 16%, #1d2a21 40%, #0c110e 75%);
}

.possessed-visual::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 230px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%);
    background: linear-gradient(100deg, transparent 12%, rgba(217, 234, 166, .36) 35%, rgba(6, 10, 7, .9) 55%, transparent 75%);
    clip-path: polygon(45% 0, 74% 18%, 63% 47%, 87% 100%, 10% 100%, 33% 47%, 20% 17%);
    filter: blur(8px);
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(215, 242, 91, .5);
    border-radius: 50%;
    width: 75%;
    height: 45%;
    left: 13%;
    top: 30%;
    transform: rotate(-22deg);
}

.visual-orbit-two {
    transform: rotate(62deg);
    opacity: .45;
}

.visual-title {
    position: absolute;
    z-index: 1;
    left: 25px;
    bottom: 10px;
    color: rgba(215, 242, 91, .16);
    font-size: 220px;
    line-height: .8;
    font-weight: 700;
}

.visual-code {
    top: 18px;
    left: 18px;
    color: rgba(233, 232, 223, .7);
}

.project-two-visual {
    background: linear-gradient(150deg, #b4bf99, #555b38 45%, #252b1e);
}

.project-two-visual::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 150%;
    background: url("https://images.unsplash.com/photo-1531058020387-3be344556be6?auto=format&fit=crop&w=800&q=70") center/cover;
    mix-blend-mode: multiply;
    opacity: .4;
    transform: rotate(12deg);
}

.project-three-visual {
    background: linear-gradient(135deg, #c5a57b, #835e49 38%, #202923);
}

.project-three-visual::after {
    content: "";
    position: absolute;
    inset: 20% 18%;
    border: 1px solid rgba(233, 232, 223, .4);
    transform: rotate(45deg);
    box-shadow: 0 0 0 20px rgba(233, 232, 223, .08), 0 0 0 42px rgba(233, 232, 223, .05);
}

.game-info {
    padding-right: 28px;
}

.game-kicker {
    display: flex;
    gap: 13px;
    align-items: center;
    color: var(--muted);
    font: 10px var(--mono);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.live-pill,
.in-progress-pill {
    color: var(--lime);
    border: 1px solid var(--lime);
    padding: 4px 7px;
}

.game-card h3 {
    font-size: 30px;
    letter-spacing: -.04em;
    margin-bottom: 12px;
}

.game-card p {
    color: #aeb0a6;
    font-size: 14px;
    line-height: 1.5;
    max-width: 330px;
    margin-bottom: 20px;
}

.text-link {
    color: var(--lime);
    text-decoration: none;
    font: 11px var(--mono);
}

.text-link:hover {
    text-decoration: underline;
}

.muted-link {
    color: #777c72;
}

.card-number {
    position: absolute;
    right: 0;
    top: 12px;
    color: #555b50;
    font: 11px var(--mono);
}

.studio {
    padding-top: 130px;
    padding-bottom: 160px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-top: 1px solid var(--line);
    background: rgba(21, 27, 21, .4);
}

.studio-mark {
    font-size: clamp(240px, 35vw, 500px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(215, 242, 91, .35);
    line-height: .75;
    transform: rotate(-10deg);
}

.studio-copy {
    max-width: 500px;
}

.studio-copy h2 {
    font-size: clamp(55px, 7vw, 100px);
}

.studio-copy>p:not(.eyebrow) {
    color: #aeb0a6;
    font-size: 16px;
    line-height: 1.65;
    max-width: 400px;
}

.studio-stats {
    display: flex;
    gap: clamp(20px, 5vw, 60px);
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 20px;
}

.studio-stats div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.studio-stats strong {
    color: var(--lime);
    font-size: 28px;
    font-weight: 400;
}

.studio-stats span {
    color: var(--muted);
    font: 10px/1.3 var(--mono);
    text-transform: uppercase;
}

.contact {
    min-height: 600px;
    padding-top: 150px;
    padding-bottom: 110px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(215, 242, 91, .2);
    box-shadow: 0 0 0 45px rgba(215, 242, 91, .03), 0 0 0 100px rgba(215, 242, 91, .025);
}

.contact h2 {
    font-size: clamp(62px, 9vw, 130px);
    position: relative;
}

.contact-link {
    color: var(--paper);
    font: 16px var(--mono);
    text-decoration: none;
    border-bottom: 1px solid var(--lime);
    padding-bottom: 10px;
    position: relative;
}

.contact-link:hover {
    color: var(--lime);
}

.contact-side {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--muted);
    font: 10px var(--mono);
    letter-spacing: .08em;
}

.site-footer {
    border-top: 1px solid var(--line);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7f8279;
    font: 10px var(--mono);
}

.site-footer a {
    color: var(--lime);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 800px) {
    .main-nav {
        display: none;
    }

    .site-header {
        height: 76px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 80px;
        min-height: auto;
        gap: 50px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-art {
        min-height: 64vh;
    }

    .hero-meta {
        position: static;
        order: 3;
        margin-top: -20px;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        margin-bottom: 26px;
    }

    .game-list {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .game-card {
        min-height: 0;
    }

    .game-visual {
        height: 360px;
    }

    .studio {
        grid-template-columns: 1fr;
        gap: 70px;
        padding-top: 80px;
    }

    .studio-mark {
        font-size: 260px;
        text-align: center;
    }

    .contact {
        min-height: 530px;
        padding-top: 100px;
        display: block;
    }

    .contact-side {
        margin-top: 80px;
    }

    .site-footer {
        gap: 15px;
        flex-wrap: wrap;
        padding-top: 22px;
        padding-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}