```css
/* ========================================
   General
======================================== */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Georgia, "Times New Roman", serif;
    color: #171717;
    background: #ffffff;

    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
}


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

header {
    width: 100%;
}

.nav-container {
    width: min(1120px, calc(100% - 60px));
    margin: 0 auto;

    min-height: 92px;

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

    border-bottom: 1px solid #dddddd;
}

.site-name {
    font-size: 27px;
    font-weight: 700;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

nav a {
    position: relative;

    padding: 34px 0 31px;

    font-size: 17px;
    text-decoration: none;

    transition: color 0.15s ease;
}

nav a:hover {
    color: #0759a5;
}


/* Current page */

nav a.active {
    color: #0759a5;
    font-weight: 700;
}

nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;
    background: #0759a5;
}


/* ========================================
   Home
======================================== */

.home-container {
    width: min(1000px, calc(100% - 60px));
    margin: 70px auto 90px;

    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 70px;
    align-items: start;

    flex: 1;
}

.profile-photo img {
    display: block;

    width: 220px;
    height: 280px;

    object-fit: cover;
}

.profile-info {
    padding-top: 0;
}

.profile-info h1 {
    margin: -7px 0 8px;

    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.position {
    margin: 0;

    font-size: 21px;
    line-height: 1.45;
}

.home-divider {
    width: 100%;
    height: 1px;

    margin: 26px 0 20px;

    background: #dddddd;
}


/* Research Interests is the only blue
   heading on the homepage */

.interests h2 {
    margin: 0 0 7px;

    color: #0759a5;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.interests p {
    margin: 0;

    font-size: 18px;
    line-height: 1.5;
}

.email {
    margin-top: 23px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 17px;
}

.email a {
    color: #333333;
    text-decoration: none;
}

.email a:hover {
    color: #0759a5;
}

.email-icon {
    font-size: 18px;
}


/* ========================================
   Research / Teaching pages
======================================== */

.content-container {
    width: min(1040px, calc(100% - 60px));
    margin: 42px auto 80px;

    flex: 1;
}

.page-title {
    margin: 0 0 30px;

    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}


/* ========================================
   Research
======================================== */

.paper {
    padding: 0 0 27px;
    margin: 0 0 27px;

    border-bottom: 1px solid #dddddd;
}

.paper:last-child {
    border-bottom: none;
}

.paper-label {
    margin-bottom: 7px;

    color: #666666;

    font-size: 16px;
}

.paper h2 {
    margin: 0 0 8px;

    font-size: 21px;
    line-height: 1.35;
    font-weight: 400;
}

.paper p {
    max-width: 900px;

    margin: 0;

    color: #333333;

    font-size: 16.5px;
    line-height: 1.55;
}

.section-title {
    margin: 34px 0 16px;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}

/* ========================================
   Teaching
======================================== */

.teaching-section {
    margin-bottom: 45px;
}

.teaching-section h2 {
    margin: 0 0 3px;

    font-size: 21px;
    font-weight: 700;
}

.subtitle {
    margin: 0 0 10px;

    color: #666666;

    font-size: 16px;
}

.course {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 11px 0;

    border-top: 1px solid #dddddd;

    font-size: 16.5px;
    line-height: 1.35;
}

.course:last-child {
    border-bottom: 1px solid #dddddd;
}


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

footer {
    width: min(1120px, calc(100% - 60px));

    margin: 0 auto;
    padding: 22px 0 28px;

    border-top: 1px solid #eeeeee;

    color: #777777;

    font-size: 13px;
}


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

@media (max-width: 700px) {

    .nav-container {
        width: calc(100% - 36px);
        min-height: auto;

        padding: 20px 0;

        align-items: flex-start;
        gap: 20px;
    }

    .site-name {
        font-size: 22px;
    }

    nav {
        gap: 18px;
    }

    nav a {
        padding: 4px 0 8px;
        font-size: 15px;
    }

    nav a.active::after {
        bottom: 0;
    }


    .home-container {
        width: calc(100% - 40px);

        margin: 40px auto 60px;

        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-photo img {
        width: 180px;
        height: 230px;
    }

    .profile-info h1 {
        margin-top: 0;
        font-size: 35px;
    }

    .position {
        font-size: 19px;
    }

    .interests p {
        font-size: 17px;
    }


    .content-container {
        width: calc(100% - 40px);
        margin: 35px auto 60px;
    }

    .course {
        gap: 15px;
    }

    footer {
        width: calc(100% - 40px);
    }
}
```
