
:root {
    --background: #0b0b0a;
    --background-light: #11110f;
    --surface: #171713;
    --surface-hover: #201f19;
    --gold: #c6a45c;
    --gold-light: #e2c47e;
    --gold-dark: #806532;
    --text: #e9e5dc;
    --muted: #99958b;
    --border: rgba(198, 164, 92, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

::selection {
    background: var(--gold);
    color: #090909;
}


/* HEADER */

.site-header {
    height: 88px;
    width: 100%;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 11, 10, 0.96);
    border-bottom: 1px solid rgba(198, 164, 92, 0.12);
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 25px;
    transform: rotate(45deg);
}

.brand-mark::first-letter {
    transform: rotate(-45deg);
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
}

.brand-name span {
    display: block;
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 5px;
    margin-top: 3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.main-nav a,
.header-steam-link {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    transition: color 0.25s ease;
}

.main-nav a {
    color: #c2beb4;
}

.main-nav a:hover,
.header-steam-link:hover {
    color: var(--gold-light);
}

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

.header-steam-link span {
    margin-left: 7px;
    font-size: 15px;
}


/* HERO */

.hero {
    min-height: 650px;
    height: min(760px, calc(100vh - 88px));
    position: relative;
    overflow: hidden;
    background-color: #171712;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 7, 0.96) 0%,
            rgba(8, 8, 7, 0.83) 30%,
            rgba(8, 8, 7, 0.38) 67%,
            rgba(8, 8, 7, 0.18) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 8, 7, 0.85) 0%,
            transparent 35%
        ),
        url("https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2465670/page_bg_raw.jpg");

    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.4);
}

.hero-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 11%;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    margin-top: -20px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(65px, 9vw, 112px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -4px;
    margin: 30px 0 22px;
    color: #f2eee5;
    text-shadow: 0 4px 35px rgba(0, 0, 0, 0.7);
}

.hero h1 span {
    display: block;
    color: var(--gold-light);
}

.hero-description {
    max-width: 430px;
    color: #d0ccc1;
    font-size: 15px;
    line-height: 1.9;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px;
    padding: 16px 23px;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(10, 10, 9, 0.35);
    transition: background 0.3s ease, color 0.3s ease;
}

.steam-icon {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-size: 12px;
}

.cta-arrow {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.hero-link:hover .hero-cta {
    background: var(--gold);
    color: #100f0b;
}

.hero-link:hover .steam-icon {
    border-color: #100f0b;
}

.hero-link:hover .cta-arrow {
    transform: translate(4px, -4px);
}

.hero-bottom {
    position: absolute;
    bottom: 36px;
    left: 11%;
    right: 11%;
    display: flex;
    justify-content: space-between;
    color: rgba(230, 224, 210, 0.65);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 27px;
    width: 1px;
    background: rgba(198, 164, 92, 0.45);
}

.hero-scroll span {
    display: block;
    height: 8px;
    width: 1px;
    background: var(--gold-light);
}


/* DEVELOPERS */

.developers-section {
    padding: 120px 12% 135px;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(198, 164, 92, 0.055),
            transparent 60%
        ),
        var(--background);
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 500;
    margin-top: 24px;
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 14px;
}

.developer-card {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 35px 40px;
    text-align: left;
    background: linear-gradient(120deg, #171713, #10100e);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.developer-card:hover {
    border-color: rgba(198, 164, 92, 0.7);
    background: var(--surface-hover);
}

.developer-monogram {
    flex-shrink: 0;
    position: relative;
    width: 105px;
    height: 105px;
    border: 1px solid var(--gold-dark);
    display: grid;
    place-items: center;
    margin-right: 35px;
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 38px;
}

.monogram-ring {
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(198, 164, 92, 0.25);
    transform: rotate(45deg);
}

.developer-role {
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.developer-details h3 {
    font-family: "Playfair Display", serif;
    font-size: 29px;
    font-weight: 500;
    margin: 9px 0;
}

.developer-details p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.developer-action {
    display: inline-block;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
    margin-top: 20px;
}

.developer-action span {
    margin-left: 7px;
}

.developer-card-arrow {
    margin-left: auto;
    padding-left: 20px;
    color: var(--gold);
    font-size: 26px;
    transition: transform 0.3s ease;
}

.developer-card:hover .developer-card-arrow {
    transform: translate(5px, -5px);
}


/* FOOTER */

.site-footer {
    min-height: 105px;
    padding: 30px 7%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #090908;
}

.footer-brand {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    letter-spacing: 2px;
}

.footer-brand span {
    color: var(--gold);
}

.site-footer > span {
    color: #77736a;
    font-size: 9px;
    letter-spacing: 1.5px;
}


/* MODAL */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(9px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 65px 70px;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(198, 164, 92, 0.08),
            transparent 45%
        ),
        #11110f;
    border: 1px solid rgba(198, 164, 92, 0.35);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 19px;
    right: 23px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gold-light);
    font-size: 25px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(198, 164, 92, 0.12);
}

.modal-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 35px 0;
}

.profile-monogram {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-dark);
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 39px;
}

.profile-header h2,
.portfolio-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 5vw, 43px);
    font-weight: 500;
    margin-top: 8px;
}

.profile-subtitle {
    color: var(--muted);
    font-size: 12px;
    margin-top: 7px;
}

.profile-divider {
    height: 1px;
    width: 100%;
    background: var(--border);
    margin: 30px 0;
}

.profile-copy h3 {
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 16px;
}

.profile-copy p {
    color: #aaa69c;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.gold-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 16px 24px;
    margin-top: 25px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #11100c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.gold-button:hover {
    background: transparent;
    color: var(--gold-light);
}


/* PORTFOLIO */

.modal-view {
    display: none;
}

.modal-view.active {
    display: block;
    animation: viewFade 0.3s ease;
}

@keyframes viewFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-link {
    display: block;
    margin-bottom: 35px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.back-link:hover {
    color: var(--gold-light);
}

.portfolio-title {
    margin-top: 18px;
}

.portfolio-title span {
    color: var(--gold);
}

.portfolio-intro {
    color: var(--muted);
    font-size: 13px;
    margin-top: 12px;
}

.portfolio-tabs {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    border-bottom: 1px solid var(--border);
}

.portfolio-tab {
    padding: 0 0 15px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.portfolio-tab.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

.portfolio-panel {
    display: none;
    padding-top: 25px;
}

.portfolio-panel.active {
    display: block;
    animation: viewFade 0.3s ease;
}

.portfolio-project {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    background: var(--background-light);
    transition: border-color 0.25s ease;
}

.portfolio-project:hover {
    border-color: var(--gold);
}

.project-image {
    width: 37%;
    min-height: 190px;
    flex-shrink: 0;
    background-image: url("https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2465670/header.jpg");
    background-size: cover;
    background-position: center;
}

.project-information {
    padding: 24px;
}

.portfolio-category {
    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.project-information h3 {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 500;
    margin: 9px 0;
}

.project-information p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.project-link {
    display: inline-block;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: 20px;
}

.asset-list {
    display: flex;
    flex-direction: column;
}

.asset-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.asset-number {
    color: var(--gold-dark);
    font-family: "Playfair Display", serif;
    font-size: 22px;
}

.asset-item h3 {
    color: var(--text);
    font-family: "Playfair Display", serif;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 7px;
}

.asset-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.portfolio-note {
    color: #77736a;
    font-size: 11px;
    line-height: 1.7;
    margin-top: 25px;
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .site-header {
        padding: 0 5%;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav a,
    .header-steam-link {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero {
        min-height: 590px;
        background-position: 58% center;
    }

    .hero-link {
        padding: 0 8%;
    }

    .hero-bottom {
        left: 8%;
        right: 8%;
    }

    .developers-section {
        padding: 90px 7%;
    }

    .modal-window {
        padding: 55px 40px;
    }

}

@media (max-width: 560px) {

    .site-header {
        height: 75px;
    }

    .brand {
        gap: 9px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .brand-name {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .brand-name span {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .header-steam-link {
        display: none;
    }

    .hero {
        min-height: 590px;
        height: calc(100svh - 75px);
        background-position: 57% center;
    }

    .hero-link {
        padding: 0 7%;
    }

    .hero h1 {
        font-size: clamp(60px, 17vw, 85px);
        letter-spacing: -3px;
    }

    .hero-description {
        max-width: 330px;
        font-size: 13px;
    }

    .hero-bottom {
        left: 7%;
        right: 7%;
        bottom: 25px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .hero-bottom span:last-child {
        text-align: right;
    }

    .developers-section {
        padding: 80px 6%;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading .eyebrow {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .developer-card {
        padding: 25px 20px;
    }

    .developer-monogram {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-right: 18px;
    }

    .developer-details h3 {
        font-size: 21px;
    }

    .developer-details p {
        font-size: 11px;
    }

    .developer-action {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .developer-card-arrow {
        font-size: 18px;
        padding-left: 8px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
    }

    .site-footer > span {
        font-size: 8px;
    }

    .modal-backdrop {
        padding: 12px;
    }

    .modal-window {
        max-height: 94vh;
        padding: 55px 23px 30px;
    }

    .profile-header {
        gap: 17px;
    }

    .profile-monogram {
        width: 75px;
        height: 75px;
        font-size: 29px;
    }

    .profile-header h2 {
        font-size: 28px;
    }

    .profile-header .developer-role {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .portfolio-project {
        flex-direction: column;
    }

    .project-image {
        width: 100%;
        min-height: 140px;
    }

    .project-information {
        padding: 20px;
    }

    .portfolio-tabs {
        gap: 20px;
    }

    .portfolio-tab {
        font-size: 8px;
    }

}
