:root {
    --primary-color: #1d354c;
    --secondary-color: #6f777d;
    --text-color: #30383f;
    --heading-color: #1d354c;
    --bg-color: #ffffff;
    --sidebar-bg: #f1f0ec;
    --accent-color: #b59b68;
    --border-color: #d8d3c8;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

/* Header */
.site-header {
    background: var(--primary-color);
    border-bottom: 5px solid var(--accent-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.site-nav a {
    text-decoration: none;
    color: #e5dac5;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--bg-color);
}

/* Layout */
.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.profile-card {
    background: var(--sidebar-bg);
    padding: 1rem;
}

.profile-photo {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.identity-stack h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.25rem;
}

.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    padding: 0.25rem 0.5rem;
}

.cv-section {
    margin-top: 2rem;
}

.btn-cv {
    display: block;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-cv:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Content Area */
.content-section {
    margin-bottom: 4rem;
}

h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.lead-bio {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.content-section p {
    margin-bottom: 1.25rem;
}

.interests-list {
    list-style: none;
}

.interests-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.interests-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.item {
    margin-bottom: 2rem;
}

.item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--heading-color);
}

.item .meta {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item .description {
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    border-top: 3px solid var(--accent-color);
    padding: 3rem 0;
    background: var(--sidebar-bg);
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 850px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        max-width: 300px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .site-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.1rem;
    }

    .site-nav ul {
        gap: 0.75rem 1rem;
    }

    .site-nav a {
        font-size: 0.8rem;
    }
}
