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

body {
    font-family: Georgia, serif;
    background: #f4f1ea;
    color: #202020;
    line-height: 1.7;
}

header {
    border-bottom: 1px solid #d6d1c7;
}

nav {
    max-width: 1100px;
    margin: auto;
    padding: 24px 30px;

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

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #202020;
    text-decoration: none;
}

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

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

.nav-links a:hover {
    color: #000;
}

main {
    max-width: 1100px;
    margin: auto;
}

.hero {
    min-height: 75vh;
    padding: 150px 30px 100px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.eyebrow,
.section-label {
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    font-weight: bold;
    color: #777;
}

.hero h1 {
    max-width: 850px;
    margin: 20px 0;

    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    font-weight: normal;
}

.intro {
    max-width: 650px;
    margin-bottom: 35px;

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

.button {
    display: inline-block;

    padding: 13px 22px;

    background: #202020;
    color: white;

    text-decoration: none;
    border-radius: 4px;

    font-family: Arial, sans-serif;
}

.button:hover {
    background: #444;
}

.section {
    padding: 100px 30px;
    border-top: 1px solid #d6d1c7;
}

.section h2 {
    margin: 15px 0 45px;

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

.writing-card {
    max-width: 750px;
    padding: 30px 0;

    border-top: 1px solid #d6d1c7;
}

.writing-card h3,
.project h3 {
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.writing-card p,
.project p {
    max-width: 650px;
    margin-bottom: 15px;

    color: #555;
}

.writing-card a {
    color: #202020;
    font-weight: bold;
}

.project {
    max-width: 750px;
}

.project span {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
}

.about {
    max-width: 850px;
}

.about p {
    max-width: 700px;
    margin-bottom: 20px;

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

footer {
    padding: 40px 30px;

    border-top: 1px solid #d6d1c7;

    text-align: center;

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


@media (max-width: 700px) {

    nav {
        align-items: flex-start;
    }

    .nav-links {
        gap: 12px;
        flex-direction: column;
        align-items: flex-end;
    }

    .hero {
        min-height: 65vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section h2 {
        font-size: 2.3rem;
    }

}

/* Essay pages */

.essay {
    max-width: 750px;
    margin: auto;
    padding: 100px 30px;
}

.essay-header {
    margin-bottom: 70px;
}

.essay h1 {
    margin-top: 20px;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    font-weight: normal;
}

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

.essay h2 {
    margin: 70px 0 25px;

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

.essay h3 {
    margin: 35px 0 15px;

    font-size: 1.4rem;
}

.essay p {
    margin-bottom: 25px;

    font-size: 1.15rem;
    line-height: 1.9;
}

.essay blockquote {
    margin: 35px 0;
    padding-left: 25px;

    border-left: 2px solid #aaa;

    font-style: italic;
}