/* =========================
   Fonts
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=DM+Serif+Display&display=swap');


/* =========================
   Base
   ========================= */

html {
    min-height: 100%;
}

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

    display: flex;
    flex-direction: column;

    background: #f4f0e8;
    color: #24221f;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}


/* =========================
   Header
   ========================= */

header {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 30px;
    box-sizing: border-box;

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

    flex-shrink: 0;

    border-bottom: 1px solid #d3cdc2;
}

.site-name {
    color: #24221f;
    text-decoration: none;
    font-family: 'DM Serif Display', serif;
    font-size: 23px;
    font-weight: 400;
}

nav a {
    color: #24221f;
    text-decoration: none;
    font-size: 16px;
}

nav a:hover {
    color: #6f604e;
}


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

main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 30px 110px;
    box-sizing: border-box;

    flex: 1;
}


/* =========================
   Typography
   ========================= */

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    margin: 0 0 14px;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 28px;
}

h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 4px;
}

p {
    font-size: 17px;
}


/* =========================
   Links
   ========================= */

a {
    color: #24221f;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

a:hover {
    color: #6f604e;
}

nav a,
.site-name,
.resume-link {
    text-decoration: none;
}


/* =========================
   Intro
   ========================= */

.intro {
    display: flex;
    align-items: flex-start;
    gap: 55px;

    margin-bottom: 105px;
}

.intro-photo {
    flex: 0 0 280px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;

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

    background: #e7e0d5;
    border: 1px solid #d3cdc2;

    color: #6f675e;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.intro-text {
    max-width: 500px;
    padding-top: 8px;
}

.roles {
    color: #6f604e;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bio {
    margin-top: 30px;
    max-width: 500px;
}


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

.reels,
.resume,
.contact {
    margin-bottom: 90px;
}

.reels h2,
.resume h2,
.contact h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid #c9c2b6;
}


/* =========================
   Reels
   ========================= */

.reel {
    padding: 26px 0;
    border-bottom: 1px solid #d3cdc2;
}


.reel p {
    margin: 3px 0 18px;
    color: #6f675e;
    font-size: 16px;
}

audio {
    width: 100%;
    max-width: 600px;
    height: 42px;
    margin-top: 4px;
}

.upcoming {
    opacity: 0.65;
}

.upcoming p {
    margin-bottom: 0;
}


/* =========================
   Resume
   ========================= */

.resume p {
    max-width: 600px;
    color: #6f675e;
    margin-bottom: 24px;
}

.resume-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-weight: 600;
    text-decoration: none;

    border-bottom: 1px solid #6f604e;
    padding-bottom: 3px;
}

.resume-link span {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.resume-link:hover span {
    transform: translate(2px, -2px);
}


/* =========================
   Contact Page
   ========================= */

.contact {
    max-width: 650px;
}

.contact > p {
    max-width: 560px;
    margin-top: 0;
    margin-bottom: 60px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    border-top: 1px solid #d3cdc2;
}

.contact-item {
    padding-top: 25px;
}

.contact-item h2 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px;
    padding: 0;
    border: none;
}

.contact-item a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}


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

footer {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px 30px 35px;
    box-sizing: border-box;

    flex-shrink: 0;

    border-top: 1px solid #d3cdc2;

    color: #6f675e;
}

footer p {
    margin: 0;
    font-size: 13px;
}


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

@media (max-width: 700px) {

    header {
        padding: 22px 20px;
    }

    main {
        padding: 55px 20px 80px;
    }

    h1 {
        font-size: 42px;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 25px;
    }

    p {
        font-size: 17px;
    }

    .intro {
        display: block;
        margin-bottom: 80px;
    }

    .intro-photo {
        max-width: 320px;
        margin-bottom: 40px;
    }

    .intro-text {
        padding-top: 0;
    }

    .reels,
    .resume,
    .contact {
        margin-bottom: 70px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    footer {
        padding: 22px 20px 30px;
    }
}
