:root {
    --header-height: 84px;
    --page-padding: clamp(20px, 2.8vw, 48px);
    --brand-color: #8469b1;
    font-family: Arial, Helvetica, sans-serif;
    color: #171717;
    background: #fff;
    -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-color); outline-offset: 5px; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: var(--page-padding); z-index: 100; padding: 12px 18px; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px var(--page-padding);
    position: relative;
    z-index: 20;
    background: #fff;
}
.site-logo { font-size: 20px; line-height: 1.2; letter-spacing: -.025em; color: var(--brand-color); white-space: nowrap; }
.site-nav-list { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 1.5vw, 26px); margin: 0; padding: 0; list-style: none; font-size: 14px; }
.site-nav a { display: block; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.menu-toggle { align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; color: #171717; background: transparent; cursor: pointer; }
.menu-toggle-icon { position: relative; width: 18px; height: 12px; border-top: 1px solid; border-bottom: 1px solid; }
.menu-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1px solid; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { height: 18px; border: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before,
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { content: ""; position: absolute; top: 8px; left: 0; right: 0; border-top: 1px solid; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: rotate(-45deg); }

.home-slider { position: relative; display: grid; min-width: 0; background: #fff; touch-action: pan-y pinch-zoom; }
.home-slide { position: relative; grid-area: 1 / 1; min-width: 0; align-self: start; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility .6s; background: #fff; }
.home-slide-media { display: grid; place-items: center; min-width: 0; background: #fff; }
.home-slide-image { display: block; width: 100%; max-width: 100%; min-width: 0; height: auto; max-height: 70vh; max-height: 70svh; object-fit: contain; object-position: center; }
.home-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.home-slide.is-image-missing .home-slide-media { min-height: 160px; background: #f6f5f3; }
.home-slide-link { position: absolute; inset: 0; z-index: 2; }
.home-slide-link:focus-visible { outline: 3px solid var(--brand-color); outline-offset: -5px; }
.home-slide-copy { position: relative; z-index: 3; padding: 32px var(--page-padding) 36px; color: #171717; pointer-events: none; }
.home-slide-kicker { margin: 0 0 18px; font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.home-slide-copy h2 { margin: 0 0 14px; max-width: 1100px; font-size: clamp(30px, 4.2vw, 66px); line-height: 1.06; font-weight: 400; letter-spacing: -.035em; overflow-wrap: anywhere; }
.home-slide-artists { display: block; margin-top: 8px; font-size: .53em; line-height: 1.2; letter-spacing: -.01em; }
.home-slide-date { margin: 0; font-size: 14px; line-height: 1.5; }
.home-controls { position: relative; grid-area: 2 / 1; justify-self: end; z-index: 10; display: flex; align-items: center; gap: 3px; margin: 0 var(--page-padding) 28px; padding: 2px; color: #fff; background: rgba(20,20,20,.65); }
.home-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 22px; }
.home-controls button:hover { background: rgba(255,255,255,.16); }
.home-controls button:focus-visible { outline-color: #fff; outline-offset: -4px; }
.home-counter { min-width: 45px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.home-counter-divider { margin: 0 7px; opacity: .65; }
.home-pause { margin-left: 3px; }
.home-empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; min-height: 360px; padding: 64px var(--page-padding); background: #f6f5f3; }
.home-empty-label { margin: 0; font-size: 12px; color: #626262; }
.home-empty h2 { margin: 0; font-size: clamp(36px, 6vw, 80px); font-weight: 400; letter-spacing: -.04em; }
.text-link { font-size: 14px; padding: 10px 0; border-bottom: 1px solid; }
.text-link span { margin-left: 16px; }

.site-footer { padding: 52px var(--page-padding) 22px; background: #fff; font-size: 13px; line-height: 1.65; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; }
.footer-heading { margin: 0 0 12px; font-size: 14px; }
.site-footer address { font-style: normal; color: #666; }
.footer-contact p { margin: 0 0 18px; }
.footer-label { display: block; color: #666; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-gallery, .footer-contact { min-width: 0; overflow-wrap: anywhere; }
.footer-opening { margin: 18px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 34px; margin-top: 30px; border-top: 1px solid #eee; color: #666; font-size: 11px; }

@media (max-width: 1300px) {
    :root { --header-height: 76px; }
    .site-header { min-height: 76px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
    .site-nav { width: 100%; }
    .site-nav-list { justify-content: flex-start; flex-wrap: wrap; gap: 8px 22px; }
    .js-enabled .site-header { flex-wrap: nowrap; gap: 16px; }
    .js-enabled .menu-toggle { display: flex; }
    .js-enabled .site-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 12px var(--page-padding) 24px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; box-shadow: 0 8px 12px rgba(0,0,0,.04); max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
    .js-enabled .site-nav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; font-size: 17px; }
    .js-enabled .site-nav a { padding: 12px 0; }
    .home-controls { justify-self: start; }
    .home-slide-copy h2 { font-size: clamp(32px, 5.5vw, 58px); }
}

@media (max-width: 600px) {
    :root { --header-height: 76px; --page-padding: 20px; }
    .site-logo { font-size: 18px; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
    .menu-toggle { font-size: 13px; gap: 8px; flex-shrink: 0; }
    .home-slide-copy { padding-top: 24px; padding-bottom: 28px; }
    .home-slide-copy h2 { font-size: clamp(30px, 8.2vw, 46px); line-height: 1.08; }
    .home-slide-artists { font-size: .58em; }
    .home-slide-kicker { font-size: 10px; margin-bottom: 14px; }
    .home-slide-date { font-size: 13px; }
    .site-footer { padding-top: 34px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-links { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }
    .footer-bottom { margin-top: 28px; padding-top: 22px; }
}

@media (max-height: 500px) and (min-width: 601px) {
    .home-slide-copy h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

.content-page { max-width: 1600px; margin: 0 auto; padding: 56px var(--page-padding) 80px; }
.page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 62px; }
.content-page h1 { margin: 0; font-size: clamp(36px, 4.2vw, 62px); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; overflow-wrap: anywhere; }
.section-navigation { display: flex; gap: 28px; font-size: 14px; }
.section-navigation a { padding: 12px 0; }
.section-navigation a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.programme-section { margin-bottom: 64px; scroll-margin-top: 24px; }
.programme-heading { display: flex; align-items: baseline; gap: 22px; margin-bottom: 24px; border-top: 1px solid #ddd; padding-top: 22px; }
.programme-heading h2, .installation-section h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 400; letter-spacing: -.02em; }
.programme-heading p { margin: 0; color: #6b6b6b; font-size: 12px; }
.exhibition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; list-style: none; margin: 0; padding: 0; }
#current .exhibition-grid, #upcoming .exhibition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exhibition-card-link { display: block; height: 100%; }
.exhibition-card-image { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; background: #f6f5f3; }
.exhibition-card-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.image-unavailable { color: #6b6b6b; font-size: 13px; text-align: center; padding: 24px; }
.exhibition-card-copy { padding-top: 18px; }
.exhibition-card h3, .news-card h2 { margin: 0 0 7px; font-size: 21px; line-height: 1.24; font-weight: 400; letter-spacing: -.025em; overflow-wrap: anywhere; }
.exhibition-card-link:hover h3, .news-card-link:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.exhibition-card-artists { margin: 0 0 10px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.exhibition-card-date { margin: 0; font-size: 13px; line-height: 1.5; color: #6b6b6b; }
.section-empty { margin: 0; padding: 14px 0; color: #6b6b6b; font-size: 15px; line-height: 1.6; }
.archive-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; font-size: 14px; }
.archive-pagination a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid #171717; }
.archive-pagination span { color: #6b6b6b; }
.back-link { display: inline-block; padding: 8px 0; margin-bottom: 40px; font-size: 13px; }
.exhibition-heading { max-width: 1100px; margin-bottom: 44px; }
.exhibition-artists { margin: 12px 0 24px; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.28; letter-spacing: -.02em; overflow-wrap: anywhere; }
.exhibition-date, .exhibition-location { font-size: 14px; line-height: 1.55; margin: 6px 0; }
.exhibition-location { color: #6b6b6b; }
.exhibition-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 5vw, 80px); }
.exhibition-hero { margin: 0; min-width: 0; }
.exhibition-hero-image { display: grid; place-items: center; background: #f6f5f3; min-height: 240px; }
.exhibition-hero-image img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.exhibition-caption { margin-top: 14px; font-size: 12px; color: #6b6b6b; }
.rich-text { overflow-wrap: anywhere; line-height: 1.7; }
.rich-text p, .rich-text div, .rich-text ul, .rich-text ol, .rich-text blockquote { margin: 0 0 1.1em; }
.rich-text a { text-decoration: underline; text-underline-offset: 3px; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin: 1.5em 0 .6em; font-weight: 400; line-height: 1.3; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.exhibition-description { max-width: 680px; font-size: 15px; }
.exhibition-overview > * { min-width: 0; }
.exhibition-detail > .programme-section { margin-top: 48px; }
.installation-section { margin-top: 72px; padding-top: 24px; border-top: 1px solid #ddd; }
.installation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.installation-link { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; background: #f6f5f3; }
.installation-link[href] { cursor: zoom-in; }
.installation-link img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.page-kicker { margin: 0 0 22px; color: #6b6b6b; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.preview-page { min-height: 65vh; }
.preview-page h1 { margin-bottom: 32px; }
.preview-copy { max-width: 640px; font-size: 17px; line-height: 1.65; color: #626262; }
.preview-page .text-link { display: inline-block; margin-top: 20px; }
.image-viewer { width: min(1200px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 18px 22px; border: 0; background: #fff; color: #171717; }
.image-viewer::backdrop { background: rgba(0, 0, 0, .83); }
.image-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.image-viewer-toolbar h2 { font-size: 14px; font-weight: 400; margin: 0; }
.image-viewer button { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 26px; }
.image-viewer-stage { display: grid; place-items: center; min-height: 180px; margin: 12px 0; }
.image-viewer-image { display: block; max-width: 100%; max-height: calc(100dvh - 200px); object-fit: contain; }
.image-viewer-controls { display: flex; align-items: center; justify-content: center; gap: 24px; }
.image-viewer-count { margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.image-viewer-error { margin: 0; color: #6b6b6b; font-size: 14px; }

@media (max-width: 900px) {
    .exhibition-grid, .installation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .exhibition-overview { grid-template-columns: 1fr; gap: 32px; }
    .exhibition-hero-image img { max-height: 65vh; }
}
@media (max-width: 600px) {
    .content-page { padding-top: 32px; padding-bottom: 48px; }
    .page-heading { margin-bottom: 36px; gap: 12px; }
    .section-navigation { gap: 24px; }
    .exhibition-grid, #current .exhibition-grid, #upcoming .exhibition-grid, .installation-grid { grid-template-columns: 1fr; gap: 32px; }
    .programme-section { margin-bottom: 42px; }
    .programme-heading { padding-top: 18px; margin-bottom: 20px; }
    .exhibition-heading { margin-bottom: 28px; }
    .exhibition-detail > .programme-section { margin-top: 32px; }
    .back-link { margin-bottom: 26px; }
    .installation-section { margin-top: 44px; }
    .image-viewer { width: calc(100vw - 20px); padding: 10px 12px; max-height: calc(100dvh - 20px); }
    .image-viewer-image { max-height: calc(100dvh - 170px); }
}

.artists-directory.has-preview { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .9fr); align-items: start; gap: clamp(40px, 6vw, 90px); }
.artist-groups { display: grid; gap: 44px; }
.artist-group h2 { margin: 0 0 18px; color: #626262; font-size: 13px; font-weight: 400; }
.artist-name-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.artist-name-list a { display: block; min-height: 44px; padding: 7px 0; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.artist-name-list a:hover, .artist-name-list a:focus-visible { color: var(--brand-color); }
.artist-preview { position: sticky; top: 32px; }
.artist-preview-link { display: block; }
.artist-preview-frame { display: grid; place-items: center; min-height: 280px; background: #f6f5f3; }
.artist-preview img { display: block; width: 100%; max-height: calc(100svh - 180px); object-fit: contain; }
.artist-preview-name { margin: 15px 0 0; font-size: 14px; line-height: 1.5; }
.artist-heading { margin-bottom: 40px; }
.artist-navigation { margin-top: 20px; }
.artist-navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.artist-profile { max-width: 760px; }
.artist-profile.has-image { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: clamp(36px, 6vw, 90px); max-width: none; align-items: start; }
.artist-text { min-width: 0; max-width: 760px; font-size: 15px; }
.artist-text section + section { margin-top: 44px; padding-top: 24px; border-top: 1px solid #ddd; }
.artist-text section > h2 { margin: 0 0 22px; font-size: 19px; }
.artist-image { margin: 0; }
.artist-image img { display: block; width: 100%; max-height: 70svh; object-fit: contain; object-position: top; }
.rich-text table { border-collapse: collapse; width: 100%; margin: 0 0 1.1em; font-size: inherit; }
.rich-text td, .rich-text th { vertical-align: top; text-align: left; padding: 4px 14px 10px 0; overflow-wrap: anywhere; }
.rich-text td:first-child, .rich-text th:first-child { min-width: 64px; }
.rich-text td:last-child, .rich-text th:last-child { padding-right: 0; }
.rich-text caption { text-align: left; padding-bottom: 12px; }

.news-detail .exhibition-date { margin-top: 18px; }
.news-related-artist { margin-top: 64px; }
.news-artist-list { display: flex; flex-wrap: wrap; gap: 24px 48px; list-style: none; margin: 0; padding: 0; }
.news-artist-link { display: inline-flex; align-items: center; gap: 20px; max-width: 100%; min-height: 44px; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.news-artist-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.news-artist-image { display: grid; place-items: center; flex: 0 0 80px; width: 80px; height: 80px; background: #f6f5f3; }
.news-artist-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.news-artist-image .image-unavailable { padding: 6px; font-size: 10px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.podcast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 36px; align-items: start; }
.podcast-episode { min-width: 0; }
.podcast-content { padding-top: 22px; }
.podcast-audio { margin-bottom: 18px; }
.podcast-audio audio { display: block; width: 100%; }
.podcast-media-error { margin: 12px 0 0; font-size: 13px; color: #6b6b6b; }
.podcast-video-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 24px; font-size: 14px; }
.podcast-video-link:hover { border-color: currentColor; }
.podcast-description { font-size: 15px; }

.gallery-info > h1 { margin-bottom: 48px; }
.info-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.info-panels { display: grid; gap: 40px; min-width: 0; }
.info-panel { min-width: 0; font-size: 16px; }
.info-panel h2, .info-panel h3 { margin: 0 0 22px; font-size: 22px; }
.info-panel h4 { margin: 0 0 10px; font-size: 16px; }
.info-panel address { margin: 0 0 20px; font-style: normal; }
.info-about { min-width: 0; max-width: 740px; font-size: 17px; }
.info-about > h2 { margin: 0 0 22px; font-size: 22px; line-height: 1.3; font-weight: 400; }
.info-links { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #ddd; }
.info-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.info-impressum { max-width: 1200px; }

.publication-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; padding: 0; margin: 0 0 64px; list-style: none; }
.publication-card-link { display: block; }
.publication-cover { display: grid; place-items: center; min-width: 0; aspect-ratio: 3 / 4; background: #f6f5f3; }
.publication-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.publication-cover-fallback { padding: 24px; color: #626262; font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.publication-card h2 { margin: 18px 0 8px; font-size: 21px; line-height: 1.25; font-weight: 400; letter-spacing: -.025em; overflow-wrap: anywhere; }
.publication-card p { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.publication-card-link:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.publication-year { color: #626262; font-size: 13px; }
.publication-existing { margin: 64px 0 0; }
.publication-overview { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 90px); align-items: start; max-width: 1160px; }
.publication-description { min-width: 0; }
.publication-description h1 { margin-bottom: 24px; }
.publication-description .rich-text { margin-top: 32px; max-width: 700px; font-size: 15px; }
.publication-artist { font-size: 22px; line-height: 1.4; margin: 18px 0; }
.publication-artist a { text-decoration: underline; text-underline-offset: 4px; }
.publication-reader { display: flex; flex-direction: column; margin-top: 64px; padding: 20px; background: #f6f5f3; }
.publication-reader > h2 { margin: 0 0 18px; font-size: 20px; font-weight: 400; }
.publication-reader-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.publication-reader-toolbar button, .publication-reader-toolbar select, .publication-reader-toolbar input { min-height: 44px; padding: 8px 12px; border: 1px solid #d7d6d4; background: #fff; color: #171717; font: inherit; font-size: 13px; }
.publication-reader-toolbar button { cursor: pointer; }
.publication-reader-toolbar button:disabled { opacity: .4; cursor: default; }
.publication-reader-toolbar input { width: 68px; }
.publication-reader-toolbar label, .publication-reader-toolbar span, .publication-reader-toolbar output { font-size: 13px; }
.publication-reader-status { min-height: 20px; margin: 14px 0; font-size: 13px; color: #626262; }
.publication-reader-stage { height: min(72vh, 900px); height: min(72svh, 900px); min-height: 240px; overflow: auto; background: #e6e4e0; touch-action: pan-x pan-y pinch-zoom; }
.publication-reader-pages { display: flex; align-items: flex-start; justify-content: center; gap: 12px; width: max-content; min-width: 100%; padding: 16px; }
.publication-reader-sheet { flex: 0 0 auto; margin: 0; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.publication-reader-sheet canvas { display: block; }
.publication-reader-links { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 16px; font-size: 13px; }
.publication-reader-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.publication-reader:fullscreen, .publication-reader.is-expanded { margin: 0; padding: 20px; width: 100%; height: 100vh; height: 100svh; background: #f6f5f3; }
.publication-reader.is-expanded { position: fixed; inset: 0; z-index: 100; }
.publication-reader:fullscreen .publication-reader-stage, .publication-reader.is-expanded .publication-reader-stage { flex: 1; height: auto; min-height: 0; }
.publication-expanded { overflow: hidden; }

@media (max-width: 900px) {
    .publication-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .publication-grid { gap: 32px 18px; }
    .publication-card h2 { font-size: 18px; }
    .publication-card p { font-size: 13px; }
    .publication-overview { grid-template-columns: 1fr; gap: 32px; }
    .publication-overview > .publication-cover { width: min(100%, 360px); }
    .publication-reader { padding: 12px; margin-top: 44px; }
    .publication-reader:fullscreen, .publication-reader.is-expanded { padding: 12px; }
    .publication-reader-toolbar { gap: 6px; }
    .publication-reader-toolbar button, .publication-reader-toolbar select, .publication-reader-toolbar input { padding: 8px; font-size: 12px; }
}

.artwork-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; padding: 0; margin: 0 0 64px; list-style: none; }
.artwork-card a { display: block; }
.artwork-media { display: grid; place-items: center; min-width: 0; aspect-ratio: 1; background: #f6f5f3; }
.artwork-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.artwork-card { min-width: 0; overflow-wrap: anywhere; }
.artwork-card .artwork-media { position: relative; }
.artwork-card .artwork-media img { position: absolute; inset: 0; }
.artwork-media-fallback { padding: 24px; color: #626262; text-align: center; font-size: 14px; overflow-wrap: anywhere; }
.artist-works { margin-bottom: 64px; scroll-margin-top: 140px; }
.artist-works > h2 { margin: 0 0 24px; font-size: 18px; font-weight: 400; }
.artist-profile#about { scroll-margin-top: 140px; }
.artwork-card h3 { margin: 8px 0; font-size: 16px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.artwork-card p { margin: 6px 0; font-size: 13px; line-height: 1.5; }
.artwork-card .artwork-card-artist { margin-top: 18px; font-size: 18px; }
.artwork-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.artwork-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.artwork-detail-image { min-width: 0; }
.artwork-detail-image .artwork-media { aspect-ratio: auto; min-height: 180px; background: transparent; }
.artwork-detail-image .artwork-media img { height: auto; max-height: 72vh; max-height: 72svh; }
.artwork-open-image { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 13px; }
.artwork-caption { min-width: 0; }
.artwork-caption .artwork-artist { margin: 0 0 20px; font-size: 24px; line-height: 1.4; }
.artwork-artist a, .artwork-exhibitions a { text-decoration: underline; text-underline-offset: 4px; }
.artwork-caption h1 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; margin: 0 0 24px; font-weight: 400; letter-spacing: -.025em; overflow-wrap: anywhere; }
.artwork-caption p { font-size: 14px; line-height: 1.7; }
.artwork-caption .artwork-exhibitions { margin-top: 40px; }
.artwork-exhibitions h2 { font-size: 15px; font-weight: 400; margin: 0 0 18px; }
.artwork-exhibitions span { font-size: 12px; color: #626262; }
.artwork-pagination { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #eee; }
.artwork-pagination a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; font-size: 14px; }
@media (max-width: 900px) { .artwork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .artwork-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .artwork-detail-image .artwork-media img { max-height: 65vh; max-height: 65svh; }
    .artwork-grid { gap: 32px 18px; }
    .artwork-card .artwork-card-artist { font-size: 16px; }
    .artwork-card h3 { font-size: 14px; }
}

@media (max-width: 480px) {
    .artwork-grid { grid-template-columns: 1fr; }
}

.social-page { max-width: 760px; }
.social-heading { margin-bottom: 36px; }
.social-heading p { margin: 18px 0 0; color: #626262; font-size: 14px; line-height: 1.6; }
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; list-style: none; padding: 0; margin: 0; align-items: start; }
.social-card { min-width: 0; }
.social-card-wide { grid-column: 1 / -1; }
.social-card-content { display: block; min-width: 0; }
.social-card-media { display: grid; place-items: center; min-width: 0; background: #f6f5f3; }
.social-card-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.social-image-fallback { display: grid; place-items: center; min-height: 120px; padding: 16px; color: #626262; font-size: 12px; line-height: 1.5; text-align: center; }
.social-card-label { display: block; padding: 10px 2px 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
a.social-card-content:hover .social-card-label { text-decoration: underline; text-underline-offset: 4px; }
.footer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 600px) {
    .social-heading { margin-bottom: 28px; }
    .social-grid { column-gap: 5px; row-gap: 20px; }
    .social-card-label { font-size: 11px; }
    .social-image-fallback { min-height: 88px; padding: 8px; font-size: 10px; }
}
.info-legal-text { max-width: 940px; margin-top: 40px; font-size: 16px; }

@media (max-width: 900px) {
    .info-layout { grid-template-columns: 1fr; gap: 48px; }
    .info-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 600px) {
    .gallery-info > h1 { margin-bottom: 32px; }
    .info-panels { grid-template-columns: 1fr; }
    .info-about { font-size: 16px; }
    .info-links { margin-top: 40px; }
    .info-legal-text { margin-top: 32px; }
}

.press-introduction { max-width: 680px; font-size: 18px; line-height: 1.65; }
.press-access { max-width: 680px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #ddd; }
.press-access h2 { margin: 0 0 20px; font-size: 24px; }
.press-access p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; }
.press-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #171717; border-radius: 24px; background: #fff; color: #171717; font: inherit; font-size: 14px; line-height: 1.4; text-align: center; cursor: pointer; }
.press-button:hover { background: #171717; color: #fff; }
.press-login-form { max-width: 440px; display: grid; gap: 24px; }
.press-form-field { display: grid; gap: 10px; }
.press-form-field label { font-size: 14px; }
.press-form-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #a5a5a5; border-radius: 0; background: #fff; color: #171717; font: inherit; font-size: 16px; }
.press-login-form .press-button { justify-self: start; }
.press-form-error { margin: 0; padding: 14px; background: #fbf3f0; color: #742b1a; font-size: 14px; line-height: 1.6; }
.press-help { margin: 36px 0 0; color: #626262; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.press-help a { text-decoration: underline; text-underline-offset: 3px; }
.press-account-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.press-account-bar .back-link { margin-bottom: 32px; }
.press-signout { min-height: 44px; border: 0; border-bottom: 1px solid #171717; background: transparent; color: #171717; font: inherit; font-size: 14px; cursor: pointer; }
.press-material-list { list-style: none; margin: 0; padding: 0; }
.press-material { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 0; border-top: 1px solid #ddd; }
.press-material:last-child { border-bottom: 1px solid #ddd; }
.press-material > div { min-width: 0; }
.press-material h2 { margin: 0; font-size: 21px; line-height: 1.4; overflow-wrap: anywhere; }
.press-material .press-button { flex: 0 0 auto; }
.press-material-date, .press-file-unavailable { color: #6b6b6b; font-size: 13px; line-height: 1.5; }
.press-material-date { margin: 8px 0 0; }
.press-file-unavailable { white-space: nowrap; }

@media (max-width: 700px) {
    .podcast-grid { grid-template-columns: 1fr; gap: 40px; }
    .news-artist-list { flex-direction: column; }
    .press-material { align-items: start; flex-direction: column; gap: 18px; }
}

@media (max-width: 900px) {
    .artists-directory.has-preview { display: block; }
    .artist-preview { display: none; }
    .artist-profile.has-image { grid-template-columns: 1fr; gap: 28px; }
    .artist-image { order: -1; max-width: 480px; }
    .artist-image img { max-height: 55svh; }
}
@media (max-width: 600px) {
    .artist-name-list { grid-template-columns: 1fr; }
    .artist-name-list a { font-size: 23px; padding: 8px 0; }
    .artist-groups { gap: 32px; }
    .artist-heading { margin-bottom: 28px; }
    .artist-text { font-size: 14px; }
}


/* STEP62: original one-column homepage; enlarge the supplied artwork on phones. */
@media (max-width: 600px) {
    .home-slide-media { margin: 8px 8px 0; }
    .home-slide-image { max-height: none; }
    /* This particular source contains a large white border around the framed work.
       Display source rectangle x=460,y=130,w=980,h=770 without changing the file.
       All other images retain their full original frame. */
    .home-slide-media:has(> .home-slide-image[src$="/20260917_070345_381570.jpg"]) {
        position: relative; display: block; aspect-ratio: 980 / 770; overflow: hidden;
    }
    .home-slide-media > .home-slide-image[src$="/20260917_070345_381570.jpg"] {
        position: absolute; width: 194.285714%; max-width: none;
        height: auto; left: -46.938776%; top: -16.883117%;
    }
}


/* STEP63: usable mobile controls without changing the gallery design. */
@media (max-width: 600px) {
    .publication-reader-toolbar button { min-width: 44px; flex-shrink: 0; }
    .image-viewer button { flex-shrink: 0; }
    .section-navigation { flex-wrap: wrap; row-gap: 4px; }
    .section-navigation a { display: inline-flex; align-items: center; min-height: 44px; }
}


/* STEP64: values from the live site's Union typography and fullscreen hero.
   Original logo asset, no legacy scripts or broken remote font dependencies. */
/* Live Union URLs return 404; reproduce the rendered sans-serif fallback. */
.site-header, .home-slider { font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.site-header { padding: 14.5px 80px; min-height: 77px; }
.site-logo { display: block; width: 260px; flex: 0 0 260px; }
.site-logo img { display: block; width: 100%; height: auto; }
.site-nav-list { font-size: 17.225px; letter-spacing: .09em; gap: 26px; line-height: 1.44; color: #fc4a27; }
.site-nav a[aria-current="page"] { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.home-slide-copy { color: var(--slide-color, #fc4a27); }
.home-slide-kicker { display: none; }
.home-slide-copy h2 { max-width: none; font-size: 44.096px; line-height: 1.0625; letter-spacing: .09em; font-weight: 400; margin: 0 0 15px; overflow-wrap: break-word; }
.home-slide-artists { display: inline; margin: 0; font: inherit; letter-spacing: inherit; }
.home-slide-date { font-size: 17.225px; line-height: 1.4; letter-spacing: .09em; }
.home-controls { color: #888; background: transparent; gap: 0; }
.home-counter { display: none; }
.home-controls button:hover { background: #f4f4f4; }
.home-controls button:focus-visible { outline-color: #fc4a27; }
.home-prev span, .home-next span { font-size: 0; width: 8px; height: 8px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(-45deg); }
.home-prev span { transform: rotate(135deg); }
@media (min-width: 901px) {
    .page-home .site-header { background: transparent; }
    .page-home #main-content { margin-top: calc(-1 * var(--header-height)); }
    .home-slider { min-height: 100svh; }
    .home-slide { min-height: 100svh; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
    .home-slide-media { position: absolute; inset: 0; margin: 0; }
    .home-slide-image { width: 100%; height: 100%; max-height: none; object-fit: cover; }
    .home-slide-copy { position: relative; margin-top: max(var(--header-height), 160px); padding: 0 80px 55px; }
    .home-controls { position: absolute; right: 24px; bottom: 24px; margin: 0; }
}
@media (max-width: 1300px) {
    .site-header { padding-left: 30px; padding-right: 30px; }
    .site-nav-list { letter-spacing: .09em; }
    .menu-toggle { color: #fc4a27; }
}
@media (max-width: 900px) {
    .site-header { padding: 18px 20px; min-height: 76px; }
    .site-logo { width: min(260px, 66vw); flex: 0 1 260px; }
    .home-slide-media { margin: 8px 8px 0; }
    .home-slide-image { max-height: none; }
    .home-slide-copy { padding: 24px 20px 30px; }
    .home-slide-copy h2 { font-size: clamp(25px, 4.6vw, 36px); line-height: 1.15; letter-spacing: .04em; }
    .home-slide-date { font-size: 14px; }
    .home-controls { justify-self: end; margin: 0 12px 16px; }
}
@media (max-width: 400px) {
    .site-header { gap: 12px; padding-left: 16px; padding-right: 16px; }
    .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (min-width: 601px) and (max-width: 900px) {
.home-slide-media:has(> .home-slide-image[src$="/20260917_070345_381570.jpg"]) { position: relative; display: block; aspect-ratio: 980 / 770; overflow: hidden; }
.home-slide-media > .home-slide-image[src$="/20260917_070345_381570.jpg"] { position: absolute; width: 194.285714%; max-width: none; height: auto; left: -46.938776%; top: -16.883117%; }
}
