/* ========================= */
/* RESET & BASE STYLES       */
/* ========================= */

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ========================= */
/* HEADER & NAVIGATION       */
/* ========================= */

header {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

header nav {
    margin: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

header nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    text-transform: lowercase;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: #666;
}

/* ========================= */
/* TYPOGRAPHY                */
/* ========================= */

h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #000;
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 3rem 0 1.5rem 0;
    color: #000;
}

p {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-align: justify;
}

.position-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.position-title .title {
    flex: 1;
}

.position-title .date {
    text-align: right;
    margin-left: 1rem;
}

/* ========================= */
/* LINKS                     */
/* ========================= */

a {
    color: #1a1a1a;
    text-decoration: underline;
}

a:hover {
    color: #666;
}

/* ========================= */
/* SECTIONS & LAYOUT         */
/* ========================= */

section {
    margin: 3rem 0;
}

/* ========================= */
/* LISTS                     */
/* ========================= */

ul {
    list-style-position: inside;
    margin: 1rem 0;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 300;
}

/* ========================= */
/* SPECIAL ELEMENTS          */
/* ========================= */

.signature {
    font-size: 1rem;
    font-style: italic;
    color: #1a1a1a;
    margin-top: 2rem;
}

.back-link {
    margin-top: 3rem;
    font-size: 0.9rem;
}

.back-link a {
    color: #4a4a4a;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.back-link a:hover {
    color: #1a1a1a;
}

.profile-photo {
    display: block;
    margin: 3rem auto 0;
    max-width: 75%;
    width: 100%;
    height: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.contact-links a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.contact-links a:hover {
    color: #666;
}

.contact-links img {
    height: 20px;
    width: auto;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2.5rem 0;
    width: 50%;
    margin-left: 0;
}

.footer-divider {
    width: 100%;
    margin: 3rem 0 2rem 0;
}

/* ========================= */
/* NOTES/BLOG STYLING        */
/* ========================= */

.blog-post-preview {
    margin-bottom: 2.5rem;
}

.blog-post-preview h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
}

.blog-post-preview h2 a {
    text-decoration: none;
    color: #1a1a1a;
}

.blog-post-preview h2 a:hover {
    text-decoration: underline;
}

.blog-post-preview .post-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-post-preview p:not(.post-date) {
    margin-bottom: 0;
}

.project-photo {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    width: 100%;
    height: auto;
}
