:root {
    --bg: #151514;
    --ink: #eee9df;
    --muted: #b9b1a4;
    --line: #49463f;
    --accent: #d3c2a5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Georgia,"Times New Roman",serif;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.skip {
    position: absolute;
    top: -100px;
    left: 10px;
    background: white;
    color: black;
    padding: 10px;
    z-index: 20;
}

.skip:focus {
    top: 10px;
}

.site-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
    background: var(--bg);
}

.wordmark,.site-header nav,.menu-button,.eyebrow,.enter,.text-link,.inquiry-link,footer,.artwork-figure figcaption {
    font-family: Arial,Helvetica,sans-serif;
    letter-spacing: .14em;
}

.wordmark {
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.site-header nav {
    display: flex;
    gap: 27px;
    font-size: 10px;
}

.site-header nav a {
    text-decoration: none;
    color: var(--muted);
}

.site-header nav a:hover,.text-link:hover {
    color: white;
}

.menu-button {
    display: none;
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 11px;
    cursor: pointer;
}

.hero {
    min-height: calc(100svh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(ellipse at center,#302e29 0%,#151514 65%);
}

.eyebrow {
    font-size: 11px;
    color: var(--accent);
    line-height: 1.7;
}

.hero h1 {
    font-weight: normal;
    font-size: clamp(54px,9vw,142px);
    letter-spacing: -.055em;
    line-height: .99;
    margin: 30px 0;
}

.hero h1 em,.question-section h2 em {
    font-weight: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(17px,2.2vw,26px);
    color: var(--muted);
}

.enter {
    margin-top: 70px;
    text-decoration: none;
    font-size: 10px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 15px;
}

.enter span {
    margin-left: 16px;
}

.artwork-section {
    padding: 110px 5vw 130px;
}

.section-heading {
    max-width: 1250px;
    margin: 0 auto 45px;
}

.section-heading h2,.prose h2,.inquiry-section h2 {
    font-size: clamp(40px,5vw,76px);
    font-weight: normal;
    line-height: 1.08;
    margin: 15px 0;
}

.artwork-figure {
    max-width: 1250px;
    margin: 0 auto;
}

.artwork-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-figure figcaption {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 10px;
}

.artwork-figure figcaption strong {
    color: var(--ink);
}

.prose-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10vw;
    padding: 140px 10vw;
    border-top: 1px solid var(--line);
}

.prose {
    max-width: 690px;
}

.prose p,.question-section p,.inquiry-section>p:not(.eyebrow) {
    font-size: clamp(18px,2vw,24px);
    line-height: 1.7;
    color: #c9c2b7;
}

.prose p {
    margin: 28px 0;
}

.question-section {
    text-align: center;
    padding: 150px 20px;
    background: #26241f;
}

.question-section h2 {
    font-size: clamp(70px,12vw,160px);
    font-weight: normal;
    letter-spacing: -.06em;
    line-height: .95;
    margin: 35px 0 50px;
}

.question-section p {
    max-width: 660px;
    margin: 22px auto;
}

.text-link,.inquiry-link {
    display: inline-block;
    font-size: 11px;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding: 15px 0;
    margin-top: 30px;
}

.inquiry-section {
    text-align: center;
    padding: 140px 20px 120px;
    border-top: 1px solid var(--line);
}

.inquiry-section>p:not(.eyebrow) {
    max-width: 630px;
    margin: 25px auto;
}

.inquiry-section .small-note {
    font-family: Arial,sans-serif;
    font-size: 12px !important;
    color: var(--muted) !important;
    margin-top: 45px !important;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 30px 5vw;
    border-top: 1px solid var(--line);
    font-size: 10px;
    color: var(--muted);
}

footer a {
    text-decoration: none;
}

@media (max-width:800px) {
    .site-header {
        height: 65px;
    }

    .menu-button {
        display: block;
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        padding: 25px 5vw;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 24px;
    }

    .site-header nav.open {
        display: flex;
    }

    .hero {
        min-height: calc(90svh - 65px);
    }

    .artwork-section {
        padding: 70px 5vw 90px;
    }

    .prose-section {
        display: block;
        padding: 85px 7vw;
    }

    .prose-section>.eyebrow {
        margin-bottom: 35px;
    }

    .question-section {
        padding: 100px 7vw;
    }

    .inquiry-section {
        padding: 100px 7vw;
    }

    footer {
        flex-direction: column;
    }

    .artwork-figure figcaption {
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

.contact-form {
    max-width: 620px;
    margin: 45px auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form label {
    font: 11px Arial,sans-serif;
    letter-spacing: .15em;
    color: var(--accent);
    margin-top: 14px;
}

.contact-form input,.contact-form textarea,.contact-form select {
    width: 100%;
    background: #24231f;
    border: 1px solid #696357;
    color: var(--ink);
    padding: 16px;
    font: 17px Georgia,serif;
    border-radius: 0;
}

.contact-form select option {
    background: #24231f;
}

.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.send-button {
    margin-top: 20px;
    background: var(--accent);
    color: #151514;
    border: 0;
    padding: 18px;
    font: 700 11px Arial,sans-serif;
    letter-spacing: .15em;
    cursor: pointer;
}

.send-button:disabled {
    opacity: .6;
    cursor: wait;
}

.form-status {
    font: 14px/1.5 Arial,sans-serif !important;
    text-align: center;
}

.trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Exhibition V2 additions */

.artwork-open {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
    position: relative;
}

.artwork-open img {
    display: block;
    width: 100%;
    height: auto;
}

.zoom-label {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(20,20,19,.88);
    padding: 12px 16px;
    font: 10px Arial,sans-serif;
    letter-spacing: .15em;
}

.gesture-section {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 610px;
    background: #23211e;
}

.gesture-visual {
    min-height: 520px;
    background-image: url("images/artwork.jpg");
    background-repeat: no-repeat;
    background-size: 260% auto;
    background-position: 51% 53%;
    filter: grayscale(1);
}

.gesture-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8vw;
    max-width: 650px;
}

.gesture-copy h2 {
    font-weight: normal;
    font-size: clamp(48px,6vw,94px);
    line-height: 1.04;
    margin: 20px 0;
}

.gesture-copy .statement {
    font-size: clamp(30px,3vw,48px);
    font-style: italic;
    color: var(--accent);
    margin: 5px 0 25px;
}

.gesture-copy p:not(.eyebrow):not(.statement) {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
}

.detail-band {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.detail-image {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom,rgba(0,0,0,.05),rgba(0,0,0,.85)),url("images/artwork.jpg");
    background-position: center,80% 17%;
    background-size: cover,180% auto;
    filter: grayscale(1);
}

.detail-band p {
    position: relative;
    text-align: center;
    font-size: clamp(24px,3.4vw,45px);
    line-height: 1.4;
    padding: 50px 18px;
}

.detail-band em {
    color: var(--accent);
}

.question-section h3 {
    font-size: clamp(27px,3.5vw,52px);
    font-style: italic;
    color: var(--accent);
    font-weight: normal;
}

.artist-note {
    font-size: 14px !important;
    color: var(--accent) !important;
    font-style: italic;
}

#artwork-dialog {
    max-width: 96vw;
    max-height: 96vh;
    padding: 40px 15px 15px;
    background: #171715;
    border: 1px solid #726858;
    color: white;
}

#artwork-dialog::backdrop {
    background: rgba(0,0,0,.92);
}

#artwork-dialog img {
    display: block;
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

#close-artwork {
    position: absolute;
    right: 12px;
    top: 10px;
    color: white;
    border: 0;
    background: transparent;
    font: 12px Arial,sans-serif;
    letter-spacing: .1em;
    cursor: pointer;
}

.cf-turnstile {
    margin-top: 20px;
}

@media (max-width:750px) {
    .gesture-section {
        grid-template-columns: 1fr;
    }

    .gesture-visual {
        min-height: 330px;
        background-size: 240% auto;
        background-position: 51% 51%;
    }

    .gesture-copy {
        padding: 55px 7vw;
    }

    .detail-band {
        min-height: 320px;
    }

    .detail-image {
        background-size: cover,260% auto;
        background-position: center,80% 15%;
    }

    .zoom-label {
        font-size: 9px;
        bottom: 8px;
        right: 8px;
        padding: 9px;
    }
}

/* Artist statement / viewer question */

.viewer-quote {
    max-width: 830px;
    margin: 85px auto 0;
    padding: 45px 35px;
    border-top: 1px solid #716858;
    border-bottom: 1px solid #716858;
}

.viewer-quote p {
    font-size: clamp(24px,3vw,39px);
    line-height: 1.5;
    color: #f0e8dc;
    font-style: italic;
}

.viewer-quote cite {
    display: block;
    margin-top: 28px;
    font: 11px Arial,sans-serif;
    letter-spacing: .17em;
    color: var(--accent);
    font-style: normal;
}

.statement-intro {
    font-size: clamp(25px,3vw,37px) !important;
    line-height: 1.4 !important;
    color: var(--accent) !important;
    font-style: italic;
}

.artist-section .prose p {
    margin-bottom: 24px;
}

.artist-section .prose .signature {
    font-style: italic;
    color: var(--accent);
    font-size: 25px;
    margin-top: 35px;
}

.artist-section .historical-note {
    font-size: 13px !important;
    line-height: 1.65 !important;
    color: var(--muted) !important;
    border-top: 1px solid #655d51;
    padding-top: 20px;
    margin-top: 35px;
}

@media (max-width:750px) {
    .viewer-quote {
        margin: 55px 0 0;
        padding: 35px 5vw;
    }
}

/* Photographic details sourced from the new original, no stretching */

.gesture-visual {
    background-image: url("images/flower-detail.jpg?v=3");
    background-size: cover;
    background-position: center center;
    filter: none;
}

.detail-image {
    background-image: linear-gradient(to bottom,rgba(0,0,0,.06),rgba(0,0,0,.78)),url("images/encounter-detail.jpg?v=3");
    background-size: cover,cover;
    background-position: center,center;
    filter: none;
}

@media (max-width:750px) {
    .gesture-visual {
        background-size: cover;
        background-position: center;
    }

    .detail-image {
        background-size: cover,cover;
        background-position: center,center;
    }
}

/* Final SEO and artwork details update */

.artwork-meta {
    max-width: 1250px;
    margin: 70px auto 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.artwork-meta dl {
    max-width: 700px;
    margin: 18px 0 50px;
}

.artwork-meta dl>div {
    display: grid;
    grid-template-columns: minmax(145px,1fr) 2fr;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #37352f;
}

.artwork-meta dt {
    font: 11px Arial,sans-serif;
    letter-spacing: .1em;
    color: var(--accent);
}

.artwork-meta dd {
    margin: 0;
    font-size: 17px;
    color: var(--ink);
}

.framed-placeholder {
    max-width: 550px;
    text-align: center;
    background: #24221e;
    padding: 35px 30px 15px;
    margin: 0 auto;
}

.frame-outline {
    max-width: 350px;
    aspect-ratio: 33.25/28.25;
    margin: auto;
    border: 12px solid #100f0e;
    box-shadow: 0 0 0 2px #716a5e,0 12px 25px #0008;
    background: #ddd7ca;
    padding: 22px;
}

.mat-outline {
    height: 100%;
    border: 1px solid #b0a899;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #aaa69d;
    color: #514b44;
    font: 10px/1.8 Arial,sans-serif;
    letter-spacing: .12em;
}

.framed-placeholder p {
    font: 11px Arial,sans-serif;
    color: var(--muted);
    margin-top: 23px;
}

@media (max-width:750px) {
    .artwork-meta {
        margin-top: 45px;
    }

    .artwork-meta dl>div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .framed-placeholder {
        padding: 25px 18px 15px;
    }

    .frame-outline {
        padding: 15px;
    }
}

/* Retain fast mobile detail images */

@media (max-width:750px) {
    .gesture-visual {
        background-image: url("images/flower-detail-mobile.webp?v=5");
    }

    .detail-image {
        background-image: linear-gradient(to bottom,rgba(0,0,0,.06),rgba(0,0,0,.78)),url("images/encounter-detail-mobile.webp?v=5");
    }
}

/* Latest high-resolution detail crops on desktop */

@media (min-width:751px) {
    .gesture-visual {
        background-image: url("images/flower-detail.jpg?v=5");
    }

    .detail-image {
        background-image: linear-gradient(to bottom,rgba(0,0,0,.06),rgba(0,0,0,.78)),url("images/encounter-detail.jpg?v=5");
    }
}

/* Actual framed artwork photograph */

.framed-photograph {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.framed-photograph img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.framed-photograph figcaption {
    font: 11px/1.6 Arial,sans-serif;
    letter-spacing: .04em;
    color: var(--muted);
    margin-top: 16px;
}

/* Museum editorial typography refinement — October 2026
   Restrained secondary headings and body type; hero remains expressive. */
@media (min-width: 751px) {
    .section-heading h2,
    .prose h2,
    .inquiry-section h2 {
        font-size: clamp(35px, 4.15vw, 62px);
    }

    .question-section h2 {
        font-size: clamp(62px, 10.1vw, 136px);
    }

    .prose p,
    .question-section p,
    .inquiry-section > p:not(.eyebrow) {
        font-size: clamp(17px, 1.7vw, 21px);
        line-height: 1.75;
    }
}

@media (max-width: 750px) {
    .section-heading h2,
    .prose h2,
    .inquiry-section h2 {
        font-size: clamp(33px, 8.1vw, 47px);
    }

    .question-section h2 {
        font-size: clamp(57px, 13vw, 90px);
    }

    .prose p,
    .question-section p,
    .inquiry-section > p:not(.eyebrow) {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* Refined museum editorial scale — October 27, 2026 */
@media (min-width: 751px) {
    .prose-section {
        grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1.65fr);
        gap: clamp(45px, 6vw, 100px);
        padding: 110px clamp(32px, 8vw, 150px);
    }
    .prose { max-width: 650px; }
    .prose h2 { font-size: clamp(42px, 3.65vw, 56px); line-height: 1.13; }
    .prose p { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.65; margin: 23px 0; }
    .section-heading h2, .inquiry-section h2 { font-size: clamp(40px, 3.8vw, 58px); }
}
@media (max-width: 750px) {
    .prose h2 { font-size: clamp(32px, 7.5vw, 44px); }
    .prose p { font-size: 18px; line-height: 1.65; }
}

/* Mobile exhibition rhythm — October 29, 2026.
   Reduce excess vertical whitespace without altering desktop typography. */
@media (max-width: 750px) {
    .artwork-section { padding-top: 48px; padding-bottom: 58px; }
    .section-heading { margin-bottom: 28px; }
    .prose-section { padding-top: 48px; padding-bottom: 52px; }
    .prose-section > .eyebrow { margin-bottom: 22px; }
    .question-section { padding-top: 60px; padding-bottom: 60px; }
    .inquiry-section { padding-top: 60px; padding-bottom: 65px; }
    .gesture-copy { padding-top: 38px; padding-bottom: 42px; }
    .viewer-quote { margin-top: 32px; padding-top: 26px; padding-bottom: 26px; }
    .artist-section .historical-note { margin-top: 25px; }
    .prose p { margin-top: 18px; margin-bottom: 18px; }
}

/* Mobile homepage balance — October 29, 2026.
   Compact the hero without changing its typography or desktop design. */
@media (max-width: 750px) {
    .hero {
        min-height: 0;
        height: auto;
        padding: clamp(76px, 12svh, 110px) 20px 56px;
    }

    .hero .enter {
        margin-top: 48px;
    }

    .artwork-section {
        padding-top: 38px;
    }
}

/* iPhone cinematic opening — October 29, 2026.
   Give the title its own screen, matching the iPad's sense of anticipation.
   Tablet and desktop styling remain unchanged. */
@media (max-width: 750px) {
    .hero {
        min-height: calc(100svh - 65px);
        height: auto;
        padding: 64px 20px;
        justify-content: center;
    }

    .hero .enter {
        margin-top: 48px;
    }
}
