/* --------------------------------------------------
   BASIC SETUP
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8f8f5;
    color: #222;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}


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

.site-header {
    width: 100%;
    padding: 28px 5vw;

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

    border-bottom: 1px solid #d8d8d3;
}

.site-name {
    color: #222;
    text-decoration: none;

    font-size: 1.15rem;
    font-weight: normal;
}

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

nav a {
    color: #555;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
}

nav a:hover {
    color: #222;
}


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

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5vw;
}

.intro {
    max-width: 850px;
    padding: 150px 0 180px;
}

.eyebrow {
    margin: 0 0 18px;

    color: #6d7d78;

    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;

    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: normal;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

h1 em {
    font-weight: normal;
}

.intro-text {
    max-width: 600px;
    margin-top: 45px;

    font-size: 1.25rem;
    color: #555;
}


/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */

.section {
    padding: 100px 0;

    border-top: 1px solid #d8d8d3;
}

.section-heading {
    display: grid;
    grid-template-columns: 80px 1fr;

    margin-bottom: 70px;
}

.section-heading .eyebrow {
    margin-top: 13px;
}

h2 {
    margin: 0;

    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: normal;
    line-height: 1;
    letter-spacing: -0.03em;
}


/* --------------------------------------------------
   PROJECTS
-------------------------------------------------- */

.project {
    display: grid;
    grid-template-columns: 80px 1fr;

    padding: 45px 0;

    border-top: 1px solid #d8d8d3;
}

.project:last-child {
    border-bottom: 1px solid #d8d8d3;
}

.project-number {
    color: #8b8b85;

    font-family: Arial, sans-serif;
    font-size: 0.75rem;
}

.project-content {
    max-width: 700px;
}

.project-type {
    margin: 0 0 10px;

    color: #6d7d78;

    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h3 {
    margin: 0;

    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: normal;
    line-height: 1.1;
}

.project-content p:not(.project-type) {
    max-width: 600px;
    margin: 20px 0;

    color: #555;
    font-size: 1.05rem;
}

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

    font-family: Arial, sans-serif;
    font-size: 0.8rem;
}

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


/* --------------------------------------------------
   EXPERIMENTS
-------------------------------------------------- */

.section-intro {
    max-width: 600px;
    margin: -20px 0 50px;

    color: #555;
    font-size: 1.1rem;
}

.experiment-list {
    border-top: 1px solid #d8d8d3;
}

.experiment {
    display: grid;
    grid-template-columns: 80px 1fr 30px;

    padding: 22px 0;

    border-bottom: 1px solid #d8d8d3;

    color: #222;
    text-decoration: none;

    font-size: 1.05rem;
}

.experiment span:first-child {
    color: #8b8b85;

    font-family: Arial, sans-serif;
    font-size: 0.72rem;
}

.experiment:hover {
    padding-left: 8px;
}


/* --------------------------------------------------
   ABOUT
-------------------------------------------------- */

.about-text {
    max-width: 700px;
    margin-left: 80px;

    font-size: 1.2rem;
}

.about-text p {
    margin: 0 0 30px;
}


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

.contact p:not(.eyebrow) {
    max-width: 500px;

    color: #555;
    font-size: 1.15rem;
}

.email {
    display: inline-block;
    margin-top: 15px;

    color: #222;
    text-decoration: none;

    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

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

/* --------------------------------------------------

   FOOTER

-------------------------------------------------- */

.site-footer {

    width: 100%;

    padding: 50px 5vw;

    color: #777;

    font-family: Arial, sans-serif;

    font-size: 0.7rem;

    border-top: 1px solid #d8d8d3;

}

@media (max-width: 700px) {

    .site-footer {

        padding: 40px 6vw;

    }

}


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

@media (max-width: 700px) {

    .site-header {
        padding: 22px 6vw;
    }

    nav {
        gap: 14px;
    }

    nav a {
        font-size: 0.7rem;
    }

    main {
        padding: 0 6vw;
    }

    .intro {
        padding: 100px 0 120px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        grid-template-columns: 45px 1fr;
        margin-bottom: 45px;
    }

    .project {
        grid-template-columns: 45px 1fr;
    }

    .experiment {
        grid-template-columns: 45px 1fr 20px;
    }

    .about-text {
        margin-left: 45px;
    }

    h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }
}