.bm-band {
  --bm-brass: #d2ab78;
  --bm-night: #1b201f;
  isolation: isolate;
  overflow: clip;
  position: relative;
  color: #f7efdf;
  background: radial-gradient(ellipse at 74% 48%, #35362f 0, #232824 35%, var(--bm-night) 67%);
}
.bm-shell {
  position: relative;
  z-index: 1;
  min-height: clamp(340px, 26vw, 422px);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.bm-copy { width: min(45%, 570px); padding-block: 44px; pointer-events: auto }
.bm-copy h2 {
  font: 400 clamp(2.25rem, 3.85vw, 3.75rem)/1.04 var(--serif);
  margin: 0;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.bm-widen { margin-top: 17px; width: fit-content; min-height: 70px }
.bm-widen summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  color: #e1c296;
  font: 500 1rem/1.25 var(--sans);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.bm-widen summary::before { content: ''; width: 20px; height: 1px; background: currentColor }
.bm-widen summary::-webkit-details-marker { display: none }
.bm-widen p { font: 400 1rem/1.45 var(--sans); color: #eee4d4; margin: 0 }
.bm-close-text, .bm-widen[open] .bm-wide-text { display: none }
.bm-widen[open] .bm-close-text { display: inline }
.bm-zone {
  position: absolute;
  inset: 0 -1% 0 auto;
  width: 55%;
  overflow: visible;
  touch-action: pan-y pinch-zoom;
  color: var(--bm-brass);
  -webkit-tap-highlight-color: transparent;
}
.bm-zone:focus-visible { outline-offset: -5px; outline: 1px dashed #b99a704f }
.bm-plan {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--bm-brass);
  overflow: visible;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 88%, transparent 100%),
    radial-gradient(ellipse 80% 80% at 50% 48%, #000 47%, #000e 67%, #0006 94%, transparent 100%);
  mask-composite: intersect;
}
.bm-plan path { stroke-linejoin: round; stroke-linecap: round }
.bm-band:not(.bm-live):has(.bm-widen[open]) .bm-world { transform: translate(355px, 192px) scale(.87) }
.bm-grid { fill: none; stroke: #b09166; stroke-width: .64; opacity: .19; stroke-dasharray: 1 5 }
.bm-periphery { fill: none; stroke: currentColor; stroke-width: .9; opacity: .27 }
.bm-road { fill: none; stroke: currentColor; stroke-width: 1.3; opacity: .56 }
.bm-base { fill: #2c3029; stroke: currentColor; stroke-width: 1.25; stroke-opacity: .67 }
.bm-base-side { fill: #212520; stroke: currentColor; stroke-width: .82; stroke-opacity: .65 }
.bm-tile-trim { fill: none; stroke: currentColor; stroke-width: .65; opacity: .47 }
.bm-side { fill: #302f26; stroke: currentColor; stroke-width: 1.1 }
.bm-cap { fill: #37372d; stroke: currentColor; stroke-width: 1.45 }
.bm-edge, .bm-rim { fill: none; stroke: currentColor; stroke-width: 1.35 }
.bm-rim { opacity: .8; stroke-width: 1.04 }
.bm-site { color: #d6b27f }
.bm-site.bm-active .bm-base, .bm-site.bm-focus .bm-base { stroke-opacity: 1; stroke-width: 1.7 }
.bm-site.bm-active, .bm-site.bm-focus { color: #efcf9b }
.bm-site.bm-focus .bm-base { fill: #403b2d }
.bm-pulse { fill: #f4cb93; pointer-events: none }
.bm-pulse-tail { fill: #d5ae78; opacity: .6; pointer-events: none }
.bm-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
@media (max-width: 900px) and (min-width: 641px) {
  .bm-shell { min-height: 316px }
  .bm-zone { width: 57% }
  .bm-copy { width: 43%; padding-block: 25px }
}
@media (max-width: 640px) {
  .bm-band { background: radial-gradient(ellipse at 59% 72%, #30342c, #1c221e 72%) }
  .bm-shell { display:block; min-height:0 }
  .bm-copy { width: 100%; padding: 32px 0 0 }
  .bm-copy h2 { font-size: clamp(2rem, 7.75vw, 2.6rem); max-width: 15em }
  .bm-widen { margin-top: 6px; min-height: 44px }
  .bm-zone { position: relative; inset: auto; width: 100%; height: clamp(232px, 56vw, 302px); margin: 0 auto 11px }
  .bm-plan { mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 95%, transparent) }
}
@media (prefers-reduced-motion: reduce) { .bm-band *, .bm-band *::before, .bm-band *::after { transition: none } }
