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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header {
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

h1 { font-size: 1.1rem; letter-spacing: 0.15rem; text-transform: uppercase; font-weight: 500; }

nav ul { list-style: none; display: flex; gap: 30px; }

nav a { text-decoration: none; color: #888; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05rem; transition: color 0.3s; }

nav a:hover { color: #000; }

#gallery { padding: 40px 5%; }

.grid-container {
    column-count: 2;
    column-gap: 50px;
}

.artwork {
    break-inside: avoid;
    margin-bottom: 80px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.artwork:hover { transform: translateY(-5px); }

.artwork img { width: 100%; height: auto; display: block; transition: opacity 0.5s ease; }

.artwork img:hover { opacity: 0.95; }

.artwork-info { margin-top: 15px; }

.artwork-info h3 { font-size: 0.95rem; font-weight: 500; font-style: italic; }

.artwork-info p { font-size: 0.8rem; color: #777; margin-top: 2px; }

#about { padding: 100px 5%; border-top: 1px solid #eee; }

.about-content { max-width: 700px; margin: 0 auto; }

#lightbox {
    position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.98);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#lightbox.active { display: flex; }

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    cursor: crosshair;
    overflow: hidden;
}

#lightbox-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    transform-origin: center;
}

#lightbox-caption {
    margin-top: 20px;
    z-index: 1010;
    text-align: center;
}

#close-btn { position: absolute; top: 30px; right: 40px; font-size: 2.5rem; color: #000; cursor: pointer; z-index: 1020; }

footer { padding: 40px 5%; font-size: 0.75rem; color: #ccc; text-align: center; }

@media (max-width: 768px) {
    .grid-container { column-count: 1; }
    header { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
}
