.benin-workspace .case-heading h1 {
  color: #f5dfb9;
}
.benin-doors {
  display: grid;
  gap: 0.7rem;
}
.benin-door {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  color: var(--paper);
  border: 1px solid #79684c;
  border-radius: 4px;
  background: #263535;
  padding: 1rem;
  width: 100%;
  cursor: pointer;
}
.benin-door:hover,
.benin-probes button[aria-pressed="true"] {
  background: #444039;
  border-color: var(--gold);
}
.benin-door strong,
.benin-door small {
  display: block;
}
.benin-door strong {
  font: 400 1.35rem var(--serif);
}
.benin-door small {
  color: var(--muted);
  margin-top: 0.35rem;
}
.benin-probes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.benin-probes button {
  font-size: 0.86rem;
  min-height: 40px;
  padding: 0.5rem 0.7rem;
}
.benin-back {
  margin-bottom: 0.75rem;
}
.benin-workspace .benin-observation {
  color: #f5dfb9;
  min-height: 3em;
}
.benin-court {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: #524534;
}
.benin-yard {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.benin-model {
  position: absolute;
  left: 6%;
  top: 13%;
  width: 28%;
  height: 76%;
  background: repeating-linear-gradient(
    91deg,
    #543920,
    #61442b 4px,
    #49341f 10px,
    #583e26 16px
  );
  border: 4px solid #46311d;
  box-shadow: 6px 5px 14px #0009;
  overflow: hidden;
  transform: perspective(450px) rotateY(9deg);
}
.benin-model img {
  clip-path: polygon(
    12% 14%,
    86.5% 13.5%,
    87% 42%,
    92% 44%,
    90% 61%,
    86.5% 62%,
    86% 88.5%,
    11.5% 88%,
    11.5% 60%,
    10% 60%,
    9% 43%,
    11.5% 42%
  );
  transform: scale(1.13);
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.trial-return .benin-model {
  left: auto;
  right: 8%;
  transform: perspective(450px) rotateY(-28deg);
}
.trial-return .benin-model i {
  position: absolute;
  inset: 0 0 0 59%;
  background: repeating-linear-gradient(
    89deg,
    #624331,
    #563b2a 4px,
    #76523c 7px,
    #64432d 13px
  );
  box-shadow: -4px 0 8px #0009;
}
.benin-lightbox {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #444136, #161e1e 77%);
  margin: 0;
  height: clamp(265px, 38vw, 445px);
  display: grid;
  place-items: center;
}
.benin-lightbox figcaption {
  position: absolute;
  bottom: 9px;
  left: 12px;
  color: #f9e8c2;
  font: 600 11px var(--mono);
  background: #172022;
  padding: 5px 8px;
  border: 1px solid #786c50;
}
.benin-mount {
  position: relative;
  height: 88%;
  aspect-ratio: 4/5;
  background: #baa789;
  box-shadow: 2px 5px 18px #0009;
  isolation: isolate;
}
.benin-mount img {
  display: block;
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  object-fit: fill;
}
.benin-slip {
  position: absolute;
  left: 59%;
  right: 1%;
  top: 65%;
  height: 6%;
  transform: rotate(-6deg);
  filter: drop-shadow(0px 2px 1px #382d20);
}
.benin-slip b {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 6%;
  background: linear-gradient(170deg, #f0e5c5, #c8b78f);
  clip-path: polygon(0 55%, 22% 0, 100% 0, 100% 100%, 22% 100%);
  height: 100%;
  font: 600 clamp(9px, 1.1vw, 16px) var(--mono);
  color: #584738;
}
.mode-crop .benin-mask {
  position: absolute;
  inset: 15% 38% 15% 20%;
  box-shadow: 0 0 0 100vmax #162021;
  border: 1px solid #af9471;
}
.mode-edge .benin-mount {
  transform: scale(2);
  transform-origin: 77% 68%;
}
@media (max-width: 550px) {
  .benin-lightbox {
    height: 320px;
  }
  .benin-door {
    padding: 0.8rem;
  }
  .benin-probes button {
    padding: 0.5rem;
  }
  .benin-slip b {
    font-size: 10px;
  }
}
