:root {
  --text: #333;
  --muted: #666;
  --line: #ddd;
  --measure: 42rem;
  --surface: #f0f0f0;
}
body { font-family: system-ui, sans-serif; max-width: var(--measure);
       margin: 0 auto; padding: 2rem 1rem; line-height: 1.6; }
nav { display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
      margin-bottom: 2rem; padding-bottom: 1rem;
      border-bottom: 1px solid var(--line); }
nav a { margin-right: 1rem; text-decoration: none; color: var(--text); }
nav a:last-child { margin-right: 0; }
nav a.active { font-weight: 600; text-decoration: underline; }
.langs a { font-size: 0.85rem; text-transform: uppercase; color: var(--muted); }
footer { margin-top: 4rem; padding-top: 1rem;
         border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px;
                   padding: 0; margin: -1px; overflow: hidden;
                   clip-path: inset(50%); white-space: nowrap; border: 0; }
.empty-state { margin: 3rem 0 6rem; }
.empty-state h1 { font-size: clamp(1.5rem, 5.2vw, 2.1rem); line-height: 1.2;
                  font-weight: 600; margin: 0; text-wrap: balance; }
.empty-state p { font-size: 1rem; color: var(--muted); margin: 0.75rem 0 0; }.when { color: var(--muted); font-size: 0.9rem; }
.poster { max-width: 100%; height: auto; display: block; margin-inline: auto; }
.past-heading { margin-top: 3rem; font-size: 1.15rem; }
.past h3 { font-size: 1rem; font-weight: 600; margin: 0.2rem 0 1.2rem; }
.nav-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.logo img { height: 6rem; width: auto; display: block; }
.logo { margin-right: 0; }
.event a { color: var(--text); text-decoration: underline;
           text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.event a:hover { text-decoration-color: var(--text); }

.book strong { font-size: 0.95rem; line-height: 1.3; display: block; margin-top: 0.4rem; }
.book .when, .book .tags { font-size: 0.8rem; }
.books { list-style: none; padding: 0;
         display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
         gap: 1.25rem; }
.book { display: block; }
.cover, .cover-empty { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.cover-empty { background: var(--surface); border: 1px solid var(--line); }
.book.on-loan .cover { filter: grayscale(1); opacity: 0.45; }
.book.on-loan strong { color: var(--muted); font-weight: 500; }
.cover-wrap { position: relative; }
.on-loan-label { position: absolute; top: 0.5rem; left: 50%;
                 transform: translateX(-50%);
                 background: var(--text); color: #fff;
                 font-size: 0.7rem; font-weight: 600;
                 text-transform: uppercase; letter-spacing: 0.03em;
                 padding: 0.25rem 0.5rem; white-space: nowrap; }
.book-info span { display: block; }
.book-info .when, .book-info .tags { display: block; }
.tags {color: var(--muted); }

.kv-number { color: var(--muted); font-weight: 400; }
.body { margin: 1.5rem 0; display: flow-root;}
.body ul { padding-left: 1.2rem; }
.body li { margin-bottom: 0.3rem; }
.donate { border-left: 3px solid var(--text); padding-left: 1rem; margin: 2rem 0; }
.swish-manual { font-size: 0.85rem; color: var(--muted); }
.cta { display: inline-block; font-weight: 600; }
.partners { color: var(--muted); font-size: 0.9rem; margin-top: 2.5rem; }
.partners-label { font-weight: 600; }
.body blockquote { margin: 1.5rem 0; padding-left: 1rem;
                   border-left: 3px solid var(--line); color: var(--muted); }
.body a { color: #0057b7; text-decoration: underline; text-underline-offset: 0.15em; }
.body a:visited { color: #0057b7; }
.body a[href^="http"]::after { content: "↗"; font-size: 0.8em; margin-left: 0.15em; }
@media (max-width: 480px) {
  nav { gap: 0.5rem; }
  .langs { margin-top: -0.25rem; }
}


.body h2 + figure img { max-width: 220px; border-radius: 4px; }
.body img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; }
.body figcaption { text-align: center; font-size: 0.85rem; color: var(--muted);
                   max-width: 526px; margin-inline: auto; }

.body figure.portrait { float: none; clear: none; margin: 0; }
.body figure.portrait img { width: 100%; max-width: none; border-radius: 4px; }

.body .founder { display: grid; grid-template-columns: 180px 1fr;
                 gap: 1.25rem; align-items: start; margin: 2rem 0; }
.body .founder p { margin-top: 0; }
@media (max-width: 480px) {
  .body .founder { grid-template-columns: 1fr; gap: 0.75rem; }
  .body figure.portrait img { max-width: 220px; }
}
.body figure { margin: 2rem auto; width: fit-content; max-width: 100%; }
.body figure img { margin: 0; }
.calendar { font-size: 0.9rem; }