:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #767676;
  --gap: 2rem;
  --max-width: 1400px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; line-height: 1.5; }
header { padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center; }
header .site-title { font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: var(--text); }
nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.03em; text-transform: uppercase; transition: color 0.2s; }
nav a:hover { color: var(--text); }
.hero { width: 100%; height: 80vh; overflow: hidden; position: relative; display: none; }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-header { padding: 3rem; text-align: center; }
.gallery-header h1 { font-weight: 400; font-size: 1.8rem; letter-spacing: 0.02em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); padding: 0 3rem 4rem; max-width: var(--max-width); margin: 0 auto; }
.grid figure { margin: 0; cursor: pointer; overflow: hidden; }
.grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; display: block; transition: transform 0.4s ease; }
.grid figure:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; background: rgba(255,255,255,0.98); display: none; overflow-y: auto; z-index: 100; }
.lightbox.open { display: block; }
.lightbox-close { position: fixed; top: 2rem; right: 3rem; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--text); z-index: 101; }
.lightbox-inner { max-width: 1000px; margin: 5rem auto 4rem; padding: 0 2rem; }
.lightbox-inner img { width: 100%; height: auto; display: block; margin-bottom: 2rem; }
.lightbox-meta h2 { font-weight: 400; font-size: 1.4rem; margin: 0 0 0.5rem; }
.lightbox-meta p.description { color: var(--muted); margin-bottom: 1.5rem; }
.download-link { display: inline-block; padding: 0.6rem 1.4rem; border: 1px solid var(--text); color: var(--text); text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; }
.download-link:hover { background: var(--text); color: var(--bg); }
.comments { margin-top: 3rem; border-top: 1px solid #eee; padding-top: 2rem; }
.comments h3 { font-weight: 400; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.comment { margin-bottom: 1rem; }
.comment .comment-name { font-weight: 600; margin-right: 0.5rem; }
.comment-form input, .comment-form textarea { width: 100%; padding: 0.6rem; margin-bottom: 0.8rem; border: 1px solid #ddd; font-family: inherit; font-size: 0.9rem; }
.comment-form button { padding: 0.6rem 1.4rem; background: var(--text); color: var(--bg); border: none; cursor: pointer; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.comment-status { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
