:root {
    --bg: #ffffff;
    --text: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { background: var(--bg); color: var(--text); font-family: 'Space Grotesk', sans-serif; overflow-x: hidden; }

.demo-return { position: fixed; bottom: 20px; right: 20px; background: black; color: white; padding: 8px 16px; text-decoration: none; font-size: 0.8rem; z-index: 100; font-weight: bold; }

.layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar { width: 300px; padding: 60px 40px; position: fixed; height: 100vh; border-right: 1px solid #f0f0f0; display: flex; flex-direction: column; justify-content: space-between; background: #fff; z-index: 10; }

.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 3rem; line-height: 0.85; margin-bottom: 20px; letter-spacing: -1px; }
.tagline { color: #666; font-size: 0.9rem; }

nav a { display: block; color: #999; text-decoration: none; font-size: 1.5rem; margin-bottom: 10px; transition: 0.3s; font-family: 'Syne', sans-serif; font-weight: 700; }
nav a:hover, nav a.active { color: #000; transform: translateX(10px); }
.bottom { font-size: 0.75rem; color: #ccc; }

/* Gallery */
.gallery { margin-left: 300px; width: calc(100% - 300px); padding: 40px; column-count: 2; column-gap: 40px; }
.img-container { margin-bottom: 40px; overflow: hidden; break-inside: avoid; cursor: pointer; }
.img-container img { width: 100%; display: block; filter: grayscale(100%); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.img-container:hover img { filter: grayscale(0%); transform: scale(1.03); }

/* Lightbox */
.lightbox { display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(255,255,255,0.95); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 90vh; margin-top: 5vh; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.close { position: absolute; top: 30px; right: 50px; color: #000; font-size: 40px; font-weight: bold; cursor: pointer; }

/* Responsive */
@media (max-width: 900px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; padding: 40px 20px; border-right: none; border-bottom: 1px solid #eee; }
    .gallery { margin-left: 0; width: 100%; column-count: 1; padding: 20px; }
    .logo { font-size: 2.5rem; }
}