/* Shared sidebar & base styles - sourced from components/sidebar.js layout */

:root {
    --black: #111;
    --dark-grey: #444;
    --off-white: #f4f4f4;
    --vermilion: #C41E3A;
    --vermilion-dim: rgba(196, 30, 58, 0.15);
    --sketch-color: #999;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--off-white);
}

a {
    color: var(--vermilion);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.75;
}

.layout {
    min-height: 100vh;
}

/* ===== LEFT SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--black);
    color: var(--off-white);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-height: 0;
}

.avatar {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--vermilion);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.avatar:hover {
    opacity: 1;
    transform: scale(1.05);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--off-white);
}

.title-role {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.25rem;
    font-weight: 400;
}

.contact-block {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.25rem, 1.5vh, 0.75rem);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 160px;
    color: var(--off-white);
    opacity: 0.7;
    transition: all 0.2s ease;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--vermilion);
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.social-links svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-links .orcid-link {
    font-size: 0.68rem;
    width: 160px;
    gap: 0.5rem;
    white-space: nowrap;
}

.sidebar-footer {
    text-align: center;
    font-size: 0.75rem;
    color: #555;
}

/* ===== RESPONSIVE: Sidebar ===== */
@media (max-width: 900px) {
    .sidebar {
        display: none;
    }
}
