* {
    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;
}

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

/* Mini Nav */
.mini-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nav-link {
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
}

/* Centered Message */
.centered-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Sections */
.section {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-transform: capitalize;
}

/* Experience Items */
.experience-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    margin-bottom: 0;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.experience-item:hover {
    background-color: var(--bg-highlight);
}

.experience-item.highlight {
    background-color: rgba(255, 255, 255, 0.03);
}

.experience-item.highlight:hover {
    background-color: var(--bg-highlight);
}

.company-logo {
    width: 32px;
    height: 32px;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.experience-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.role {
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgb(245, 245, 244);
}

.company {
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgb(168, 162, 158);
}

/* Link Lists */
.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 0.625rem;
}

.link-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.link-list a:hover {
    color: var(--text-primary);
}

/* Simple List (Nic's style) */
.simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-list li {
    margin-bottom: 0.25rem;
}

.simple-link {
    display: block;
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgb(168, 162, 158);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.simple-link:hover {
    background-color: rgba(168, 162, 158, 0.1);
    color: rgb(245, 245, 244);
}

/* Experience Links (with logos) */
.experience-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.experience-link:hover {
    background-color: rgba(168, 162, 158, 0.1);
}

.experience-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.experience-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.experience-role {
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(245, 245, 244);
}

.experience-company {
    font-family: Inter, system-ui, -apple-system, "system-ui", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgb(168, 162, 158);
    transition: color 0.2s ease;
}

.experience-link:hover .experience-company {
    color: rgb(245, 245, 244);
}

/* Expandable Items */
.expandable-item {
    margin-bottom: 0;
}

.expandable-item .experience-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.expandable-item .experience-item:hover {
    background-color: var(--bg-highlight);
}

.expand-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.expand-btn:hover {
    color: var(--text-primary);
}

.expandable-item.expanded .expand-btn {
    transform: rotate(90deg);
}

.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-left: 3.5rem;
}

.expandable-item.expanded .expand-content {
    max-height: 200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.expand-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expand-content li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.expand-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Project Items */
.expandable-list {
    display: flex;
    flex-direction: column;
}

.project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0;
    cursor: pointer;
}

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: var(--text-primary);
}

.expandable-list .expand-content {
    padding-left: 1rem;
}

.expandable-list .expandable-item.expanded .expand-content {
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
}

/* Decorative Navigation */
.decorative-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.nav-btn:hover {
    color: var(--text-primary);
}

.pattern-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-left: -0.5rem;
}

.social-icon {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: rgb(168, 162, 158);
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    background-color: rgba(168, 162, 158, 0.1);
    color: rgb(245, 245, 244);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.lang {
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang:hover {
    color: var(--text-primary);
}

.lang.active {
    background-color: var(--bg-highlight);
    color: var(--text-primary);
}

.lang-divider {
    color: var(--text-muted);
}

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

    .title {
        font-size: 1.75rem;
    }

    .profile-image {
        width: 56px;
        height: 56px;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
}

/* Placeholder styles for missing images */
.company-logo:empty::after,
.profile-image:empty::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #2a2a2a 100%);
}