/* Hitmen Party page styles, consolidated as a site bundle. */

/* --- Base --- */
/*
 * Property of Newhead Studio. Copyright © 2023–2026 — All rights reserved.
 * Tokens, reset, fonts, utilities.
 */
@font-face {
    font-family: "Grobold";
    src: url("../../fonts/GROBOLDpr.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Carrois";
    src: url("../../fonts/CarroisGothic-Regular.ttf") format("truetype");
    font-display: swap;
}
.hitmen-page {
    --main-color: #009739;
    --second-color: #fff;
    --third-color: #008dff;
    --white-color: #fff;
    --black-color: #000;
    --black-alpha-color: rgb(35 35 35 / 50%);
    --player1-color: #9d4db8;
    --player2-color: #d2c946;
    --player3-color: #51b8b1;
    --player4-color: #344598;
    --player5-color: #d36327;
    --player6-color: #af3c3c;
    --player7-color: #de8ae0;
    --player8-color: #5bc97e;
    --header-z: 5;
}
.hitmen-page *,
.hitmen-page *::before,
.hitmen-page *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hitmen-page :focus-visible {
    outline: 2px solid var(--third-color);
    outline-offset: 2px;
}
.hitmen-page .color1 { background-color: var(--player1-color); }
.hitmen-page .color2 { background-color: var(--player2-color); }
.hitmen-page .color3 { background-color: var(--player3-color); }
.hitmen-page .color4 { background-color: var(--player4-color); }
.hitmen-page .color5 { background-color: var(--player5-color); }
.hitmen-page .color6 { background-color: var(--player6-color); }
.hitmen-page .color7 { background-color: var(--player7-color); }
.hitmen-page .color8 { background-color: var(--player8-color); }
.hitmen-page .border {
    background-color: var(--white-color);
    box-shadow: inset 0 0 2px 2px var(--black-color);
}
.hitmen-page .border2 {
    background-color: var(--white-color);
    box-shadow: inset 0 0 1px 1px var(--black-color);
}
.hitmen-page .border3 {
    box-shadow: inset 0 0 2px 2px var(--black-color);
}
.hitmen-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hitmen-page .cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 22rem;
    padding: 1rem 1.25rem;
    font-family: "Carrois", sans-serif;
    font-size: 0.9rem;
    color: var(--second-color);
    background-color: var(--black-alpha-color);
    border: 2px solid var(--second-color);
    border-radius: 12px;
}
.hitmen-page .cookie-consent[hidden] {
    display: none;
}
.hitmen-page .cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hitmen-page .cookie-consent button {
    padding: 0.4rem 0.9rem;
    font-family: "Carrois", sans-serif;
    font-size: 0.85rem;
    color: var(--main-color);
    background-color: var(--second-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.hitmen-page .cookie-consent__decline {
    color: var(--second-color);
    background-color: transparent;
    border: 1px solid var(--second-color);
}

@media (max-width: 1280px) {
    .hitmen-page .cookie-consent {
        right: 0;
        left: 0;
        bottom: 0;
        max-width: none;
        border-right: none;
        border-bottom: none;
        border-radius: 14px 14px 0 0;
        padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    }

    .hitmen-page .cookie-consent button {
        min-height: 2.75rem;
        padding: 0.55rem 1.1rem;
        font-size: 0.9rem;
    }
}


/* --- Layout --- */
/*
 * Property of Newhead Studio. Copyright © 2023–2026 — All rights reserved.
 * Desktop layout & components.
 */
.hitmen-page {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--main-color);
    overflow: hidden;
}
/* Shared section structure; the Newhead host scrolls the document on desktop. */
.hitmen-page #wrapper {
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.hitmen-page #wrapper::-webkit-scrollbar {
    display: none;
}
.hitmen-page.error-page {
    height: auto;
    overflow: auto;
}
.hitmen-page.error-page #wrapper {
    height: auto;
    overflow: visible;
}
.hitmen-page .scrollup {
    display: none;
    position: fixed;
    right: 1.4%;
    bottom: 5%;
    z-index: var(--header-z);
    width: 2.5%;
    min-width: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.2s ease;
}
.hitmen-page .scrollup.is-visible {
    display: block;
    opacity: 0.8;
}
.hitmen-page .scrollup:hover {
    transform: scale(1.1);
}
.hitmen-page .scrollup img {
    display: block;
    width: 100%;
    height: auto;
}
.hitmen-page #newheadstudio-logo,
.hitmen-page #game-logo {
    position: fixed;
    left: 1%;
    top: 2%;
    z-index: 4;
    width: 8vh;
    height: auto;
    transition: transform 0.2s ease-in-out;
}
.hitmen-page #newheadstudio-logo img,
.hitmen-page #game-logo img {
    width: 100%;
    height: auto;
    border: 2px solid var(--white-color);
}
.hitmen-page #game-logo img {
    filter: invert(1);
    border: none;
}
.hitmen-page #newheadstudio-logo:hover,
.hitmen-page #game-logo:hover {
    transform: scale(1.2);
}
.hitmen-page aside {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    right: 1%;
    top: 2%;
    z-index: 3;
    width: 20%;
    height: auto;
}
.hitmen-page .social-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}
.hitmen-page .social-nav__link {
    flex: 0 0 11%;
    margin: 0 1%;
    line-height: 0;
    transition: transform 0.2s ease-in-out;
}
.hitmen-page .social-nav__link img {
    display: block;
    width: 100%;
    height: auto;
}
.hitmen-page .social-nav__link:hover {
    transform: scale(1.25);
}
.hitmen-page .social-nav__link--press {
    margin-right: auto;
}
.hitmen-page .social-nav__link--bluesky:hover {
    filter: brightness(0) saturate(100%) invert(42%) sepia(98%) saturate(2476%) hue-rotate(186deg) brightness(101%) contrast(101%);
}
.hitmen-page .social-nav__link--discord:hover {
    filter: brightness(0) saturate(100%) invert(54%) sepia(95%) saturate(2968%) hue-rotate(347deg) brightness(88%) contrast(87%);
}
.hitmen-page .social-nav__link--youtube:hover {
    filter: brightness(0) saturate(100%) invert(61%) sepia(43%) saturate(458%) hue-rotate(127deg) brightness(97%) contrast(90%);
}
.hitmen-page .social-nav__link--facebook:hover {
    filter: brightness(0) saturate(100%) invert(29%) sepia(43%) saturate(1910%) hue-rotate(332deg) brightness(98%) contrast(81%);
}
.hitmen-page .social-nav__link--instagram:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(56%) saturate(2119%) hue-rotate(347deg) brightness(82%) contrast(98%);
}
.hitmen-page .social-nav__link--email:hover {
    filter: brightness(0) saturate(100%) invert(24%) sepia(37%) saturate(2151%) hue-rotate(206deg) brightness(96%) contrast(90%);
}
.hitmen-page .block {
    display: block;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
}
.hitmen-page .main-block {
    background-image: url("../../images/projects/hitmenparty/capsule.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hitmen-page .text-block p,
.hitmen-page .game-mode p {
    color: var(--second-color);
}
.hitmen-page footer {
    position: relative;
    width: 100%;
}
.hitmen-page .block {
    width: 100%;
}
.hitmen-page .text-container,
.hitmen-page .text,
.hitmen-page .picture-container,
.hitmen-page .game-mode-container {
    max-width: 100%;
}
.hitmen-page #wrapper {
    margin-left: 12vw;
    width: 88vw;
}
.hitmen-page #newheadstudio-logo,
.hitmen-page #game-logo {
    display: none;
}
.hitmen-page .text p,
.hitmen-page .text i,
.hitmen-page .text strong,
.hitmen-page .gif {
    color: var(--second-color);
}
.hitmen-page .text-container,
.hitmen-page .text,
.hitmen-page .picture-container,
.hitmen-page .game-mode-container {
    max-width: 100%;
}
.hitmen-page #game-steam-widget {
    display: block;
    position: relative;
    top: 68%;
    width: 50%;
    height: auto;
    margin: 0 auto;
}
.hitmen-page .game-mode-block {
    display: flex;
    flex-direction: column;
}
.hitmen-page #game-steam-widget h3 {
    margin: 0 auto 1%;
    font-family: "Grobold", sans-serif;
    font-size: 2vw;
    text-align: center;
    color: var(--second-color);
    letter-spacing: 2.5px;
}
.hitmen-page #steam-widget {
    width: 100%;
    height: 26vh;
    min-height: 220px;
    max-height: 320px;
}
.hitmen-page .steam-widget {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 0;
    mix-blend-mode: normal;
}
.hitmen-page .title {
    position: relative;
    z-index: 2;
    width: 60%;
    height: 15vh;
    margin: 0 auto;
}
.hitmen-page .title h2 {
    position: absolute;
    top: 50%;
    width: 100%;
    margin: 0;
    font-family: "Grobold", sans-serif;
    font-size: 3vw;
    text-align: center;
    color: var(--second-color);
    letter-spacing: 2.5px;
    transform: translateY(-50%);
}
.hitmen-page .pre-iframe {
    display: block;
    width: 65%;
    height: 37vw;
    margin: 1% auto;
    border: 4px solid var(--second-color);
    border-radius: 20px;
}
.hitmen-page iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Trailer / YouTube only — multiply was breaking the Steam widget */
.hitmen-page .pre-iframe iframe {
    border-radius: 20px;
    mix-blend-mode: multiply;
}
.hitmen-page .text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 85vh;
}
.hitmen-page .text {
    width: 60%;
    height: 90%;
}

.hitmen-page .text-block .text {
    width: min(78%, 56rem);
}
.hitmen-page .text p,
.hitmen-page .game-mode p {
    margin: 5% auto;
    font-family: "Carrois", sans-serif;
    font-size: 1.1vw;
    text-align: justify;
    color: var(--second-color);
}
.hitmen-page .error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--black-alpha-color);
}
.hitmen-page .error {
    width: 100%;
}
.hitmen-page .error p {
    margin: 5% auto;
    font-family: "Carrois", sans-serif;
    font-size: 5.1vw;
    text-align: center;
    color: var(--second-color);
}
.hitmen-page .text i,
.hitmen-page .game-mode i {
    font-size: 1vw;
    font-style: italic;
}
.hitmen-page .text strong,
.hitmen-page .game-mode strong {
    font-size: 1vw;
    font-weight: 600;
}
.hitmen-page .pre-gif {
    display: block;
    width: 100%;
    max-width: 56rem;
    margin: 1.5rem auto;
    border: 4px solid var(--second-color);
    border-radius: 15px;
}
.hitmen-page .gif,
.hitmen-page .gif2 {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    mix-blend-mode: multiply;
}
.hitmen-page .game-mode-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(12rem, auto);
    gap: 2%;
    width: 65vw;
    height: auto;
    margin: 0 auto;
}
.hitmen-page .game-mode {
    padding: 20px;
    border: 4px solid var(--second-color);
    border-radius: 20px;
}
.hitmen-page .game-mode-title {
    margin: 4% auto !important;
    font-family: "Grobold", sans-serif !important;
    text-align: center !important;
    color: var(--second-color) !important;
}
/* A fixed three-row mosaic keeps the tall Hitman tile useful without leaving
   an empty cell in the middle or stretching Dress-up past its row. */
.hitmen-page .game-mode-container > :nth-child(1) { grid-area: 1 / 1; }
.hitmen-page .game-mode-container > :nth-child(2) { grid-area: 1 / 2 / span 2 / 3; }
.hitmen-page .game-mode-container > :nth-child(3) { grid-area: 1 / 3; }
.hitmen-page .game-mode-container > :nth-child(4) { grid-area: 2 / 1; }
.hitmen-page .game-mode-container > :nth-child(5) { grid-area: 2 / 3; }
.hitmen-page .game-mode-container > :nth-child(6) { grid-area: 3 / 3; }
.hitmen-page .game-mode-container > :nth-child(7) { grid-area: 3 / 1; }
.hitmen-page .game-mode-container > :nth-child(8) { grid-area: 3 / 2; }
.hitmen-page .picture-container {
    width: 70%;
    height: 85vh;
    margin: 0 auto;
}
.hitmen-page .pre-big-picture {
    display: block;
    width: 90%;
    margin: 0 auto;
    border: 4px solid var(--second-color);
    border-radius: 20px;
}
.hitmen-page #big-picture {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    mix-blend-mode: multiply;
}
.hitmen-page #pictures-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}
.hitmen-page #pictures-zone .pre-picture {
    width: 12%;
    margin: 1%;
    border: 3px solid var(--second-color);
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
.hitmen-page #pictures-zone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
    mix-blend-mode: multiply;
}
.hitmen-page #pictures-zone .pre-picture:hover {
    transform: scale(1.1);
}
.hitmen-page footer {
    width: 100%;
    margin: 6vh auto;
}
.hitmen-page footer p {
    font-family: "Carrois", sans-serif;
    font-size: 1.1vw;
    text-align: center;
    color: var(--second-color);
}

/* Host Newhead layout: preserve its fixed left rail and let the game scroll in the right column. */
.hitmen-page {
    position: relative;
    width: 88vw;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    margin-left: 12vw;
    overflow: visible;
    background: #009739;
}
.hitmen-page #wrapper {
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow: visible;
}
.hitmen-page .block {
    width: 100%;
}
.hitmen-page .main-block {
    height: 100vh;
    height: 100dvh;
}


/* --- Responsive --- */
/*
 * Property of Newhead Studio. Copyright © 2023–2026 — All rights reserved.
 * Mobile & tablet — matches JS MOBILE_QUERY (max-width: 1280px, incl. iPad landscape)
 */

@media (max-width: 1280px) {
    .hitmen-page {
        --site-header-h: 3.25rem;
    }

    .hitmen-page {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .hitmen-page {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 100dvh;
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .hitmen-page body {
        -webkit-overflow-scrolling: touch;
    }

    .hitmen-page #wrapper {
        position: relative;
        width: 100%;
        height: auto;
        margin-left: 0;
        min-height: 100dvh;
        min-height: 100svh;
        overflow: visible;
    }
    .hitmen-page {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        margin: 0;
        overflow: visible;
    }
    .hitmen-page {
        margin-left: 0;
        width: 100%;
    }

    /* Fixed top bar — social links */
    .hitmen-page aside {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: var(--header-z);
        display: flex;
        align-items: stretch;
        width: 100%;
        height: calc(var(--site-header-h) + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
        padding-left: max(3.25rem, calc(env(safe-area-inset-left, 0px) + 3.25rem));
        background-color: var(--main-color);
        box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
    }

    .hitmen-page .social-nav {
        flex: 1;
        align-items: center;
        justify-content: flex-start;
        gap: 0.35rem;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hitmen-page .social-nav::-webkit-scrollbar {
        display: none;
    }

    .hitmen-page .social-nav__link {
        flex: 0 0 2.75rem;
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }

    .hitmen-page .social-nav__link img {
        width: 1.65rem;
        height: 1.65rem;
        object-fit: contain;
    }

    .hitmen-page .social-nav__link:hover,
    .hitmen-page .social-nav__link:active {
        filter: none;
        transform: none;
    }

    .hitmen-page .social-nav__link--press {
        margin-right: auto;
        margin-left: 0;
    }

    .hitmen-page .block {
        width: 100%;
        height: auto;
        min-height: auto;
        margin: 2.5rem 0 0;
    }

    .hitmen-page .game-mode-block {
        display: block;
    }

    .hitmen-page .main-block {
        position: relative;
        margin-top: 0;
        padding-top: calc(var(--site-header-h) + env(safe-area-inset-top, 0px));
        padding-bottom: 0;
        min-height: max(100dvh, 100svh);
        background-size: cover;
        background-position: center center;
    }

    /* Bottom of hero on mobile / tablet */
    .hitmen-page #game-steam-widget {
        position: absolute;
        top: auto;
        left: 50%;
        right: auto;
        bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
        width: min(calc(100% - 1.5rem), 26rem);
        height: auto;
        margin: 0;
        padding: 0 0.75rem;
        transform: translateX(-50%);
    }

    .hitmen-page h3 {
        width: 100%;
        margin: 0 auto 0.75rem;
        font-size: clamp(0.95rem, 4.5vw, 1.35rem);
        letter-spacing: 1px;
    }

    .hitmen-page #game-steam-widget h3 {
        margin-top: 0;
    }

    .hitmen-page #steam-widget {
        width: 100%;
        height: clamp(220px, 55vw, 320px);
        margin: 0 auto;
    }

    .hitmen-page .steam-widget {
        width: 100%;
        height: 100%;
        min-height: 220px;
    }

    .hitmen-page .title {
        width: 100%;
        height: auto;
        min-height: 3rem;
        margin: 2rem auto 1rem;
        padding: 0 1rem;
    }

    .hitmen-page .title h2 {
        position: relative;
        top: auto;
        transform: none;
        font-size: clamp(1.2rem, 5.5vw, 2rem);
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .hitmen-page .pre-iframe {
        width: min(calc(100% - 1.5rem), 36rem);
        height: auto;
        aspect-ratio: 16 / 9;
        margin: 1rem auto;
        border-width: 3px;
    }

    .hitmen-page .text-container {
        height: auto;
        padding: 0 0.75rem 1.5rem;
    }

    .hitmen-page .text {
        width: 100%;
        max-width: 36rem;
        height: auto;
        margin: 0 auto;
    }

    .hitmen-page .text-block .text {
        max-width: min(42rem, 100%);
    }

    .hitmen-page .text p,
    .hitmen-page .game-mode p {
        margin: 1rem auto 0;
        font-size: clamp(0.95rem, 4.1vw, 1.125rem);
        line-height: 1.55;
        text-align: left;
        hyphens: auto;
    }

    .hitmen-page .text i,
    .hitmen-page .text strong,
    .hitmen-page .game-mode i,
    .hitmen-page .game-mode strong {
        font-size: inherit;
    }

    .hitmen-page .game-mode-title {
        font-size: clamp(1.05rem, 4.8vw, 1.35rem) !important;
        line-height: 1.25 !important;
    }

    .hitmen-page .pre-gif {
        width: 100%;
        max-width: min(100vw - 1.5rem, 42rem);
        margin: 1.25rem auto;
        border-width: 3px;
    }

    .hitmen-page .gif,
    .hitmen-page .gif2 {
        height: auto;
    }

    .hitmen-page .game-mode-container {
        display: block;
        width: min(calc(100% - 1.5rem), 36rem);
        height: auto;
        margin: 0 auto;
    }

    .hitmen-page .game-mode {
        margin: 0.75rem auto;
        padding: 1rem;
        border-width: 3px;
    }

    .small-row,
    .hitmen-page .large-row {
        grid-row: auto;
    }

    .hitmen-page .picture-container {
        width: 100%;
        height: auto;
        padding: 0 0.75rem 1.5rem;
    }

    .hitmen-page .pre-big-picture {
        width: 100%;
        border-width: 3px;
    }

    .hitmen-page #pictures-zone {
        display: block;
        width: 100%;
    }

    .hitmen-page #pictures-zone .pre-picture {
        display: block;
        width: 100%;
        margin: 0.75rem auto;
        border-width: 3px;
        border-radius: 16px;
        cursor: default;
    }

    .hitmen-page #pictures-zone .pre-picture:hover {
        transform: none;
    }

    .hitmen-page #pictures-zone img {
        border-radius: 14px;
    }

    .hitmen-page footer {
        width: min(calc(100% - 1.5rem), 36rem);
        margin: 2rem auto 2.5rem;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .hitmen-page footer p {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
        line-height: 1.4;
    }

    .hitmen-page .scrollup {
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
        width: 3rem;
        min-width: 3rem;
        min-height: 3rem;
    }

    .hitmen-page .scrollup.is-visible {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hitmen-page .border2 {
        box-shadow: inset 0 0 2px 2px var(--black-color);
    }

    /* 404 page */
    .hitmen-page.error-page .main-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100dvh;
        min-height: 100svh;
    }

    .hitmen-page.error-page .error-container {
        height: auto;
        min-height: 50vh;
        padding: 1rem;
    }

    .hitmen-page.error-page .error p {
        font-size: clamp(1.35rem, 7vw, 2.5rem);
        line-height: 1.35;
        padding: 0 1rem;
    }

    .hitmen-page.error-page footer {
        margin-top: auto;
    }
}

/* Phone landscape — compact tweaks only (no artificial min-heights) */
@media (max-width: 1280px) and (orientation: landscape) {
    .hitmen-page .main-block {
        min-height: 100dvh;
        min-height: 100svh;
    }

    .hitmen-page #steam-widget {
        height: clamp(160px, 38vh, 220px);
    }

    .hitmen-page .pre-iframe {
        width: min(75%, 42rem);
    }

    .hitmen-page .block {
        margin-top: 1.5rem;
    }

    .hitmen-page .text p,
    .hitmen-page .game-mode p {
        font-size: clamp(0.85rem, 2.8vw, 1rem);
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .hitmen-page {
        --site-header-h: 3rem;
    }

    .hitmen-page .social-nav__link {
        flex: 0 0 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
    }

    .hitmen-page .social-nav__link img {
        width: 1.45rem;
        height: 1.45rem;
    }
}

@media (max-width: 1024px) {
    .hitmen-page {
        width: 100%;
        margin: 0;
        padding-top: var(--site-mobile-header-height, 4.25rem);
    }
    .hitmen-page #wrapper {
        min-height: 0;
    }
}


/* --- Host --- */
/* Keep the Newhead shell intact; the original Hitmen styles affect this page only. */
.view-right-responsive.hitmen-page {
    position: relative;
    display: block;
    width: 88vw;
    max-width: calc(100vw - 12vw);
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    margin: 0 0 0 12vw;
    padding: 0;
    overflow: visible;
    color: #fff;
    background: #009739;
    font-size: 1rem;
    line-height: normal;
}
.hitmen-page #wrapper {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow: visible;
}
.hitmen-page .block {
    width: 100%;
}
.hitmen-page .main-block {
    min-height: 100vh;
    min-height: 100dvh;
}
@media (hover: hover) and (pointer: fine) {
    html.hitmen-site {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }
    .hitmen-page .block {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}
@media (hover: none) and (pointer: coarse) {
    html.hitmen-site {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
    .hitmen-page .block {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.hitmen-site { scroll-behavior: auto; }
}
.HR { z-index: 2; pointer-events: none; }
.hitmen-page #newheadstudio-logo,
.hitmen-page #game-logo,
.hitmen-page [data-social-nav] {
    display: none !important;
}
.site-lang--hitmen {
    --site-lang-border-color: #008dff;
    --site-lang-divider-color: rgb(0 141 255 / 35%);
    --site-lang-text-color: #008dff;
    --site-lang-surface: #fff;
    --site-lang-active-background: #008dff;
    --site-lang-active-foreground: #fff;
}
/* Keep the shared EN/FR badge visible in the mobile header even while the menu is closed. */
@media (max-width: 1024px) {
    .HR { display: none; }
    .menu .site-lang--hitmen {
        order: initial;
        position: absolute;
        top: max(0.65rem, env(safe-area-inset-top, 0px));
        right: 4.25rem;
        z-index: 252;
        display: inline-flex;
        align-self: auto;
        max-height: none;
        margin: 0;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
        background: transparent;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.75);
    }
    body.menu-open .menu .site-lang--hitmen {
        margin: 0;
    }
}

.view-right-responsive.hitmen-page footer {
    display: block;
    position: static;
    width: 100%;
    margin: auto 0 0;
    padding: 1.5rem max(1rem, 4%) 2rem;
    box-sizing: border-box;
}
.view-right-responsive.hitmen-page footer p {
    margin: 0;
    font-family: "Colaborate", sans-serif;
    font-size: clamp(0.85rem, 1.1vw, 1.1rem);
    line-height: 1.5;
    text-align: center;
    color: var(--second-color);
}
.view-right-responsive.hitmen-page footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

@media (max-width: 1024px) {
    .view-right-responsive.hitmen-page footer {
        margin-top: auto;
        padding: 1.15rem 1rem max(1.35rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
    }
    .view-right-responsive.hitmen-page footer p {
        font-size: clamp(0.9rem, 3.8vw, 1.1rem);
    }
    .view-right-responsive.hitmen-page {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        padding-top: var(--site-mobile-header-height, 4.25rem);
    }
    .hitmen-page #wrapper { min-height: 0; }
}

