/* ---------------- RESET ---------------- */

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

html,
body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* ---------------- TEXT NODES ---------------- */
/* Your framework emits <normal> tags */

normal {
    display: inline;
    white-space: normal;
}

/* ---------------- LAYOUT ---------------- */

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px;
}

.section {
    margin-bottom: 72px;
}

/* ---------------- HEADER ---------------- */

.title normal {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.subtitle normal {
    font-size: 16px;
    color: #cfcfcf;
    max-width: 640px;
    display: block;
}

/* ---------------- SECTION TITLES ---------------- */

.section-title normal {
    font-size: 24px;
    font-weight: 600;
    display: block;
    margin-bottom: 32px;
}

/* ---------------- PROJECT CARDS ---------------- */

.project-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;

    padding: 24px;
    margin-bottom: 32px;
}

.project-image {
    flex-shrink: 0;

    width: 120px;
    height: 120px;

    object-fit: cover;
    object-position: center;

    border-radius: 14px;
    border: 0.01px solid #909090;
}

.project-body {
    display: flex;
    flex-direction: column;
}

.project-title normal {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.project-desc normal {
    font-size: 15px;
    color: #bdbdbd;
    margin-bottom: 16px;
    display: block;
}

/* ---------------- BUTTONS ---------------- */

.project-links {
    display: flex;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    border-radius: 12px;

    background: #4fa760;
    color: #000;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.button:hover {
    filter: brightness(1.1);
}

.button.secondary {
    background: transparent;
    color: #4fa760;
    border: 1px solid #4fa760;
}

.button.secondary:hover {
    background: rgba(79, 167, 96, 0.12);
    filter: brightness(1);
}

/* ---------------- SOCIALS (FIXED) ---------------- */

.socials {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* each social link */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);

    color: #4fa760;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    margin-right: 12px;
    margin-bottom: 12px;
}

.social-link:last-child {
    margin-right: 0;
}

/* make text inside behave */
.social-link normal {
    display: inline;
}

/* hover */
.social-link:hover {
    background: rgba(79, 167, 96, 0.12);
    border-color: rgba(79, 167, 96, 0.4);
}

/* ---------------- CONTACT ---------------- */

.contact-muted normal {
    color: #9a9a9a;
    font-size: 14px;
    display: block;
}

.contact-email {
    margin-top: 16px;
}

.email-link {
    display: inline-block;

    color: #4fa760;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

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

/* ---------------- MOBILE ---------------- */

@media (max-width: 720px) {

    /* Layout */
    .container {
        padding: 40px 18px;
    }

    .section {
        margin-bottom: 56px;
    }

    /* Header */


    .title normal {
        font-size: 26px;
        line-height: 1.25;
    }

    .subtitle normal {
        font-size: 15px;
        max-width: 100%;
    }

    /* Section titles */
    .section-title normal {
        font-size: 20px;
        margin-bottom: 24px;
    }

    /* Project cards */
    .project-card {
        flex-direction: column;
        gap: 16px;

        padding: 20px;
        border-radius: 16px;
    }

    /* Project image (square thumbnail) */
    .project-image {
        width: 100%;
        height: 160px;

        border-radius: 12px;
    }

    /* Text column */
    .project-body {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .project-title normal {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .project-desc normal {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    /* Buttons */
    .project-links {
        gap: 10px;
    }

    .button {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 10px;
    }

    /* Socials */
    .socials {
        margin-top: 16px;
    }

    .social-link {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .social-link:last-child {
        margin-right: 0;
    }

    /* Contact */
    .contact-muted normal {
        font-size: 13px;
    }

    .email-link {
        font-size: 14px;
    }
}
