:root
{
    --paper: #fdfcfa;
    --surface: #f1eee8;
    --ink: #171711;
    --muted: #716e64;
    --line: #dcd7ce;
    --red: #c23a22;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}
body
{
    margin: 0 0 0 56px;
    color: var(--ink);
    background: var(--paper);
    font: 14px/1.8 Arial, sans-serif;
}
button, input, select, textarea
{
    font: inherit;
}
button, a
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
    color: inherit;
}
a
{
    color: inherit;
    text-decoration: none;
}
button:focus-visible, a:focus-visible
{
    outline: 2px solid var(--red);
    outline-offset: 4px;
}
.spine
{
    position: fixed;
    inset: 0 auto 0 0;
    width: 56px;
    z-index: 20;
    background: var(--ink);
    color: #b7b2a7;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 38px 15px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font: italic 12px Georgia, serif;
}
header
{
    position: sticky;
    top: 0;
    height: 66px;
    z-index: 15;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: #fdfcfaf5;
    border-bottom: 1px solid var(--line);
}
.wordmark
{
    font: italic 22px Georgia, serif;
}
nav
{
    display: flex;
    gap: 30px;
    font-size: 12px;
}
.contact-link
{
    font-size: 12px;
    border-bottom: 1px solid;
}
#menu
{
    display: none;
}
section
{
    padding: 80px 5%;
}
h1, h2, h3
{
    font-family: Georgia, serif;
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 24px;
}
h2
{
    font-size: clamp(32px, 4vw, 52px);
}
h3
{
    font-size: 26px;
}
p
{
    color: var(--muted);
}
.eyebrow
{
    font: 10px/1.5 Consolas, monospace;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.red
{
    color: var(--red);
    display: block;
    margin-bottom: 22px;
}
.red::before
{
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: var(--red);
    margin-right: 12px;
    vertical-align: middle;
}
.hero
{
    height: calc(100vh - 66px);
    min-height: 660px;
    padding: 28px 5% 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 22px;
    background: var(--surface);
}
.hero-top
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
h1
{
    font-size: 16px;
    font-style: italic;
    margin: 0;
}
.artwork
{
    display: block;
    border: 0;
    padding: 0;
    background: none;
    width: 100%;
    min-height: 0;
}
.artwork svg
{
    display: block;
    width: 100%;
    height: 100%;
}
#hero-art
{
    max-width: 860px;
    margin: auto;
    height: 100%;
    box-shadow: 0 8px 18px #2b221321;
}
.caption
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 0;
    border-top: 1px solid var(--line);
}
.caption h2
{
    font-size: 23px;
    font-style: italic;
    margin: 0;
}
.caption p
{
    margin: 6px 0 0;
    font: 10px Consolas, monospace;
}
.arrows, #dots
{
    display: flex;
    align-items: center;
    gap: 10px;
}
.arrows button
{
    background: transparent;
    border: 1px solid #c8c0b3;
    width: 32px;
    height: 32px;
}
#counter
{
    font: 11px Consolas, monospace;
    margin-right: 14px;
}
#dots button
{
    border: 0;
    padding: 0;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: #ccc5b8;
}
#dots button[aria-pressed=true]
{
    background: var(--ink);
}
.section-heading
{
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 32px;
}
.section-heading h2
{
    margin: 0;
}
.chips
{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.chips button
{
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 7px 15px;
    font-size: 12px;
}
.chips button[aria-pressed=true]
{
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.gallery
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 16px;
}
.painting
{
    background: transparent;
    text-align: left;
    border: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.painting svg
{
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: filter .3s;
}
.painting:hover svg
{
    filter: brightness(1.09);
}
.painting strong
{
    display: block;
    font: italic 20px Georgia, serif;
    margin: 12px 0 6px;
}
.painting small
{
    color: var(--muted);
    font: 10px Consolas, monospace;
}
.outline
{
    border: 1px solid var(--line);
    padding: 12px 22px;
    background: transparent;
}
#load
{
    display: block;
    margin: 40px auto 0;
}
.surface
{
    background: var(--surface);
}
.series-row
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 45px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}
.series-row h3
{
    font-style: italic;
    margin-bottom: 8px;
}
.series-row p
{
    max-width: 300px;
}
.series-row button
{
    background: none;
    border: 0;
    padding: 0;
    border-bottom: 1px solid;
}
.thumbnails
{
    display: flex;
    overflow-x: auto;
    gap: 12px;
    align-items: center;
}
.thumbnails button
{
    flex: 0 0 150px;
    border: 0;
    height: 200px;
}
.thumbnails svg
{
    width: 100%;
    height: 100%;
}
.feature
{
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 65px;
    background: #191914;
    color: var(--paper);
}
.feature p
{
    color: #b7b2a7;
}
dl
{
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
}
dt
{
    color: #ada89d;
    font: 10px/2 Consolas, monospace;
    text-transform: uppercase;
}
dd
{
    margin: 0;
    font-size: 12px;
}
.solid
{
    border: 0;
    padding: 14px 22px;
    background: var(--ink);
    color: white;
}
.feature .solid
{
    background: var(--red);
}
.exhibition
{
    display: grid;
    grid-template-columns: 60px 1.8fr 1fr 70px 50px;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    font-size: 12px;
}
.exhibition strong
{
    font: italic 18px Georgia, serif;
}
.exhibition span:last-child
{
    color: var(--red);
}
.about, .contact
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
}
.studio-art
{
    height: 480px;
    position: relative;
    background: linear-gradient(0deg, #a39784 0 22%, #d2cabc 22%);
    overflow: hidden;
}
.window
{
    position: absolute;
    background: repeating-linear-gradient(90deg, transparent 0 31%, #827b6a 31% 33%), linear-gradient(#c2cacc, #f8f2de);
    width: 56%;
    height: 65%;
    left: 8%;
    top: 0;
    border: 12px solid #827b6a;
}
.canvas
{
    position: absolute;
    width: 53%;
    height: 58%;
    top: 30%;
    right: 7%;
    transform: rotate(-6deg);
    background: linear-gradient(120deg, #c2b497 40%, #7d5842 40% 55%, #c28a49 55% 70%, #e0d9c6 70%);
    border: 8px solid #ece1cc;
    box-shadow: 18px 10px 20px #0003;
}
.studio-art span
{
    position: absolute;
    bottom: 20px;
    left: 20px;
    font: 10px/1.8 Consolas, monospace;
}
blockquote
{
    border-top: 1px solid #c9c1b4;
    margin: 35px 0 10px;
    padding-top: 25px;
    font: italic 25px/1.4 Georgia, serif;
}
.representative
{
    background: var(--surface);
    padding: 22px;
    margin: 15px 0;
}
.representative h3
{
    font-size: 20px;
    margin: 0 0 7px;
}
.representative a
{
    display: block;
    font-size: 12px;
}
.small, #form-status
{
    font-size: 12px;
}
label
{
    display: block;
    font-size: 12px;
    margin: 12px 0;
}
input, select, textarea
{
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 12px;
    border-radius: 0;
    color: var(--ink);
}
input:focus, textarea:focus, select:focus
{
    outline: 1px solid var(--red);
}
form .solid
{
    width: 100%;
}
footer
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: var(--ink);
    color: #c4beb0;
    padding: 40px 5%;
    font-size: 11px;
}
dialog
{
    max-width: 720px;
    width: 90%;
    border: 0;
    padding: 30px;
    background: var(--paper);
}
dialog::backdrop
{
    background: #11100df0;
}
#lightbox
{
    background: #191914;
    color: var(--paper);
    text-align: center;
    max-width: 1100px;
}
#lightbox-art svg
{
    height: 65vh;
    width: 100%;
}
#lightbox h2
{
    font-size: 24px;
    margin: 12px 0;
}
dialog button
{
    background: transparent;
    color: inherit;
    border: 1px solid #81796b;
    padding: 8px 15px;
}
#close
{
    display: block;
    margin-left: auto;
}
@media (max-width: 900px)
{
    .section-heading
    {
        align-items: start;
        flex-direction: column;
    }
    .feature
    {
        gap: 30px;
    }
    .exhibition
    {
        grid-template-columns: 50px 1fr 50px;
    }
    .exhibition .venue, .exhibition .city
    {
        display: none;
    }
}
@media (max-width: 767px)
{
    body
    {
        margin: 0;
    }
    .spine
    {
        display: none;
    }
    header
    {
        padding: 0 20px;
    }
    #menu
    {
        display: block;
        border: 0;
        background: none;
        font-size: 12px;
    }
    nav
    {
        display: none;
        position: absolute;
        top: 66px;
        inset-inline: 0;
        background: var(--ink);
        color: white;
        padding: 30px;
    }
    nav.open
    {
        display: flex;
        flex-direction: column;
    }
    .contact-link
    {
        display: none;
    }
    section
    {
        padding: 55px 22px;
    }
    .hero
    {
        height: auto;
        min-height: 0;
        padding: 22px 20px 0;
        gap: 24px;
    }
    .hero-top .eyebrow:last-child
    {
        display: none;
    }
    h1
    {
        font-size: 14px;
    }
    #hero-art
    {
        height: 450px;
    }
    .caption
    {
        flex-wrap: wrap;
        gap: 20px;
    }
    .caption > div:first-child
    {
        width: 100%;
    }
    .gallery, .about, .contact, .feature, .series-row
    {
        grid-template-columns: 1fr;
    }
    .gallery
    {
        gap: 30px;
    }
    .about, .contact
    {
        gap: 40px;
    }
    .feature .artwork
    {
        height: 430px;
    }
    .studio-art
    {
        height: 400px;
    }
    footer
    {
        flex-direction: column;
        text-align: center;
    }
    .exhibition
    {
        gap: 10px;
    }
    .exhibition strong
    {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
}
