.footer-stage {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  max-width: 780px;
  aspect-ratio: 760 / 296;
  overflow: hidden;
  color: #f4f1e6;
  background:
    radial-gradient(ellipse at 42% 56%, #3a3d3540, transparent 68%),
    linear-gradient(0deg, transparent 39%, #62655c30 39.4%, transparent 40%, transparent 83%, #62655c30 83.4%, transparent 84%);
}

/* With scripts disabled, the lettering stays mounted in a static pair of bays. */
.footer-stage:not([data-rig-ready])::before,
.footer-stage:not([data-rig-ready])::after {
  content: "";
  position: absolute;
  inset-block: 8% 8%;
  width: 7.5%;
  border-inline: 2px solid #777c70;
  background:
    repeating-linear-gradient(0deg, #7c8073 0 1px, transparent 1px 25%),
    linear-gradient(50deg, transparent 48%, #6b7165 49% 51%, transparent 52%)
      0 0 / 100% 25%;
}
.footer-stage:not([data-rig-ready])::before { left: 3%; }
.footer-stage:not([data-rig-ready])::after { right: 3%; }

.footer-stage__rig { display: block; width: 100%; height: 100%; }
.footer-stage .footer-stage__title {
  position: absolute;
  inset: 0;
  margin: 0;
  font: 680 clamp(16px, 5vw, 50px)/1 Geist, Arial, sans-serif;
  font-size: 6.95cqi;
  letter-spacing: -.063em;
}
.footer-stage__plank {
  --face: #564b3c;
  --rim: #8c7960;
  --bottom: #342d23;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24.32%;
  border-top: 1px solid var(--rim);
  border-bottom: 3px solid var(--bottom);
  box-sizing: border-box;
  white-space: nowrap;
  color: #f8f4e8;
  background-color: var(--face);
  background-image:
    linear-gradient(0deg, #120b061c, transparent 45%, #fff0d30a),
    repeating-linear-gradient(1deg, transparent 0 4px, #20160916 5px, transparent 6px 9px),
    repeating-linear-gradient(179deg, transparent 0 11px, #fff3c80e 12px, transparent 13px 17px),
    linear-gradient(90deg, #0002, transparent 25%, transparent 75%, #0002);
  box-shadow: inset 0 -1px #e8d8ad26, 0 3px 0 #111410b3, 0 6px 9px -5px #090b0bcc;
  text-shadow: 0 1px 1px #0004;
  transform-origin: 50% 12%;
}
.footer-stage__plank::before,
.footer-stage__plank::after {
  content: "";
  position: absolute;
  top: 17%;
  bottom: 17%;
  width: 3.1%;
  background:
    radial-gradient(circle at 50% 15%, #302e28 0 10%, transparent 11%),
    radial-gradient(circle at 50% 85%, #302e28 0 10%, transparent 11%),
    linear-gradient(90deg, #a9aa9959, #c3c1aa6b 30%, #74786b63 85%, #4c51496b);
  border-inline: 1px solid #a6a99b26;
}
.footer-stage__plank::before { left: 2.2%; }
.footer-stage__plank::after { right: 2.2%; }
.footer-stage__plank--upper { left: 13.16%; top: 27.7%; width: 55.26%; }
.footer-stage__plank--lower {
  --face: #e98630;
  --rim: #f6b779;
  --bottom: #854414;
  left: 31.05%;
  top: 57.77%;
  width: 56.84%;
  color: #201e19;
  text-shadow: 0 1px #f7bc7b62;
}
.footer-stage[data-running] .footer-stage__plank { will-change: transform; }
@media (max-width: 460px) {
  .footer-stage__plank { border-bottom-width: 2px; }
}
