:root {
  --bg: #faf9f7; --ink: #1c1a17; --muted: #6b655d; --line: #e7e2da; --accent: #8a7a63;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif; line-height: 1.55;
}
img { display: block; max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; background: rgba(250,249,247,.9);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.1rem; letter-spacing: .04em; text-decoration: none; color: var(--ink); }
.site-nav a { margin-left: 1.25rem; text-decoration: none; color: var(--muted); font-size: .95rem; }
.site-nav a:hover { color: var(--ink); }

.intro { text-align: center; padding: 4rem 1.5rem 2rem; }
.intro h1 { font-size: 2.6rem; margin: 0 0 .3rem; font-weight: 400; letter-spacing: .02em; }
.tagline { color: var(--muted); margin: 0; font-style: italic; }

.gallery {
  display: grid; gap: 1.5rem; padding: 2rem clamp(1rem, 4vw, 4rem);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  max-width: 1200px; margin: 0 auto;
}
.piece { position: relative; margin: 0; cursor: zoom-in; background: #fff;
  border: 1px solid var(--line); }
.piece-thumb { width: 100%; height: auto; }
.piece-caption { display: flex; justify-content: space-between; gap: .5rem;
  padding: .6rem .75rem; font-size: .9rem; }
.piece-title { color: var(--ink); }
.piece-price { color: var(--muted); }
.badge-sold {
  position: absolute; top: .6rem; right: .6rem; background: var(--ink); color: #fff;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 2px;
}

.about { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center;
  max-width: 900px; margin: 3rem auto; padding: 0 1.5rem; }
.about-photo { width: 220px; height: 220px; object-fit: cover; border-radius: 4px; }
.about-text { flex: 1; min-width: 240px; }
.about h2 { font-weight: 400; }

.contact { max-width: 700px; margin: 3rem auto 5rem; padding: 0 1.5rem; text-align: center; }
.contact-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap;
  gap: 1.25rem; justify-content: center; }
.contact-links a { color: var(--accent); text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 2rem;
  background: rgba(20,18,16,.92); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; cursor: default; }
.lightbox-meta { color: #f2efe9; font-size: .95rem; text-align: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1.25rem; background: none;
  border: none; color: #f2efe9; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 600px) {
  .intro h1 { font-size: 2rem; }
  .about { flex-direction: column; text-align: center; }
}
