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

html {
    scroll-behavior: smooth;
}

body {
    background: #0d0f14;
    color: #ededed;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

main {
    max-width: 1000px;
    margin: auto;
    padding: 0 24px;
}
nav {
    max-width: 1000px;
    margin: auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.links {
    display: flex;
    gap: 28px;
    color: #999;
    font-size: 14px;
}

.links a:hover {
    color: #171717;
}

.hero {
    min-height: 620px;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-text {
    color: #8f96a8;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero h1 {
    font-size: clamp(50px, 8vw, 84px);
    line-height: 1;
    letter-spacing: -.05em;
    margin: 18px 0 24px;
}

.intro {
    max-width: 600px;
    color: #a7acb8;
    font-size: 18px;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    font-size: 14px;
}

.button {
    background: #fff;
    color: #111;
    padding: 12px 20px;
    border-radius: 6px;
}

.button:hover {
    background: #dfe3ea;
}

section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
    color: #7f879b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.content {
    max-width: 650px;
    margin-top: 42px;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -.04em;
    margin-bottom: 20px;
}

.content p {
    color: #a7acb8;
    font-size: 17px;
}

.projects {
    margin-top: 42px;
}
.project {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.project:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.number {
    color: #999;
    font-size: 12px;
}

.project h3 {
    font-size: 23px;
    margin: 7px 0;
}

.project div p:last-child {
    max-width: 600px;
    color: #969cab;
}

.project > a {
    color: #9da3b3;
    text-decoration: underline;
    font-size: 14px;
    white-space: nowrap;
}
.project:hover > a {
    color: #fff;
}
.email {
    display: inline-block;
    margin-top: 28px;
    padding-bottom: 4px;
    border-bottom: 1px solid #fff;
}

footer {
    max-width: 1000px;
    margin: auto;
    padding: 28px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    color: #777e8f;
    font-size: 13px;
}

footer div {
    display: flex;
    gap: 20px;
}

footer a:hover {
    color: #171717;
}
.contact {
    margin-top: 55px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-text h2 {
    margin-bottom: 20px;
}

.contact-text p {
    max-width: 420px;
    margin-bottom: 28px;
}

.contact-text a {
    color: #b2b7c3;
    border-bottom: 1px solid #555b68;
    padding-bottom: 4px;
}

.contact-text a:hover {
    color: #fff;
    border-color: #fff;
}

form {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

form > div {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 8px;
    color: #9299a8;
    font-size: 13px;
}

form input,
form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    font: inherit;
    outline: none;
}

form textarea {
    min-height: 140px;
    resize: vertical;
}

form input:focus,
form textarea:focus {
    border-color: rgba(255, 255, 255, 0.35);
}

form button {
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font: inherit;
    cursor: pointer;
}

form button:hover {
    background: #dfe3ea;
}
@media (max-width: 600px) {
    nav,
    main,
    footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .links {
        gap: 16px;
    }

    .hero {
        min-height: 540px;
    }

    .intro {
        font-size: 16px;
    }

    section {
        padding: 75px 0;
    }

    .project h3 {
        font-size: 21px;
    }
        .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    form {
        padding: 22px;
    }
}
#background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}