/* The exhibition navigation is shared. Page styling starts below the masthead. */
.public-pages {
    color-scheme: light;
    color: #292722;
    background: #f7f5ef;
    --editorial-rule: #bbb6aa;
    --editorial-muted: #57534a;
}
.public-editorial,.public-footer {width: min(100% - 2.75rem, 77rem); margin-inline: auto}
.public-editorial {min-height: 65vh; padding-block: clamp(3rem, 8vw, 8rem)}
.public-editorial :is(h1,h2) {font-family: var(--display); font-weight: 400; text-wrap: balance; line-height: 1.08; margin: 0 0 .55em; overflow-wrap: anywhere}
.public-editorial h1 {font-size: clamp(2.8rem, 7vw, 6.8rem)}
.public-editorial h2 {font-size: clamp(1.75rem, 4.4vw, 3.9rem)}
.public-editorial p {max-width: 62ch; line-height: 1.75}
.public-editorial a,.public-footer a {text-underline-offset: .22em}
.public-editorial :focus-visible,.public-footer :focus-visible {outline: 2px solid #403d36; outline-offset: 4px}
.public-footer {border-top: 1px solid var(--editorial-rule); padding-block: 1.3rem 2.1rem; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .85rem 2rem; color: var(--editorial-muted)}
.public-footer nav {display: flex; gap: 1.25rem; font-size: .85rem}
.editorial-split {display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(2rem,7vw,7rem); align-items: start}
.editorial-split > header p {max-width: 40ch}
.editorial-form {display: grid; gap: 1rem; min-width: 0; position: relative}
.editorial-form label {display: grid; gap: .35rem; min-width: 0; font-weight: 600}
.editorial-form :is(input,textarea) {min-width: 0; width: 100%; padding: .67rem .8rem; background: #fffdf8; color: inherit; border: 1px solid #898378; border-radius: 0; font-weight: 400}
.editorial-form [name=answer] {max-width: 8rem}
.editorial-form button {justify-self: start; border: 1px solid #292722; background: #292722; color: #fffdf8; padding: .75rem 1.25rem}
.editorial-form button:hover {background: #4a453b}
.form-note,.legal-date {font-size: .9rem; color: var(--editorial-muted); margin: 0}
.form-feedback {margin: 0; border-inline-start: 3px solid #51664d; padding: .6rem .85rem; background: #eceee6; scroll-margin-top: 1rem}
.form-feedback.form-error {border-color: #783f35; background: #f4e8e1}
.collect-intro {align-items: center}
.collect-photo {margin: 0}
.collect-photo img {display: block; width: 100%; aspect-ratio: 5/4; object-fit: cover}
.subscribe-row {display: flex; align-items: end; gap: .75rem; flex-wrap: wrap}
.subscribe-row label {flex: 1 1 15rem}
.legal-copy {max-width: 46rem; margin-inline: auto}
.legal-copy h1 {font-size: clamp(2.65rem,6vw,5.5rem)}
.legal-copy h2 {font-size: clamp(1.38rem,3vw,2rem); margin-top: 1.65em}
.legal-copy .editorial-form {max-width: 32rem}
.about-section {display: grid; align-items: center; margin-block: 0 clamp(4rem,13vw,12rem); gap: clamp(1.25rem,7vw,6rem)}
.about-section:last-of-type {margin-block-end: 0}
.about-section.has-photo {grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr)}
.about-section.about-hero {grid-template-columns: minmax(0,1fr)}
.about-hero.has-photo {grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr)}
.about-section:not(.has-photo) .about-copy {max-width: 48rem}
.about-space .about-copy {margin-inline: auto}
.about-section p {max-width: 49ch}
.about-behind .about-photo,.about-film .about-photo {grid-area: 1 / 1}
.about-behind.has-photo,.about-film.has-photo {grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr)}
.about-photo {margin: 0; overflow: hidden; position: relative; aspect-ratio: 4/3}
.about-hero .about-photo,.about-photography .about-photo {aspect-ratio: 3/4; max-height: 76vh}
.about-photo img {width: 100%; height: 100%; object-fit: cover; display: block}
.closing-signature {display: inline-block; margin-top: 1.3rem}
.closing-signature img {display: block; width: 11rem; height: auto}
@media(min-width: 760px) and (prefers-reduced-motion: no-preference) {
    .about-photo img {height: calc(100% + 36px); margin-top: -18px; transform: translateY(var(--photo-offset,0px))}
}
@media(max-width: 759px) {
    .editorial-split,.about-section.has-photo,.about-section.about-hero {grid-template-columns: minmax(0,1fr)}
    .about-behind .about-photo,.about-film .about-photo {grid-area: auto}
    .about-section .about-photo {max-height: none}
}
@media(prefers-reduced-motion: reduce) {
    html:has(.public-pages) {scroll-behavior: auto}
}


/* Editorial layouts for the three exhibition companion pages. */
:is(.public-about,.public-contact,.public-collect) {
    --editorial-paper: #f5f3f0;
    --editorial-inset: clamp(1.375rem, 6vw, 7.5rem);
    background: var(--editorial-paper);
}
:is(.public-contact,.public-collect) {display: flex; flex-direction: column; min-height: 100dvh}
:is(.public-about,.public-contact,.public-collect) .public-footer {
    width: calc(100% - 2 * var(--editorial-inset));
    max-width: 100rem;
    padding-block: 1rem 1.25rem;
}
:is(.public-contact,.public-collect) .public-editorial {
    width: 100%;
    max-width: 112rem;
    min-height: auto;
    flex: 1;
    align-content: center;
    padding: clamp(1.5rem, 3.2vw, 3.6rem) var(--editorial-inset);
}
.public-editorial .editorial-kicker {
    margin: 0 0 .85rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.45;
    text-transform: uppercase;
}
.public-about .public-editorial {width: 100%; max-width: none; padding-block: 0 2rem}
.public-about .about-section {
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    gap: clamp(1.75rem,5vw,5.75rem);
    margin: 0 0 clamp(.65rem,1.4vw,1.6rem);
}
.public-about .about-copy {padding-block: clamp(1.75rem,3.65vw,4.4rem)}
.public-about .about-copy p:not(.editorial-kicker) {max-width: 50ch; margin: 0 0 .8em; line-height: 1.65}
.public-about .about-copy p:last-child {margin-bottom: 0}
.public-about .about-copy h2 {font-size: clamp(1.9rem,3.5vw,4rem)}
.public-about .about-photo {aspect-ratio: auto; height: clamp(22rem,32vw,36rem); max-height: none}
.public-about .about-photography .about-photo {height: clamp(24rem,34vw,38rem)}
.public-about .about-behind,.public-about .about-film {grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr)}
.public-about :is(.about-photography,.about-art) .about-copy,
.public-about .about-section:not(.has-photo) .about-copy {padding-inline-start: var(--editorial-inset)}
.public-about :is(.about-behind,.about-film) .about-copy,
.public-about .about-section:not(.has-photo) .about-copy {padding-inline-end: var(--editorial-inset)}
.public-about .about-section:not(.has-photo,.about-space) {display: block}
.public-about .about-art:not(.has-photo) {
    border-block: 1px solid var(--editorial-rule);
    margin-inline: var(--editorial-inset);
}
.public-about .about-art:not(.has-photo) .about-copy {padding-inline: 0}
.public-about .about-space .about-copy {margin-inline: 0}
.public-about .about-space .closing-mark {padding-inline: var(--editorial-inset); border-inline-start: 1px solid var(--editorial-rule); justify-self: stretch; display: grid; justify-content: center}
.public-about .about-space.has-photo .closing-mark {grid-row: 2; grid-column: 1 / -1; border: 0; margin-bottom: 1.5rem}
.public-about .closing-signature {margin: 0}
.public-about .closing-signature img {width: clamp(11rem,18vw,17rem)}
.public-about .about-hero.has-photo {
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: 0;
    min-height: clamp(29rem,42vw,41rem);
}
.public-about .about-hero .about-copy {position: relative; z-index: 1; padding-inline: var(--editorial-inset) 0}
.public-about .about-hero h1 {
    font-size: clamp(2.6rem,5.2vw,6.35rem);
    max-width: 12ch;
    text-transform: uppercase;
}
.public-about .about-hero p:not(.editorial-kicker) {max-width: 33ch; font-size: clamp(1rem,1.35vw,1.25rem)}
.public-about .about-hero .about-photo {
    position: absolute;
    inset: 0 0 0 38%;
    height: 100%;
    mask-image: linear-gradient(to right,transparent,#000 36%);
}
.public-about .about-photography .about-photo {mask-image: linear-gradient(to right,transparent,#000 14%)}
.public-contact .contact-layout,.public-collect .collect-intro {position: relative; isolation: isolate; align-items: center; gap: clamp(2.5rem,6.5vw,8rem)}
.public-contact .contact-layout {grid-template-columns: minmax(0,1fr) minmax(0,.9fr)}
.public-contact .contact-intro {position: relative; isolation: isolate; align-self: stretch; align-content: center; min-height: 24rem}
.public-contact .contact-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -1rem 0 -18%;
    background: url("/assets/editorial/contact-shadows.webp") center / cover;
    mask-image: radial-gradient(ellipse at 58% 48%,#000 15%,transparent 74%);
    opacity: .62;
}
.public-contact .contact-intro h1 {font-size: clamp(2.7rem,5.2vw,5.1rem); max-width: 11ch}
.public-contact .contact-intro p:not(.editorial-kicker) {max-width: 39ch}
.public-contact .editorial-form {gap: .7rem}
.public-contact .editorial-form label {gap: .24rem; font-size: .87rem}
.public-contact .editorial-form :is(input,textarea,select) {
    width: 100%;
    min-width: 0;
    color: inherit;
    background: #fbfaf7;
    border: 1px solid #a29b90;
    border-radius: 0;
    padding: .49rem .7rem;
    font-weight: 400;
    font-size: .95rem;
}
.public-contact .editorial-form :is(input,select) {min-height: 2.65rem}
.public-contact .editorial-form textarea {min-height: 6.1rem; resize: vertical}
.public-contact .editorial-form [name=answer] {max-width: 7rem}
.public-contact .editorial-form button {width: 100%; min-height: 2.85rem}
.public-contact .editorial-form .form-note {line-height: 1.5}
.public-collect .collect-intro {grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); min-height: clamp(30rem,43vw,40rem)}
.public-collect .collect-copy {position: relative; z-index: 1}
.public-collect .collect-copy h1 {
    font-size: clamp(2.65rem,5.2vw,5.7rem);
    text-transform: uppercase;
    margin-bottom: .17em;
}
.public-collect .collect-status {
    margin: 0 0 1.4rem;
    font-size: .85rem;
    letter-spacing: .19em;
    font-weight: 600;
    text-transform: uppercase;
}
.public-collect .collect-copy p {max-width: 51ch; line-height: 1.57}
.public-collect .collect-copy .form-note {font-size: .8rem; max-width: 56ch}
.public-collect .editorial-form {gap: .62rem; max-width: 36rem}
.public-collect .subscribe-row label {gap: .28rem; font-size: .87rem}
.public-collect .subscribe-row :is(input,button) {min-height: 2.8rem}
.public-collect .subscribe-row input {padding-block: .59rem}
.public-collect .subscribe-row button {padding-block: .59rem}
.public-collect .collect-photo {
    position: absolute;
    inset: 0 calc(-1 * var(--editorial-inset)) 0 43%;
    mask-image: linear-gradient(to right,transparent,#000 24%);
}
.public-collect .collect-photo img {width: 100%; height: 100%; aspect-ratio: auto; object-position: center}
@media(min-width: 760px) and (max-height: 840px) {
    .public-collect .public-editorial {padding-block: 1.5rem}
    .public-collect .collect-copy h1 {font-size: clamp(2.65rem,4.5vw,4.6rem)}
    .public-collect .collect-intro {min-height: 0}
}
@media(max-width: 980px) {
    .public-about .about-section {gap: 1.75rem}
    .public-contact .contact-layout,.public-collect .collect-intro {gap: 2rem}
    .public-collect .collect-photo {inset-inline-start: 47%; mask-image: linear-gradient(to right,transparent,#000 30%)}
    .public-collect .subscribe-row label {flex-basis: 11rem}
}
@media(max-width: 759px) {
    .public-about .public-editorial {padding-block-end: 1.25rem}
    .public-about .about-section,.public-about .about-hero.has-photo,.public-contact .contact-layout,.public-collect .collect-intro {
        grid-template-columns: minmax(0,1fr);
        min-height: auto;
        gap: 0;
    }
    .public-about .about-section {margin-bottom: 0}
    .public-about .about-section .about-copy {padding: 1.75rem var(--editorial-inset)}
    .public-about .about-art:not(.has-photo) .about-copy {padding-inline: 0}
    .public-about .about-section .about-photo {
        position: static;
        inset: auto;
        height: auto;
        aspect-ratio: 4/3;
        mask-image: none;
    }
    .public-about .about-hero .about-photo,.public-about .about-photography .about-photo {aspect-ratio: 4/5}
    .public-about .about-space .closing-mark {padding: .25rem var(--editorial-inset) 1.2rem; border: 0; justify-content: start}
    .public-contact .contact-intro {min-height: auto; margin-bottom: 1.25rem; padding: 1.35rem 0}
    .public-contact .contact-intro::before {inset: 0 -1rem; opacity: .55}
    .public-collect .collect-photo {position: relative; inset: auto; margin: 1.4rem 0 0; aspect-ratio: 5/4; mask-image: none}
}
@media(max-width: 420px) {
    .public-collect .subscribe-row button {width: 100%}
}

/* Floating editorial pages share the exhibition masthead and its responsive controls. */
.public-pages {
    --editorial-paper: #f5f3f0;
    background: var(--editorial-paper);
}
.masthead.masthead--floating {
    position: fixed;
    inset: 0 0 auto;
    background: transparent;
    pointer-events: none;
}
.masthead--floating :is(.wordmark,.menu-panel) {pointer-events: auto}
.masthead--floating .menu-panel {background: #292722f2}
.public-editorial :is(h1,h2) {
    text-transform: uppercase;
    text-wrap: balance;
    line-height: 1.08;
}
.public-about .about-hero.has-photo {min-height: 100dvh}
.public-about .about-hero h1 {max-width: 12ch; margin-bottom: .48em; font-size: clamp(3.3rem,6.4vw,7.25rem)}
.public-about .about-hero .about-copy {padding-block-start: clamp(5.5rem,8vw,8rem)}
.public-about .about-hero .about-photo {inset-inline-start: 34%; mask-image: linear-gradient(to right,transparent,#000 33%)}
.public-about .about-section:not(.about-hero) .about-copy h2 {max-width: 14ch; font-size: clamp(2.35rem,4vw,4.45rem)}
.public-about :is(.about-behind,.about-film) {grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr)}
.public-about .about-film .about-photo {height: clamp(19rem,28vw,31rem)}
.public-about .about-photography .about-copy {max-width: 45rem; justify-self: end}
.public-about .about-art:not(.has-photo) .about-copy {padding-block: clamp(1.5rem,3vw,3.25rem)}
.public-about .about-space .closing-mark {align-self: center}
.public-contact .public-editorial {padding-block: clamp(5.2rem,7.8vh,6.9rem) 1.6rem}
.public-contact .contact-layout {position: static}
.public-contact .contact-intro {position: static; isolation: auto}
.public-contact .contact-intro::before {
    inset: 0 auto 0 0;
    width: 52%;
    height: min(100dvh,54rem);
    background-position: 30% center;
    mask-image: linear-gradient(to right, #000 22%, transparent), linear-gradient(to bottom,#000 57%,transparent);
    mask-composite: intersect;
    opacity: .56;
}
.public-contact .contact-intro h1 {font-size: clamp(3.45rem,6.2vw,6.65rem); margin-bottom: .36em; max-width: 10ch}
.public-contact .editorial-form {gap: .63rem}
.public-contact .editorial-form label {font-weight: 600; font-size: .84rem}
.public-contact .editorial-form :is(input,select,textarea) {border-color: #8f8b83; background: #fbfaf8}
.public-collect .public-editorial {
    max-width: none;
    position: relative;
    isolation: isolate;
    min-height: min(48rem, 100svh);
    padding-block: clamp(5rem,9vh,7rem) 2.25rem;
}
.public-collect .collect-intro {position: static; min-height: 0}
.public-collect .collect-copy h1 {font-size: clamp(3.65rem,6.4vw,6.8rem); max-width: 12ch}
.public-collect .collect-photo,
.public-collect .public-editorial:has(.collect-intro:not(.has-feature))::before {
    position: absolute;
    inset: 0 0 0 38%;
    z-index: -1;
    mask-image: linear-gradient(to right,transparent,#000 36%);
}
.public-collect .public-editorial:has(.collect-intro:not(.has-feature))::before {
    content: "";
    background: linear-gradient(140deg,#f4f1ec 5%,#e9e5df 61%,#ded9d1);
}
.public-privacy .public-editorial,.public-terms .public-editorial,.public-mailing-list .public-editorial {
    padding-block-start: clamp(6rem,10vw,9rem);
}
@media(min-width: 760px) and (prefers-reduced-motion: no-preference) {
    .public-about .about-photo img {height: calc(100% + 124px); margin-top: -62px}
    .public-about .about-hero .about-photo img {margin-top: 0; height: calc(100% + 120px)}
    .public-about .about-section {overflow: clip}
}
@media(max-width: 1099px),(max-aspect-ratio: 6/5),(min-aspect-ratio: 14/5) {
    .masthead--floating .menu-panel {background: transparent}
    .masthead--floating .menu-toggle {color: #292722; background: #f5f3f0eb; border-color: #5e5a52}
}
@media(max-width: 759px) {
    .public-about .about-hero.has-photo {
        align-items: end;
        min-height: 100dvh;
        position: relative;
    }
    .public-about .about-hero.has-photo .about-photo {
        position: absolute;
        inset: 0;
        height: 100%;
        aspect-ratio: auto;
        mask-image: linear-gradient(to bottom,#000 48%,rgb(0 0 0 / .09) 90%);
    }
    .public-about .about-hero.has-photo .about-copy {padding: 13rem var(--editorial-inset) 1.6rem}
    .public-about .about-hero:not(.has-photo) .about-copy {padding-top: 5.25rem}
    .public-about .about-hero h1 {font-size: clamp(3.15rem,11vw,4.8rem)}
    .public-contact .public-editorial {padding-block-start: 4.85rem}
    .public-contact .contact-intro::before {width: 100%; height: 23rem; opacity: .45}
    .public-collect .public-editorial {padding-block-start: 5.1rem}
    .public-collect .collect-intro.has-feature .collect-copy {padding-block-start: 13.5rem}
    .public-collect .collect-intro .collect-photo {
        position: absolute;
        inset: 0 0 auto;
        height: 19rem;
        margin: 0;
        aspect-ratio: auto;
        mask-image: linear-gradient(to bottom,#000 53%,transparent);
    }
    .public-collect .public-editorial:has(.collect-intro:not(.has-feature))::before {inset-inline-start: 5%}
    .public-about :is(.about-behind,.about-film) {grid-template-columns: minmax(0,1fr)}
    .public-about .about-film .about-photo {height: auto}
}

@media(min-width: 760px) {
    .public-about :is(.about-photography,.about-art).has-photo {
        position: relative;
        isolation: isolate;
    }
    .public-about :is(.about-photography,.about-art).has-photo .about-photo {
        position: absolute;
        inset: 0 0 0 32%;
        height: auto;
        z-index: -1;
        mask-image: linear-gradient(to right,transparent,rgb(0 0 0 / .12) 28%,rgb(0 0 0 / .62) 49%,#000 72%);
    }
    .public-about .about-photography.has-photo {min-height: clamp(24rem,34vw,38rem)}
    .public-about .about-art.has-photo {min-height: clamp(24rem,33vw,36rem)}
    .public-about .about-art.has-photo .about-photo {
        inset-inline-start: 38%;
        mask-image: linear-gradient(to right,transparent,rgb(0 0 0 / .34) 21%,#000 53%);
    }
}
.public-about .about-photography .about-copy {text-align: right}
.public-about .about-photography .about-copy :is(h2,p:not(.editorial-kicker)) {margin-inline-start: auto}

.public-contact .contact-form {gap: .65rem}
.contact-form [hidden] {display: none!important}
.contact-form .contact-pair {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem 1rem; align-items:start}
.contact-form .contact-location {display:grid; min-width:0; gap:.24rem}
.contact-form .contact-country-heading {display:flex; align-items:baseline; justify-content:space-between; gap:.4rem}
.public-contact .contact-form #country-filter-toggle {
    background:none; color:inherit; border:0; padding:0; width:auto; min-height:0;
    font-size:.8rem; text-decoration:underline; text-underline-offset:.16em;
}
.contact-form .contact-required-note {font-size:.78rem; line-height:1.4; margin:0; color:var(--editorial-muted)}
.contact-form .contact-region-update {font-size:.78rem}
.contact-form .contact-error {color:#842e21; font-size:.78rem; font-weight:500; line-height:1.4}
.public-contact .contact-form [aria-invalid=true] {border-color:#842e21; box-shadow:inset 0 0 0 1px #842e21}
.contact-visually-hidden {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.public-contact .contact-form textarea {min-height:5.25rem; height:5.25rem}
@media(max-width: 560px) {
    .contact-form .contact-pair {grid-template-columns:minmax(0,1fr)}
}

.public-contact .contact-form .form-note {font-size:.84rem}
.public-collect .collect-photo {mask-image:linear-gradient(to right,transparent,rgb(0 0 0 / .42) 11%,rgb(0 0 0 / .9) 21%,#000 27%)}
.public-collect .collect-photo img {object-position:40% center}
@media(max-width: 1020px),(max-aspect-ratio: 6/5) {
    .public-collect .collect-intro.has-feature {grid-template-columns:minmax(0,1fr)}
    .public-collect .collect-intro.has-feature .collect-copy {padding-block-start:max(10rem,calc(min(65vw,34rem) - 4.25rem))}
    .public-collect .collect-intro .collect-photo {
        inset:0 0 auto;
        height:min(65vw,34rem);
        margin:0;
        aspect-ratio:auto;
        mask-image:linear-gradient(to bottom,#000 74%,transparent);
    }
    .public-collect .collect-photo img {object-position:center}
}
