body {
    font-family: 'Lucida Console', 'Monaco', 'Courier New', monospace;
    font-size: 16px;
    color: #222;
    background-color: #faf8f5;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    line-height: 1.7;
}

.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

h1 {
    font-size: 2.4em;
    font-weight: 400;
    margin-bottom: 0.2em;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 1em;
    text-transform: lowercase;
}

.subtitle {
    font-size: 1em;
    color: #555;
    margin-bottom: 0.3em;
}

.links-container {
    font-size: 1em;
    margin: 20px 0;
}

.links-container a {
    text-decoration: none;
    color: #222;
    margin: 0 10px;
}

.links-container a:hover {
    color: #888;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.85em;
}

nav a {
    text-decoration: none;
    color: #222;
    margin: 0 8px;
}

nav a:hover {
    color: #888;
}

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

hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    width: 100%;
    margin: 40px 0;
}

section {
    margin: 20px 0;
}

a {
    color: #222;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #bbb;
}

a:hover {
    color: #888;
}

p {
    margin-bottom: 1em;
}

/* photo */
.photo-container {
    margin: 1.5em 0;
    text-align: center;
}

.photo-container img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #e8e4de;
    clip-path: circle(105px at center 40%);
}

.photo-placeholder {
    display: inline-block;
    width: 280px;
    height: 320px;
    background: #f0ece6;
    border: 1px dashed #ccc;
    line-height: 320px;
    color: #aaa;
    font-size: 0.85em;
    border-radius: 4px;
}

/* timeline / definition lists */
.timeline-list dt,
.research-list dt {
    font-style: italic;
    color: #888;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}

.timeline-list dt:first-child,
.research-list dt:first-child {
    margin-top: 0;
}

.timeline-list dd,
.research-list dd {
    margin-left: 0;
    margin-bottom: 0.5em;
}

.quiet {
    color: #999;
}

footer {
    padding: 20px 0 40px;
    font-size: 0.85em;
}

/* blog posts */
.post img {
    max-width: 100%;
    border-radius: 4px;
    margin: 1.5em 0;
}

.post pre {
    background: #f0ece6;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.9em;
    margin: 1.5em 0;
}

.post code {
    font-family: 'Lucida Console', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
}

.post blockquote {
    border-left: 2px solid #ddd;
    margin: 1.5em 0;
    padding-left: 1em;
    color: #666;
}

/* responsive */
@media (max-width: 600px) {
    body {
        padding: 0 20px;
        font-size: 14px;
    }

    h1 {
        font-size: 1.8em;
    }

    nav {
        flex-direction: column;
        gap: 8px;
    }

    .landing {
        min-height: 60vh;
    }

    .photo-container img {
        width: 160px;
        height: 160px;
    }

    .photo-placeholder {
        width: 200px;
        height: 240px;
        line-height: 240px;
    }
}
