:root {
    --ink: #101010;
    --paper: #f7f6f2;
    --yellow: #ffdb00;
    --line: #d9d7d0;
    --mono: "DM Mono", monospace;
    --sans: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
}

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

.section-pad {
    padding-left: clamp(24px, 5.2vw, 80px);
    padding-right: clamp(24px, 5.2vw, 80px);
}

.site-header {
    height: 74px;
    padding: 0 clamp(24px, 5.2vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
    background: var(--paper);
}

.wordmark {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 0.85;
    display: flex;
    flex-direction: column;
    width: max-content;
}

    .wordmark span {
        font-weight: 800;
    }

.nav {
    display: flex;
    align-items: center;
    gap: 39px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

    .nav a {
        transition: opacity 0.2s;
    }

        .nav a:hover {
            opacity: 0.55;
        }

.contact-link {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font: 13px var(--mono);
    text-transform: uppercase;
}

.hero {
    height: clamp(460px, 34vw, 570px);
    min-height: auto;
    display: block;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #6ac6f0;
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: 62.7%;
    top: 50%;
    transform: translateY(-47%);
    width: 36%;
    min-width: 370px;
}

.hero .eyebrow {
    display: none;
}

.hero h1,
.statement h2,
.history h2,
.about h2,
.next h2 {
    font-size: clamp(54px, 5vw, 82px);
    line-height: 0.9;
    letter-spacing: -0.085em;
    margin: 0 0 26px;
    font-weight: 800;
}

    .hero h1 em,
    h2 em {
        font-style: normal;
        background: transparent;
        padding: 0;
    }

.intro {
    font-size: 20px;
    line-height: 1.45;
    margin: 0 0 27px;
}

.text-link {
    font: 13px var(--sans);
    font-weight: 800;
    text-transform: uppercase;
    border: 0;
    background: var(--yellow);
    padding: 15px 18px;
    display: inline-block;
}

    .text-link span {
        font-size: 17px;
        margin-left: 22px;
    }

.hero-art {
    position: absolute;
    inset: 0;
    height: 100%;
    overflow: hidden;
    background: #6ac6f0;
}

    .hero-art:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, transparent 43%, rgba(247, 246, 242, 0.1) 57%, rgba(247, 246, 242, 0.78) 81%, rgba(247, 246, 242, 0.94) );
    }

    .hero-art img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 47%;
    }

.hero-stamp {
    display: none;
}

.section-topline {
    display: none;
}

.featured {
    padding: 12px 0 0;
}

.feature-panel {
    display: grid;
    grid-template-columns: 1fr 1.14fr;
    background: var(--paper);
    min-height: 310px;
    max-height: 340px;
    overflow: hidden;
}

    .feature-panel > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        min-height: 310px;
        grid-column: 2;
        grid-row: 1;
    }

.feature-info {
    grid-column: 1;
    grid-row: 1;
    padding: 31px 20px 25px clamp(24px, 22vw, 350px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

    .feature-info:before {
        content: "";
        position: absolute;
        left: clamp(24px, 4.5vw, 70px);
        top: 50%;
        width: 180px;
        height: 150px;
        transform: translateY(-50%);
        background: url("images/CrazyLambRC_Banner.jpg") 90% 23%/640px auto no-repeat;
        filter: drop-shadow(0 5px 1px rgba(0, 0, 0, 0.15));
    }

    .feature-info .eyebrow {
        font-size: 13px;
        color: #666;
        margin: 0 0 8px;
    }

    .feature-info h2 {
        font-size: 33px;
        line-height: 1;
        letter-spacing: -0.055em;
        margin: 0 0 10px;
        white-space: nowrap;
    }

        .feature-info h2 br {
            display: none;
        }

    .feature-info > p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.4;
        max-width: 500px;
        margin: 0;
    }

    .feature-info ul {
        list-style: none;
        padding: 0;
        margin: 8px 0 0;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .feature-info li {
        font: 11px var(--sans);
        font-weight: 800;
        border: 0;
        padding: 0;
        text-transform: uppercase;
    }

        .feature-info li:before {
            content: "";/*"●";*/
            color: var(--yellow);
            margin-right: 0/*5px*/;
        }

.button {
    font: 13px var(--mono);
    text-transform: uppercase;
    padding: 15px 18px;
    display: inline-block;
}

    .button span {
        margin-left: 28px;
        font-size: 16px;
    }

.button-dark {
    display: none;
}

.statement {
    background: var(--paper);
    color: var(--ink);
    padding-top: 45px;
    padding-bottom: 62px;
    display: grid;
    grid-template-columns: 1.0fr 1.0fr;
    column-gap: 56px;
    align-items: end;
}

    .statement > .eyebrow,
    .statement-copy {
        display: none;
    }

    .statement h2 {
        grid-row: 1 / span 2;
        font-size: clamp(38px, 3.3vw, 54px);
        margin: 0;
        padding-left: 26px;
        position: relative;
    }

        .statement h2:before {
            content: "";
            position: absolute;
            background: var(--yellow);
            width: 5px;
            left: 0;
            top: 5px;
            bottom: 0;
        }

        .statement h2 em {
            background: transparent;
            color: var(--ink);
        }

.principles {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
}

    .principles article {
        border-top: 0;
        border-left: 1px solid var(--line);
        padding: 0 20px;
        min-height: 115px;
    }

    .principles span {
        display: block;
        font-size: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--yellow);
        margin-bottom: 11px;
    }

    .principles h3 {
        font-size: 16px;
        margin: 0 6px 8px;
    }

    .principles p {
        font-size: 14px;
        line-height: 1.45;
        margin: 0 6px 8px;
    }

.games {
    padding-top: 85px;
    padding-bottom: 100px;
}

.eyebrow {
    font-size: 13px !important;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 37px;
}

    .section-heading h2 {
        font-size: clamp(48px, 6vw, 90px);
        letter-spacing: -0.08em;
        line-height: 0.88;
        margin: 17px 0 0;
    }

        .section-heading h2 span {
            color: #f4a900;
        }

    .section-heading > p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }

.game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.game-card {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    background: #2b2b2b;
}

    .game-card:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.77), transparent 62%);
        z-index: -1;
    }

    .game-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
        transition: transform 0.5s;
    }

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

    .game-card > div:last-child {
        position: relative;
    }

    .game-card span,
    .game-card b {
        font: 12px var(--mono);
        text-transform: uppercase;
    }

    .game-card h3 {
        font-size: clamp(28px, 3.5vw, 50px);
        line-height: 0.88;
        letter-spacing: -0.07em;
        margin: 13px 0 20px;
    }

    .game-card b {
        border-bottom: 1px solid currentColor;
        padding-bottom: 6px;
    }

.game-wide {
    grid-column: span 2;
    min-height: 570px;
}

.placeholder {
    z-index: 0;
}

    .placeholder:after {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 70%);
    }

.garage {
    background: #3248d0;
}

.sheep {
    background: #e35292;
}

.mini-car,
.heart {
    position: absolute;
    right: 12%;
    top: 12%;
    font-size: 200px;
    font-family: Georgia;
    line-height: 1;
    color: var(--yellow);
    transform: rotate(-15deg);
    opacity: 0.92;
}

.heart {
    font-size: 230px;
    color: #ffd4e2;
    transform: rotate(-12deg);
}

.archive-link {
    margin-top: 36px;
    background: transparent;
    padding: 0;
    border-bottom: 1px solid var(--ink);
}

.history {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #dedbd4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

    .history h2 {
        font-size: clamp(48px, 6.2vw, 96px);
        margin-bottom: 0;
    }

        .history h2 em {
            background: transparent;
            color: #e85a16;
        }

.timeline {
    align-self: end;
}

    .timeline > p {
        font-size: 20px;
        line-height: 1.55;
        max-width: 440px;
    }

    .timeline ol {
        padding: 0;
        margin: 55px 0 0;
        list-style: none;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid var(--ink);
    }

    .timeline li {
        padding-top: 16px;
        padding-right: 8px;
        position: relative;
    }

        .timeline li:before {
            content: "";
            position: absolute;
            width: 8px;
            height: 8px;
            background: var(--ink);
            border-radius: 50%;
            top: -4px;
            left: 0;
        }

    .timeline b {
        font: 14px var(--mono);
        display: block;
    }

    .timeline span {
        font-size: 14px;
        line-height: 1.3;
        margin-top: 9px;
        display: block;
    }

.about {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--yellow);
}

    .about > div {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 60px;
    }

    .about h2 {
        font-size: clamp(46px, 6vw, 96px);
        margin: 22px 0 0;
    }

        .about h2 em {
            background: transparent;
            color: #e85a16;
        }

    .about div > p {
        font-size: 21px;
        line-height: 1.65;
        align-self: end;
        margin: 0 0 8px;
    }

.next {
    min-height: 560px;
    padding-top: 110px;
    padding-bottom: 75px;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .next h2 {
        font-size: clamp(47px, 7vw, 112px);
        margin-top: 25px;
    }

        .next h2 em {
            background: transparent;
            color: #e85a16;
        }

.button-light {
    background: var(--paper);
    color: var(--ink);
    margin-top: auto;
}

footer {
    min-height: 250px;
    padding: 54px clamp(24px, 5vw, 80px) 28px;
    background: #1d1d1b;
    color: var(--paper);
    position: relative;
}

    footer > p {
        font-size: 25px;
        letter-spacing: -0.04em;
        margin-top: 24px;
    }

    footer div {
        position: absolute;
        right: clamp(24px, 5vw, 80px);
        top: 54px;
        display: flex;
        gap: 24px;
        font: 13px var(--mono);
        text-transform: uppercase;
    }

    footer small {
        font: 12px var(--mono);
        position: absolute;
        bottom: 28px;
        color: #9e9c96;
    }
/* Refined desktop type scale: designed for comfortable reading on high-resolution screens. */
.wordmark {
    font-size: 28px;
    letter-spacing: -1.15px;
}

.nav {
    font-size: 15px;
    letter-spacing: 0.01em;
}

.menu-toggle {
    font-size: 15px;
}

.eyebrow {
    font-size: 15px !important;
    letter-spacing: 0.055em;
}

.hero h1,
.statement h2,
.history h2,
.about h2,
.next h2 {
    font-weight: 900;
    letter-spacing: -0.045em;
}

.hero h1 {
    line-height: 0.92;
}

.intro {
    font-size: 23px;
    line-height: 1.48;
}

.text-link,
.button {
    font-size: 15px;
    letter-spacing: 0.005em;
}

.feature-info .eyebrow {
    font-size: 15px;
}

.feature-info h2 {
    font-size: 37px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.feature-info > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.45;
    max-width: 500px;
}

.feature-info li {
    font-size: 13px;
}

.statement h2 {
    letter-spacing: -0.04em;
}

.principles h3 {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.principles p {
    font-size: 16px;
    line-height: 1.5;
}

.section-heading > p {
    font-size: 18px;
}

.section-heading h2 {
    font-weight: 900;
    letter-spacing: -0.045em;
}

.game-card span,
.game-card b {
    font-size: 14px;
}

.game-card h3 {
    font-weight: 900;
    letter-spacing: -0.045em;
}

.timeline > p {
    font-size: 22px;
}

.timeline b {
    font-size: 16px;
}

.timeline span {
    font-size: 16px;
}

.about div > p {
    font-size: 23px;
    line-height: 1.6;
}

footer div {
    font-size: 15px;
}

footer small {
    font-size: 14px;
}

@media (max-width: 760px) {
    .site-header {
        height: 72px;
    }

    .wordmark {
        font-size: 22px;
        letter-spacing: -0.85px;
    }

    .nav {
        position: absolute;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--ink);
    }

        .nav.open {
            display: flex;
        }

        .nav a {
            padding: 20px 24px;
            border-bottom: 1px solid var(--line);
        }

    .contact-link {
        background: var(--yellow);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: calc(100vh - 72px);
        min-height: 510px;
    }

    .hero-copy {
        left: 24px;
        top: auto;
        bottom: 38px;
        transform: none;
        width: calc(100% - 48px);
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(50px, 14vw, 80px);
        color: white;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    }

    .intro {
        font-size: 20px;
        color: white;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    }

    .hero-art:after {
        background: linear-gradient( 0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0) 64% );
    }

    .hero-art img {
        object-position: 35% center;
    }

    .featured {
        padding: 0;
    }

    .feature-panel {
        grid-template-columns: 1fr;
        max-height: none;
    }

        .feature-panel > img {
            grid-column: 1;
            grid-row: 2;
            min-height: 310px;
            object-position: left center;
        }

    .feature-info {
        grid-column: 1;
        grid-row: 1;
        min-height: 270px;
        padding: 28px 24px 24px;
    }

        .feature-info:before {
            display: none;
        }

        .feature-info .eyebrow {
            font-size: 13px;
        }

        .feature-info h2 {
            font-size: 32px;
        }

        .feature-info > p:not(.eyebrow) {
            font-size: 16px;
        }

        .feature-info li {
            font-size: 11px;
        }

    .statement,
    .games,
    .history,
    .about {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .statement {
        display: block;
    }

        .statement h2 {
            font-size: 40px;
            margin-bottom: 42px;
        }

    .principles {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

        .principles article {
            border-left: 0;
            border-top: 1px solid var(--line);
            padding: 18px 0;
            min-height: 0;
        }

        .principles span {
            float: left;
            margin: 0 18px 0 0;
            width: 34px;
            height: 34px;
        }

        .principles h3 {
            font-size: 17px;
            padding-top: 1px;
        }

        .principles p {
            font-size: 15px;
            margin-left: 6px;
        }

    .section-heading {
        display: block;
        margin-bottom: 32px;
    }

        .section-heading > p {
            margin-top: 20px;
            font-size: 16px;
        }

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

    .game-card,
    .game-wide {
        grid-column: auto;
        min-height: 370px;
    }

        .game-card span,
        .game-card b {
            font-size: 12px;
        }

    .history {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .timeline ol {
        margin-top: 35px;
    }

    .timeline > p {
        font-size: 19px;
    }

    .timeline b {
        font-size: 14px;
    }

    .timeline span {
        font-size: 14px;
    }

    .about > div {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about div > p {
        font-size: 19px;
    }

    .next {
        min-height: 450px;
        padding-top: 70px;
    }

    footer {
        min-height: 300px;
    }

        footer div {
            position: static;
            margin-top: 50px;
            gap: 18px;
            font-size: 13px;
        }

        footer small {
            bottom: 25px;
            font-size: 12px;
        }

    .mini-car,
    .heart {
        font-size: 150px;
    }
}

/* Nintendo eShop badge, pinned to the lower-left corner of the feature panel. */
.eshop-link {
    position: absolute;
    left: clamp(24px, 4.5vw, 70px);
    bottom: 30px;
    display: block;
    line-height: 0;
    transition: transform 0.2s ease;
}

.eshop-link:hover {
    transform: translateY(-3px);
}

.eshop-link:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}

.eshop-link img {
    width: 128px;
    height: auto;
}

@media (max-width: 760px) {
    .eshop-link {
        position: static;
        margin-top: 24px;
    }

    .eshop-link img {
        width: 120px;
    }
}

/* Keep the larger store badge directly below the feature copy at every viewport size. */
.eshop-link {
    position: static;
    margin-top: 24px;
}

.eshop-link img {
    width: 256px;
}

@media (max-width: 760px) {
    .eshop-link img {
        width: min(256px, 78vw);
    }
}

.eshop-link,
.eshop-link:hover {
    transform: none;
    transition: none;
}

/* Prevent horizontal page panning on iOS and other narrow viewports. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

/* Platform-store badges below the feature copy. */
.store-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.store-links .eshop-link {
    margin-top: 0;
}

.appstore-link {
    display: block;
    line-height: 0;
}

.appstore-link img {
    width: 150px;
    height: auto;
}

.googleplay-link {
    display: block;
    line-height: 0;
}

.googleplay-link img {
    width: 168px;
    height: auto;
}

/* Feature logo is a real element, so its position scales with its containing layout. */
.hero {
    height: max(560px, 33.334vw);
}

    .hero h1,
    .statement h2,
    .history h2,
    .about h2,
    .next h2,
    .section-heading h2,
    .game-card h3,
    .feature-info h2 {
        font-family: "Archivo Black", var(--sans);
        font-weight: 400;
        letter-spacing: -0.022em;
    }

.feature-panel {
    min-height: 310px;
    max-height: 800px;
}

    .feature-panel > img {
        min-height: 310px;
    }

.feature-info {
    padding: 30px clamp(24px, 4.5vw, 70px);
    display: grid;
    grid-template-columns: clamp(150px, 15vw, 250px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 3vw, 50px);
}

    .feature-info:before {
        display: none;
    }

.feature-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 175px;
    object-fit: contain;
}

.feature-copy {
    min-width: 0;
}

    .feature-copy > p:not(.eyebrow) {
        font-size: 18px;
        line-height: 1.45;
        max-width: 600px;
        margin: 0;
    }

.feature-info h2 {
    font-size: 35px;
    line-height: 1.02;
    white-space: normal;
}

    .feature-info h2 br {
        display: block;
    }

.feature-info ul {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .hero {
        height: calc(100vh - 72px);
        min-height: 560px;
    }

        .hero h1 {
            font-family: "Archivo Black", var(--sans);
            letter-spacing: -0.025em;
        }

    .feature-panel {
        min-height: 0;
    }

        .feature-panel > img {
            min-height: 310px;
        }

    .feature-info {
        display: block;
        min-height: 0;
        padding: 28px 24px;
    }

    .feature-logo {
        width: min(210px, 60%);
        max-height: none;
        margin: 0 0 20px;
    }

    .feature-info h2 {
        font-size: 31px;
        letter-spacing: -0.02em;
    }

        .feature-info h2 br {
            display: none;
        }

    .feature-copy > p:not(.eyebrow) {
        font-size: 16px;
    }
}

/* Restore the original clean grotesk for titles, with a slightly larger scale. */
.hero h1,
.statement h2,
.history h2,
.about h2,
.next h2,
.section-heading h2,
.game-card h3,
.feature-info h2 {
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.hero h1,
.history h2,
.about h2,
.next h2 {
    font-size: clamp(60px, 5.5vw, 94px);
}

.statement h2 {
    font-size: clamp(41px, 3.6vw, 59px);
}

.section-heading h2 {
    font-size: clamp(53px, 6.3vw, 96px);
}

.game-card h3 {
    letter-spacing: -0.04em;
}

/* Keep the larger logo locked to the top of the feature panel instead of centering it with the copy. */
.feature-info {
    grid-template-columns: clamp(210px, 18vw, 500px) minmax(0, 1fr);
    align-items: stretch;
}

.feature-logo {
    width: 100%;
    max-height: 220px;
    align-self: start;
    margin: 0;
    object-fit: contain;
}

.feature-copy {
    align-self: center;
}

@media (max-width: 760px) {
    .hero h1 {
        font-family: var(--sans);
        font-weight: 800;
        letter-spacing: -0.035em;
        font-size: clamp(54px, 14.5vw, 84px);
    }

    .feature-logo {
        width: min(250px, 72%);
        margin: 0 0 22px;
    }

    .feature-copy {
        align-self: auto;
    }
}

/* Desktop feature panel: a fixed vertical rhythm prevents copy from drifting or overflowing. */
@media (min-width: 761px) {
    .feature-panel {
        height: clamp(380px, 24vw, 470px);
        min-height: 0;
        max-height: none;
    }

        .feature-panel > img {
            height: 100%;
            min-height: 0;
        }

    .feature-info {
        grid-template-columns: clamp(250px, 25vw, 500px) minmax(0, 1fr);
        align-items: start;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .feature-logo {
        max-height: 340px;
        align-self: start;
    }

    .feature-copy {
        align-self: start;
        padding-top: 0;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .feature-info {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 20px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .feature-logo {
        max-height: 260px;
    }

    .feature-info h2 {
        font-size: 30px;
    }

    .feature-copy > p:not(.eyebrow) {
        font-size: 16px;
    }
}

/* Slightly wider letterforms for the studio wordmark and display typography. */
.wordmark {
    letter-spacing: -0.55px;
}

.hero h1,
.statement h2,
.history h2,
.about h2,
.next h2,
.section-heading h2,
.game-card h3,
.feature-info h2 {
    letter-spacing: -0.015em;
}

@media (max-width: 760px) {
    .wordmark {
        letter-spacing: -0.45px;
    }

    .hero h1 {
        letter-spacing: -0.018em;
    }
}

/* Intentional horizontal expansion - a more assertive, poster-like display treatment. */
.wordmark {
    transform: scaleX(1.08);
    transform-origin: left center;
}

.hero h1,
.statement h2,
.history h2,
.about h2,
.next h2,
.section-heading h2,
.game-card h3,
.feature-info h2 {
    transform: scaleX(1.055);
    transform-origin: left center;
}

@media (max-width: 760px) {
    .wordmark {
        transform: scaleX(1.05);
    }

    .hero h1,
    .statement h2,
    .history h2,
    .about h2,
    .next h2,
    .section-heading h2,
    .game-card h3,
    .feature-info h2 {
        transform: scaleX(1.025);
    }
}

/* Full-bleed featured-game carousel. */
.hero {
    isolation: isolate;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

    .hero-slide.is-active {
        z-index: 1;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-slide > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 25% center;
    }

    .hero-slide:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, transparent 43%, rgba(247, 246, 242, 0.12) 57%, rgba(247, 246, 242, 0.8) 81%, rgba(247, 246, 242, 0.96) );
        z-index: 1;
    }

    .hero-slide:nth-child(2) > img {
        object-position: 25% center;
    }

    .hero-slide:nth-child(3) > img {
        object-position: 25% center;
    }

    .hero-slide .hero-copy {
        z-index: 2;
    }

.hero-pagination {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 11px;
    pointer-events: auto;
}

    .hero-pagination button {
        width: 11px;
        height: 11px;
        padding: 0;
        border: 1px solid var(--ink);
        border-radius: 50%;
        background: rgba(247, 246, 242, 0.72);
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }

        .hero-pagination button.is-active {
            background: var(--yellow);
            border-color: var(--yellow);
            transform: scale(1.22);
        }

        .hero-pagination button:focus-visible {
            outline: 3px solid var(--ink);
            outline-offset: 4px;
        }

@media (max-width: 760px) {
    .hero-slide:after {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 66%);
    }

    .hero-slide .hero-copy {
        z-index: 2;
    }

    .hero-pagination {
        bottom: 19px;
    }

        .hero-pagination button {
            width: 10px;
            height: 10px;
            background: rgba(247, 246, 242, 0.8);
        }
}

/* Feature copy without a separate logo: the artwork gets the released horizontal space. */
.feature-panel {
    grid-template-columns: 0.6fr 1.4fr;
}

.feature-info {
    display: block;
    padding: 30px 2px 30px clamp(24px, 4.5vw, 70px);
}

.feature-copy {
    align-self: auto;
}

@media (min-width: 761px) {
    .feature-info {
        display: block;
        padding: 30px 2px 30px clamp(24px, 4.5vw, 70px);
    }

    .feature-copy {
        padding-top: 0;
    }
}

@media (max-width: 760px) {
    .feature-panel {
        grid-template-columns: 1fr;
    }

    .feature-info {
        padding: 28px 24px 24px;
    }
}

/* Square game-icon gallery. */
.game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.game-card,
.game-wide {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 1;
    padding: 22px;
}

    .game-card h3 {
        font-size: clamp(20px, 2vw, 34px);
        line-height: 0.92;
        margin: 11px 0 15px;
    }

    .game-card span,
    .game-card b {
        font-size: 12px;
    }

@media (max-width: 1050px) {
    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .game-card,
    .game-wide {
        min-height: 0;
        padding: 15px;
    }

        .game-card h3 {
            font-size: clamp(19px, 6vw, 30px);
        }

        .game-card span,
        .game-card b {
            font-size: 10px;
        }
}
