* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: #000;
  color: #fff;
}

body {
  overflow: hidden;
  font-family: "Arial Black", "Arial Bold", Impact, sans-serif;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  background: #000;
  transition: opacity 0.5s ease;
}

.loader.is-out {
  opacity: 0;
  pointer-events: none;
}

.loader[hidden],
.stage[hidden] {
  display: none;
}

.loader h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(22px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.01em;
}

.load-track {
  width: min(440px, 72vw);
  height: 18px;
  border: 2px solid #fff;
  overflow: hidden;
}

.load-fill {
  width: 0;
  height: 100%;
  background: #fff;
}

.stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.frame {
  position: relative;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.frame.is-in {
  opacity: 1;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
}

#hotspots {
  position: absolute;
  inset: 0;
}

.hotspot {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.panel[hidden] {
  display: none;
}

.panel {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4%;
  background: rgba(0, 0, 0, 0.45);
}

.panel-card {
  position: relative;
  width: min(100%, 560px);
  max-height: 100%;
  overflow: auto;
  padding: 22px 22px 16px;
  border: 4px solid #3a2a22;
  border-radius: 16px;
  background: #fffef8;
  color: #2a2118;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.28);
}

.panel-card h2 {
  margin: 0 48px 12px 0;
  font-size: 22px;
}

.panel-card h3 {
  margin: 14px 0 2px;
  font-size: 16px;
}

.panel-card p,
.panel-card li {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.panel-card .meta,
.panel-card .role {
  margin-top: 2px;
  color: #5c4a3a;
}

.panel-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.panel-card a {
  color: #1d5bb5;
}

#panel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 6px;
  background: #3a2a22;
  color: #fff;
  font: 700 13px Arial, Helvetica, sans-serif;
  padding: 6px 10px;
  cursor: pointer;
}

