@font-face{font-family:SH Avenir;src:local("Avenir"),local("Avenir Next");font-display:swap}
:root{font-family:"SH Avenir","Avenir Next",Avenir,"Helvetica Neue",Arial,sans-serif;color:#181818;background:#fff;font-size:16px;font-synthesis:none;--muted:#767676;--line:#dedede}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button{color:inherit;cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #222;outline-offset:5px}.skip{position:fixed;top:-80px;left:20px;padding:12px;background:#fff;z-index:20}.skip:focus{top:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;padding:40px 36px 28px;display:flex;flex-direction:column;z-index:5;background:#fff}.wordmark{font-size:29px;font-weight:500;line-height:1.08;letter-spacing:-1.2px;text-transform:lowercase;width:180px}.wordmark span{display:block}.wordmark:hover{text-decoration:none}.nav{display:flex;flex-direction:column;gap:11px;margin-top:69px;font-size:16px}.nav a{width:fit-content;line-height:1.5}.nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}.sidebar-bottom{margin-top:auto;font-size:14px;line-height:1.6;color:var(--muted)}.sidebar-bottom p{margin:0 0 20px}.sidebar-bottom a{display:block;width:fit-content}.menu-toggle{display:none}main{margin-left:260px;padding:39px 50px 80px 40px;max-width:1640px;min-height:100vh}.page-header{margin:0 0 50px}.eyebrow{font-size:14px;margin:0 0 10px;color:var(--muted);font-weight:400}.page-title{font-size:40px;font-weight:400;line-height:1.18;letter-spacing:-1.05px;margin:0 0 10px}.date{font-size:16px;margin:0;line-height:1.6}.hero{margin:0 0 40px}.image-button{display:block;border:0;background:none;padding:0;width:100%;text-align:left}.image-button img{display:block;width:100%;height:auto;aspect-ratio:auto 3/2}.hero .image-button img{max-height:760px;object-fit:contain;object-position:left center}.caption{font-size:13px;line-height:1.5;color:var(--muted);margin:9px 0 0}.exhibition-info{display:grid;grid-template-columns:minmax(160px,1fr) minmax(300px,2.1fr);gap:55px;padding:12px 0 64px}.facts{font-size:15px;line-height:1.65}.facts p{margin:0 0 22px}.prose{font-size:16px;line-height:1.7;max-width:750px}.prose p{margin:0 0 22px}.prose p:empty{display:none}.prose a{text-decoration:underline;text-underline-offset:3px}.prose h2,.prose h3{font-size:20px;font-weight:400}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:45px 26px;align-items:start}.gallery figure{margin:0}.gallery figure:nth-child(5n+1){grid-column:1/-1}.gallery img{max-height:950px;object-fit:contain;object-position:left top}.programme{margin:0 0 80px;padding:0;list-style:none}.programme li{margin:0 0 13px}.programme a{font-size:45px;line-height:1.3;letter-spacing:-1.1px}.section-title{font-size:16px;font-weight:400;margin:0 0 25px;color:var(--muted)}.guests{list-style:none;columns:3;column-gap:35px;padding:0;margin:0;line-height:1.75;font-size:17px}.guests li{break-inside:avoid;padding-bottom:5px}.tabs{display:flex;gap:27px;margin:25px 0 0;font-size:16px}.tabs a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}.artist-about{max-width:740px}.cv{margin-top:55px}.cv h2{font-size:18px;font-weight:400;margin-bottom:22px}.cv p{line-height:1.6;white-space:pre-line}.cv-list{padding:0;list-style:none;line-height:1.6}.cv-list li{display:grid;grid-template-columns:55px 1fr;gap:18px;margin-bottom:15px}.archive-year{display:grid;grid-template-columns:70px 1fr;gap:20px;margin-bottom:58px}.archive-year h2{font-size:16px;font-weight:400;margin:17px 0}.archive-list{margin:0;padding:0;list-style:none}.archive-list li{border-top:1px solid var(--line)}.archive-list li:last-child{border-bottom:1px solid var(--line)}.archive-link{display:grid;grid-template-columns:1fr 185px;gap:24px;align-items:baseline;padding:17px 0}.archive-name{font-size:22px;line-height:1.35;letter-spacing:-.25px}.archive-date{font-size:14px;color:var(--muted);text-align:right;line-height:1.6}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px 65px;max-width:970px}.contact-block h2{font-size:16px;font-weight:400;margin:0 0 20px;color:var(--muted)}.contact-block p{margin:0 0 20px;line-height:1.65}.contact-block a{text-decoration:underline;text-underline-offset:4px}.contact-block .address{font-size:26px;line-height:1.4;letter-spacing:-.5px}.contact-about{grid-column:1/-1;max-width:720px;padding:8px 0 18px}.team-member{margin:0 0 27px}.team-member span{display:block;color:var(--muted);font-size:14px;margin-bottom:4px}.contact-form label{font-size:14px}.contact-form input:not([type=checkbox]):not([type=submit]){display:block;width:100%;border:0;border-bottom:1px solid #aaa;padding:9px 0;margin:4px 0 22px;border-radius:0;background:#fff}.contact-form input[type=submit],.text-button{background:none;border:0;border-bottom:1px solid #181818;padding:5px 0;width:auto;cursor:pointer;border-radius:0}.contact-form input[type=checkbox]{accent-color:#181818}.screen-reader-response{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.wpcf7-not-valid-tip,.wpcf7-response-output{font-size:14px;margin:10px 0}.wpcf7-spinner{display:none}.quiet{color:var(--muted);line-height:1.7}.empty{max-width:600px;line-height:1.7;padding-top:15px}.empty h2{font-size:24px;font-weight:400}.footer{border-top:1px solid var(--line);margin-top:85px;padding-top:18px;display:flex;gap:22px;font-size:13px;color:var(--muted)}dialog{border:0;padding:20px 30px;background:white;width:calc(100vw - 50px);max-width:1800px;height:calc(100vh - 45px);max-height:none}dialog::backdrop{background:rgba(255,255,255,.96)}#lightbox-image{display:block;width:100%;height:calc(100% - 90px);object-fit:contain}.lightbox-toolbar{height:45px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px}.lightbox-toolbar button{border:0;background:none;padding:10px}.lightbox-toolbar button:hover{text-decoration:underline}#lightbox-caption{text-align:center;color:var(--muted)}
@media(min-width:1600px){.sidebar{width:310px;padding-left:50px}main{margin-left:310px;padding-left:55px;padding-right:80px}}
@media(max-width:1100px){.sidebar{width:225px;padding-left:26px}.wordmark{font-size:27px}main{margin-left:225px;padding:35px 30px 70px 25px}.guests{columns:2}.exhibition-info{gap:32px;grid-template-columns:1fr 2fr}.contact-layout{gap:40px 30px}.programme a{font-size:40px}}
@media(max-width:760px){.sidebar{position:relative;width:100%;padding:24px;display:block;border-bottom:1px solid var(--line)}.wordmark{font-size:25px;width:150px}.menu-toggle{display:block;position:absolute;right:24px;top:30px;border:0;background:none;padding:8px 0;font-size:16px}.nav{display:none;margin-top:30px;padding-bottom:5px;gap:13px}.sidebar.open .nav{display:flex}.sidebar-bottom{display:none}main{margin:0;padding:32px 24px 50px;min-height:calc(100vh - 104px)}.page-header{margin-bottom:30px}.page-title{font-size:34px}.programme{margin-bottom:60px}.programme a{font-size:32px}.guests{font-size:16px;column-gap:22px}.exhibition-info{grid-template-columns:1fr;gap:10px;padding-bottom:35px}.facts{font-size:14px}.hero{margin-bottom:22px}.gallery{gap:28px 16px}.gallery figure{grid-column:1/-1}.archive-year{grid-template-columns:1fr;gap:0;margin-bottom:35px}.archive-year h2{margin:0 0 15px;color:var(--muted)}.archive-link{grid-template-columns:1fr;gap:4px;padding:15px 0}.archive-name{font-size:21px}.archive-date{text-align:left}.contact-layout{grid-template-columns:1fr;gap:38px}.contact-about{grid-column:auto}.contact-block .address{font-size:24px}dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:10px}.lightbox-toolbar{font-size:13px}#lightbox-caption{max-width:50%;font-size:12px}.footer{margin-top:60px}}
@media(prefers-reduced-motion:no-preference){.image-button img{transition:opacity .18s}.image-button:hover img{opacity:.95}}

/* Preview layout, October 2026 */
@font-face{font-family:SH Buzz;src:url('/assets/themes/studiohannibal-child/fonts/BuzzBlack.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
.wordmark{font-family:"SH Buzz",sans-serif;font-size:30px;font-weight:400;line-height:1.02;letter-spacing:0;text-transform:uppercase}
.carousel{margin:0 0 44px;min-width:0}.carousel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.carousel-heading h2{font-size:14px;font-weight:400;color:var(--muted);margin:0}.carousel-controls{display:flex;align-items:center;gap:15px;font-size:13px;font-variant-numeric:tabular-nums}.carousel-controls button{border:1px solid var(--line);border-radius:50%;background:#fff;width:40px;height:40px;padding:0;font-size:21px;line-height:1}.carousel-controls button:hover{background:#f5f5f5}.carousel-count{min-width:45px;text-align:center}.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.carousel-track::-webkit-scrollbar{display:none}.carousel-track:focus-visible{outline:2px solid #222;outline-offset:5px}.carousel-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.carousel-slide figure,.carousel-slide .hero{margin:0}.carousel-slide .image-button img{width:100%;height:clamp(260px,62vh,760px);aspect-ratio:auto;object-fit:contain;object-position:left center}.carousel-slide .caption{max-width:750px;white-space:pre-line;padding-right:12px}.photo-credit{font-size:13px;line-height:1.5;color:var(--muted);margin:12px 0 0}.exhibition-info{display:block;max-width:750px;padding:0 0 15px}.exhibition-info .facts{margin-bottom:30px}.exhibition-info .facts p{margin-bottom:18px}.exhibition-info .prose{max-width:none}.gallery .caption{white-space:pre-line;color:#555}
.contact-layout{display:flex;flex-direction:column;gap:0;max-width:720px}.contact-block,.contact-about{max-width:none;padding:30px 0 34px;border-top:1px solid var(--line);width:100%}.contact-block h2{font-size:17px;color:#181818;margin:0 0 24px}.contact-about p{font-size:16px;line-height:33.6px;letter-spacing:-.2px}.contact-block p:last-child,.team-member:last-child{margin-bottom:0}.team-member{margin-bottom:24px}.team-member span{margin-bottom:5px}.contact-form{max-width:520px}.contact-form input[type=submit]{margin-top:18px}.residency-description{margin:0 0 40px}.residency-contact{line-height:1.7}.residency-contact a{text-decoration:underline;text-underline-offset:4px}.legal-copy{overflow-wrap:anywhere}.legal-copy>p:empty{display:none}.legal-copy h2{font-size:23px;margin-top:40px}.legal-copy h3{font-size:18px;margin-top:28px}
@media(max-width:1100px){.wordmark{font-size:28px}}
@media(max-width:760px){.wordmark{font-size:25px;width:165px}.carousel{margin-bottom:32px}.carousel-heading{gap:12px;margin-bottom:12px}.carousel-controls{gap:8px}.carousel-controls button{width:40px;height:40px}.carousel-slide .image-button img{height:auto;aspect-ratio:4/3;max-height:65vh}.contact-block,.contact-about{padding:26px 0 30px}.contact-about p{font-size:16px;line-height:28.8px}.contact-block .address{font-size:24px}.exhibition-info .facts{margin-bottom:25px}.lightbox-toolbar{height:auto;min-height:45px}#lightbox-caption{max-height:20vh;overflow:auto}#lightbox-image{height:calc(100% - 130px)}}

/* Weißer Seitenhintergrund mit sehr dezenter Papierstruktur. */
:root,
.sidebar {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22220%22%20height%3D%22220%22%20viewBox%3D%220%200%20220%20220%22%3E%3Cfilter%20id%3D%22paper%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.78%22%20numOctaves%3D%223%22%20seed%3D%2217%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%20%200%200%200%200%200%20%200%200%200%200%200%20%200.3333%200.3333%200.3333%200%200%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%220.22%22%20intercept%3D%22-0.11%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23paper%29%22%2F%3E%3C%2Fsvg%3E");
  background-size: 220px 220px;
  background-repeat: repeat;
}

/* Quiet gallery introduction on the home page. */
.home-page{display:flex;flex-direction:column;padding-top:clamp(140px,22vh,240px)}
.home-intro{max-width:620px;margin:0;font-size:16px;line-height:1.6}
.home-page .footer{margin-top:auto}

@media(max-width:760px){.home-page{padding-top:clamp(72px,12vh,112px)}}

/* Exhibition and home page presentation. */
.exhibition-artists{font-size:18px;line-height:1.6;margin:4px 0 14px}
.carousel-heading:has(> .carousel-controls:only-child){justify-content:flex-end}
.carousel-heading:empty{display:none}
.home-page{display:block;padding-top:39px}
.home-exhibition>.hero{margin:0 0 28px}
.home-exhibition>.hero img{width:auto;max-width:100%;height:auto;max-height:300px;object-position:left center}.home-exhibition>.hero .image-button{width:fit-content;max-width:100%}
.home-exhibition-info{max-width:750px}
.home-event,.home-hours{line-height:1.6;margin:14px 0}
.home-exhibition-info a{text-decoration:underline;text-underline-offset:4px}
.home-page .footer{margin-top:85px}
@media(max-width:760px){.home-page{padding-top:32px}.exhibition-artists{font-size:16px}.home-page .footer{margin-top:60px}}

/* Persistent contact and legal links. */
.sidebar-bottom .sidebar-address{margin-bottom:8px}.sidebar-hours{margin:0 0 20px;max-width:185px}.sidebar-bottom>a{line-height:22.4px}
main{padding-bottom:110px}.footer,.home-page .footer{position:fixed;left:300px;right:50px;bottom:28px;margin:0;padding:0;border:0;line-height:22.4px;z-index:6;background:#fff;box-shadow:0 0 0 12px #fff}
@media(min-width:1600px){.footer,.home-page .footer{left:365px;right:80px}}
@media(min-width:761px) and (max-width:1100px){.footer,.home-page .footer{left:250px;right:30px}}
@media(max-width:760px){.sidebar-bottom{display:block;margin-top:24px}.sidebar-hours{max-width:100%}.sidebar-bottom>a{position:fixed;left:24px;bottom:16px;z-index:8;background:#fff;box-shadow:0 0 0 12px #fff}.footer,.home-page .footer{left:auto;right:24px;bottom:16px;gap:18px}.footer:before{content:'';position:fixed;left:0;right:0;bottom:0;height:60px;background:#fff;z-index:-1}main{padding-bottom:100px}}

/* Distinct exhibition status sections within the single overview. */
.exhibition-status{margin:0 0 48px}.exhibition-status>h2{font-size:24px;font-weight:400;line-height:1.3;margin:0 0 20px}.exhibition-status>.quiet{margin:0;line-height:1.7}.exhibition-status .archive-year h3{font-size:16px;font-weight:400;margin:17px 0}.exhibition-status .archive-year:last-child{margin-bottom:0}
@media(max-width:760px){.exhibition-status{margin-bottom:36px}.exhibition-status>h2{font-size:22px;margin-bottom:16px}.exhibition-status .archive-year h3{margin:0 0 15px;color:var(--muted)}}

/* Match navigation text to exhibition titles. */
.nav{font-size:22px}
@media(max-width:760px){.nav{font-size:21px}}

/* Generous top whitespace for page content. */
main,main.home-page{padding-top:100px}
@media(max-width:760px){main,main.home-page{padding-top:60px}}

/* Keep adjacent artist profile links visually separate. */
.artist-about .prose p>a{display:inline-block;margin-right:24px;margin-bottom:8px}
.artist-about .prose p>a:last-child{margin-right:0}

/* Emphasize exhibition sections and archive years. */
.exhibition-status>h2,.exhibition-status .archive-year h3{font-family:"Avenir Next",Avenir,"Helvetica Neue",Arial,sans-serif;font-weight:700}

/* Permanent legal links below Visit & contact. */
.sidebar-contact>a{line-height:22.4px}.sidebar-legal{display:flex;gap:18px;margin-top:10px;font-size:13px;line-height:22.4px}
@media(max-width:760px){.sidebar-contact{position:fixed;left:24px;bottom:16px;z-index:8;background:#fff;box-shadow:0 0 0 12px #fff}.sidebar-contact:before{content:"";position:fixed;left:0;right:0;bottom:0;height:88px;background:#fff;z-index:-1}}

/* More breathing room for the exhibition overview. */
main:has(>.exhibition-status){padding-top:240px}
.exhibition-status[aria-labelledby="next-heading"]{margin-bottom:110px}
@media(max-width:760px){main:has(>.exhibition-status){padding-top:130px}.exhibition-status[aria-labelledby="next-heading"]{margin-bottom:80px}}

/* Visually distinguish the past exhibition archive. */
.exhibition-status[aria-labelledby="past-heading"],.exhibition-status[aria-labelledby="past-heading"] h2,.exhibition-status[aria-labelledby="past-heading"] h3,.exhibition-status[aria-labelledby="past-heading"] a,.exhibition-status[aria-labelledby="past-heading"] .archive-date{color:var(--muted)}

/* Give next exhibitions more visual prominence. */
.exhibition-status[aria-labelledby="next-heading"]>h2{font-size:32px;margin-bottom:28px}
.exhibition-status[aria-labelledby="next-heading"] .archive-name{font-size:32px;line-height:1.3}
.exhibition-status[aria-labelledby="next-heading"] .archive-date{font-size:17px}
.exhibition-status[aria-labelledby="next-heading"] .archive-link{padding:26px 0;grid-template-columns:minmax(0,1fr) 220px}
@media(max-width:1100px){.exhibition-status[aria-labelledby="next-heading"] .archive-link{grid-template-columns:1fr;gap:12px}.exhibition-status[aria-labelledby="next-heading"] .archive-date{text-align:left}}
@media(max-width:760px){.exhibition-status[aria-labelledby="next-heading"]>h2{font-size:28px}.exhibition-status[aria-labelledby="next-heading"] .archive-name{font-size:28px}.exhibition-status[aria-labelledby="next-heading"] .archive-date{font-size:16px}}

.exhibition-status[aria-labelledby="past-heading"]{--muted:#888888}

/* Match the generous top spacing of the exhibition overview. */
main:has(>.programme),main:has(>.gallery-about){padding-top:240px}
@media(max-width:760px){main:has(>.programme),main:has(>.gallery-about){padding-top:130px}}

/* Give the homepage more breathing room above the exhibition image. */
main.home-page{padding-top:160px}
@media(max-width:760px){main.home-page{padding-top:90px}}

/* Mobile visit details live on About and Contact, not beneath the logo. */
.about-visit{margin:32px 0}
@media(max-width:760px){.sidebar-bottom .sidebar-address,.sidebar-bottom .sidebar-hours{display:none}.sidebar-bottom{margin-top:0}}

.nav .mobile-nav-contact{display:none}
@media(max-width:760px){.nav .mobile-nav-contact{display:block}}

/* Extra breathing room below mobile browser chrome and device safe areas. */
@media(max-width:760px){.sidebar{padding-top:calc(48px + env(safe-area-inset-top,0px))}.menu-toggle{top:calc(54px + env(safe-area-inset-top,0px))}}


/* Keep the mobile header fully visible while scrolling in either direction. */
@media(max-width:760px){
  .sidebar{position:sticky;top:0;bottom:auto;z-index:10}
  .sidebar.open{max-height:calc(100svh - 88px);overflow-y:auto;overscroll-behavior-y:contain}
}


/* A compact, self-contained newsletter signup. */
#newsletter{max-width:560px;margin-top:24px;padding:28px;border:1px solid var(--line);background:rgba(255,255,255,.65)}
#newsletter h2{font-size:22px;margin:0 0 10px}
#newsletter>p{font-size:15px;line-height:1.5;margin:0 0 22px;max-width:32em}
#hanniball-newsletter{display:flex;flex-direction:column;gap:16px}
#hanniball-newsletter p{margin:0}
#hanniball-newsletter .row label{display:block;margin-bottom:6px}
#hanniball-newsletter .row input{margin:0;padding:10px 12px;border:1px solid #bdbdbd;min-height:44px;background:#fff}
#hanniball-newsletter label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55}
#hanniball-newsletter input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0}
#hanniball-newsletter .caption{font-size:12px;line-height:1.5}
#hanniball-newsletter input[type=submit]{align-self:flex-start;border:1px solid #181818;background:#181818;color:#fff;min-height:44px;padding:10px 24px;font-size:15px}
#hanniball-newsletter input[type=submit]:hover{background:#333}
#newsletter-status:empty{display:none}
@media(max-width:760px){#newsletter{padding:22px 18px;margin-top:18px;scroll-margin-top:145px}#hanniball-newsletter input[type=submit]{align-self:stretch}}
