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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #F8F7F5;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    padding: 2rem 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 300;
    color: #333333;
    letter-spacing: 0.3em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.logo sup {
    font-size: 0.7em;
    vertical-align: super;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333333;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.7;
}

.login-btn {
    background-color: #E0E0E0;
    border: 1px solid #333333;
    color: #333333;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.login-btn:hover {
    background-color: #333333;
    color: #F8F7F5;
}

main {
    padding: 4rem 3rem;
}

.content-container {
    max-width: 600px;
    margin: 0 auto;
}

.tagline {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.tagline p {
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.manifesto {
    line-height: 1.6;
}

.manifesto h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.manifesto h2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.manifesto h2:first-of-type {
    margin-top: 2rem;
}

.manifesto p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
}

.manifesto p:last-child {
    margin-bottom: 0;
}

.manifesto .careers-link {
    margin-top: 2rem;
    font-weight: 500;
}

.manifesto .careers-link a {
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #333333;
    transition: opacity 0.2s;
}

.manifesto .careers-link a:hover {
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1.5rem;
    }
    
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.75rem;
    }
    
    main {
        padding: 2rem 1.5rem;
    }
    
    .manifesto h1 {
        font-size: 2rem;
    }
    
    .manifesto h2 {
        font-size: 1rem;
    }
    
    .manifesto p {
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }
    
    .tagline {
        margin-bottom: 2rem;
    }
    
    .tagline p {
        font-size: 0.9rem;
    }
}

/* Careers page styles */
.logo a {
    text-decoration: none;
    color: #333333;
}

.careers-container {
    max-width: 800px;
    margin: 0 auto;
}

.careers-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333333;
}

.careers-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #333333;
}

.team-photos-section {
    margin: 3rem 0;
}

.team-photos-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #333333;
}

.team-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.team-photo-item {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #F8F7F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.job-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 0.75rem;
    font-weight: 400;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.category-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0 1rem 0;
}

.job-list {
    margin-top: 1rem;
}

.job-item {
    padding: 0.75rem 0;
}

.job-link {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: opacity 0.2s;
}

.job-link:hover {
    opacity: 0.7;
}

.job-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

.generalist-role {
    margin-top: 1rem;
}

.generalist-text {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .careers-title {
        font-size: 2rem;
    }
    
    .careers-intro {
        font-size: 0.9rem;
    }
    
    .job-link {
        font-size: 0.9rem;
    }
    
    .team-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .team-photos-title {
        font-size: 1rem;
    }
}

/* Job description page styles */
.job-description-container {
    max-width: 700px;
    margin: 0 auto;
}

.job-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333333;
}

.job-meta {
    margin-bottom: 2rem;
}

.back-link {
    font-size: 0.875rem;
    color: #333333;
    text-decoration: none;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

.job-content {
    margin-top: 2rem;
}

.job-content h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333333;
}

.job-content h2:first-of-type {
    margin-top: 0;
}

.job-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333333;
}

.email-link {
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #333333;
    transition: opacity 0.2s;
}

.email-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .job-title {
        font-size: 2rem;
    }
    
    .job-content h2 {
        font-size: 1.1rem;
    }
    
    .job-content p {
        font-size: 0.85rem;
    }
}

