nav { font-family: monospace; font-size: 0.85em; padding: 12px 20px; }
nav a { color: inherit; text-decoration: none; }
nav a:hover { text-decoration: underline; }

body { margin: 0; font-family: monospace; background: white; color: #222; }

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

.stage {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* ---- 3D scene ---- */
.scene {
  perspective: 800px;
}

.cube {
  width: 160px;
  height: 160px;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
}

.face {
  position: absolute;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.15);
  backface-visibility: visible;
}

.face--front  { background: rgba(34,34,34,0.85);  color: #fff; transform: translateZ(80px); }
.face--back   { background: rgba(34,34,34,0.85);  color: #fff; transform: rotateY(180deg) translateZ(80px); }
.face--left   { background: rgba(68,68,68,0.85);  color: #fff; transform: rotateY(-90deg) translateZ(80px); }
.face--right  { background: rgba(68,68,68,0.85);  color: #fff; transform: rotateY(90deg) translateZ(80px); }
.face--top    { background: rgba(102,102,102,0.75); color: #fff; transform: rotateX(90deg) translateZ(80px); }
.face--bottom { background: rgba(102,102,102,0.75); color: #fff; transform: rotateX(-90deg) translateZ(80px); }

/* ---- label ---- */
.face-label {
  font-size: 0.75em;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
