/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #f4f2ed;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

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


/* =========================
   NAVIGATION
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(244, 242, 237, 0.92);
    backdrop-filter: blur(10px);
}

.navbar {
    max-width: 1500px;
    margin: auto;
    padding: 24px 40px;

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

.logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.5;
}


/* =========================
   GENERAL
========================= */

section {
    padding: 120px 40px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.section-heading h2 {
    font-size: clamp(48px, 7vw, 100px);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -4px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: flex-end;

    padding-top: 160px;
    padding-bottom: 70px;
}

.hero-content {
    width: 100%;
    max-width: 1500px;
    margin: auto;
}

.hero h1 {
    font-size: clamp(80px, 15vw, 220px);
    line-height: 0.78;
    font-weight: 600;
    letter-spacing: -9px;
    margin-bottom: 60px;
}

.hero-description {
    max-width: 700px;
    font-size: clamp(20px, 2.3vw, 34px);
    line-height: 1.25;
    margin-bottom: 45px;
}

.button {
    display: inline-block;

    border: 1px solid #111;
    border-radius: 100px;

    padding: 15px 24px;

    font-size: 14px;

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

.button:hover {
    background: #111;
    color: #f4f2ed;
}


/* =========================
   WORK
========================= */

.work {
    background: #111;
    color: #f4f2ed;
}

.work .section-heading,
.projects {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 90px 30px;
}

.project {
    cursor: pointer;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;

    background: #292929;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 25px;

    overflow: hidden;
}

.project-image span {
    font-size: 11px;
    letter-spacing: 2px;
    opacity: 0.45;
}

.project-info {
    max-width: 600px;
}

.project-type {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.project-info h3 {
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.project-info > p:last-child {
    font-size: 15px;
    max-width: 500px;
    opacity: 0.7;
}


/* =========================
   ABOUT
========================= */

.about {
    max-width: 1500px;
    margin: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-intro {
    font-size: clamp(32px, 4vw, 60px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-text {
    max-width: 650px;
}

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


/* =========================
   CONTACT
========================= */

.contact {
    background: #d9ff43;
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact > * {
    max-width: 1500px;
}

.contact h2 {
    font-size: clamp(60px, 10vw, 150px);
    line-height: 0.85;
    font-weight: 500;
    letter-spacing: -6px;
    margin-bottom: 50px;
}

.contact > p:not(.eyebrow) {
    font-size: 20px;
    max-width: 650px;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 30px;
}

.contact-links a {
    font-size: 18px;
    border-bottom: 1px solid #111;
    padding-bottom: 3px;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #111;
    color: #f4f2ed;

    padding: 30px 40px;

    display: flex;
    justify-content: space-between;

    font-size: 12px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 20px;
    }

    .nav-links {
        gap: 18px;
    }

    section {
        padding: 90px 20px;
    }

    .hero {
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: clamp(70px, 23vw, 130px);
        letter-spacing: -5px;
        margin-bottom: 40px;
    }

    .projects {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-heading h2 {
        letter-spacing: -2px;
    }

    .contact h2 {
        letter-spacing: -3px;
    }

    .contact-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    footer {
        padding: 25px 20px;
    }
}
.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #292929;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project:hover .project-image img {
    transform: scale(1.025);
}

.project-link {
    display: inline-block;
    margin-top: 24px;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    transition: opacity 0.2s ease;
}

.project-link:hover {
    opacity: 0.55;
}

.project-image[href] {
    cursor: pointer;
}

.project-image[href]:hover img {
    transform: scale(1.025);
}