/* Shared by the holding page and the small working door on the key screen. */
.brass-case {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
  overflow: hidden;
  border-radius: 48% 48% 1.5% 1.5% / 33% 33% 2% 2%;
  background: #341c29ef;
  box-shadow: 0 0 0 1px #4b351f, 0 2px 2px #29170f9c, 0 7px 14px #240e1f66,
    inset 3px 5px 11px #1d101cbf, inset -2px -2px 5px #3b272c;
}
/* The shelf and contact shadows sit behind the products. */
.brass-case::before {
  content: "";
  position: absolute;
  inset: auto 1% 2% 1%;
  height: 12%;
  background: linear-gradient(178deg, #34202c, #513242 68%, #39232e);
  border-top: 1px solid #72525365;
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}
.brass-door {
  --barrel: linear-gradient(90deg, #5b3d1b 0%, #a47b3f 17%, #eed198 35%, #b79155 53%, #84602f 77%, #553a1c 100%);
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
/* Mask the brass to the arched frame itself. The opening is clear. */
.brass-door::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  padding: 1.55cqw;
  background: linear-gradient(132deg, #89632e 2%, #e1bc79 17%, #a5804a 34%, #d5ae71 48%, #8e6b38 64%, #79572d 85%, #ba9357);
  box-shadow: inset 0 1px 0 #ffe0a6, inset 1px 0 0 #b99456, inset 0 -2px 1px #604321;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@supports not (mask-composite: exclude) {
  .brass-door::before {
    mask: none;
    padding: 0;
    border: 4px ridge #b59051;
    background: transparent;
  }
}
/* A stepped sill covers the feet of the rods and catches light on its lip. */
.brass-door::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 2.55cqw;
  border-radius: 0 0 .8cqw .8cqw;
  background: linear-gradient(#e1c084 0%, #ab874e 17%, #7b592f 28%, #b59155 42%, #9b7846 73%, #563b24 88%, #70502c);
  box-shadow: 0 -.6px .8px #39291bbf;
}
.brass-bead {
  position: absolute;
  z-index: 3;
  inset: .8cqw .8cqw 1.85cqw;
  border-radius: inherit;
  border: max(.5px, .32cqw) solid;
  border-color: #f1d397 #846235 #694b29 #cba360;
  box-shadow: 0 1px 1px #624320, inset 1px 1px 1px #51391f77;
}
.brass-spindle {
  position: absolute;
  top: 10.5%;
  bottom: 2.3%;
  left: 12.5%;
  width: 1.27cqw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #49351c47, transparent 15%, #e7ca861c 32%, transparent 58%, #412b183b), var(--barrel);
  box-shadow: .9cqw .85cqw .75cqw #190e1a69;
}
.brass-spindle:nth-child(2) { left: 37.5%; top: .85%; }
.brass-spindle:nth-child(3) { left: 62.5%; top: .85%; }
.brass-spindle:nth-child(4) { left: 87.5%; }
.brass-spindle::before, .brass-spindle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 170%;
  height: 1.9cqw;
  border-radius: .35cqw;
  background: var(--barrel);
  box-shadow: inset 0 .32cqw 0 #ddbd80, inset 0 -.36cqw 0 #6a4825;
}
.brass-spindle::before { top: .85cqw; }
.brass-spindle::after { bottom: .5cqw; }
.brass-plaque {
  position: absolute;
  z-index: 4;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  min-height: 9.7cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1cqw;
  border: 1px solid #76532a;
  border-radius: 1.3cqw;
  background: repeating-linear-gradient(0deg, transparent 0 1.65px, #51381b09 1.75px 2.1px),
    linear-gradient(152deg, #e6c789, #cda765 51%, #b89153);
  color: #392713;
  box-shadow: inset 0 1px 0 #ffdfa3, inset 0 0 0 .65cqw #b79862,
    inset 0 0 0 .91cqw #8c6c40, 0 .6cqw 0 #5a4026, .65cqw 1.1cqw 1.2cqw #1b10176b;
}
.brass-plaque::before, .brass-plaque::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.27cqw;
  height: 1.27cqw;
  border-radius: 50%;
  background: linear-gradient(138deg, transparent 39%, #6b4c29 42% 55%, transparent 58%),
    radial-gradient(circle at 30% 25%, #efd297, #af884f 60%, #74512d);
  box-shadow: 0 .25cqw .22cqw #6b4a2ba8;
}
/* The fasteners register with the two shafts behind the plate. */
.brass-plaque::before { left: 10.94%; }
.brass-plaque::after { left: 89.06%; }
.brass-hinges {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}
.brass-hinges::before, .brass-hinges::after {
  content: "";
  position: absolute;
  left: .1cqw;
  top: 46%;
  width: 2cqw;
  height: 5.6cqw;
  border-radius: .6cqw;
  background: linear-gradient(180deg, transparent 45%, #6a4928 47% 51%, #d6b478 54%, transparent 57%),
    linear-gradient(90deg, #805c31, #e0bf85 36%, #a18049 68%, #694b29);
  box-shadow: 1px 1px 1px #33211d99;
}
.brass-hinges::after { top: 77%; }
