:root {
  font:
    100%/1.55 Arial,
    sans-serif;
  color: #343a31;
  background: #f5f3ec;
  color-scheme: light;
  --ink: #343a31;
  --orange: #a43f24;
  --line: #b8b9ab;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #a43f24;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.masthead,
.intro,
.notes,
footer {
  max-width: 1400px;
  margin: auto;
  padding-inline: 4%;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  font:
    36px/0.95 Georgia,
    serif;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand span {
  font:
    11px/1.2 Arial,
    sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-top: 10px;
}
.masthead > a:last-child {
  font-size: 14px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  padding-block: 45px 36px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
h1 {
  font:
    clamp(40px, 4.6vw, 65px)/1.02 Georgia,
    serif;
  letter-spacing: -0.045em;
}
h1 em {
  color: var(--orange);
}
.intro > p {
  max-width: 30ch;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: 4px;
}
.exhibition {
  max-width: 1400px;
  margin: auto;
  border-block: 1px solid #b5b3a4;
  background: #dedfd1;
}
.toolbar {
  padding: 15px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
}
.toolbar p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f583c;
}
.motion {
  border: 1px solid #8a927e;
  padding: 10px 15px;
  border-radius: 24px;
  background: transparent;
  font-size: 14px;
  min-height: 44px;
}
.motion:hover:not(:disabled) {
  background: #343a31;
  color: #fff;
}
.motion:disabled {
  opacity: 0.65;
}
.viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-color: #56644d #d0d2c0;
  scroll-padding-inline: 20px;
}
.canvas {
  position: relative;
  min-width: 1160px;
  display: grid;
  grid-template-rows: auto 236px;
  isolation: isolate;
  background: linear-gradient(180deg, #e5e7da, #f3f2e7 69%, #cdcfbd 69%, #d9d7c8);
}
.prints {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(235px, 1fr));
  gap: 35px;
  padding: 35px 30px 30px;
}
.print {
  display: block;
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  text-decoration: none;
}
.picture {
  display: block;
  height: 270px;
}
.picture img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 9px 8px #27332226);
  transition: transform 0.25s;
}
.label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 210px;
  margin: 18px auto 0;
  gap: 12px;
}
.label small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.label strong {
  font:
    21px/1.2 Georgia,
    serif;
}
.enter {
  border: 1px solid #7d8873;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 21px;
  flex: none;
}
.print:hover .picture img,
.print:focus-visible .picture img {
  transform: translateY(-5px);
}
.print:hover .enter,
.print:focus-visible .enter {
  background: #343a31;
  color: white;
}
.print[data-current] .label {
  color: #863c26;
}
.floor {
  position: absolute;
  left: 0;
  right: 0;
  height: 236px;
  bottom: 0;
  border-top: 5px solid #bdc1ac;
  background: linear-gradient(165deg, transparent 35%, #f6f4e839 36%, transparent 65%);
  z-index: 1;
}
.crowd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 236px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.walker {
  position: absolute;
  bottom: 13px;
  left: 0;
  width: calc(var(--size)*208/280);
  height: var(--size);
  margin-left: var(--rest);
}
.walker[data-lane="far"] {
  bottom: 74px;
  z-index: 1;
}
.walker[data-lane="near"] {
  z-index: 2;
}
.walker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 28%;
  right: 13%;
  height: 6px;
  border-radius: 50%;
  background: #50593f28;
  filter: blur(3px);
}
/* Each sprite is a self-contained image with transparent surroundings.
   No CSS filter or group blending is needed on animated/clipped elements. */
.pose {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.pose img {
  display: block;
  width: 800%;
  height: 100%;
  max-width: none;
}
.walker[data-direction="left"] .pose {
  transform: scaleX(-1);
}
.walker[data-planned] {
  margin-left: 0;
}
.browse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 4vw, 25px);
  padding: 16px;
  background: #f1f1e5;
  border-top: 1px solid #b8bda6;
}
.browse button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #89947e;
  background: transparent;
  display: grid;
  place-items: center;
}
.browse button:hover:not(:disabled) {
  background: #343a31;
  color: white;
}
.browse button:disabled {
  opacity: 0.25;
}
.browse svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.browse p {
  text-align: center;
  min-width: 0;
  width: 150px;
}
.current {
  font:
    20px Georgia,
    serif;
  display: block;
}
.position {
  font-size: 12px;
  display: block;
  margin-top: 3px;
}
.hint {
  text-align: center;
  padding: 12px 20px;
  font-size: 13px;
  background: #f1f1e5;
}
.notes {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 7%;
  padding-block: 72px;
}
.notes-heading h2 {
  font:
    clamp(33px, 3.8vw, 48px)/1.06 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.notes-heading > p:last-child {
  max-width: 29ch;
}
.note-list article {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 27px 0;
  scroll-margin-top: 25px;
}
.number {
  font:
    italic 20px Georgia,
    serif;
  color: #856448;
}
.note-list h3 {
  font:
    27px/1.1 Georgia,
    serif;
  letter-spacing: -0.02em;
  margin-bottom: 13px;
}
.note-list p {
  max-width: 55ch;
  margin-bottom: 16px;
}
.note-list a {
  font-size: 14px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 24px;
  font-size: 12px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 10;
  background: #343a31;
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .masthead,
  .intro,
  .notes,
  footer {
    padding-inline: 22px;
  }
  .masthead {
    padding-block: 22px;
  }
  .brand {
    font-size: 31px;
  }
  .masthead > a:last-child {
    max-width: 12ch;
    text-align: right;
    font-size: 13px;
  }
  .intro {
    padding-block: 28px 26px;
    display: block;
  }
  .intro > p {
    margin-top: 22px;
    font-size: 16px;
    max-width: 35ch;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .canvas {
    min-width: 1160px;
  }
  .prints {
    padding-top: 28px;
  }
  .picture {
    height: 213px;
  }
  .label strong {
    font-size: 21px;
  }
  .label small {
    font-size: 12px;
  }
  .notes {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 40px;
  }
  .notes-heading > p:last-child {
    max-width: 38ch;
  }
  .note-list h3 {
    font-size: 26px;
  }
  .note-list article {
    gap: 15px;
  }
  footer {
    display: grid;
    gap: 12px;
  }
  .toolbar {
    padding-inline: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .picture img {
    transition: none;
  }
}
body[data-embed] .masthead,
body[data-embed] .intro {
  display: none;
}
body[data-embed] .exhibition {
  border-top: 0;
}

.masthead,
.toolbar {
  flex-wrap: wrap;
}
.intro > *,
.label > span:first-child {
  min-width: 0;
}
h1,
h2,
h3,
.label,
.current {
  overflow-wrap: anywhere;
}
.browse button {
  flex-shrink: 0;
}
.canvas {
  background: linear-gradient(#e5e7da, #f3f2e7);
}
.floor {
  background: linear-gradient(165deg, #cdcfbd 35%, #deded0 36%, #d9d7c8 90%);
}
