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

:root {
    --bg-primary: #1A1A1A;
    --bg-secondary: #1e1e1e;
    --bg-highlight: rgba(255, 255, 255, 0.05);
    --text-primary: #e8e8e8;
    --text-secondary: #888888;
    --text-muted: #666666;
    --accent: #a0a0a0;
    --border: rgba(255, 255, 255, 0.08);
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
    color: var(--text-primary);
    text-decoration: underline;
}

a:visited {
    color: var(--text-primary);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

/* Header */
h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

/* Section Titles */
h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgb(245, 245, 244);
    margin-bottom: 0.5rem;
}

/* Profile Table */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.profile-table td {
    vertical-align: top;
    padding: 1rem;
}

.profile-table td:first-child {
    width: 400px;
}

.profile-image {
    width: 400px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.profile-info {
    padding-left: 2rem;
}

.profile-info .name {
    font-size: 1.75rem;
    font-weight: 500;
    color: rgb(245, 245, 244);
    margin-bottom: 0.5rem;
}

.profile-info .class-year {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgb(168, 162, 158);
    margin-bottom: 0.25rem;
}

.profile-info .major {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgb(168, 162, 158);
}

/* Bio Section */
.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

/* Activities Table */
.activities-table {
    width: 100%;
    border-collapse: collapse;
}

.activities-table td {
    vertical-align: top;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.activities-table tr:last-child td {
    border-bottom: none;
}

.activities-table td:first-child {
    width: 300px;
}

.activity-image {
    width: 300px;
    height: auto;
    display: block;
    object-fit: cover;
}

.activity-title {
    width: 150px;
}

.activity-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .profile-table,
    .profile-table tbody,
    .profile-table tr,
    .profile-table td {
        display: block;
        width: 100%;
    }

    .profile-table td:first-child {
        width: 100%;
    }

    .profile-image {
        width: 100%;
        max-width: 400px;
    }

    .profile-info {
        padding-left: 0;
        padding-top: 1rem;
    }

    .activities-table,
    .activities-table tbody,
    .activities-table tr,
    .activities-table td {
        display: block;
        width: 100%;
    }

    .activities-table td:first-child {
        width: 100%;
    }

    .activity-image {
        width: 100%;
        max-width: 300px;
    }

    .activity-title {
        width: 100%;
        margin-top: 1rem;
    }

    .activity-description {
        margin-top: 0.5rem;
    }
}
