:root {
    color-scheme: light;
    --paper: #f6f3eb;
    --surface: #fcfaf5;
    --mat: #eeeadf;
    --deep: #25362c;
    --ink: #222923;
    --muted: #565d52;
    --line: #d8d3c5;
    --accent: #51624a;
    --display: Georgia, "Times New Roman", serif;
    --body: "Segoe UI", Arial, sans-serif;
    --width: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.58 var(--body); }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #775629; outline-offset: 4px; }
main:focus { outline: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.07; }
p + p { margin-top: .85em; }
.shell { width: min(var(--width), calc(100% - 100px)); margin-inline: auto; }
.skip { z-index: 20; position: fixed; padding: .7rem 1rem; background: var(--surface); color: var(--ink); top: .5rem; left: .5rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .6rem; width: fit-content; color: inherit; text-decoration: none; white-space: nowrap; }
.wordmark > span { font: 400 1.65rem/1 var(--display); letter-spacing: -.055em; }
.wordmark > small { font: 700 .58rem/1 var(--body); letter-spacing: .22em; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.85rem, 2.5vw, 2.35rem); font-size: .875rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.site-nav .nav-contact { border: 1px solid var(--line); display: inline-flex; align-items: center; gap: .8rem; padding: .46rem .82rem; }
.menu-toggle { border: 1px solid var(--line); padding: .5rem .85rem; background: var(--surface); color: var(--ink); }
.button, .secondary-button { width: fit-content; display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; border: 1px solid var(--deep); background: var(--deep); min-height: 46px; color: #fffdf7; text-decoration: none; padding: .65rem .95rem; font-size: .875rem; font-weight: 600; }
.button:hover { background: #40574a; border-color: #40574a; }
.secondary-button { color: var(--deep); background: transparent; border-color: #a7aba0; }
.secondary-button:hover { background: #e9e9e0; }
.button span { font-size: 1.08em; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--deep); font-size: .875rem; font-weight: 650; width: fit-content; }
.text-link:hover { text-decoration: underline; }
.eyebrow { display: flex; gap: .58rem; align-items: center; margin-bottom: .9rem; color: var(--accent); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow > span { background: #74806b; width: 1.05rem; height: 1px; }
.hero { background: #eeeade; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(1.7rem, 6.8vw, 8rem); padding-block: clamp(2.2rem, 5vw, 5.05rem); }
.hero h1 { font-size: clamp(4.3rem, 8.8vw, 8.85rem); line-height: .88; letter-spacing: -.069em; color: var(--deep); }
.hero-intro { max-width: 18rem; margin-block: 1.6rem; color: var(--muted); font-size: 1.04rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; }
.hero-art { margin: 0; }
.hero-frame { display: flex; width: 100%; align-items: center; justify-content: center; background: #e3ded0; box-shadow: inset 0 0 0 1px #d4cebf; height: clamp(265px, 34vw, 465px); padding: clamp(.65rem, 1.7vw, 1.5rem); }
.hero-frame img { max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 4px 16px #261f1a2b; }
.hero-art figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; flex-wrap: wrap; margin-top: .7rem; font-size: .81rem; }
.hero-art figcaption > span { color: var(--muted); }
.hero-art figcaption a { font-weight: 650; text-decoration: none; }
.hero-art figcaption a:hover { text-decoration: underline; }
.hero-art .feature-size { display: block; color: var(--muted); font-weight: 400; text-align: right; overflow-wrap: anywhere; }
.section { padding-block: clamp(3rem, 6vw, 5.7rem); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: clamp(1.6rem, 3.3vw, 2.4rem); }
.section-heading h2, .home-contact h2 { font-size: clamp(2.35rem, 4.7vw, 4.2rem); letter-spacing: -.058em; color: var(--deep); }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.3rem, 2.6vw, 2.3rem); }
.art-card a { display: block; text-decoration: none; }
.art-mat { aspect-ratio: 4 / 3; padding: clamp(.65rem, 1.6vw, 1.35rem); background: var(--mat); border: 1px solid #ded9cc; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.art-mat img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 5px #28211622); }
.art-caption { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding-block: .75rem .6rem; border-bottom: 1px solid var(--line); }
.art-caption h3, .art-caption h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.art-card a:hover .art-caption h3, .art-card a:hover .art-caption h2 { text-decoration: underline; text-decoration-thickness: 1px; }
.art-caption > span { color: var(--accent); }
.art-size { margin-top: .3rem; color: var(--muted); font-size: .83rem; overflow-wrap: anywhere; }
.home-collections { display: grid; gap: .9rem; margin-top: 2.35rem; }
.home-collections > a { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; text-decoration: none; background: var(--surface); padding: .81rem 1.05rem; border: 1px solid var(--line); }
.home-collections > a:hover { border-color: var(--accent); }
.home-collections small span { margin-left: .5rem; }
.profile-section { background: #eeeee5; border-block: 1px solid #d8dbce; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: clamp(2rem, 4vw, 3.5rem); }
.profile-grid article { padding-inline: clamp(.8rem, 2.4vw, 2.5rem); }
.profile-grid article:first-child { padding-left: 0; }
.profile-grid article + article { border-left: 1px solid #d4d9ca; }
.profile-grid h2 { font-size: clamp(1.45rem, 2.8vw, 2.3rem); letter-spacing: -.04em; margin-bottom: 1rem; }
.recent-exhibition { color: var(--muted); font-size: .92rem; margin-bottom: .75rem; }
.home-contact { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.site-footer { background: var(--deep); color: #f7f5e9; }
.footer-inner { min-height: 115px; display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 1.5rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.footer-inner nav a { font-size: .83rem; text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; }
.footer-inner > small { font-size: .75rem; }
.interior { padding-block: clamp(2.8rem, 6.8vw, 6.25rem); min-height: 60vh; }
.page-heading { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.page-heading h1, .artwork-info h1 { font-size: clamp(2.65rem, 6.1vw, 6rem); color: var(--deep); letter-spacing: -.067em; overflow-wrap: anywhere; }
.gallery-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem 1.5rem; flex-wrap: wrap; }
.gallery-count, .gallery-description, .muted, .empty, .help { color: var(--muted); }
.gallery-count { padding-bottom: .25rem; }
.gallery-description { margin: -.45rem 0 1.5rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .9rem; margin-top: 2.6rem; }
.pagination a { border: 1px solid var(--line); padding: .32rem .85rem; text-decoration: none; }
.pagination a:hover { background: var(--mat); }
.caption-count { margin-top: .65rem; font-size: .9rem; }
.empty { margin-block: .7rem; }
.artwork-layout .back { margin-bottom: 1.7rem; }
.artwork-grid { display: grid; grid-template-columns: 1.42fr 1fr; gap: clamp(1.4rem, 4.8vw, 5rem); align-items: center; }
.artwork-image { position: relative; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.65rem); background: var(--mat); border: 1px solid var(--line); }
.artwork-image img { width: auto; max-height: min(68vh, 720px); object-fit: contain; box-shadow: 0 4px 14px #261f1a28; }
.zoom-icon { position: absolute; right: .7rem; bottom: .7rem; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 1.15rem; color: var(--deep); background: var(--surface); border: 1px solid var(--line); }
.artwork-info h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
.artwork-info .button { margin-top: 1.65rem; }
.artwork-meta { max-width: 30rem; margin-block: 1.35rem; border-block: 1px solid var(--line); }
.artwork-meta div { display: grid; grid-template-columns: minmax(4rem, 1fr) minmax(0, 2.5fr); gap: .8rem; padding-block: .55rem; }
.artwork-meta div + div { border-top: 1px solid var(--line); }
.artwork-meta dt { color: var(--muted); font-size: .875rem; }
.artwork-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.plain-content { white-space: pre-line; margin-top: 1.1rem; }
.artwork-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.3rem; padding-top: 1rem; }
.artwork-neighbors div:last-child { text-align: right; }
.artwork-neighbors a { display: inline-grid; gap: .2rem; text-decoration: none; }
.artwork-neighbors a:hover { text-decoration: underline; }
.artwork-neighbors small { color: var(--muted); }
.lightbox { padding: 1.2rem; width: max-content; max-width: calc(100% - 1.2rem); max-height: calc(100% - 1.2rem); background: #201f1c; border: 0; color: #fff; }
.lightbox::backdrop { background: #151a17dd; }
.lightbox img { max-height: calc(100dvh - 5.7rem); width: auto; margin: auto; object-fit: contain; }
.lightbox form { display: flex; justify-content: flex-end; margin-bottom: .55rem; }
.lightbox button { width: 2.2rem; height: 2.2rem; font: 1.4rem/1 var(--body); color: #fff; background: transparent; border: 1px solid #bab8ad; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.2rem, 5vw, 5rem); align-items: start; }
.editorial-grid.no-portrait { grid-template-columns: minmax(0, 720px); }
.portrait { background: var(--mat); padding: 1rem; border: 1px solid var(--line); }
.portrait img { width: 100%; }
.prose { line-height: 1.76; overflow-wrap: anywhere; }
.prose p { margin: 0 0 .85em; }
.prose blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 2px solid var(--line); }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { margin: 1em 0 .5em; }
.timeline-row { display: grid; grid-template-columns: minmax(100px, .45fr) minmax(0, 1.4fr) minmax(0, .7fr); align-items: start; gap: 1rem 1.6rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.timeline-row time { color: var(--muted); font-size: .88rem; display: inline-block; }
.timeline-row h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); margin-bottom: .58rem; }
.timeline-row img { max-height: 190px; object-fit: contain; }
.contact-page { min-height: 62vh; }
.contact-copy { max-width: 32em; margin: 0 0 1.4rem; }
@media (max-width: 970px) {
    .shell { width: calc(100% - 64px); }
    .site-nav { gap: .85rem; }
    .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
    .shell { width: calc(100% - 40px); }
    .header-inner { min-height: 66px; padding-block: .8rem; flex-wrap: wrap; gap: .8rem 1rem; }
    .site-nav { flex-basis: 100%; gap: .5rem 1rem; }
    .site-nav[data-collapsible]:not([data-open="true"]) { display: none; }
    .site-nav[data-open="true"] { display: grid; }
    .site-nav a { padding-block: .42rem; }
    .site-nav .nav-contact { width: fit-content; }
    .hero-grid, .art-grid, .editorial-grid, .artwork-grid, .profile-grid, .timeline-row { grid-template-columns: minmax(0, 1fr); }
    .hero-grid { gap: 1.5rem; }
    .hero h1 { font-size: clamp(4rem, 14vw, 6.3rem); }
    .hero-intro { margin-block: 1.1rem; }
    .hero-frame { height: clamp(200px, 68vw, 390px); }
    .section-heading, .home-contact { align-items: flex-start; flex-direction: column; }
    .section-heading { gap: .7rem; }
    .profile-grid { gap: 1.3rem; }
    .profile-grid article { padding-inline: 0; }
    .profile-grid article + article { border-left: 0; border-top: 1px solid #d4d9ca; padding-top: 1.2rem; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
    .artwork-image img { max-height: 61vh; }
    .timeline-row > div:empty { display: none; }
}
@media (min-width: 741px) {
    .menu-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
