.de-case .project-insert {
  margin-block-start: clamp(52px, 7vw, 112px);
}
.de-case .insert-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(24px, 3.3vw, 54px);
}
.de-case .insert-intro h3 {
  max-width: 19ch;
  margin: 0;
  color: inherit;
  font: 400 clamp(37px, 4.45vw, 78px)/.99 var(--de-display);
  letter-spacing: -.045em;
  text-transform: none;
}
.de-case .insert-intro p {
  max-width: 54ch;
  margin: 0;
  color: inherit;
  font: 400 17px/1.48 var(--de-sans);
  letter-spacing: 0;
}
.de-case .archive-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 3.5vw, 52px) clamp(12px, 2vw, 32px);
}
.de-case .archive-grid--three { --cols: 3; }
.de-case .archive-grid--wide { --cols: 1; }
.de-case .archive-grid--facades a { aspect-ratio: 5/4; background: #e8e7e2; }
.de-case .case-nav { overflow-x: auto; }
.de-case .archive-grid--posters { --cols: 5; }
.de-case .archive-grid--plans { --cols: 2; }
.de-case .archive-grid--postcards { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
.de-case .archive-figure {
  margin: 0;
  min-width: 0;
}
.de-case .archive-figure a {
  display: block;
  cursor: zoom-in;
}
.de-case .archive-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.de-case .archive-grid--facades img { height: 100%; object-fit: contain; }
.de-case .archive-figure figcaption {
  line-height: 1.45;
}
.de-case .archive-portrait { width: min(100%, 640px); margin-inline: auto; }
.de-case .marble-medallion a {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
}
.de-case .marble-medallion img { width: 82%; }
.de-case .sign-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a19;
}
.de-case .sign-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.de-case .shop-lightbox-stage { position: relative; }
.de-case .shop-lightbox-stage [data-lightbox-framing] { width: 100%; min-height: 260px; background: transparent; }
.de-case .shop-lightbox-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
/* A real destination under the website film. */
.de-case .film-link { margin: 16px 0 0; }
.de-case .film-link a {
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  padding-block: 7px;
  color: inherit;
  font: 400 16px/1.35 var(--de-sans);
  text-decoration: underline;
  text-underline-offset: .24em;
}
.de-case .film-link a:hover { text-decoration-thickness: 2px; }
.de-case .film-link a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.de-case .tile-future .tile-word {
  left: auto;
  right: 6%;
  bottom: 12%;
  font-variant-numeric: lining-nums;
}
.de-case .tile-people .tile-word { white-space: nowrap; }
.de-case .keyring-stage { width: 100%; aspect-ratio: 4/3; }
.de-case .keyring-stage iframe { width: 100%; height: 100%; display: block; border: none; }
.de-case .exhibition-grid .roll-up-example { position: static; max-width: 320px; width: 76%; margin: 28px 0 0; }
.de-case .exhibition-grid .roll-up-example img { height: auto; width: 100%; }
.de-case .closing-bottom > a:first-child { white-space: normal; }
.de-case .closing-bottom > a:last-child { flex: none; }

html:has(.case-lightbox[open]) { overflow: hidden; scrollbar-gutter: stable; }
.de-case .case-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  cursor: zoom-out;
  background: #000;
  color: #fff;
  border: 0;
}
.de-case .case-lightbox::backdrop { background: #000; }
.de-case .case-lightbox > img { width: 100%; height: 100%; object-fit: contain; }
.de-case .case-lightbox > img[data-line-drawing] { filter: invert(1); }
.de-case .case-lightbox__close {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.de-case .case-lightbox__close::before,
.de-case .case-lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 2px #000;
  transform: translate(-50%, -50%) rotate(45deg);
}
.de-case .case-lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.de-case .case-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

@media (max-width: 767px) {
  .de-case .project-insert { margin-block-start: 52px; }
  .de-case .insert-intro { grid-template-columns: 1fr; gap: 14px; }
  .de-case .insert-intro h3 { font-size: clamp(34px, 9vw, 54px); }
  .de-case .insert-intro p { font-size: 16px; }
  .de-case .archive-grid { --cols: 1; }
  .de-case .archive-grid--posters, .de-case .archive-grid--plans { --cols: 2; }
.de-case .archive-grid--postcards { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; }
  .de-case .archive-grid--three { --cols: 2; }
  .de-case .archive-grid--platform { --cols: 1; }
  .de-case .archive-grid--postcards { grid-template-columns: 1fr; }
  .de-case #exhibition-stand > .archive-figure { width: 100%; }
  .de-case .marble-medallion a { aspect-ratio: 1; }
  .de-case .sign-stage { aspect-ratio: 4/3; }
}
@media (max-width: 359px) {
  .de-case .section-heading h2 { font-size: clamp(37px, 12vw, 42px); }
}
@media print {
  .de-case .case-lightbox, .de-case .sign-stage iframe, .de-case .shop-lightbox-stage { display: none; }
  .de-case .archive-figure { break-inside: avoid; }
}
