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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    color: #000;
    min-height: 100vh;
    line-height: 1.6;
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.site-title-link {
    color: inherit;
    text-decoration: none;
}

.site-title-link:hover {
    color: #333;
}

.links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.links a {
    color: #0e1d67;
    font-size: 1rem;
    transition: color 0.2s;
}

.links a:hover {
    color: #1d34f1;
}

.about {
    width: 100%;
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.about-photo {
    width: 200px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    align-self: flex-start;
}

.about-text p {
    margin-bottom: 0.75rem;
    color: #333;
}

@media (max-width: 600px) {
    .about {
        flex-direction: column;
        align-items: center;
    }
    .about-photo {
        width: 160px;
    }
}

.section-title {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.projects {
    width: 100%;
}

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

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

.project h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project h2 .anchor-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 400;
    margin-left: 0.4rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.project h2:hover .anchor-link {
    opacity: 1;
}

.project h2 .anchor-link:hover {
    color: #0e1d67;
}

.project h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.project .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.project p {
    margin-bottom: 0.75rem;
}

.project ul,
.project ol {
    margin: 0 0 1rem 1.5rem;
}

.project li {
    margin-bottom: 0.25rem;
}

.project img {
    max-width: 100%;
    height: auto;
    margin: 0.75rem 0;
    border-radius: 4px;
}

.project a {
    color: #0e1d67;
}

.project a:hover {
    color: #1d34f1;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #0e1d67;
    background: #eef0f8;
    border-radius: 999px;
    white-space: nowrap;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    margin: 0.75rem 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
