/* ================================
   Reset
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #ffffff;
    color: #111111;

    line-height: 1.6;
}


/* ================================
   Global
================================ */

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.section-label {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #777;
    margin-bottom: 50px;
}


/* ================================
   Navigation
================================ */

.navbar {
    position: sticky;
    top: 0;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #eeeeee;

    z-index: 100;
}

.nav-content {
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;

    color: #111;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 14px;
    color: #555;
    text-decoration: none;

    transition: color 0.2s ease;
}

nav a:hover {
    color: #111;
}


/* ================================
   Hero
================================ */

.hero {
    min-height: 85vh;

    display: flex;
    align-items: center;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #777;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 90px);
    line-height: 1.05;

    max-width: 900px;
}

.hero h1 span {
    color: #777;
}

.hero-description {
    max-width: 600px;

    margin-top: 30px;

    font-size: 20px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 40px;
}


/* ================================
   Buttons
================================ */

.button {
    display: inline-block;

    padding: 13px 22px;

    border: 1px solid #111;

    text-decoration: none;

    font-size: 14px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.button.primary {
    background: #111;
    color: white;
}

.button.primary:hover {
    background: #333;
}

.button.secondary {
    color: #111;
}

.button.secondary:hover {
    background: #111;
    color: white;
}


/* ================================
   About
================================ */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;
}

.about-grid h2 {
    font-size: 48px;
    line-height: 1.1;
}

.about-text {
    max-width: 500px;

    color: #555;
}

.about-text p {
    margin-bottom: 25px;
}


/* ================================
   Projects
================================ */

.projects {
    border-top: 1px solid #ddd;
}

.project {
    display: grid;

    grid-template-columns:
        80px 1fr 150px;

    gap: 30px;

    padding: 45px 0;

    border-bottom: 1px solid #ddd;
}

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

.project h3 {
    font-size: 28px;

    margin-bottom: 10px;
}

.project p {
    color: #666;

    max-width: 600px;
}

.project-link {
    color: #111;
    text-decoration: none;

    font-size: 14px;
}

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


/* ================================
   Tags
================================ */

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.tags span {
    padding: 5px 10px;

    border: 1px solid #ddd;

    font-size: 12px;

    color: #555;
}


/* ================================
   Skills
================================ */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 60px;

    border-top: 1px solid #ddd;

    padding-top: 40px;
}

.skills-grid h3 {
    margin-bottom: 10px;
}

.skills-grid p {
    color: #666;
}


/* ================================
   Contact
================================ */

.contact {
    border-top: 1px solid #eee;
}

.contact h2 {
    font-size: 64px;

    line-height: 1.1;

    margin-bottom: 25px;
}

.contact > .container > p:not(.section-label) {
    color: #666;

    margin-bottom: 30px;
}

.email {
    display: inline-block;

    font-size: 22px;

    color: #111;

    text-decoration: none;

    border-bottom: 1px solid #111;
}

.socials {
    display: flex;

    gap: 25px;

    margin-top: 35px;
}

.socials a {
    color: #555;
    text-decoration: none;
}

.socials a:hover {
    color: #111;
}


/* ================================
   Footer
================================ */

footer {
    border-top: 1px solid #eee;

    padding: 30px 0;

    display: flex;
}

footer .container {
    display: flex;

    justify-content: space-between;

    color: #888;

    font-size: 13px;
}


/* ================================
   Mobile
================================ */

@media (max-width: 700px) {

    nav {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-grid h2 {
        font-size: 38px;
    }

    .project {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .project-link {
        margin-top: 10px;
    }

    .skills-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .contact h2 {
        font-size: 45px;
    }

    footer .container {
        flex-direction: column;

        gap: 10px;
    }
}