/* Times New Roman typography and white gallery surfaces. */
:root{--gallery-font:'Times New Roman',Times,serif}
html body,html body.museum-page,html body .admin{background:#fff!important;color:#000!important;font-family:var(--gallery-font)!important;font-weight:500;--background:#fff;--foreground:#000;--card:#fff;--card-foreground:#000;--popover:#fff;--popover-foreground:#000;--primary:#000;--primary-foreground:#fff;--secondary:#fff;--secondary-foreground:#000;--paper:#fff;--ink:#000;--muted:#000;--accent:#000;--action:#000;--action-hover:#222;--action-tint:#fff;--studio-action:#000;--studio-action-hover:#222;--studio-on-action:#fff;--studio-secondary:#fff;--studio-secondary-ink:#000;--studio-border:#000;--studio-danger:#000}
html body.museum-page :is(#pageContent,header,footer) :is(h1,h2,h3,h4,p,a,label,span,strong,em,small,summary,legend,dt,dd,button,input,textarea,select,figcaption,blockquote,time),html body :is(.admin,.studio-dialog,[data-slot=dialog-content],[data-slot=alert-dialog-content],[data-slot=select-content]) :is(h1,h2,h3,h4,p,a,label,span,strong,em,small,summary,legend,dt,dd,button,input,textarea,select,figcaption,blockquote,code,pre){font-family:var(--gallery-font)!important;color:#000!important}
html body.museum-page :is(#pageContent,header,footer) :is(h1,h2,h3,h4),html body .admin :is(h1,h2,h3,h4){font-weight:500!important;font-style:normal!important;letter-spacing:-.035em}
html body.museum-page :is(#pageContent,header,footer) :is(.eyebrow,figcaption,.small,.favorite-toggle),html body .admin .hint{font-style:normal!important}
html body.museum-page :is(header,footer,main,.museum-hero,.museum-section,.museum-collections,.about-header,.about-body,.contact-page,.press,.press-detail,.detail-page,.artwork-copy,.inquiry-form,.studio-inquiry .inquiry-form,.product-selection,.image-wrap,.media-stage,.artwork-view,.exhibition-image,.category-card>div,.cart-page,.shipping-info,.cart-totals,.press-card,.pdf-cover,.studio-rail .image-wrap){background:#fff!important}
html body.museum-page :is(#pageContent,header,footer) :is(input,textarea,select){background:#fff!important;border-color:#c8c8c8!important;color:#000!important;accent-color:#000}
html body.museum-page :is(#pageContent,header,footer) :is(.solid,.museum-link,button[type=submit]){background:#000!important;border-color:#000!important;color:#fff!important;font-style:normal!important}
html body.museum-page :is(#pageContent,header,footer) :is(.solid,.museum-link,button[type=submit]) :is(span,small){color:#fff!important}
html body.museum-page :is(#pageContent,header,footer) :is(.outline,.edition-option,.frame-option,.studio-rail>button,.media-controls button){background:#fff!important;border-color:#000!important;color:#000!important}
html body.museum-page :is(#pageContent,header,footer) :is(.edition-option[aria-pressed=true],.frame-option[aria-pressed=true]){background:#fff!important;border:2px solid #000!important;box-shadow:inset 0 0 0 1px #0001}
html body.museum-page>header nav a{background:#fff!important;color:#000!important;border-color:transparent!important;font-size:14px;font-weight:500}html body.museum-page>header nav a.current,html body.museum-page>header nav a:hover{background:#fff!important;border-color:transparent!important;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
html body.museum-page>header :is(#language,#menu,.market-label select){background:#fff!important;color:#000!important;border-color:#000!important}
html body.museum-page :is(#pageContent,header,footer) .favorite-toggle{background:transparent!important;border:0!important;color:#000!important;font-style:normal!important;font-size:15px}
html body.museum-page :is(#pageContent,header,footer) :is(a,button,input,select,textarea):focus-visible,html body .admin :is(button,a,input,textarea,select):focus-visible{outline-color:#000!important}
/* Keep the configured entrance photographs, using a white reading panel for black text. */
html body.museum-page .studio-opening{background:#fff!important;color:#000!important}html body.museum-page .studio-opening::after{background:none!important}html body.museum-page #pageContent .studio-opening-link{background:#fffffff2!important;color:#000!important;border:0;padding:clamp(20px,3vw,40px);max-width:min(900px,100%)}html body.museum-page #pageContent .studio-opening-link strong{font-family:var(--gallery-font)!important;font-weight:500;font-size:clamp(38px,7.2vw,104px);line-height:1.05}html body.museum-page #pageContent .studio-opening-pause{background:#fff!important;color:#000!important;border:1px solid #000!important}
/* The same white/black system in every artist dashboard section and portal. */
html body .admin :is(.admin-head,.single-editor,.category-editor,.press-editor,.media-editor,.media-item,.artwork-media-section,.artwork-details-section,.commerce-editor,.variant-editor,.collection-status,.status-badge,.orders-list,.order-editor,.empty-panel,.admin-tabs,.save-feedback,.pending-media){background:#fff!important;color:#000!important;border-color:#d0d0d0!important;box-shadow:none!important}
html body .admin :is(.admin-tabs [role=tab],.sort-handle,.sortable-work>button,.reply-link){background:#fff!important;color:#000!important;border-color:#c8c8c8!important;font-family:var(--gallery-font)!important}
html body .admin .admin-tabs [role=tab][data-state=active],html body .admin .sortable-work>button.selected{background:#fff!important;color:#000!important;border-color:#000!important;box-shadow:inset 0 -2px #000!important}
html body .admin :is(input,textarea,select,[data-slot=select-trigger]),html body :is(.studio-dialog,[data-slot=dialog-content],[data-slot=alert-dialog-content],[data-slot=select-content]){background:#fff!important;color:#000!important;border-color:#c8c8c8!important;font-family:var(--gallery-font)!important;accent-color:#000}
html body :is(.admin,.studio-dialog) button[data-slot=button][data-variant]{background:#fff!important;color:#000!important;border-color:#000!important;font-family:var(--gallery-font)!important}
html body :is(.admin,.studio-dialog) button[data-slot=button][data-variant=default],html body .admin button[data-slot=button].choose-media{background:#000!important;color:#fff!important;border-color:#000!important}
html body :is(.admin,.studio-dialog) button[data-slot=button][data-variant=default] :is(span,small),html body .admin button[data-slot=button].choose-media :is(span,small){color:#fff!important}
html body :is(.admin,.studio-dialog) button[data-slot=button][data-variant=destructive]{background:#fff!important;color:#000!important;border-color:#000!important;border-style:dashed!important}
html body .admin .collection-status{border-left:3px solid #000!important}html body .admin .status-badge{border:1px solid #bdbdbd!important}html body .admin .field-error,html body .studio-dialog .field-error{color:#000!important;font-weight:600}html body .admin .save-feedback.error{border:2px solid #000!important}html body .admin .invalid-field :is(input,textarea){border:2px solid #000!important}
/* Functional frame-finish swatches and artwork pixels retain their actual colors. */

/* A full-width, uncropped artist banner replaces the former split introduction. */
html body.museum-page .home-banner{position:relative;isolation:isolate;display:grid;align-items:center;justify-items:center;width:100%;aspect-ratio:2/1;min-height:0;padding:0;background:#fff;overflow:hidden}
html body.museum-page .home-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .8s ease;background:#fff}
html body.museum-page .home-banner img.is-current{opacity:1}
html body.museum-page #pageContent .home-banner h1{position:relative;z-index:1;font-size:clamp(30px,5.5vw,88px);font-weight:400!important;line-height:1.08;letter-spacing:-.02em;text-align:center;max-width:90%;padding:10px 20px;margin:0;background:transparent;color:#000!important}
html body.museum-page .home-banner.no-image{aspect-ratio:auto;padding:clamp(35px,6vw,90px) 4%}
html body.museum-page .home-banner .studio-opening-pause{position:absolute;z-index:2;bottom:16px;right:16px;top:auto;background:#fff;color:#000;border:1px solid #000;padding:10px 16px;min-height:44px}
html body.museum-page .museum-artist{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:4%;align-items:center}
html body.museum-page .museum-artist-image{max-width:none;width:100%}
html body.museum-page .museum-artist-image>img,html body.museum-page .museum-artist-image .portrait-frame{max-width:100%;width:100%;height:auto;max-height:650px;object-fit:contain}
html body.museum-page .museum-artist-copy h2{font-size:clamp(26px,3vw,42px)}
html body.museum-page .museum-artist-copy>p:not(.eyebrow){font-size:14px;line-height:1.65;max-width:400px}
html body.museum-page .museum-press-note{font-size:12px}
@media(max-width:600px){html body.museum-page .museum-artist{grid-template-columns:1fr;gap:24px}html body.museum-page .museum-artist-image{max-width:none}html body.museum-page #pageContent .home-banner h1{font-size:clamp(25px,6.5vw,38px);padding:6px 10px}html body.museum-page .home-banner .studio-opening-pause{bottom:8px;right:8px;padding:6px 10px}}
@media(prefers-reduced-motion:reduce){html body.museum-page .home-banner img{transition:none}}

/* Quiet section labels; press links sit below their heading. */
html body.museum-page .museum-press-note{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html body.museum-page .museum-press-note>span{display:block;width:100%}
html body.museum-page .exhibition-label{grid-template-columns:minmax(0,1fr) auto}

/* Admin-only surfaces: separate the studio tools without changing the public gallery. */
html body .admin .admin-head{background:#e4d6c8!important;border:1px solid #bba48e!important;box-shadow:none!important}
html body .admin .admin-tabs{background:#eee5dc!important;border:1px solid #cbb8a5!important}
html body .admin .admin-tabs [role=tab]{background:transparent!important;border-color:transparent!important}
html body .admin .admin-tabs [role=tab][data-state=active]{background:#d9c3ae!important;border-color:#a2866b!important;box-shadow:inset 0 -2px #594533!important}
html body .admin :is(.single-editor,.category-editor,.press-editor,.empty-panel,.orders-list,.order-editor){background:#f2eae2!important;border-color:#cbb8a5!important}
html body .admin .artwork-media-section{background:#eadbcc!important;border-color:#bba48e!important}
html body .admin .artwork-details-section{background:#f1e5d9!important;border-color:#c0aa94!important}
html body .admin .commerce-editor{background:#eee7df!important;border-color:#c2b29f!important}
html body .admin .variant-editor{background:#faf6f1!important;border-color:#cfbeab!important}
html body .admin .frame-admin{background:#e7ddd1!important;border:1px solid #c5b29c;padding:14px;border-radius:8px}
html body .admin :is(.media-editor,.media-item,.pending-media){background:#faf7f2!important;border-color:#c7b39e!important}
html body .admin .collection-status{background:#e2d2c0!important;border-color:#a58a6e!important}
html body .admin :is(.status-badge.saved,.status-badge.draft){background:#fffaf4!important;border-color:#b79c7f!important}
html body .admin .inbox-message{background:#fffaf5!important;border:1px solid #cbb8a5!important;padding:18px;border-radius:8px}
html body .admin .sortable-work>button{background:#f5ede4!important;border-color:#d2bfa9!important}
html body .admin .sortable-work>button.selected{background:#dec9b3!important;border-color:#927354!important;box-shadow:inset 3px 0 #594533!important}
html body .admin .save-feedback{background:#eee1d2!important;border-color:#bba48e!important}
html body .admin :is(input,textarea,select,[data-slot=select-trigger]){background:#fff!important;border-color:#b6a18c!important}
html body:has(.admin) :is(.studio-dialog,[data-slot=dialog-content],[data-slot=alert-dialog-content]){background:#f3e9de!important;border-color:#bba48e!important}

/* Collection covers scale up to the available space, including small source images. */
html body.museum-page .exhibition-grid{gap:56px clamp(20px,3vw,48px)}
html body.museum-page .exhibition-image{height:clamp(400px,48vw,720px);--image-height:clamp(400px,48vw,720px);padding:0;display:flex;align-items:center;justify-content:center;min-width:0}
html body.museum-page .exhibition-image>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;display:block}
html body.museum-page .exhibition-image>.crop-frame{width:100%;max-width:min(100%,calc(var(--image-height) * var(--ratio)));max-height:100%;margin-inline:auto}
@media(max-width:600px){html body.museum-page .exhibition-grid{grid-template-columns:minmax(0,1fr);gap:40px}html body.museum-page .exhibition-image{height:clamp(320px,110vw,580px);--image-height:clamp(320px,110vw,580px)}}

/* Each press feature has its own media navigation, independent of the other cards. */
html body.museum-page .press-carousel{min-width:0;margin-bottom:28px}
html body.museum-page .press-slide{height:clamp(340px,36vw,560px);--image-height:clamp(340px,36vw,560px);display:flex;align-items:center;justify-content:center;background:#fff}
html body.museum-page .press-slide>a:not(.pdf-cover){display:flex;width:100%;height:100%;align-items:center;justify-content:center}
html body.museum-page .press-slide img{width:100%;height:100%;object-fit:contain;object-position:center}
html body.museum-page .press-slide .crop-frame{width:100%;max-width:min(100%,calc(var(--image-height) * var(--ratio)));max-height:100%}
html body.museum-page .press-slide .crop-frame img{height:auto;max-width:none}
html body.museum-page .press-slide .pdf-cover{margin:0;width:100%;height:100%;font-size:22px}
html body.museum-page .press-slide-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding-top:12px}
html body.museum-page #pageContent .press-slide-controls button{width:44px;height:44px;display:grid;place-items:center;padding:0;background:#fff;color:#000;border:1px solid #aaa;font-size:24px;cursor:pointer}
html body.museum-page #pageContent .press-slide-controls button:hover{border-color:#000;background:#f5f5f5}
html body.museum-page .press-card-copy{display:block}
html body.museum-page .press-card-copy h3{font-size:28px;margin-bottom:16px}
html body.museum-page .press-card-copy>p:not(.eyebrow),html body.museum-page .press-card-copy time{font-size:14px}
@media(max-width:600px){html body.museum-page .press-cards{grid-template-columns:minmax(0,1fr)}html body.museum-page .press-slide{height:clamp(340px,115vw,520px);--image-height:clamp(340px,115vw,520px)}}

/* Collection catalogues read vertically; the homepage selection rail stays independent. */
html body.museum-page #collection>.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:48px 28px;overflow:visible;scroll-snap-type:none;padding:0}
html body.museum-page #collection>.gallery .art-card{min-width:0}
html body.museum-page #collection>.gallery .image-wrap{height:clamp(360px,43vw,640px);--image-height:clamp(360px,43vw,640px);padding:0;display:flex;align-items:center;justify-content:center}
html body.museum-page #collection>.gallery .image-wrap>img{width:100%;height:100%;object-fit:contain;object-position:center}
html body.museum-page #collection>.gallery .image-wrap>.crop-frame{width:100%;max-width:min(100%,calc(var(--image-height) * var(--ratio)));margin-inline:auto}
html body.museum-page #collection .filters{flex-wrap:wrap;gap:8px 24px}
html body.museum-page #collection .filters button{font-size:18px;line-height:1.35;min-height:46px;padding:10px 0}
html body.museum-page #collection .filters>span{font-size:14px}
html body.museum-page .exhibition-header{grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:clamp(20px,3vw,42px)}
html body.museum-page .exhibition-intro{padding-bottom:0}
html body.museum-page .exhibition-portrait{--image-height:clamp(420px,48vw,680px);width:100%;align-items:flex-start}
html body.museum-page .exhibition-portrait>img{width:100%;height:var(--image-height);max-height:none;object-fit:contain;object-position:left center}
html body.museum-page .exhibition-portrait>.crop-frame{width:100%;max-width:min(100%,calc(var(--image-height) * var(--ratio)))}
html body.museum-page .exhibition-portrait figcaption{width:100%}
@media(max-width:600px){html body.museum-page .exhibition-header{grid-template-columns:minmax(0,1fr);gap:24px}html body.museum-page .exhibition-portrait{--image-height:clamp(340px,110vw,520px);align-items:center}html body.museum-page .exhibition-portrait>img{object-position:center}html body.museum-page #collection>.gallery{grid-template-columns:minmax(0,1fr);gap:36px}html body.museum-page #collection>.gallery .image-wrap{height:clamp(340px,110vw,540px);--image-height:clamp(340px,110vw,540px)}html body.museum-page #collection .filters button{font-size:17px}}

/* Center the collection cover on the page rather than in a right-hand column. */
html body.museum-page .exhibition-header{grid-template-columns:minmax(0,1fr);justify-items:center;gap:24px}
html body.museum-page .exhibition-intro{width:100%;max-width:820px;text-align:center}
html body.museum-page .exhibition-intro .museum-back{margin-bottom:24px}
html body.museum-page .exhibition-intro .exhibition-lead{margin-inline:auto;max-width:560px}
html body.museum-page .exhibition-portrait{width:100%;max-width:820px;margin-inline:auto;align-items:center;justify-self:center}
html body.museum-page .exhibition-portrait>img{object-position:center}
html body.museum-page .exhibition-portrait>.crop-frame{margin-inline:auto}

/* Admin collection ordering previews, scoped away from public gallery. */
html body .admin .collection-artwork-order{margin-block:24px;padding:18px;background:#e7d8c8;border:1px solid #bfa78d;border-radius:8px}
html body .admin .collection-artwork-list{display:grid;gap:14px}
html body .admin .collection-artwork-tile{display:grid;grid-template-columns:40px 100px minmax(0,1fr);align-items:center;gap:14px;padding:14px;background:#fffaf5;border:1px solid #c9b49d;border-radius:6px}
html body .admin .collection-artwork-tile>img{width:100%;height:110px;object-fit:contain}
html body .admin .collection-artwork-tile .sort-handle{touch-action:none;cursor:grab;min-height:44px}
html body .admin .collection-artwork-tile .check-field{margin-block:10px}
@media(max-width:600px){html body .admin .collection-artwork-tile{grid-template-columns:32px 64px minmax(0,1fr);gap:8px;padding:10px}html body .admin .collection-artwork-order{padding:10px}}

/* Give the artwork priority on the mobile homepage. */
@media (max-width: 680px) {
  html body.museum-page .home-banner.has-images {
    aspect-ratio: auto;
    height: clamp(320px, 60svh, 560px);
  }

  html body.museum-page .home-banner img {
    object-fit: cover;
    object-position: center;
  }

  html body.museum-page #pageContent .home-banner.has-images h1 {
    font-size: clamp(21px, 5.6vw, 30px);
    padding: 6px 10px;
  }

  .museum-exhibitions,
  .museum-selected {
    padding-block: 36px;
  }

  .museum-page :is(.museum-exhibitions, .museum-selected) .museum-section-heading {
    margin-bottom: 22px;
  }

  .museum-page :is(.museum-exhibitions, .museum-selected) .museum-section-heading > .eyebrow {
    margin-bottom: 10px;
  }

  .museum-page :is(.museum-exhibitions, .museum-selected) .museum-section-heading > div {
    display: block;
  }

  .museum-page :is(.museum-exhibitions, .museum-selected) .museum-section-heading h2 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .museum-page :is(.museum-exhibitions, .museum-selected) .museum-section-heading .museum-link {
    margin-top: 12px;
  }

  html body.museum-page .museum-exhibitions .exhibition-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  html body.museum-page .museum-exhibitions .exhibition-image,
  html body.museum-page .museum-selected .art-card .image-wrap {
    height: auto;
    padding: 0;
  }

  html body.museum-page .museum-exhibitions .exhibition-image > img,
  html body.museum-page .museum-selected .art-card .image-wrap > img {
    width: 100%;
    height: auto;
  }

  html body.museum-page .museum-exhibitions .exhibition-image > .crop-frame,
  html body.museum-page .museum-selected .art-card .image-wrap > .crop-frame {
    max-width: 100%;
  }

  .museum-page .museum-selected .art-card h3,
  .museum-page .museum-exhibitions .exhibition-label h3 {
    font-size: clamp(20px, 5vw, 24px);
  }
}

/* Mobile homepage arrows stay beside the visible artwork, above its metadata. */
@media(max-width:680px){
 html body.museum-page .museum-selected .studio-rail{padding-bottom:0}
 html body.museum-page #pageContent .museum-selected .studio-rail>button{top:var(--rail-image-midpoint,180px);bottom:auto;transform:translateY(-50%);z-index:3;width:44px;height:44px;display:grid;place-items:center;padding:0;background:#fff!important;color:#000!important;border:1px solid #000!important;border-radius:50%;box-shadow:0 1px 5px #0002}
 html body.museum-page .museum-selected .studio-rail-prev{left:6px}
 html body.museum-page .museum-selected .studio-rail-next{right:6px}
}
