:root { 
    --bg: #ffffff; 
    --text: #999999;        
    --bold-text: #666666;  
    --font-size: 24px;     
    --title-size: 24px;    
}

* {
    box-sizing: border-box;
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Manrope', sans-serif; 
    margin: 0; 
    padding: 80px 40px 40px 40px; 
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 40px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header-hidden {
    transform: translateY(-100%);
}

.branding {
    font-size: var(--title-size); 
    color: var(--bold-text);
    font-variation-settings: 'wght' 650;
    text-transform: lowercase; 
    text-decoration: none;
    letter-spacing: -0.04em;
}

nav { 
    display: flex; 
    gap: 35px; 
    flex-wrap: wrap;
}

nav a { 
    color: var(--text); 
    text-decoration: none; 
    font-size: calc(var(--title-size) - 4px); 
    text-transform: lowercase; 
    transition: 0.2s; 
    font-variation-settings: 'wght' 400;
    white-space: nowrap;
}

nav a:hover, nav a.active { 
    color: var(--bold-text); 
    font-variation-settings: 'wght' 550;
}

.text-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 10px;
}

.text-container a {
    color: #666666;
}

.about-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.image-side {
    width: 350px;
    flex-shrink: 0;
}

.image-side img {
    display: block;
    width: 350px;
    height: auto;
}

.caption {
    margin-top: 10px;
    font-size: 11px;
    color: #999999;
    line-height: 1.4;
    text-transform: lowercase;
}

.text-side {
    flex: 1;
}

.text-side p {
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 14px;
    color: #888;
    width: 100%;
}

@media (max-width: 800px) {
    header { 
        flex-direction: column; 
        gap: 20px; 
        padding: 20px 20px; 
    }
    body { 
        padding-top: 180px; 
    }
    .about-layout {
        flex-direction: column;
    }
    .image-side, .image-side img {
        width: 100%;
    }
}