:root {
  color-scheme: dark;
  --night: #171e1d;
  --paper: #f1e6d0;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }

.mosaic {
  position: relative;
  min-height: 100svh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}
.artwork { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); }
.collage { width: 100%; }
.stamp {
  position: absolute;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: .56;
}
.stamp img { position: absolute; max-width: none; filter: grayscale(1) contrast(2) invert(1); }
.charlivia { width: 4.8%; aspect-ratio: 112 / 145; left: 66%; top: 19%; }
.charlivia img { width: 535.71%; transform: translate(-7.83%, -21.55%); }
.buxton { width: 5.6%; aspect-ratio: 366 / 335; left: 88%; top: 18.5%; }
.buxton img { width: 461.2%; transform: translate(-1.3%, -5.3%); }

.entrances { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.entrances a { transition: background-color 220ms ease; }
.entrances a:focus-visible { outline-offset: -8px; }
@media (hover: hover) {
  .entrances a:hover { background-color: rgb(244 233 212 / .07); }
}

.home { position: absolute; top: 1.4rem; left: 1.4rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid currentColor; color: inherit; }
.home span { width: 1.2rem; height: .85rem; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.gallery { display: grid; min-height: 100svh; align-content: center; align-items: center; justify-content: center; padding: 5.5rem 1.5rem 2rem; gap: clamp(.75rem, 2vw, 2rem); }
.gallery a { display: block; transition: opacity 200ms ease; }
.gallery a:hover { opacity: .8; }
.gallery.music { grid-template-columns: repeat(3, minmax(0, 19rem)); }
.gallery.music img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery.business { grid-template-columns: repeat(2, minmax(0, 22rem)); }
.gallery.business a { display: grid; height: clamp(5.5rem, 14vw, 9rem); padding: .9rem; place-items: center; background: #f6f4ef; }
.gallery.business img { width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 550px) {
  .gallery.music, .gallery.business { grid-template-columns: minmax(0, 14rem); }
}
@media (prefers-reduced-motion: reduce) {
  .entrances a, .gallery a { transition: none; }
}
