body {
  margin: 0;
  font-family: monospace;
  background: white;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 16px 20px;
}

nav a {
  font-family: monospace;
  font-size: 0.85em;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
}

nav a:hover {
  background: rgba(0, 0, 0, 0.7);
}

.intro,
.outro {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  color: #aaa;
}

.pin-wrap {
  overflow: hidden;
}

.h-track {
  display: flex;
  width: 400vw;
  height: 100vh;
}

.panel {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.panel:nth-child(1) {
  background: #222;
}

.panel:nth-child(2) {
  background: #333;
}

.panel:nth-child(3) {
  background: #444;
}

.panel:nth-child(4) {
  background: #1a1a1a;
}

.panel span {
  font-size: clamp(3em, 10vw, 8em);
  color: #fff;
  font-weight: bold;
  letter-spacing: -0.03em;
}

.panel::before {
  content: attr(data-n);
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.3);
}
