:root {
    --ink: #1a1a1a;
    --paper: #fafaf8;
    --muted: #6b6b6b;
    --line: #e4e2dd;
    --accent: #b5794a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem clamp(1.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
}

.site-header .brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.site-header nav a {
    margin-left: 2rem;
    font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.15s ease;
}

.site-header nav a:hover { color: var(--ink); }

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.hero {
    padding: 3.5rem 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--ink);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
    align-items: end;
}

.gallery-item { display: block; }

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--line);
    transition: opacity 0.2s ease;
}

.gallery-item:hover img { opacity: 0.85; }

.gallery-item-caption {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    font-size: 0.9rem;
}

.gallery-item-title { font-weight: 500; }
.gallery-item-year { color: var(--muted); }

.empty-state { color: var(--muted); padding: 3rem 0; text-align: center; }

.artwork-detail {
    padding: 2.5rem 0 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.back-link:hover { color: var(--accent); }

.artwork-detail-image img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background: var(--line);
}

.artwork-detail-info { padding-top: 1.5rem; }

.artwork-meta { color: var(--muted); margin-bottom: 1rem; }

.artwork-description { line-height: 1.7; max-width: 65ch; }

.about {
    display: flex;
    gap: 3.5rem;
    padding: 3rem 0 5rem;
    flex-wrap: wrap;
}

.about-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.about-text { max-width: 55ch; }

.about-text p { line-height: 1.7; }

.about-links { display: flex; gap: 1.5rem; margin-top: 1rem; }

.about-links a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
}

.about-links a:hover { border-bottom-color: var(--accent); }

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem clamp(1.5rem, 5vw, 4rem);
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}
