.basement {
  padding-bottom: clamp(60px, 6vw, 96px);
}
.basement .section-head h2 {margin-top: 0}
.room-reveal {
  --off: 0%;
  overflow: hidden;
  background: #101e2c;
  color: #edf5fb;
  border-radius: 5px;
}
.room-stage {
  --floor-line: 71.85%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.room-photo {display: block; width: 100%; height: auto}
.room-boards {
  position: absolute;
  left: 23.8%;
  top: 20.7%;
  width: 57.6%;
  bottom: calc(100% - var(--floor-line));
  background: linear-gradient(95deg, #4937202c, transparent 18%, transparent 76%, #281b161c),
              #dfdad2 url("assets/rink-puck-boards.webp") center top / 100% 115% no-repeat;
  box-shadow: inset 0 3px 6px #1211144d, inset 0 -2px 4px #241a155c;
}
.room-on {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #33527220, #10203152 95%);
  clip-path: inset(0 0 0 var(--off));
}
.room-projection {
  position: absolute;
  left: 23.8%;
  top: 20.7%;
  width: 57.6%;
  height: calc(var(--floor-line) - 20.7%);
  object-fit: cover;
  object-position: center top;
  opacity: .9;
}
.room-divider {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.room-divider::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: var(--off);
  width: 2px;
  background: white;
  box-shadow: 0 0 8px #06142185;
}
.room-divider span {
  position: absolute;
  top: 54%;
  left: clamp(24px, var(--off), calc(100% - 24px));
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #102235e8;
  color: white;
  font: 700 25px/1 var(--body);
  white-space: pre;
}
.room-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.room-stage:focus-within {outline: 4px solid #229eff; outline-offset: -4px}
.room-reveal figcaption, .room-controls, .room-switch {
  display: flex;
  align-items: center;
}
.room-reveal figcaption {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px clamp(16px, 2vw, 30px);
}
.room-reveal figcaption strong {font: 700 21px/1.2 var(--display)}
.room-reveal figcaption p {color: #bdcddb; font-size: 13px}
.room-controls {gap: 12px; flex-wrap: wrap}
.room-switch {border: 1px solid #586b7b; border-radius: 3px; overflow: hidden}
.room-switch button {
  min-height: 44px;
  padding: 6px 13px;
  background: transparent;
  color: #e2ecf5;
  border: 0;
  font-size: 14px;
}
.room-switch button + button {border-left: 1px solid #586b7b}
.room-switch button[aria-pressed="true"] {background: #bbe5ff; color: #0a2133}
.room-switch button:focus-visible {outline-offset: -4px}
.room-reveal [hidden] {display: none}
@media (max-width: 600px) {
  .basement .section-head {display: grid; gap: 15px}
  .room-controls {gap: 7px}
  .room-divider span {width: 38px; height: 38px; font-size: 21px}
}
