/* ---------- Base ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}


/* ---------- Typography ---------- */

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

p {
    max-width: 700px;
}

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


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

.site-header {
    width: 100%;
    border-bottom: 1px solid #dddddd;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;

    padding: 28px 5vw;

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

    gap: 40px;
}

.site-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;

    transition: opacity 0.2s ease;
}

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


/* =========================================
   Main
   ========================================= */

main {
    max-width: 1400px;
    margin: 0 auto;
}


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

.hero {
    min-height: 75vh;

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

    gap: 80px;

    padding: 100px 5vw;
}

.hero-content {
    max-width: 1000px;
    flex: 1;
}


/* ---------- Eyebrow ---------- */

.eyebrow {
    margin-bottom: 20px;

    font-size: 0.85rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* ---------- Introduction ---------- */

.intro {
    max-width: 720px;

    margin-top: 40px;

    font-size: clamp(1.25rem, 2vw, 1.6rem);

    line-height: 1.5;
}


/* ---------- Hero Links ---------- */

.hero-links {
    display: flex;

    gap: 28px;

    margin-top: 45px;
}

.hero-links a,
.text-link {
    display: inline-block;

    font-size: 0.95rem;
    font-weight: 600;

    border-bottom: 1px solid #111111;

    padding-bottom: 3px;

    transition:
        opacity 0.2s ease,
        border-color 0.2s ease;
}

.hero-links a:hover,
.text-link:hover {
    opacity: 0.5;

    border-color: transparent;
}


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

.hero-image {
    width: 440px;
    height: 560px;

    flex-shrink: 0;
}

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
   Sections
   ========================================= */

.home-section {
    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 60px;

    padding: 110px 5vw;

    border-top: 1px solid #dddddd;
}

.section-label {
    display: flex;

    flex-direction: column;

    gap: 8px;

    font-size: 0.75rem;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    color: #666666;
}

.section-label span:first-child {
    color: #111111;

    font-weight: 600;
}

.section-content {
    max-width: 850px;
}

.section-content h2 {
    margin-bottom: 30px;
}

.section-content > p {
    margin-bottom: 30px;

    font-size: 1.1rem;

    color: #333333;
}


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

.project-preview {
    padding: 45px 0;

    border-top: 1px solid #dddddd;
}

.project-preview:first-child {
    padding-top: 0;

    border-top: none;
}

.project-type {
    margin-bottom: 12px;

    font-size: 0.75rem;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    color: #777777;
}

.project-preview h3 {
    margin-bottom: 8px;
}

.project-title {
    margin-bottom: 22px;

    font-size: 1.2rem;

    font-style: italic;
}

.project-preview > p:not(.project-type):not(.project-title) {
    margin-bottom: 25px;

    color: #444444;
}


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

.site-footer {
    margin-top: 20px;

    padding: 40px 5vw;

    border-top: 1px solid #dddddd;

    display: flex;

    justify-content: space-between;
    align-items: center;

    font-size: 0.85rem;

    color: #666666;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #111111;
}

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


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 900px) {

    .hero {
        gap: 50px;
    }

    .hero-image {
        width: 360px;
        height: 460px;
    }

}


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

@media (max-width: 800px) {

    .navbar {
        align-items: flex-start;

        flex-direction: column;

        padding: 24px 6vw;

        gap: 20px;
    }


    .nav-links {
        flex-wrap: wrap;

        gap: 16px 22px;
    }


    .hero {
        min-height: 65vh;

        flex-direction: column;

        align-items: flex-start;

        padding: 80px 6vw;

        gap: 50px;
    }


    .hero-content {
        width: 100%;
    }


    .intro {
        margin-top: 30px;
    }


    .hero-links {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        margin-top: 35px;
    }


    .hero-image {
        width: 100%;

        max-width: 440px;

        height: 560px;
    }


    .home-section {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 75px 6vw;
    }


    .section-label {
        flex-direction: row;

        gap: 15px;
    }


    .section-content h2 {
        margin-bottom: 25px;
    }


    .project-preview {
        padding: 35px 0;
    }


    .site-footer {
        padding: 35px 6vw;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

}


/* =========================================
   Small Screens
   ========================================= */

@media (max-width: 500px) {

    body {
        font-size: 15px;
    }


    h1 {
        font-size: 3.5rem;
    }


    h3 {
        font-size: 1.7rem;
    }


    .navbar {
        padding-top: 20px;

        padding-bottom: 20px;
    }


    .hero {
        padding-top: 65px;

        padding-bottom: 65px;
    }


    .hero-image {
        width: 100%;

        height: 450px;
    }


    .home-section {
        padding-top: 60px;

        padding-bottom: 60px;
    }

}

/* =========================
   ABOUT / BIO PAGE
   ========================= */

.bio-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 5vw 140px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 90px;
    align-items: start;
}

.bio-content {
    min-width: 0;
}

.bio-page .eyebrow {
    margin-bottom: 24px;
}

.bio-page h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1;
    margin: 0 0 70px;
}

.bio-text {
    max-width: 760px;
}

.bio-text p {
    font-size: 1.12rem;
    line-height: 1.9;
    margin: 0 0 42px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}


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

.bio-image {
    width: 100%;
    margin-top: 75px;
}

.bio-image img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}


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

@media (max-width: 900px) {

    .bio-page {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 80px 6vw 100px;
    }

    .bio-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }

    .bio-image img {
        height: 600px;
    }

    .bio-page h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
        margin-bottom: 55px;
    }

    .bio-text {
        max-width: 100%;
    }

    .bio-text p {
        font-size: 1.05rem;
        line-height: 1.85;
        margin-bottom: 35px;
    }
}

/* =========================
   PROJECTS PAGE
   ========================= */

.projects-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 5vw 140px;
}

.projects-page h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 20px 0 30px;
}

.projects-intro {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 90px;
}

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

.project-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding-top: 20px;
}

.project-info h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 7px;
}

.project-info h3 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 10px;
    max-width: 600px;
}

.project-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.6;
}


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

@media (max-width: 800px) {

    .projects-page {
        padding: 80px 6vw 100px;
    }

    .projects-page h1 {
        font-size: clamp(3.5rem, 14vw, 5rem);
    }

    .projects-intro {
        margin-bottom: 60px;
    }

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

}
