:root { --paper:#fff; --blue:#3b7abf; --ink:#000; --white-veil:.42; --link-font:"ArbeitBook",Arial,Helvetica,sans-serif; --description-size:16px; --link-size:12px; --edge:32px; --logo-width:clamp(250px,25vw,330px); --logo-height:calc(var(--logo-width) * 1064 / 1479); --brand-top:18px; --header-height:calc(var(--brand-top) + var(--logo-height) + 16px); --top-safe:calc(var(--header-height) + 16px); --bottom-safe:52px; --rail:172px; --content-right:48px; }
* { box-sizing:border-box; }
:root { --index-size:var(--link-size); --viewer-gap:18px; --viewer-bottom-padding:7px; --viewer-caption-space:calc(6.75 * var(--index-size) + 22px); --viewer-top:max(12px,calc(var(--brand-top) + var(--logo-height) - 40px)); --signoff-scale:1.25; }
html { min-width:280px; background:var(--paper); scroll-behavior:auto; scroll-padding-top:var(--top-safe); scroll-padding-bottom:var(--bottom-safe); }
body { margin:0; color:var(--ink); background:var(--paper); font-family:var(--link-font); -webkit-font-smoothing:antialiased; }
/* The original logo and the moon-pulled drawing remain visible while artwork loads. */
#artwork-loader { display:none; position:fixed; inset:0; z-index:35; background:#fff; opacity:1; pointer-events:none; }
.artwork-pending #artwork-loader,.artwork-revealing #artwork-loader { display:block; }
.artwork-pending .site-header,.artwork-revealing .site-header { z-index:40; }
.artwork-pending .site-nav,.artwork-pending .site-footer,.artwork-pending #main,.artwork-pending .skip-link { visibility:hidden; }
.artwork-pending { overflow:hidden; }
.loader-drawing { position:absolute; top:calc(var(--brand-top) + var(--logo-height) + clamp(14px,4vh,34px)); left:var(--rail); right:var(--content-right); display:flex; justify-content:center; }
.loader-drawing img { display:block; width:min(420px,100%,max(0px,calc(100svh - var(--brand-top) - var(--logo-height) - clamp(14px,4vh,34px) - 20px))); height:auto; aspect-ratio:1; object-fit:contain; }
.artwork-revealing #artwork-loader { opacity:0; transition:opacity 360ms ease; }
.artwork-revealing .site-nav { animation:loader-navigation-in 360ms ease both; }
@keyframes loader-navigation-in { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .artwork-revealing .site-nav { animation:none; } }
body[data-viewer="true"] { overflow:hidden; height:100dvh; overscroll-behavior:none; }
a { color:inherit; text-decoration:none; }
a:not(.wordmark) { font-family:var(--link-font); font-size:var(--link-size); font-weight:400; text-transform:uppercase; transition:opacity 220ms ease; }
.closing a,.no-script a { font-family:var(--link-font); }
.closing a { font-size:var(--link-size); }
.biography,.closing p { font-family:var(--link-font); font-size:var(--description-size); font-weight:400; line-height:1.3; letter-spacing:normal; }
a:hover,a:focus-visible { color:var(--ink); }
@media (hover:hover) and (pointer:fine) { a:not(.wordmark):hover { opacity:calc(1 - var(--white-veil)); } }
a:not(.wordmark):focus-visible { opacity:calc(1 - var(--white-veil)); }
button { font:inherit; color:inherit; cursor:pointer; }
button,a { -webkit-tap-highlight-color:transparent; touch-action:manipulation; scroll-margin-block:12px; }
a:focus-visible,button:focus-visible,.viewer-image:focus-visible { outline:1px solid var(--blue); outline-offset:6px; }
button:focus:not(:focus-visible),main:focus,.viewer-image:focus:not(:focus-visible) { outline:none; }
::selection { background:#c9d6e6; color:var(--ink); }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; z-index:100; left:16px; top:-100px; padding:12px; background:var(--paper); color:var(--ink); }
.skip-link:focus { top:12px; }
.site-header { position:fixed; inset:0 0 auto; height:var(--header-height); z-index:30; background:transparent; pointer-events:none; }
.brand-lockup { position:absolute; top:var(--brand-top); left:var(--rail); right:var(--content-right); display:flex; justify-content:center; text-align:center; }
.wordmark { display:block; width:var(--logo-width); max-width:100%; color:#000; line-height:0; pointer-events:auto; }
.wordmark-image { display:block; width:100%; height:auto; }
.site-nav { position:absolute; left:var(--edge); top:28px; display:flex; flex-direction:column; align-items:flex-start; line-height:1; pointer-events:auto; }
.primary-nav,.social-nav { display:contents; }
.site-nav a { min-height:29px; display:flex; align-items:center; color:var(--ink); transition:opacity 220ms ease; }
.site-nav a:hover,.site-nav a:focus-visible,.site-nav a[aria-current="page"] { color:var(--ink); }
.site-footer { position:fixed; inset:auto 0 0; height:var(--bottom-safe); z-index:30; background:transparent; pointer-events:none; }
.copyright { position:absolute; left:var(--edge); right:auto; bottom:20px; margin:0; color:var(--ink); font-family:var(--link-font); font-weight:400; font-size:12px; line-height:1.4; }
.gallery-page { padding:calc(var(--top-safe) + 20px) var(--content-right) 0 var(--rail); }
.gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:clamp(28px,4vw,70px); row-gap:79px; max-width:1390px; margin:0 auto; }
.gallery-piece { border:0; padding:0; display:block; width:100%; background:none; }
.gallery-image { display:flex; align-items:center; justify-content:center; aspect-ratio:1; width:100%; }
.artwork-surface { position:relative; display:block; width:var(--image-width); }
.artwork-surface img { display:block; width:100%; height:100%; object-fit:contain; }
.artwork-surface::after { content:""; position:absolute; inset:0; background:#fff; opacity:0; pointer-events:none; transition:opacity 220ms ease; }
@media (hover:hover) and (pointer:fine) {
  .artwork-surface::after { opacity:var(--white-veil); }
  .gallery-piece:hover .artwork-surface::after { opacity:0; }
}
@media (hover:none), (pointer:coarse) {
  .artwork-surface::after { opacity:var(--white-veil); }
  .gallery-piece.is-centered .artwork-surface::after { opacity:0; }
}
.gallery-piece:focus-visible .artwork-surface::after { opacity:0; }
.gallery-number,.viewer-caption { font-family:var(--link-font); }
.gallery-number { display:block; width:var(--image-width); margin:12px auto 0; text-align:center; color:var(--ink); font-size:var(--index-size); line-height:1; font-variant-numeric:tabular-nums; }
.closing { margin:48px auto 0; padding:0 24px 110px; text-align:center; line-height:1.6; color:var(--ink); }
.closing p { margin:0; }
.signoff { --ink-width-factor:21.3; display:block; width:min(100%,calc(var(--description-size) * var(--ink-width-factor) * var(--signoff-scale))); margin:0 auto 14px; }
.signoff img { display:block; width:100%; height:auto; }
.closing a { color:var(--ink); display:inline-block; padding:5px; transition:opacity 220ms ease; }
.closing a:hover,.closing a:focus-visible { color:var(--ink); }
.gallery-socials { display:none; }
.information-page { min-height:100svh; padding:calc(var(--top-safe) + 20px) var(--content-right) 110px var(--rail); }
.information-content { max-width:480px; margin:0 auto; }
.information-film { position:relative; width:100%; max-width:480px; margin:0 auto 44px; }
.film-sound-toggle { position:relative; display:block; width:100%; border:0; padding:0; background:#fff; aspect-ratio:15/11; overflow:hidden; text-align:left; }
.film-sound-toggle video { display:block; width:100%; height:100%; object-fit:contain; }
.film-sound-hint,.film-play-toggle { font:400 var(--link-size)/1.3 var(--link-font); text-transform:uppercase; }
.film-sound-hint { position:absolute; bottom:12px; left:12px; padding:5px 7px; color:var(--ink); background:rgba(255,255,255,.9); pointer-events:none; }
.film-play-toggle { position:absolute; bottom:12px; right:12px; min-height:29px; padding:5px 9px; border:0; background:rgba(255,255,255,.9); color:var(--ink); }
.biography { margin:0; text-align:justify; text-justify:inter-word; }
.closing.closing--about { margin:39px auto 0; padding:0; }
.viewer { --variant-space:calc(28px + var(--viewer-gap)); --viewer-art-height:max(0px,calc(100dvh - var(--viewer-top) - var(--bottom-safe) - var(--viewer-caption-space) - var(--viewer-gap) - var(--viewer-bottom-padding) - var(--variant-space))); position:fixed; inset:var(--viewer-top) var(--content-right) var(--bottom-safe) var(--rail); overflow:hidden; touch-action:pan-x; overscroll-behavior:none; }
.viewer-stage { margin:0; width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:var(--viewer-gap); padding:0 0 var(--viewer-bottom-padding); }
.viewer-image-frame { min-height:0; flex:none; width:100%; height:var(--viewer-art-height); display:flex; align-items:flex-end; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; touch-action:pan-x; }
.viewer-image-frame::-webkit-scrollbar { display:none; }
.viewer-slide { flex:0 0 100%; min-width:0; min-height:0; height:100%; display:flex; align-items:flex-end; justify-content:center; scroll-snap-align:center; scroll-snap-stop:always; }
.viewer-image { display:block; width:auto; height:auto; max-width:100%; max-height:var(--viewer-art-height); object-fit:contain; touch-action:pan-x; }
.viewer-image-navigation { display:grid; flex:none; grid-template-columns:44px minmax(3ch,auto) 44px; align-items:center; justify-content:center; gap:10px; height:28px; font-size:var(--link-size); line-height:1; }
.viewer-image-navigation[hidden] { display:none; }
.viewer-image-navigation button { display:flex; align-items:center; justify-content:center; width:44px; height:28px; border:0; padding:0; background:none; color:var(--ink); font:inherit; }
.viewer-image-navigation svg { width:10px; height:12px; fill:none; stroke:currentColor; stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round; }
.viewer-image-counter { text-align:center; font-variant-numeric:tabular-nums; }
.viewer-image-navigation button:disabled { visibility:hidden; }
.viewer-image-navigation button:focus-visible { opacity:calc(1 - var(--white-veil)); }
@media (hover:hover) and (pointer:fine) { .viewer-image-navigation button:hover { opacity:calc(1 - var(--white-veil)); } }
.viewer-caption { flex:none; align-self:flex-start; max-width:100%; height:var(--viewer-caption-space); margin:0; padding:0; color:var(--ink); font-size:var(--index-size); line-height:1.35; text-align:left; overflow-wrap:anywhere; }
.viewer-artwork-label { font-size:1.5em; text-transform:uppercase; }
.viewer-artwork-medium { display:block; margin-top:4px; font-style:italic; text-transform:none; }
.viewer-artwork-medium[hidden] { display:none; }
.viewer-description-toggle { display:block; border:0; padding:6px 0; margin-top:6px; background:none; color:var(--ink); font:inherit; text-align:left; }
.viewer-description-toggle[hidden] { display:none; }
.viewer-description-toggle:focus-visible { opacity:calc(1 - var(--white-veil)); }
@media (hover:hover) and (pointer:fine) {
  .viewer-image-frame { display:grid; grid-template-columns:repeat(var(--image-count,1),minmax(0,1fr)); grid-template-rows:minmax(0,1fr); gap:clamp(32px,5vw,64px); overflow:visible; scroll-snap-type:none; }
  .viewer.has-variants .viewer-slide:first-child { justify-content:flex-end; }
  .viewer.has-variants .viewer-slide:last-child { justify-content:flex-start; }
  .viewer { --variant-space:0px; }
  .viewer-description-toggle:hover { opacity:calc(1 - var(--white-veil)); }
}
.viewer-with-details { display:block; top:0; overflow-y:auto; overscroll-behavior:contain; padding-top:var(--viewer-top); padding-bottom:24px; touch-action:pan-x pan-y; }
.viewer-with-details .viewer-stage { height:auto; margin-bottom:28px; }
.viewer-with-details .viewer-image-frame,.viewer-with-details .viewer-image { touch-action:pan-x pan-y; }
.viewer-details { width:min(100%,620px); margin:0 auto; padding:0 4px 24px; font-size:16px; line-height:1.55; touch-action:pan-y; }
.viewer-details[hidden] { display:none; }
.viewer-details h2 { font:inherit; font-size:20px; line-height:1.3; margin:0 0 4px; }
.artwork-year { margin:0 0 16px; }
.artwork-publication { display:inline-block; margin:20px 0 0; }
.artwork-description { margin:0; }
.viewer-details .artwork-description a { font:inherit; text-transform:none; }
.artwork-detail-nav { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:28px; }
.artwork-detail-nav button { border:0; background:none; padding:8px 0; font:inherit; font-size:var(--link-size); color:var(--ink); cursor:pointer; transition:opacity 220ms ease; }
.artwork-detail-nav button:focus-visible { opacity:calc(1 - var(--white-veil)); }
@media (hover:hover) and (pointer:fine) { .artwork-detail-nav button:hover { opacity:calc(1 - var(--white-veil)); } }
.no-script,.error-message { max-width:560px; margin:250px auto 130px; padding:24px; font-size:20px; line-height:1.5; }
.error-message a { color:var(--ink); }
@media (max-width:1150px) { :root { --rail:156px; } .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:60px 42px; } }
@media (min-width:701px) and (max-width:850px) { .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px) {
  :root { --viewer-gap:15px; }
  :root { --description-size:12px; --link-size:10px; --edge:20px; --rail:24px; --content-right:24px; --bottom-safe:48px; }
  .site-nav a { min-height:26px; }
  .copyright { bottom:13px; font-size:10px; }
  .gallery-page { padding-top:calc(var(--top-safe) + 18px); }
  .gallery-grid { grid-template-columns:1fr; gap:52px; max-width:550px; }
  .gallery-number { margin-top:10px; }
  .closing { margin-top:32px; padding:0 0 100px; }
  .information-page { padding-top:calc(var(--top-safe) + 15px); padding-bottom:100px; }
  .information-content { max-width:510px; }
  .information-film { max-width:none; }
  .closing.closing--about { margin-top:30px; }
}
@media (max-width:370px) { .gallery-grid { grid-template-columns:1fr; max-width:250px; gap:50px; } .film-sound-hint { left:8px; } .film-play-toggle { right:8px; } }
@media (max-height:550px) and (min-width:560px) {
  :root { --viewer-gap:12px; --viewer-bottom-padding:3px; }
  :root { --logo-width:190px; --brand-top:10px; --bottom-safe:36px; --rail:150px; --content-right:30px; }
  .site-nav { top:18px; }
  .site-nav a { min-height:25px; }
  .gallery-page,.information-page { padding-top:calc(var(--top-safe) + 20px); }
  .copyright { bottom:10px; }
}
@media (min-width:701px) and (max-width:950px) and (max-height:550px) { .gallery-grid { grid-template-columns:1fr; max-width:550px; } }
@media (max-width:700px), (max-width:950px) and (max-height:550px) {
  :root { --logo-width:min(250px,calc(100vw - 72px)); --brand-top:12px; --header-height:calc(var(--brand-top) + var(--logo-height) + 48px); --viewer-top:calc(var(--top-safe) - 24px); }
  /* One image baseline for every piece, with the image controls in the footer row. */
  .viewer { --bottom-safe:calc(32px + env(safe-area-inset-bottom,0px)); --variant-space:0px; --viewer-gap:6px; --viewer-bottom-padding:2px; --viewer-caption-space:calc(6.75 * var(--index-size) + 22px); left:4px; right:4px; }
  .viewer-image { width:min(100%,calc(var(--viewer-art-height) * var(--art-ratio))); }
  .viewer-image-navigation { position:fixed; bottom:calc(4px + env(safe-area-inset-bottom,0px)); left:50%; transform:translateX(-50%); }
  body[data-viewer="true"] .copyright { left:10px; bottom:calc(13px + env(safe-area-inset-bottom,0px)); }
  .site-nav { top:calc(var(--brand-top) + var(--logo-height) - 4px); left:16px; right:16px; flex-direction:row; justify-content:center; align-items:center; }
  .primary-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; align-items:center; }
  .site-nav a { min-height:40px; justify-content:center; }
  .social-nav { display:none; }
  .gallery-socials { display:flex; flex-direction:column; align-items:center; margin-top:10px; }
  .gallery-socials a { display:flex; align-items:center; justify-content:center; min-height:20px; padding:2px 5px; }
}
@media (min-width:560px) and (max-width:950px) and (max-height:550px) {
  :root { --logo-width:170px; --brand-top:8px; --header-height:calc(var(--brand-top) + var(--logo-height) + 46px); }
  .site-nav { top:calc(var(--brand-top) + var(--logo-height) - 6px); }
}
@media (min-width:951px) and (min-height:551px) and (max-height:700px) { :root { --logo-width:260px; --brand-top:12px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none !important; scroll-behavior:auto !important; } }
