/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FAFAFA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #0d0d0d;
    min-height: 100vh;
    padding: 128px 40px 40px 40px;
}

/* Main content container - 640px width, centered */
.container {
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
}

/* ===== INTRO SECTION ===== */
.intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 64px;
}

.name {
    font-size: 15px;
    font-weight: 450;
    line-height: 24px;
    letter-spacing: -0.3px;
    color: #0d0d0d;
}

.bio {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3px;
    color: rgba(13, 13, 13, 0.48);
}

/* Links with dotted underline */
.link {
    color: #0d0d0d;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: rgba(13, 13, 13, 0.2);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s ease;
}

.link:hover {
    text-decoration-color: rgba(13, 13, 13, 0.6);
}

/* ===== WORK SECTION ===== */
.work {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 64px;
}

.section-title {
    font-size: 15px;
    font-weight: 450;
    line-height: 24px;
    letter-spacing: -0.3px;
    color: #0d0d0d;
}

/* ===== PROJECT CARDS ===== */
.project-card {
    width: 100%;
    height: 380px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Project image */
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project video */
.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
}

.footer p {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3px;
    color: rgba(13, 13, 13, 0.48);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
    body {
        padding: 48px 16px;
    }
    
    .container {
        width: 100%;
    }
    
    .project-card {
        height: auto;
        aspect-ratio: 640 / 380;
    }
}
