/* --- 0. CSS Variables (Light mode by default) --- */
:root {
    --color-bg-dark: #f9f9f9;
    --color-bg-light: #ffffff;
    --color-text-light: #111111;
    --color-text-dark: #555555;
    --color-accent: #000;
    --color-border: #eeeeee;
    --sidebar-width: 280px;
}

/* --- Dark Mode Overrides --- */
body.dark-mode {
    --color-bg-dark: #111111;
    --color-bg-light: #1c1c1c;
    --color-text-light: #f0f0f0;
    --color-text-dark: #b8b8b8;
    --color-border: #333333;
}

/* ... Standard resets (Same as previous site) ... */
*, *::before, *::after { box-sizing: border-box; transition: background-color 0.2s, color 0.2s; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; background: var(--color-bg-dark); color: var(--color-text-light); margin: 0; }
[hidden] { display: none !important; }

/* LAYOUT */
.layout { display: flex; min-height: 100vh; }
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-width); padding: 25px; background: var(--color-bg-light); border-right: 1px solid var(--color-border); overflow-y: auto; }
.content { margin-left: var(--sidebar-width); flex-grow: 1; padding: 40px; background: var(--color-bg-dark); display: flex; justify-content: center; }

/* HEADER CONTROLS */
.header-controls { display: flex; gap: 10px; margin-top: 5px; }
#theme-toggle { background: none; border: 1px solid var(--color-border); color: var(--color-text-light); cursor: pointer; border-radius: 50%; width: 30px; height: 30px; font-size: 18px; line-height: 1; }

/* ARTIST ATTRIBUTION (Under drawing) */
.artist-attribution { margin-top: 20px; font-style: italic; color: var(--color-text-dark); border-top: 1px solid var(--color-border); padding-top: 10px; font-size: 13px; max-width: 600px; }

/* ARTIST ROSTER PAGE */
.artist-grid-container { display: flex; width: 100%; gap: 40px; max-width: 1200px; }
.artist-list-column { width: 300px; border-right: 1px solid var(--color-border); }
.roster-list { list-style: none; padding: 0; }
.roster-item { padding: 8px 0; cursor: pointer; border-bottom: 1px solid var(--color-border); }
.roster-item:hover { color: var(--color-text-dark); font-weight: bold; }
.artist-preview-column { flex-grow: 1; text-align: center; }
.artist-preview-column img { max-width: 100%; height: auto; margin-bottom: 15px; }

/* Featured images for About/Participate */
.featured-image { width: 100%; max-width: 800px; height: auto; margin-bottom: 20px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .content { margin-left: 0; padding: 20px; }
    .sidebar { position: static; width: 100%; height: auto; border-right: none; }
    .artist-grid-container { flex-direction: column; }
    .artist-list-column { width: 100%; border-right: none; }
}