/* Inga Dalrymple · „linen“ · Die Seite ist eine Galeriewand: ein Ton, eine Mittellinie, echter Maßstab. */
@font-face { font-family: "Newsreader"; src: url("../assets/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-stretch: 100%; font-style: normal; font-display: swap; }

:root {
  --wall: #f4f3f0;            /* exakt der Ton, auf den build_images.py jede Fotowand zieht */
  --ink: #1c1b19;
  --mute: #6d6a64;
  --hair: rgba(28, 27, 25, .16);
  --clay: #9c4f36;            /* aus „Warm Facade“, nur für den einen Hinweis */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 58px);
  --head: 76px;
  --cm: 8px;                  /* Pixel je Zentimeter, setzt main.js aus der Fensterhöhe */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--wall); color: var(--ink); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overflow-x: clip; scroll-padding-top: var(--head); }
body { margin: 0; font: 400 16px/1.55 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--wall); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* Etikett: gesperrte Versalien, das einzige „Schild“ der Seite */
.label { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ref { display: inline-block; font: 500 13px/1.3 var(--sans); letter-spacing: .01em; padding: 6px 0 5px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; cursor: pointer; }
.ref:hover { background-size: 0 1px; background-position: 100% 100%; }
.hint { font-size: 12.5px; line-height: 1.5; color: var(--mute); max-width: 44ch; }
.ex { margin-left: .9em; color: var(--clay); }

/* ---------- Kopf ---------- */
.head { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--head); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); pointer-events: none; }
.head > * { pointer-events: auto; }
.head::before { content: ""; position: absolute; inset: 0; background: var(--wall); opacity: 0; transition: opacity .5s; z-index: -1; }
.head.is-solid::before { opacity: 1; }
.head__name { font: 400 21px/1 var(--serif); letter-spacing: -.01em; opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.head.has-name .head__name { opacity: 1; transform: none; }
.head__nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font: 400 13.5px/1 var(--sans); letter-spacing: .01em; }
.head__nav a { padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.head__nav a:hover, .head__nav a.is-here { background-size: 100% 1px; }
.head__menu { display: none; font: 500 13.5px/1 var(--sans); padding: 14px 0 14px 14px; }
.menu { position: fixed; inset: 0; z-index: 25; background: var(--wall); padding: calc(var(--head) + 4svh) var(--pad) 28px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(60ms * var(--n, 0) + 80ms); }
.menu nav span { font: 400 clamp(34px, 10.5vw, 46px)/1.05 var(--serif); letter-spacing: -.015em; }
.menu nav small { font: 400 12px/1.2 var(--sans); color: var(--mute); text-align: right; }
.menu__foot { font-size: 13px; color: var(--mute); line-height: 1.7; }
.menu__foot a { color: var(--ink); }

/* ---------- Die Wand ---------- */
.wall { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; background: radial-gradient(90% 70% at 18% 0%, #fbfaf8 0%, rgba(251, 250, 248, 0) 70%); }
.wall__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 24px var(--pad) 0; }
.wall__title h1 { font: 400 clamp(44px, 5.2vw, 84px)/1 var(--serif); letter-spacing: -.022em; }
.wall__sub { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--mute); }
.notice { display: grid; gap: 6px; justify-items: end; text-align: right; padding-bottom: 2px; }
.notice__text { font: 400 17px/1.35 var(--serif); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.notice:hover .notice__text { background-size: 100% 1px; }
.wall:not(.is-wall) .wall__title { display: none; }
.wall:not(.is-wall) { grid-template-rows: var(--head) 1fr auto; }
.wall:not(.is-wall) .hang { grid-row: 2; }

.hang { grid-row: 2; min-width: 0; outline-offset: -6px; transition: opacity .32s var(--ease); }
.hang.is-switching { opacity: 0; }
.work a { display: block; position: relative; }
.work__frame { position: relative; display: block; aspect-ratio: var(--w) / var(--h); }
.work__frame img { position: absolute; max-width: none; width: calc(100% / var(--pw)); height: auto; left: calc(-100% * var(--px) / var(--pw)); top: calc(-100% * var(--py) / var(--ph)); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.work__no { display: none; }
.work__cap { display: none; }

/* Ansicht Wand: eine Mittellinie, echter Maßstab */
.view-wall { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; display: flex; align-items: center; overscroll-behavior-x: contain; }
.view-wall::-webkit-scrollbar { display: none; }
.view-wall.is-dragging { cursor: grabbing; }
.view-wall .hang__track { display: flex; align-items: center; gap: calc(var(--cm) * 9); padding: 0 calc(var(--cm) * 16) 0 calc(var(--pad) + var(--cm) * 2); height: 100%; }
.view-wall .work { flex: none; animation: hang 1.1s var(--ease) backwards; animation-delay: calc(var(--i) * 95ms + 260ms); transition: opacity .5s var(--ease); }
.view-wall .work__frame { width: calc(var(--cm) * var(--w)); }
.view-wall.has-hover .work:not(.is-on) { opacity: .42; }
@keyframes hang { from { opacity: 0; transform: translateY(16px); } }

/* Ansicht Raster: jedes Bild gleich groß gedacht */
.view-grid .hang__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(44px, 6vw, 96px) clamp(22px, 3.2vw, 56px); padding: clamp(24px, 6vh, 70px) var(--pad) clamp(40px, 8vh, 90px); }
.view-grid .work a { display: grid; gap: 22px; }
.view-grid .work__frame { width: 100%; max-height: 46vh; margin: auto; }
.view-grid .work__frame { aspect-ratio: auto; height: 0; padding-bottom: 112%; }
.view-grid .work__frame img { width: auto; height: auto; left: 50%; top: 50%; max-width: calc(78% / var(--pw)); max-height: calc(78% / var(--ph)); transform: translate(calc(-100% * (var(--px) + var(--pw) / 2)), calc(-100% * (var(--py) + var(--ph) / 2))); }
.view-grid .work__cap { display: grid; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--mute); }
.view-grid .work__title { font: 400 18px/1.25 var(--serif); color: var(--ink); }

/* Ansicht Index: Werkliste wie im Ausstellungsblatt */
.view-index .hang__track { padding: clamp(24px, 6vh, 70px) var(--pad) clamp(40px, 8vh, 90px); max-width: 1180px; margin: 0 auto; }
.view-index .work a { display: grid; grid-template-columns: 44px 76px minmax(0, 1.3fr) minmax(0, 1fr) 110px; align-items: center; gap: 18px; padding: 9px 0; }
.view-index .work__no { display: block; font: 400 12px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.view-index .work__frame { width: calc(54px * min(1, var(--w) / var(--h))); justify-self: center; }
.view-index .work__cap { display: contents; font-size: 13.5px; color: var(--mute); }
.view-index .work__title { font: 400 19px/1.2 var(--serif); color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); justify-self: start; }
.view-index .work a:hover .work__title { background-size: 100% 1px; }
.view-index .work__dims { text-align: right; font-variant-numeric: tabular-nums; }

.wall__foot { grid-row: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding: 0 var(--pad) clamp(22px, 3.6vh, 38px); min-height: 92px; }
.plaque { display: grid; justify-items: start; gap: 1px; font-size: 13px; line-height: 1.5; color: var(--mute); min-height: 96px; align-content: end; }
.plaque.is-out > span { opacity: 0; }
.plaque > span { transition: opacity .25s; }
.plaque__go { margin-top: 8px; color: var(--ink); }
.plaque__title { font: 400 19px/1.25 var(--serif); color: var(--ink); }
.wall:not(.is-wall) .plaque, .wall:not(.is-wall) .wall__tools { visibility: hidden; }
.views { display: flex; gap: 26px; font: 400 13.5px/1 var(--sans); }
.views button { padding: 10px 0 8px; color: var(--mute); background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.views button[aria-pressed="true"] { color: var(--ink); background-size: 100% 1px; }
.wall__tools { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.scale { display: grid; gap: 7px; font: 400 11.5px/1 var(--sans); color: var(--mute); letter-spacing: .04em; }
.scale i { display: block; height: 5px; width: calc(var(--cm) * 20); border: solid var(--ink); border-width: 0 1px 1px 1px; opacity: .55; transform-origin: 0 50%; animation: rule 1.2s var(--ease) 1.2s backwards; }
@keyframes rule { from { transform: scaleX(0); opacity: 0; } }
.walk { display: flex; gap: 6px; }
.walk button { width: 40px; height: 40px; font-size: 19px; line-height: 1; transition: transform .35s var(--ease), opacity .3s; }
.walk button:hover { transform: translateX(3px); }
.walk button:first-child:hover { transform: translateX(-3px); }
.walk button:disabled { opacity: .25; cursor: default; transform: none; }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(84px, 15vh, 170px) var(--pad) 0; }
.sec__h { font: 400 clamp(38px, 4.8vw, 74px)/1 var(--serif); letter-spacing: -.02em; margin-bottom: clamp(40px, 8vh, 96px); }
.cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.cols__side { font: 400 clamp(18px, 1.55vw, 22px)/1.45 var(--serif); max-width: 24em; position: sticky; top: calc(var(--head) + 16px); }
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.rv-in { opacity: 1; transform: none; }

/* Ausstellungen */
.show { display: grid; gap: clamp(26px, 4vh, 44px); padding-bottom: clamp(80px, 13vh, 160px); }
.show__meta { display: grid; gap: 10px; justify-items: start; }
.show__meta h3 { font: 400 clamp(30px, 3.4vw, 54px)/1.06 var(--serif); letter-spacing: -.018em; }
.show__meta p { font-size: 15px; line-height: 1.6; }
.show__meta .credit, .show__meta .label { color: var(--mute); }
.show__meta .credit { font-size: 13px; }
.show__links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 4px; }
.show--next { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.show--next h3 { font-size: clamp(36px, 4.4vw, 68px); }
.show__pic { display: grid; place-items: center; padding: calc(var(--cm) * 3) 0; }
.mini { display: block; flex: none; }
.mini .work__frame { width: calc(var(--cm) * var(--w)); }
.show__hang { display: flex; align-items: center; gap: calc(var(--cm) * 9); padding: calc(var(--cm) * 4) 0 calc(var(--cm) * 3) calc(var(--cm) * 2); overflow-x: auto; scrollbar-width: none; }
.show__hang::-webkit-scrollbar { display: none; }
.show__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.shot { grid-column: span 2; }
.shot:first-child { grid-column: span 4; }
.show__photos--tall .shot, .show__photos--tall .shot:first-child { grid-column: span 1; }
.shot img { width: 100%; }
.show--list { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); }
.rows li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 0; font-size: 15px; }
.rows li span:first-child { color: var(--mute); font-variant-numeric: tabular-nums; }
.more { margin-top: 22px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.about__portrait { position: sticky; top: calc(var(--head) + 16px); }
.quote p { font: 400 clamp(27px, 3.3vw, 50px)/1.14 var(--serif); letter-spacing: -.016em; max-width: 19em; text-wrap: balance; }
.quote footer { margin-top: 18px; font-size: 13px; color: var(--mute); }
.prose { margin-top: clamp(40px, 7vh, 84px); display: grid; gap: 1.15em; font: 400 clamp(17.5px, 1.4vw, 20px)/1.6 var(--serif); max-width: 34em; }
.ack { margin-top: clamp(30px, 5vh, 54px); font-size: 13.5px; line-height: 1.6; color: var(--mute); max-width: 44em; }
.studio { margin-top: clamp(70px, 12vh, 150px); }
.studio img { width: 100%; }
.studio figcaption { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* Journal */
.entry__head { width: 100%; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: baseline; gap: 18px; padding: 13px 0; text-align: left; }
.entry__date, .entry__cat { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.entry--note .entry__cat { color: var(--ink); }
.entry__title { font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--serif); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); justify-self: start; }
.entry__head:hover .entry__title, .entry.is-open .entry__title { background-size: 100% 1px; }
.entry__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.entry__body > div { overflow: hidden; min-height: 0; }
.entry.is-open .entry__body { grid-template-rows: 1fr; }
.entry__in { padding: 10px 0 40px 168px; display: grid; gap: clamp(20px, 3vw, 44px); align-items: start; opacity: 0; transition: opacity .5s var(--ease); }
.entry__in.has-pic { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.entry.is-open .entry__in { opacity: 1; transition-delay: .15s; }
.entry__text { display: grid; gap: 1em; font: 400 17.5px/1.6 var(--serif); max-width: 34em; }

/* CV */
.cv { display: grid; gap: clamp(40px, 7vh, 76px); }
.cv__sec h3 { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-bottom: 10px; }
.cv__sec li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 6px 0; font-size: 15px; line-height: 1.5; }
.cv__sec li span:first-child { color: var(--mute); font-variant-numeric: tabular-nums; }

/* Kontakt */
.sec--contact { padding-bottom: clamp(90px, 16vh, 180px); }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 70px) clamp(24px, 4vw, 60px); }
.contact h3 { font: 400 clamp(24px, 2.3vw, 34px)/1.1 var(--serif); letter-spacing: -.012em; margin-bottom: 8px; }
.contact p { font-size: 15px; line-height: 1.6; max-width: 34ch; }
.contact__g p:nth-of-type(1) { color: var(--mute); }
.invite__row { display: flex; gap: 18px; margin: 16px 0 10px; border-bottom: 1px solid var(--ink); max-width: 360px; }
.invite input { flex: 1; min-width: 0; font: 400 16px/1.2 var(--sans); color: var(--ink); background: none; border: 0; padding: 12px 0; border-radius: 0; }
.invite input::placeholder { color: var(--mute); }
.invite input:focus { outline: none; }
.invite__row:focus-within { box-shadow: 0 1px 0 var(--ink); }
.invite button { font: 500 13px/1 var(--sans); padding: 12px 0; }
.invite__msg { font: 400 17px/1.4 var(--serif); min-height: 1.4em; }

/* Fuß */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding: 26px var(--pad) 30px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--mute); }
.foot__wdl { text-align: right; }
.foot a { color: var(--ink); }

/* ---------- Ein Bild aus der Nähe ---------- */
.close { position: fixed; inset: 0; z-index: 60; background: var(--wall); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.close.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.close__stage { position: absolute; inset: 64px clamp(20px, 22vw, 330px) 64px; display: grid; place-items: center; }
.close__frame { position: relative; cursor: zoom-in; will-change: transform; }
.close__frame img { position: absolute; max-width: none; width: calc(100% / var(--pw)); height: auto; left: calc(-100% * var(--px) / var(--pw)); top: calc(-100% * var(--py) / var(--ph)); user-select: none; -webkit-user-drag: none; }
.close.is-near .close__frame { cursor: zoom-out; }
.close.is-near .close__stage { z-index: 1; }
.close__x { position: absolute; top: 18px; right: var(--pad); z-index: 3; font: 500 13px/1 var(--sans); padding: 12px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.close__plaque { position: absolute; left: var(--pad); bottom: clamp(22px, 3.6vh, 38px); z-index: 3; width: min(20vw, 280px); display: grid; gap: 2px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.close__plaque h2 { font: 400 clamp(24px, 2.2vw, 32px)/1.12 var(--serif); letter-spacing: -.012em; color: var(--ink); margin-bottom: 6px; }
.close__links { display: flex; gap: 24px; margin-top: 14px; color: var(--ink); }
.close__nav { position: absolute; right: var(--pad); bottom: clamp(22px, 3.6vh, 38px); z-index: 3; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.close__nav button { width: 40px; height: 40px; font-size: 19px; color: var(--ink); transition: transform .35s var(--ease); }
.close__nav button:hover { transform: translateX(3px); }
.close__nav button:first-child:hover { transform: translateX(-3px); }
.close__hint { position: absolute; right: var(--pad); top: 50%; z-index: 2; width: 13ch; text-align: right; font-size: 13px; line-height: 1.45; color: var(--ink); opacity: .72; transition: opacity .4s; }
.close__x .b { display: none; }
.close.is-near .close__x { background: var(--ink); color: var(--wall); padding: 11px 14px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.close.is-near .close__x .a { display: none; }
.close.is-near .close__x .b { display: inline; }
#closeSize { margin-top: 6px; }
.close.is-near .close__plaque, .close.is-near .close__hint, .close.is-near .close__nav { opacity: 0; pointer-events: none; }
.close__plaque, .close__nav { transition: opacity .4s var(--ease); }

/* ---------- Schmal ---------- */
@media (max-width: 1100px) {
  .view-grid .hang__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --head: 60px; }
  .head__nav { display: none; }
  .head__menu { display: block; }
  .head.is-solid::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; background: linear-gradient(var(--wall), rgba(244, 243, 240, 0)); pointer-events: none; }
  .wall__title { flex-direction: column; align-items: stretch; gap: 16px; padding-top: calc(var(--head) - 6px); }
  .wall__title h1 { font-size: clamp(44px, 13.2vw, 62px); }
  .wall__sub { font-size: 13.5px; }
  .notice { justify-items: start; text-align: left; }
  .notice__text { font-size: 16px; }
  .view-wall { min-height: 42svh; scroll-snap-type: x proximity; }
  .view-wall .hang__track { padding: 0 30vw 0 calc(var(--pad) + 8px); gap: calc(var(--cm) * 8); }
  .view-wall .work { scroll-snap-align: center; }
  .view-wall.has-hover .work:not(.is-on) { opacity: 1; }
  .wall__foot { grid-template-columns: 1fr auto; gap: 14px 16px; padding-bottom: 18px; }
  .plaque { grid-column: 1 / -1; min-height: 104px; }
  .views { gap: 22px; }
  .wall__tools { gap: 0; }
  .walk { display: none; }
  .view-grid .hang__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 16px; padding-top: 18px; }
  .view-grid .work__title { font-size: 16.5px; }
  .view-grid .work__cap { font-size: 12px; }
  .view-index .work a { grid-template-columns: 58px minmax(0, 1fr); gap: 2px 16px; padding: 11px 0; }
  .view-index .work__no { display: none; }
  .view-index .work__frame { grid-row: 1 / span 3; }
  .view-index .work__cap { display: grid; gap: 1px; font-size: 12.5px; }
  .view-index .work__dims { text-align: left; }
  .cols, .about, .show--next, .show--list { grid-template-columns: minmax(0, 1fr); }
  .cols__side, .about__portrait { position: static; }
  .about__portrait { max-width: 78%; }
  .show__pic { justify-items: start; padding: 0 0 0 calc(var(--cm) * 2); }
  .show__photos, .show__photos--tall { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .show__photos::-webkit-scrollbar { display: none; }
  .shot { flex: none; width: 84vw; scroll-snap-align: center; opacity: 1; transform: none; }
  .shot--tall { width: 62vw; }
  .shot img { height: 62vw; object-fit: cover; }
  .shot--tall img { height: 78vw; }
  .show__hang { margin-inline: calc(var(--pad) * -1); padding-inline: calc(var(--pad) + 8px); }
  .entry__head { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 13px 0; }
  .entry__date { grid-column: 1 / -1; font-size: 12px; }
  .entry__in, .entry__in.has-pic { padding-left: 0; grid-template-columns: minmax(0, 1fr); }
  .entry__text { font-size: 16.5px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: 1fr; gap: 6px; }
  .foot__wdl { text-align: left; }
  .close__stage { inset: 70px 18px 210px; }
  .close__plaque { width: auto; right: 118px; bottom: 22px; }
  .close__plaque h2 { font-size: 23px; }
  .close__hint { left: var(--pad); right: auto; top: 26px; width: auto; text-align: left; font-size: 12.5px; }
  .close__nav { bottom: 14px; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* Raster/Index: Umschalter bleibt unten erreichbar */
.wall:not(.is-wall) .wall__foot { position: sticky; bottom: 0; z-index: 5; background: var(--wall); padding-top: 12px; min-height: 0; }
.wall:not(.is-wall) .plaque { display: none; }
.wall:not(.is-wall) .wall__foot { grid-template-columns: 1fr; justify-items: center; }
.wall:not(.is-wall) .wall__tools { display: none; }
.wall:not(.is-wall) .wall__foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 56px; background: linear-gradient(rgba(244, 243, 240, 0), var(--wall)); pointer-events: none; }
